A method and device for providing application services based on host program
By loading application services on the front end of the host program and sending service startup notifications, it solves the problem of obtaining and saving user configuration information, improves data security and user experience, and meets the needs of different accounts.
Patent Information
- Application Number
- CN202111219153.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-10-20
AI Technical Summary
In application services based on host programs, it is difficult to effectively obtain and save user configuration information (such as game progress, video viewing progress, etc.), resulting in insufficient security and inability to meet the needs of different accounts, increasing unnecessary expenses.
After the application service is loaded by triggering instructions on the host program front-end, a service startup notification is sent to the application server. The application server generates an information acquisition request and searches for configuration information, which is sent to the host program server. Finally, the host program server feeds back to the application front-end to set up the application service. .
It is possible to effectively obtain and save application service configuration information without setting up a separate application server, ensuring data security and user experience while meeting the needs of different accounts.
Smart Images

Figure CN114003404B
Abstract
Description
Technical Field
[0001] The embodiments of the present specification relate to the field of computer technology, and more particularly to a method and device for providing application services based on a host program. Background Art
[0002] The host program is a program that can provide application services from other suppliers. Access links to other application services can be set up in the host program. When the user clicks the corresponding link, the corresponding application service can be run on the host program. For example, links to other mini-games can be set up in the host program. When the user opens the host program, they can directly play the corresponding games by clicking on the links to these mini-games. Providing application services based on the host program enables users to directly obtain the corresponding services without having to download the corresponding applications separately, which also reduces the difficulty of development and helps improve the user experience.
[0003] However, currently, when using the corresponding application service based on the host program, after the user uses the application service, there will be corresponding configuration information of the user for the application service, for example, the game progress corresponding to the mini-game, the progress corresponding to the video viewing, etc. If an additional server is set up to save the configuration information, unnecessary expenses will be added, and directly saving the configuration information in the terminal not only lacks security, but also cannot meet the needs of corresponding to different accounts. Therefore, there is an urgent need for a method that can effectively obtain the configuration of the application service to provide the corresponding application service based on the host program. Summary of the invention
[0004] The purpose of the embodiments of this specification is to provide a method and device for providing application services based on a host program, so as to solve the problem of how to effectively obtain the configuration of the application service so as to provide the corresponding application service based on the host program.
[0005] In order to solve the above technical problems, an embodiment of the present specification proposes a method for providing application services based on a host program, which is applied to an application front end; the method includes: after the host program front end loads the application service based on an application service trigger instruction, sending a service startup notification to the application server, so that the application server sends an information acquisition request including an application service identifier to the host program server; receiving configuration information fed back by the host program server; the configuration information includes information found by the host program server based on the application service identifier; the configuration information is used to represent the user's historical record of using the application service; and setting the application service based on the configuration information.
[0006] The embodiment of the present specification also proposes an application service providing device based on a host program, which is arranged at the application front end; the device includes: a service startup notification sending module, which is used to send a service startup notification to the application server after the host program front end loads the application service based on the application service trigger instruction, so that the application server sends an information acquisition request including the application service identifier to the host program server; a configuration information receiving module, which is used to receive configuration information fed back by the host program server; the configuration information includes information found by the host program server based on the application service identifier; the configuration information is used to represent the user's historical record of using the application service; an application service setting module, which is used to set the application service based on the configuration information.
[0007] In order to solve the above technical problems, the embodiments of this specification also propose a method for providing application services based on a host program, which is applied to a host program front end; the method includes: when an application service trigger instruction is received, loading the application service, so that after the application service front end sends a service start notification to the application server, the application server sends an information acquisition request including an application service identifier to the host program server, and then the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the user's historical record of using the application service.
[0008] The embodiment of the present specification also proposes an application service providing device based on a host program, which is arranged at the front end of the host program; the device includes: an application service loading module, which is used to load the application service when an application service trigger instruction is received, so that after the application service front end sends a service start notification to the application server, the application server sends an information acquisition request including an application service identifier to the host program server, and then the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the user's historical record of using the application service.
[0009] The embodiment of the present specification also proposes a front-end device, on which a host program and an application service implemented based on the host program are set; the front-end device includes a memory and a processor; the memory is used to store computer program instructions corresponding to the application front end and the host program front end; when the processor executes the computer program instructions corresponding to the application front end, it implements the following steps: after the host program front end loads the application service based on the application service trigger instruction, a service start notification is sent to the application server, so that the application server sends an information acquisition request including the application service identifier to the host program server; receiving configuration information fed back by the host program server; the configuration information includes the host program server finding the application service identifier based on the application service identifier information; the configuration information is used to indicate the historical record of the user using the application service; the application service is set based on the configuration information; the processor, when executing the computer program instructions corresponding to the host program front end, implements the following steps: upon receiving the application service trigger instruction, the application service is loaded, so that after the application service front end sends the service start notification to the application server, the application server sends the information acquisition request including the application service identifier to the host program server, and then the host program server searches for the configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to indicate the historical record of the user using the application service.
[0010] In order to solve the above problems, an embodiment of the present specification also proposes a method for providing application services based on a host program, which is applied to a host program server; the method includes: receiving an information acquisition request; the information acquisition request includes that after the host program front end loads the application service based on the application service trigger instruction, the application front end sends a service startup notification to the application server, and there is a request generated by the application server based on the application service identifier; searching for configuration information according to the application service identifier; the configuration information is used to represent the user's historical record of using the application service; sending the configuration information to the application front end, so that the application front end sets the application service based on the configuration information.
[0011] The embodiment of the present specification also proposes an application service providing device based on a host program, which is arranged on a host program server; the device includes: an information acquisition request receiving module, which is used to receive an information acquisition request; the information acquisition request includes a request generated by the application server based on an application service identifier after the host program front end loads the application service based on an application service trigger instruction, and the application front end sends a service startup notification to the application server; a configuration information search module is used to search for configuration information according to the application service identifier; the configuration information is used to represent the user's historical record of using the application service; a configuration information sending module is used to send the configuration information to the application front end, so that the application front end sets the application service based on the configuration information.
[0012] The embodiment of the present specification also proposes a host program server, including a memory and a processor; the memory is used to store computer program instructions; the processor is used to execute the computer program instructions to implement the following steps: receiving an information acquisition request; the information acquisition request includes the host program front end loading the application service based on the application service trigger instruction, the application front end sending a service startup notification to the application server, and a request generated by the application server based on the application service identifier; searching for configuration information according to the application service identifier; the configuration information is used to represent the user's historical record of using the application service; sending the configuration information to the application front end, so that the application front end sets the application service based on the configuration information.
[0013] In order to solve the above problems, an embodiment of the present specification also proposes a method for providing application services based on a host program, which is applied to an application server; the method includes: when a service startup notification is received, determining the application service identifier corresponding to the service startup notification; the service startup notification includes a notification sent by the application front end after the host program front end loads the application service based on an application service trigger instruction; generating an information acquisition request based on the application service identifier; sending the information acquisition request to the host program server, so that the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the historical record of the user using the application service.
[0014] In order to solve the above problems, an embodiment of the present specification also proposes an application service providing device based on a host program, which is arranged on an application server; the device includes: an application service identification determination module, which is used to determine the application service identification corresponding to the service startup notification when a service startup notification is received; the service startup notification includes a notification sent by the application front end after the host program front end loads the application service based on the application service trigger instruction; an information acquisition request generation module, which is used to generate an information acquisition request based on the application service identification; an information acquisition request sending module, which is used to send the information acquisition request to the host program server, so that the host program server searches for configuration information based on the application service identification and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the historical record of the user using the application service.
[0015] The embodiment of the present specification also proposes an application server, including a memory and a processor; the memory is used to store computer program instructions; the processor is used to execute the computer program instructions to implement the following steps: when a service startup notification is received, determine the application service identifier corresponding to the service startup notification; the service startup notification includes a notification sent by the application front end after the host program front end loads the application service based on the application service trigger instruction; generate an information acquisition request based on the application service identifier; send the information acquisition request to the host program server, so that the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the user's historical record of using the application service.
[0016] It can be seen from the technical solutions provided by the above embodiments of this specification that when the application service is started based on the host program, the embodiment of this specification sends an information acquisition request to the host server via the application server, and then the host server finds the corresponding configuration information according to the application service identifier, thereby ensuring that the application service can be set based on the configuration information so as to effectively provide the corresponding service to the user. The above method does not need to set up a corresponding application server separately to save the corresponding configuration information, and also ensures the data security of the application service itself. The application service cannot obtain the data of the host program. Therefore, on the basis of ensuring the user's experience of using the application service, the data security is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is a structural diagram of an application service providing system according to an embodiment of this specification;
[0019] Figure 2 This is a flowchart of a method for providing application services based on a host program according to an embodiment of this specification;
[0020] Figure 3 This is a flowchart of a method for providing application services based on a host program according to an embodiment of this specification;
[0021] Figure 4 This is a flowchart of a method for providing application services based on a host program according to an embodiment of this specification;
[0022] Figure 5 This is a flowchart of a method for providing application services based on a host program according to an embodiment of this specification;
[0023] Figure 6 This is a flowchart of a method for providing application services based on a host program according to an embodiment of this specification;
[0024] Figure 7 This is a module diagram of an application service providing device based on a host program according to an embodiment of this specification;
[0025] Figure 8 This is a module diagram of an application service providing device based on a host program according to an embodiment of this specification;
[0026] Fig. 9 This is a module diagram of an application service providing device based on a host program according to an embodiment of this specification;
[0027] Fig.10 This is a module diagram of an application service providing device based on a host program according to an embodiment of this specification;
[0028] Fig.11 This is a structural diagram of a front-end device according to an embodiment of this specification;
[0029] Fig.12 This is a structural diagram of a host program server according to an embodiment of this specification;
[0030] Fig.13 This is a structural diagram of an application server according to an embodiment of this specification. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
[0032] In order to better understand the inventive concept of this application, firstly, an application service providing system according to an embodiment of this specification is introduced. Figure 1 As shown, the application service providing system 100 includes a front-end device 110, a host program server 120 and an application server 130. The front-end device 110 is provided with a host program front-end 111 and an application front-end 112 respectively.
[0033] The front-end device 110 may be a terminal device directly used by a user, such as a smart phone, a personal computer, a smart wearable device, etc. The user may interact with the front-end device 110 and obtain corresponding services from the front-end device 110 .
[0034] The front-end device 110 is provided with a host program front-end 111 and an application front-end 112. The host program front-end 111 corresponds to the front-end part of the host program. The user can directly open the host program through the front-end device 110. For example, an icon of the host program is provided on the main interface of the front-end device 110, and the host program can be opened by clicking the icon. The host program itself can be provided with corresponding functions.
[0035] Other application services may be set on the host program. The application front end 112 is the front end portion corresponding to the application service. The application service is implemented by relying on the host program. For example, an icon of the application service is set on a certain interface of the host program, and the user opens the application service and executes the corresponding operation process by clicking the icon of the application service.
[0036] It should be noted that the above examples are merely illustrative descriptions for better introducing the relationship between the host program and the application service. In actual applications, the above relationship can be expanded accordingly and is not limited to the above examples, and will not be repeated here.
[0037] The host program server 120 may be a backend device corresponding to the host program, and is used to store corresponding data corresponding to the host program, such as page filling data, user account data, etc. In this embodiment, the host program server 120 may also store configuration information corresponding to the application service, and after executing the corresponding operation, the configuration information may be fed back to the application front end 112, so that the application front end 112 can better provide the user with the corresponding service based on the configuration information.
[0038] The application server 130 is a backend device corresponding to the application service. The application server 130 is mainly used to store the corresponding identification of the application service, and then after receiving the request of the application front end 112, it can communicate with the host program server 120 based on the identification information of the application service, so as to request to obtain the configuration information corresponding to the application front end 112.
[0039] Based on the above application service providing system, an application service providing method based on a host program is introduced in the embodiment of this specification. The execution subject of the application service providing method based on a host program is the application service providing system. Figure 2 As shown, the host program-based application service providing method includes the following specific implementation steps.
[0040] S210: The host program front end receives an application service trigger instruction.
[0041] The application service trigger instruction is an instruction input by the user to start the corresponding application service. The application service trigger instruction can be based on the input of the front-end device, for example, it can be an instruction triggered by the user clicking an icon on the host program interface, or it can be an instruction determined by parsing the user's voice. In actual applications, there is no limitation on the input method of the application service trigger instruction.
[0042] In some implementations, before the host program front end receives the application service trigger instruction, the host program itself is first started. Specifically, after the front-end device displays a user login interface corresponding to the host program, the user enters login account information based on the user login interface. The user login interface is used to obtain the user's login account information.
[0043] The front-end device sends the acquired login account information to the host program server, which matches it in its own database to confirm whether the account information corresponding to the login account information exists. If it does, the verification is successful, otherwise, the verification fails. If the login account corresponds to a login password, the login password can also be verified to see if it is correct.
[0044] When the login account information is verified, the host program server can obtain the user identity token stored corresponding to the login account information. The user identity token can identify the identity of the user currently using the host program. When the host program front end subsequently exchanges information with the host program server, the user identity token can be added to the exchanged information to identify the object of the current communication.
[0045] In some implementations, when the login account information verification fails, the front-end device may also display a user registration page to provide a user account registration service. The account registration service may help the user apply for an account corresponding to the host program, thereby effectively utilizing the registered account to use the corresponding service.
[0046] In some implementations, the application service may be a mini-game launched based on a host program. Accordingly, the configuration information acquired in the embodiments of this specification may correspond to the progress of playing the mini-game, such as the current level number of the mini-game or the current status information of the game character.
[0047] S220: The host program front end loads the application service.
[0048] After the host program front end obtains the application service trigger instruction, the application service corresponding to the application service trigger instruction can be loaded based on the running of the own program. The specific recording process can be set based on the actual application requirements, which will not be repeated here.
[0049] In some implementations, the host program front end may load the application service by creating an H5 container and loading the application service in the H5 container. The main function of the H5 container is to implement data isolation between different application services on the host program. When multiple different application services are loaded on the host program, the security of data between different application services needs to be ensured. Therefore, using the H5 container to load the application service can not only ensure the effective provision of the application service, but also ensure the data security of each application service itself.
[0050] In some implementations, after the application service is started, it can receive temporary verification information sent by the host program server. The temporary verification information can be used to obtain configuration information of the application service in a subsequent process. The temporary verification information corresponds to a verification time limit, and accordingly, the host program server can verify the validity of the temporary verification information based on the verification time limit.
[0051] S230: The application front end sends a service start notification to the application server.
[0052] After the application front end is started, a service start notification can be sent to the application server. Since the application front end cannot communicate directly with the host program server after being started, a notification can be sent to the application server first, and the application server generates a corresponding request to the host program server to implement the call of configuration information.
[0053] Based on the example in step S220, when sending the service start notification, the temporary verification information may also be attached to the service start notification to implement the verification process in the subsequent process.
[0054] S240: The application server generates an information acquisition request based on the service startup notification; the information acquisition request includes an application service identifier.
[0055] After receiving the service startup notification from the application front end, the application server can determine the specific type of the application service started according to the service startup notification. Accordingly, the application service identifier corresponding to the application service can be stored in the database of the application server. The application service identifier is used to uniquely identify an application service and can be a pre-set identifier.
[0056] According to the application service identifier, the application server may generate an information acquisition request, so that after receiving the information acquisition request, the host program server determines the corresponding configuration information based on the application service identifier.
[0057] In some implementations, when the service start notification received by the application server includes temporary verification information, the application server may also add the temporary verification information to the information acquisition request, so that the application server can perform verification based on the temporary verification information.
[0058] In some implementations, after generating an information acquisition request, the application server may encrypt the application service identifier and temporary verification information to obtain a signature verification field, and then generate an information acquisition request based on the signature verification field. Specifically, a corresponding encryption key may be pre-stored in the application server for encrypting information, thereby ensuring security during information transmission. Correspondingly, a corresponding key may also be stored in the host program server for decrypting the encrypted information.
[0059] S250: The application server sends the information acquisition request to the host program server.
[0060] After generating the information acquisition request, the application server may send the information acquisition request to the host program server to execute subsequent steps.
[0061] S260: The host program server searches for configuration information according to the application service identifier.
[0062] After obtaining the application service identifier, the host program server can search for configuration information corresponding to the application service identifier. For example, after determining the account information corresponding to the mini-game, the host program server can search for the corresponding level information as configuration information. In actual applications, the host program server can use the application service identifier as an index for storing configuration information, and then search for configuration information according to the application service identifier.
[0063] In some implementations, if the information acquisition request also includes temporary verification information, the host program server may also perform verification based on the temporary verification information. Specifically, the verification result may be determined by comparing the time when the temporary verification information is received with the verification time limit. If the time when the information acquisition request is received exceeds the verification time limit, it is determined that the temporary verification information verification fails; otherwise, the verification passes.
[0064] S270: The host program server sends configuration information to the application front end.
[0065] After the configuration information is found, the host program server can send the configuration information to the application front end to execute subsequent steps.
[0066] S280: The application front end sets application services based on the configuration information.
[0067] After obtaining the configuration information, the application front end can set the application service based on the configuration information. For example, when the application service is a small game, the configuration information can be the game progress information, so that the game of the corresponding level can be displayed to the user according to the configuration information; when the application service is a video, the video can be adjusted to the corresponding playback progress.
[0068] In some embodiments, during the process of providing the application service, the current configuration information corresponding to the application service can be determined according to the progress saving condition. The current configuration information is the configuration information corresponding to the current application service during the process. The progress saving condition can be a condition triggered when the application service is executed to a specific node and / or the application service is executed after a preset time. For example, when the application service is executed to a specific progress or the application service is closed, it is used as a specific node; the preset time can be a fixed time period, and the corresponding current configuration information is determined every time the fixed time period passes.
[0069] After the current configuration information is obtained, the current configuration information can be sent to the host program server so that the host program server updates the current configuration information to the new configuration information. Through the above process, the real-time nature of the configuration information stored by the host program server can be guaranteed, thereby ensuring the user's experience when the user ends the application service and uses the application service again next time.
[0070] Through the introduction of the above embodiments, it can be seen that when the method starts the application service based on the host program, the application server sends an information acquisition request to the host server, and then the host server finds the corresponding configuration information according to the application service identifier, thereby ensuring that the application service can be set based on the configuration information so as to effectively provide the corresponding service to the user. The above method does not need to set up a corresponding application server separately to save the corresponding configuration information, and also ensures the data security of the application service itself. The application service cannot obtain the data of the host program. Therefore, on the basis of ensuring the user's experience of using the application service, the data security is guaranteed.
[0071] based on Figure 2 The corresponding host program-based application service providing method, this specification embodiment also proposes another host program-based application service providing method. The execution subject of the host program-based application service providing method is the application front end. Figure 3 As shown, the host program-based application service providing method includes the following specific implementation steps.
[0072] S310: After the host program front end loads the application service based on the application service trigger instruction, a service start notification is sent to the application server, so that the application server sends an information acquisition request including the application service identifier to the host program server.
[0073] For the description of this step, please refer to the description of steps S210, S220, S230, S240, and S250, which will not be repeated here.
[0074] S320: receiving configuration information fed back by the host program server; the configuration information includes information found by the host program server based on the application service identifier; the configuration information is used to represent the historical record of the user using the application service.
[0075] For the description of this step, please refer to the description of steps S260 and S270, which will not be repeated here.
[0076] S330: Setting application services based on the configuration information.
[0077] For the description of this step, please refer to the description of step S280, which will not be repeated here.
[0078] based on Figure 2 The corresponding host program-based application service providing method, this specification embodiment also proposes another host program-based application service providing method. The execution subject of the host program-based application service providing method is the host program front end. Figure 4As shown, the host program-based application service providing method includes the following specific implementation steps.
[0079] S410: When an application service trigger instruction is received, the application service is loaded, so that the application service front end sends a service start notification to the application server, and the application server sends an information acquisition request including the application service identifier to the host program server, and then the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the historical record of the user using the application service.
[0080] For the description of this step, please refer to the descriptions in steps S210, S220, S230, S240, S250, S260, S270, and S280, which will not be repeated here.
[0081] based on Figure 2 The corresponding host program-based application service providing method, the embodiment of this specification also proposes another host program-based application service providing method. The execution subject of the host program-based application service providing method is the host program server. Figure 5 As shown, the host program-based application service providing method includes the following specific implementation steps.
[0082] S510: receiving an information acquisition request; the information acquisition request includes a request generated by the application server based on the application service identifier after the host program front end loads the application service based on the application service trigger instruction, the application front end sends a service start notification to the application server.
[0083] For the description of this step, please refer to the description of steps S210, S220, S230, S240, and S250, which will not be repeated here.
[0084] S520: Search for configuration information according to the application service identifier; the configuration information is used to indicate the user's history of using the application service.
[0085] For the description of this step, please refer to the description of steps S260 and S270, which will not be repeated here.
[0086] S530: Send the configuration information to the application front end, so that the application front end sets the application service based on the configuration information.
[0087] For the description of this step, please refer to the description of step S280, which will not be repeated here.
[0088] based on Figure 2The corresponding host program-based application service providing method, this specification embodiment also proposes another host program-based application service providing method. The execution subject of the host program-based application service providing method is an application server. Figure 6 As shown, the host program-based application service providing method includes the following specific implementation steps.
[0089] S610: upon receiving a service start notification, determining an application service identifier corresponding to the service start notification; the service start notification includes a notification sent by an application front end after a host program front end loads an application service based on an application service trigger instruction.
[0090] For the description of this step, please refer to the description of steps S210, S220, and S230, which will not be repeated here.
[0091] S620: Generate an information acquisition request based on the application service identifier.
[0092] For the description of this step, please refer to the description of step S240, which will not be repeated here.
[0093] S630: Send the information acquisition request to the host program server, so that the host, main program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the user's historical record of using the application service.
[0094] For the description of this step, please refer to the description of steps S250, S260, S270, and S280, which will not be repeated here.
[0095] based on Figure 3 Corresponding to the method, the embodiment of this specification also proposes an application service providing device based on the host program. The device is set at the application front end. Figure 7 As shown, the host program-based application service providing device may include the following specific modules.
[0096] The service start notification sending module 710 is used to send a service start notification to the application server after the host program front end loads the application service based on the application service trigger instruction, so that the application server sends an information acquisition request including the application service identifier to the host program server.
[0097] The configuration information receiving module 720 is used to receive configuration information fed back by the host program server; the configuration information includes information found by the host program server based on the application service identifier; the configuration information is used to represent the user's historical record of using the application service.
[0098] The application service setting module 730 is used to set the application service based on the configuration information.
[0099] based on Figure 4 Corresponding to the method, the embodiment of this specification also proposes an application service providing device based on the host program. The device is set at the front end of the host program. Figure 8 As shown, the host program-based application service providing device may include the following specific modules.
[0100] The application service loading module 810 is used to load the application service when an application service trigger instruction is received, so that after the application service front end sends a service startup notification to the application server, the application server sends an information acquisition request including the application service identifier to the host program server, and then the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the historical record of the user using the application service.
[0101] based on Figure 5 Corresponding to the method, the embodiment of this specification also proposes an application service providing device based on the host program. The device is set at the application front end. Fig. 9 As shown, the host program-based application service providing device may include the following specific modules.
[0102] The information acquisition request receiving module 910 is used to receive an information acquisition request; the information acquisition request includes a request generated by the application server based on the application service identifier after the host program front end loads the application service based on the application service trigger instruction, and the application front end sends a service start notification to the application server.
[0103] The configuration information search module 920 is used to search for configuration information according to the application service identifier; the configuration information is used to represent the historical record of the user using the application service.
[0104] The configuration information sending module 930 is used to send the configuration information to the application front end so that the application front end sets the application service based on the configuration information.
[0105] based on Figure 6 Corresponding to the method, the embodiment of this specification also proposes an application service providing device based on the host program. The device is set at the application front end. Fig.10 As shown, the host program-based application service providing device may include the following specific modules.
[0106] The application service identifier determination module 1010 is used to determine the application service identifier corresponding to the service startup notification when receiving the service startup notification; the service startup notification includes a notification sent by the application front end after the host program front end loads the application service based on the application service trigger instruction.
[0107] The information acquisition request generating module 1020 is used to generate an information acquisition request based on the application service identifier.
[0108] The information acquisition request sending module 1030 is used to send the information acquisition request to the host program server, so that the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the user's historical record of using the application service.
[0109] based on Figure 3 and Figure 4 Corresponding to the host program-based application service providing method, this specification embodiment provides a front-end device. Fig.11 As shown, the front-end device may include a memory, a processor, and a computer program stored in the memory and executable on the processor.
[0110] In this embodiment, the memory may be implemented in any appropriate manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state hard disk, or a USB flash drive, etc. The memory may be used to store computer program instructions corresponding to the application front end and the host program front end.
[0111] In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc.
[0112] When executing the computer program instructions corresponding to the application front end, the processor implements the following steps: after the host program front end loads the application service based on the application service trigger instruction, sending a service startup notification to the application server, so that the application server sends an information acquisition request including the application service identifier to the host program server; receiving configuration information fed back by the host program server; the configuration information includes information found by the host program server based on the application service identifier; the configuration information is used to represent the historical record of the user using the application service; and setting the application service based on the configuration information.
[0113] When executing the computer program instructions corresponding to the host program front end, the processor implements the following steps: when receiving the application service trigger instruction, the application service is loaded, so that after the application service front end sends the service start notification to the application server, the application server sends an information acquisition request including the application service identifier to the host program server, and then the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the user's historical record of using the application service.
[0114] based on Figure 5 Corresponding to the host program-based application service providing method, the embodiment of this specification provides a host program server. Fig.12 As shown, the host program server may include a memory, a processor, and computer program instructions stored in the memory and executable on the processor.
[0115] In this embodiment, the memory may be implemented in any appropriate manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state hard disk, or a USB flash drive, etc. The memory may be used to store computer program instructions.
[0116] In this embodiment, the processor can be implemented in any appropriate manner. For example, the processor can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The processor can execute computer program instructions to implement the following steps: receiving an information acquisition request; the information acquisition request includes the host program front end loading the application service based on the application service trigger instruction, the application front end sending a service start notification to the application server, and a request generated by the application server based on the application service identifier; searching for configuration information according to the application service identifier; the configuration information is used to represent the user's historical record of using the application service; sending the configuration information to the application front end so that the application front end sets the application service based on the configuration information.
[0117] based on Figure 6 Corresponding to the host program-based application service providing method, this specification embodiment provides a front-end device. Fig.13 As shown, the front-end device may include a memory, a processor, and computer program instructions stored in the memory and executable on the processor.
[0118] In this embodiment, the memory may be implemented in any appropriate manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state hard disk, or a USB flash drive, etc. The memory may be used to store computer program instructions corresponding to the application front end and the host program front end.
[0119] In this embodiment, the processor can be implemented in any appropriate manner. For example, the processor can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The processor can execute computer program instructions to implement the following steps: in the case of receiving a service start notification, determine the application service identifier corresponding to the service start notification; the service start notification includes a notification sent by the application front end after the host program front end loads the application service based on the application service trigger instruction; generate an information acquisition request based on the application service identifier; send the information acquisition request to the host program server, so that the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the configuration information is used to represent the user's historical record of using the application service.
[0120] Although the process flows described above include multiple operations that occur in a particular order, it should be clearly understood that the processes may include more or fewer operations, which may be performed sequentially or in parallel (eg, using parallel processors or a multi-threaded environment).
[0121] Although the process flows described above include multiple operations that occur in a particular order, it should be clearly understood that the processes may include more or fewer operations, which may be performed sequentially or in parallel (eg, using parallel processors or a multi-threaded environment).
[0122] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0123] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0124] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0125] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0126] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0127] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0128] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, the embodiments of this specification may take the form of complete hardware embodiments, complete software embodiments or embodiments combining software and hardware. Moreover, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0129] The present specification embodiments may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present specification embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0130] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of contradiction, a person skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0131] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for providing application services based on a host program, characterized in that: Applied to the application front end; the method comprises: After the host program front end loads the application service based on the application service trigger instruction, a service start notification is sent to the application server, so that the application server sends an information acquisition request including the application service identifier to the host program server; the application service depends on the host program implementation, and after the host program front end obtains the application service trigger instruction, the application service corresponding to the application service trigger instruction is loaded on the basis of the operation of its own program; Receive configuration information fed back by the host program server; the configuration information includes information found by the host program server based on the application service identifier; the configuration information is used to indicate the user's historical record of using the application service; the host program server is a backend device corresponding to the host program, and is used to store corresponding data corresponding to the host program; the host program server also stores configuration information corresponding to the application service, and after performing corresponding operations, feeds back the configuration information to the application front end; An application service is configured based on the configuration information.
2. The method according to claim 1, characterized in that Before sending the service start notification to the application server, the method further includes: Receive temporary verification information sent by the host program server; Correspondingly, sending the service start notification to the application server includes: Send a service startup notification and the temporary verification information to the application server, so that the application server sends an information acquisition request including the application service identifier and the temporary verification information to the host program server, and the host program server searches for configuration information based on the application service identifier after verifying the temporary verification information.
3. The method according to claim 1, characterized in that The setting of the application service based on the configuration information includes: In the process of providing the application service, if the progress saving condition is met, the current configuration information corresponding to the application service is determined; the progress saving condition includes a condition triggered after the application service is executed to a specific node and / or the application service is executed for a preset time; The current configuration information is sent to the host program server, so that the host program server updates the current configuration information to new configuration information.
4. A method for providing application services based on a host program, characterized in that: Applied to the host program front end; the method comprises: When receiving an application service trigger instruction, the host program front end loads the application service corresponding to the application service trigger instruction based on the running of its own program, so that after the application service front end sends a service start notification to the application server, the application server sends an information acquisition request including an application service identifier to the host program server, and then the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the application service depends on the host program for implementation; the host program server is a back-end device corresponding to the host program, used to store corresponding data corresponding to the host program; the host program server also saves the configuration information corresponding to the application service and feeds back the configuration information to the application front end after executing the corresponding operation; the configuration information is used to represent the user's historical record of using the application service.
5. The method according to claim 4, characterized in that Before loading the application service, the method further includes: Displaying a user login interface; the user login interface is used to obtain the user's login account information; Send the login account information entered by the user to the host program server; When the host program server verifies the login account information, a user identity token sent by the host program server is received; the user identity token is used to identify the corresponding user when the host program front end interacts with the host program server.
6. The method according to claim 4, characterized in that The loading application service includes: An H5 container is created for loading application services; the H5 container is used to implement data isolation between different application services on a host program.
7. A front-end device, on which a host program and an application service implemented based on the host program are arranged; the front-end device comprises a memory and a processor; The memory is used to store computer program instructions corresponding to the application front end and the host program front end; When executing the computer program instructions corresponding to the application front end, the processor implements the following steps: after the host program front end loads the application service based on the application service trigger instruction, the processor sends a service start notification to the application server, so that the application server sends an information acquisition request including the application service identifier to the host program server; the application service depends on the host program implementation, and after the host program front end obtains the application service trigger instruction, the processor loads the application service corresponding to the application service trigger instruction based on the operation of its own program; the processor receives the configuration information fed back by the host program server; the configuration information includes the information found by the host program server based on the application service identifier; The configuration information is used to indicate the user's history of using the application service; the application service is set based on the configuration information; the host program server is a backend device corresponding to the host program, and is used to store corresponding data corresponding to the host program; the host program server also stores the configuration information corresponding to the application service, and after executing the corresponding operation, the configuration information is fed back to the application front end; When executing the computer program instructions corresponding to the host program front end, the processor implements the following steps: when receiving the application service trigger instruction, the application service is loaded, so that after the application service front end sends a service start notification to the application server, the application server sends an information acquisition request including the application service identifier to the host program server, and then the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; The configuration information is used to indicate the historical record of the user using the application service.
8. A method for providing application services based on a host program, characterized in that: Applied to a host program server; the method comprises: Receive an information acquisition request; the information acquisition request includes a request generated by the application server based on an application service identifier after the host program front end loads the application service based on the application service trigger instruction, and the application front end sends a service start notification to the application server; the application service depends on the host program implementation, and after the host program front end obtains the application service trigger instruction, the application service corresponding to the application service trigger instruction is loaded on the basis of the operation of its own program; Searching for configuration information according to the application service identifier; the configuration information is used to indicate the user's history of using the application service; the host program server is a backend device corresponding to the host program, and is used to store corresponding data corresponding to the host program; the host program server also stores the configuration information corresponding to the application service, and after executing the corresponding operation, feeds back the configuration information to the application front end; The configuration information is sent to the application front end so that the application front end sets the application service based on the configuration information.
9. A host program server comprising a memory and a processor; The memory is used to store computer program instructions; The processor is used to execute the computer program instructions to implement the following steps: receiving an information acquisition request; the information acquisition request includes a request generated by the application server based on the application service identifier after the host program front end loads the application service based on the application service trigger instruction, and the application front end sends a service start notification to the application server; the application service depends on the host program implementation, and after the host program front end obtains the application service trigger instruction, the application service corresponding to the application service trigger instruction is loaded on the basis of the operation of its own program; Searching for configuration information according to the application service identifier; the configuration information is used to indicate the user's history of using the application service; the host program server is a backend device corresponding to the host program, and is used to store corresponding data corresponding to the host program; the host program server also stores the configuration information corresponding to the application service, and after executing the corresponding operation, feeds back the configuration information to the application front end; The configuration information is sent to the application front end so that the application front end sets the application service based on the configuration information.
10. A method for providing application services based on a host program, characterized in that: Applied to an application server; the method comprises: Upon receiving a service start notification, determining an application service identifier corresponding to the service start notification; the service start notification includes a notification sent by an application front end after the host program front end loads the application service based on an application service trigger instruction; Generate an information acquisition request based on the application service identifier; The information acquisition request is sent to the host program server, so that the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the application service depends on the host program implementation, and after the host program front end obtains the application service trigger instruction, it loads the application service corresponding to the application service trigger instruction based on the operation of its own program; the configuration information is used to represent the user's historical record of using the application service; the host program server is a back-end device corresponding to the host program, and is used to store corresponding data corresponding to the host program; the host program server also stores the configuration information corresponding to the application service, and after executing the corresponding operation, the configuration information is fed back to the application front end.
11. The method according to claim 10, characterized in that The service startup notification also includes temporary verification information; the information acquisition request generated based on the application service identifier includes: Encrypting the application service identifier and temporary verification information to obtain a signature verification field; Generate an information acquisition request according to the signature verification field.
12. An application server comprising a memory and a processor; The memory is used to store computer program instructions; The processor is used to execute the computer program instructions to implement the following steps: in the case of receiving a service start notification, determining the application service identifier corresponding to the service start notification; the service start notification includes a notification sent by the application front end after the host program front end loads the application service based on the application service trigger instruction; Generate an information acquisition request based on the application service identifier; send the information acquisition request to the host program server, so that the host program server searches for configuration information based on the application service identifier and sends it to the application service front end, so that the application service front end sets the application service based on the configuration information; the application service depends on the host program implementation, and after the host program front end obtains the application service trigger instruction, it loads the application service corresponding to the application service trigger instruction based on the operation of its own program; The configuration information is used to represent the historical record of the user's use of the application service; the host program server is a back-end device corresponding to the host program, and is used to store corresponding data corresponding to the host program; the host program server also stores the configuration information corresponding to the application service, and after executing the corresponding operation, the configuration information is fed back to the application front end.
