Application access method and related equipment

By setting preset containers in the host application and configuring inlet plug-ins, the complex problem of application access in the prior art is solved, and the rapid access and development efficiency of the application are improved.

CN117742826BActive Publication Date: 2025-04-08BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311776341.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2025-04-08
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

In the prior art, the operation of application access to host applications is complicated, and it is impossible to quickly access the host applications, nor can it obtain corresponding technical resources for different operating platforms, resulting in low user application development efficiency.

Method used

By setting a preset container in the host application, for all applications that are expected to access the host application, the application-corresponding entry plug-in is configured in the preset container, so as to quickly access the host application.

Benefits of technology

It realizes the application's fast access to the host application, improves the application development efficiency, and simplifies the access process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117742826B_ABST
    Figure CN117742826B_ABST
Patent Text Reader

Abstract

The present disclosure provides an application access method and related devices. The method includes: in response to receiving an access request to access a first application to a host application, creating a first entry plug-in in a preset container of the host application; in response to an entry configuration operation for the first application, obtaining entry configuration information of the first application; wherein the entry configuration information includes: the name of the first application, the entry function of the first application and the file where the entry of the first application is located; based on the entry configuration information, configuring the first entry plug-in via the configuration component in the preset container, so as to access the first application to the host application via the first entry plug-in.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an application access method and related equipment. Background Art

[0002] Users often hope to quickly integrate applications that implement business functions into host applications to improve development efficiency. However, the current operation of quickly integrating applications into host applications is complicated, and it is impossible to quickly access host applications or obtain corresponding technical resources for different operating platforms (such as Android, iOS, PC, etc.), which reduces the user's application development efficiency. Summary of the invention

[0003] The present disclosure proposes an application access method and related devices to solve the technical problem of low efficiency of application development for users to a certain extent.

[0004] In a first aspect, the present disclosure provides an application access method, including:

[0005] In response to receiving an access request to access the first application to the host application, creating a first entry plug-in in a preset container of the host application;

[0006] In response to the entry configuration operation for the first application, obtaining entry configuration information of the first application; wherein the entry configuration information includes: the name of the first application, the entry function of the first application and the file where the entry of the first application is located;

[0007] The first entry plug-in is configured via a configuration component in the preset container based on the entry configuration information, so as to connect the first application to the host application via the first entry plug-in.

[0008] In a second aspect of the present disclosure, an application access device is provided, including:

[0009] A receiving module, configured to create a first entry plug-in in a preset container of the host application in response to receiving an access request for accessing the first application to the host application;

[0010] an acquisition module, configured to acquire, in response to an entry configuration operation for the first application, entry configuration information of the first application; wherein the entry configuration information includes: a name of the first application, an entry function of the first application, and a file where the entry of the first application is located;

[0011] A configuration module is used to configure the first entry plug-in via a configuration component in the preset container based on the entry configuration information, so as to connect the first application to the host application via the first entry plug-in.

[0012] In a third aspect of the present disclosure, an electronic device is provided, comprising one or more processors, a memory; and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the programs include instructions for executing the method described in the first aspect.

[0013] According to a fourth aspect of the present disclosure, a non-volatile computer-readable storage medium containing a computer program is provided. When the computer program is executed by one or more processors, the processors execute the method described in the first aspect.

[0014] In a fifth aspect of the present disclosure, a computer program product is provided, comprising computer program instructions, which, when executed on a computer, enable the computer to execute the method described in the first aspect.

[0015] From the above description, it can be seen that the application access method and related equipment provided by the present disclosure, by setting a preset container in the host application, can configure the entry plug-in corresponding to the application in the preset container for all applications that expect to access the host application, so as to quickly access the application to the host application, thereby improving the application development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A schematic diagram of an application access architecture according to an embodiment of the present disclosure.

[0018] Figure 2 The figure is a schematic diagram of the hardware structure of an exemplary electronic device according to an embodiment of the present disclosure.

[0019] Figure 3 A schematic flowchart of an application access method according to an embodiment of the present disclosure.

[0020] Figure 4 A schematic diagram of a host application according to an embodiment of the present disclosure.

[0021] Figure 5 A schematic diagram of a preset container according to an embodiment of the present disclosure.

[0022] Figure 6 A schematic diagram of configuration components of an embodiment of the present disclosure.

[0023] Figure 7A schematic diagram of an application access device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0025] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0026] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0027] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0028] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0029] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0030] Figure 1A schematic diagram of an application access architecture according to an embodiment of the present disclosure is shown. Figure 1 , the application access architecture 100 may include a server 110, a terminal 120, and a network 130 providing a communication link. The server 110 and the terminal 120 may be connected via a wired or wireless network 130. The server 110 may be an independent physical server, or a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, security services, and CDN.

[0031] The terminal 120 may be implemented in hardware or software. For example, when the terminal 120 is implemented in hardware, it may be various electronic devices having a display screen and supporting page display, including but not limited to smart phones, tablet computers, e-book readers, laptop portable computers, and desktop computers, etc. When the terminal 120 device is implemented in software, it may be installed in the electronic devices listed above; it may be implemented as multiple software or software modules (such as software or software modules used to provide distributed services), or it may be implemented as a single software or software module, which is not specifically limited here.

[0032] It should be noted that the application access method provided in the embodiment of the present application can be executed by the terminal 120 or by the server 110. It should be understood that Figure 1 The number of terminals, networks and servers in the embodiment is only for illustration and is not intended to limit the number of terminals, networks and servers. Any number of terminals, networks and servers may be provided as required.

[0033] Figure 2 FIG. 2 shows a schematic diagram of the hardware structure of an exemplary electronic device 200 provided in an embodiment of the present disclosure. Figure 2 As shown, the electronic device 200 may include: a processor 202, a memory 204, a network module 206, a peripheral interface 208 and a bus 210. The processor 202, the memory 204, the network module 206 and the peripheral interface 208 are connected to each other in communication within the electronic device 200 through the bus 210.

[0034] Processor 202 may be a central processing unit (CPU), an application access device, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or one or more integrated circuits. Processor 202 may be used to perform functions related to the technology described in this disclosure. In some embodiments, processor 202 may also include multiple processors integrated into a single logical component. For example, Figure 2 As shown, processor 202 may include a plurality of processors 202a, 202b, and 202c.

[0035] The memory 204 may be configured to store data (eg, instructions, computer code, etc.). Figure 2 As shown, the data stored in the memory 204 may include program instructions (for example, program instructions for implementing the application access method of the embodiment of the present disclosure) and data to be processed (for example, the memory may store configuration files of other modules, etc.). The processor 202 may also access the program instructions and data stored in the memory 204, and execute the program instructions to operate on the data to be processed. The memory 204 may include a volatile storage device or a non-volatile storage device. In some embodiments, the memory 204 may include a random access memory (RAM), a read-only memory (ROM), an optical disk, a magnetic disk, a hard disk, a solid-state drive (SSD), a flash memory, a memory stick, etc.

[0036] The network module 206 can be configured to provide communication with other external devices to the electronic device 200 via a network. The network can be any wired or wireless network capable of transmitting and receiving data. For example, the network can be a wired network, a local wireless network (e.g., Bluetooth, WiFi, near field communication (NFC) etc.), a cellular network, the Internet or a combination thereof. It is understood that the type of network is not limited to the above specific examples. In some embodiments, the network module 306 can include any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc., in any combination.

[0037] The peripheral interface 208 can be configured to connect the electronic device 200 to one or more peripheral devices to achieve information input and output. For example, the peripheral devices can include input devices such as a keyboard, a mouse, a touch pad, a touch screen, a microphone, and various sensors, and output devices such as a display, a speaker, a vibrator, and an indicator light.

[0038] The bus 210 can be configured to transmit information between various components of the electronic device 200 (e.g., the processor 202, the memory 204, the network module 206, and the peripheral interface 208), such as an internal bus (e.g., a processor-memory bus), an external bus (USB port, PCI-E bus), etc.

[0039] It should be noted that, although the architecture of the electronic device 200 only shows the processor 202, the memory 204, the network module 206, the peripheral interface 208 and the bus 210, in the specific implementation process, the architecture of the electronic device 200 may also include other components necessary for normal execution. In addition, it can be understood by those skilled in the art that the architecture of the electronic device 200 may also only include the components necessary for implementing the embodiments of the present disclosure, and does not necessarily include all the components shown in the figure.

[0040] Users often hope to quickly integrate applications that implement business functions into host applications to improve development efficiency. However, the current operation of quickly integrating applications into host applications is complicated, and it is impossible to quickly access host applications, nor is it possible to obtain corresponding technical resources for different operating platforms (such as Android, iOS, PC, etc.), which reduces the user's application development efficiency. Therefore, how to improve the user's application development efficiency has become a technical problem that needs to be solved urgently.

[0041] In view of this, the embodiments of the present disclosure provide an application access method and related devices. By configuring the group field in the task record as the target group identifier of the target group related to the task, by setting a preset container in the host application, for all applications that are expected to access the host application, the entry plug-in corresponding to the application can be configured in the preset container, so as to quickly access the application to the host application, thereby improving the efficiency of application development.

[0042] See also Figure 3 , Figure 3 The schematic flow chart of the application access method according to the embodiment of the present disclosure is shown. The application access method according to the embodiment of the present disclosure can be deployed on the client or server. Figure 3 In the application access method 300, the application access method 300 may further include the following steps.

[0043] In step S310, in response to receiving an access request to access a first application to a host application, a first entry plug-in is created in a preset container of the host application.

[0044] Among them, the first application may refer to an application to be connected to the host application, for example, it may be an application implemented based on Flutter (a tool for building a user interface UI). The preset container may refer to a container that integrates multiple applications, and each application corresponds to a corresponding business. For example, if the multiple applications are multiple Flutter business applications, the preset container may refer to a container that integrates multiple Flutter businesses.

[0045] In some embodiments, the preset container is built into the host application or is sent to the host application in the form of a plug-in.

[0046] For different system environments, the preset container can be set in different ways. Specifically, for the Android system, the preset container can be sent to the host application host in the form of a plug-in; for the IOS system, the preset container can be built into the host application host. Figure 4 , Figure 4 A schematic diagram of a host application according to an embodiment of the present disclosure is shown. Figure 4 In the example, the host application 400 may include a business layer 410 and a basic component 420. The business layer 410 includes a native container 411 and a preset container 412. The native container 411 may include a native component of the host application 400. The preset container 412 may be used to integrate multiple services, such as multiple Flutter services. The basic component 420 may include multiple components 421, 422, 423, ..., such as a software development tool component rust-sdk, a network library component ttnet, a setting component setting, a log component log, ...

[0047] In some embodiments, the preset container further includes a shared library shared by all entry plug-ins in the preset container, and the shared library includes the configuration component.

[0048] The preset container 412 may further include at least one entry plug-in and a shared library. Figure 5 , Figure 5 A schematic diagram of a preset container according to an embodiment of the present disclosure is shown. Figure 5In the embodiment, the preset container 412 may include a second entry plug-in 511 and a first entry plug-in 512, the first entry plug-in 512 corresponds to accessing the first application, and the second entry plug-in 511 may correspond to accessing the second application. In some embodiments, the second application may be an application that has been connected to the host application before the first application is accessed. When an access request for the first application is received, a first entry plug-in 512 may be added to the preset container. The preset container 412 may also include a shared library 520, and the shared library 520 may further include a configuration component (Dock) 521, a log component 522, and a network component 523. For example, all applications related to the preset container are Flutte applications, and the shared library 520 may be a multi-service Flutter basic library shared and co-built by all applications related to the preset container. On this basis, the newly accessed Flutter service only needs to add an entry plug-in part to access the host application based on the shared library. Compared with the complicated access operation in the traditional method, the application access method according to the embodiment of the present disclosure can realize the rapid access of the application and the host application, thereby improving the user's application development efficiency. It should be understood that the above examples are for illustration only and are not intended to limit the components and their number in the shared library. The shared library may include fewer or more components, which is not limited here.

[0049] In step S320, in response to the entry configuration operation for the first application, the entry configuration information of the first application is obtained; wherein the entry configuration information includes: the name of the first application, the entry function of the first application and the file where the entry of the first application is located.

[0050] The service entry integrated into the host application is generally in the workbench, and its entry address can be configured in the background. The entry configuration operation can be performed on the first application connected to the host application to set the corresponding entry configuration information.

[0051] In some embodiments, in response to the entry configuration operation for the first application, obtaining the entry configuration information of the first application further includes:

[0052] Performing the entry configuration operation in the settings panel of the host application;

[0053] The entry configuration information corresponding to the entry configuration operation is obtained via the configuration component.

[0054] The entry configuration operation of the first application can be performed based on the existing setting panel of the host application, and a configuration mark corresponding to the entry configuration operation can be displayed in the setting panel. In response to the triggering of the configuration mark, an input interface for the entry configuration information is displayed, and the user can enter the corresponding entry configuration information. Figure 6 , Figure 6A schematic diagram of configuration components according to an embodiment of the present disclosure is shown. Figure 6 In the configuration component 521, the preset container 412 may include a second entry plug-in 511 corresponding to the second application, a first entry plug-in 512 corresponding to the first application, and the access interception manager 610 is used to configure the network resource address to be intercepted; the entry manager 620 is used to configure the entry of the application and the entry plug-in; the bridge interface 640 and the bridge channel 650 are used to transmit the host application resources (Ecology Resource) 660 (for example, user login information acquisition, group sharing, attachment browsing and other scene capabilities) to the accessed application. The user can complete the unified management of multiple configurations such as URL interception, program entry, resource initialization, etc. of Flutter multi-service through the host application's existing control panel (Settings) 630 via the interception manager 610, the entry manager 620, the bridge interface 640 and the bridge channel 650. In order to avoid the repeated construction of different applications in the host application native code as much as possible, the configuration component in the shared library can perform engine initialization on the accessed application. You can also dynamically adjust the URL of the network resource address and the corresponding program entry that need to be intercepted in the remote host application (AppSettings), providing sufficiently flexible and reliable configuration capabilities for the business.

[0055] In step S330, the first entry plug-in is configured via a configuration component in the preset container based on the entry configuration information, so as to connect the first application to the host application via the first entry plug-in.

[0056] Specifically, the entry manager in the configuration component (such as Figure 6 The entry manager 620 in the host application can publish the entry configuration information to enable the first application to access the host application. For example, the entry configuration information may include: the name of the first application biz, the entry function entry_point_name of the first application, and the dart file library_uri where the entry is located. The entry configuration information may also include routing configuration information for setting the route of the first application. For example, the route name routename identified by the hybrid route, and whether the page direction of opening the first application is vertical or horizontal.

[0057] It can be seen that whenever a new business application is connected, only a new configuration release is needed to quickly connect the application to the host application with the help of the host application context provided by the configuration component Dock, and obtain at least part of the host application resources, thereby improving development efficiency.

[0058] In some embodiments, method 300 further includes:

[0059] Displaying an entry identifier corresponding to the first entry plug-in in a display interface of the host application;

[0060] In response to a trigger operation on the entry identifier, jump to a graphical user page of the first application.

[0061] After the first application is connected to the host application, an entry mark of the first application can be displayed in the interface of the host application. The trigger operation for the entry mark can be a click operation, so that the first application can jump to the corresponding application development page.

[0062] In some embodiments, the configuration component includes an access interception manager, and the entry configuration information also includes a network resource address that needs to be intercepted;

[0063] The configuring the first entry plug-in via the configuration component in the preset container based on the entry configuration information further includes:

[0064] The access interception manager is configured with a regular expression corresponding to the network resource address that needs to be intercepted.

[0065] The routing configuration information may also include a network resource address that needs to be intercepted, for example, a URL regular expression that needs to be intercepted may be set in the access interception manager. Thus, when the URL of the access request request to the first application belongs to one of the network resource addresses that need to be intercepted in the access interception manager, the access request request is rejected.

[0066] In some embodiments, the configuration component includes a bridge interface and a bridge channel; the method further includes:

[0067] In response to an acquisition request for a host application resource, the host application resource is returned to the requester via the bridge channel and the bridge interface.

[0068] The configuration component Dock521 can also provide the first application with a bridge interface 640 and a bridge channel 650, which are used to provide the application with host application context, such as currently logged-in user information, network environment, language, and other common APIs. In this way, users do not need to pay too much attention to the code of the native platform, but can focus more on the development of the graphical user interface of the application, further improving the development efficiency of the application.

[0069] In some embodiments, the preset container further includes a second entry plug-in corresponding to the second application;

[0070] The method further comprises:

[0071] A first engine different from that of the second application is configured for the first application based on the configuration component to isolate data between the first application and the second application.

[0072] Among them, in some pure Flutter applications in actual applications, generally only a single Flutter engine will exist, while in hybrid applications (such as applications where native Native pages and Flutter pages coexist), in order to ensure that multiple Flutter business data are isolated from each other and the stack is not shared, the configuration component FlutterDock provides multiple businesses with their own program entry points (EntryPoint), and different program entries start different Flutter engines. Specifically, taking Android as an example, the objects defined by the program entry EntryPoint can include the file where the entry is located, such as the object "dart file dartEntrypointLibrary where the entry is located", and the object "entry function entrypoint".

[0073] In some embodiments, the shared library further includes at least one of the following:

[0074] A log component, used to record operation execution information of the associated application connected to the preset container;

[0075] A storage component, used to store data of associated applications accessing the preset container;

[0076] A second-party and third-party library component, used to provide the associated application accessing the preset container with the introduction information of the second-party database and / or the third-party database;

[0077] A tracking point access component, used for accessing tracking points for associated applications accessing the preset container;

[0078] The anomaly detection component is used to perform anomaly detection on the associated applications connected to the preset container.

[0079] Among them, the introduction information of the second-party database and / or the third-party database may include the corresponding link or address. All associated applications connected to the preset container can quickly implement various functions such as logging, storage, point-of-use access, anomaly detection, second-party database, and third-party database based on the components in the shared library, eliminating a lot of repeated development work and further improving development efficiency.

[0080] It should be noted that the method of the embodiment of the present disclosure can be performed by a single device, such as a computer or a server. The method of the present embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present disclosure, and the multiple devices will interact with each other to complete the described method.

[0081] It should be noted that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0082] Based on the same technical concept, corresponding to any of the above-mentioned embodiments and methods, the present disclosure also provides an application access device, see Figure 7 , the application access device comprises:

[0083] A receiving module 710, configured to create a first entry plug-in in a preset container of the host application in response to receiving an access request for accessing the first application to the host application;

[0084] The acquisition module 720 is used to acquire the entry configuration information of the first application in response to the entry configuration operation for the first application; wherein the entry configuration information includes: the name of the first application, the entry function of the first application and the file where the entry of the first application is located;

[0085] The configuration module 730 is used to configure the first entry plug-in via the configuration component in the preset container based on the entry configuration information, so as to connect the first application to the host application via the first entry plug-in.

[0086] For the convenience of description, the above device is described by dividing it into various modules according to its functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0087] The device of the above embodiment is used to implement the corresponding application access method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0088] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present disclosure also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the application access method described in any of the above embodiments.

[0089] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, read-only 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.

[0090] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the application access method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0091] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure (including the claims) is limited to these examples. Based on the concept of the present disclosure, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of simplicity.

[0092] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present disclosure difficult to understand, the known power / ground connections to the integrated circuit (IC) chips and other components may or may not be shown in the provided figures. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present disclosure difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present disclosure will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present disclosure, it is apparent to those skilled in the art that the embodiments of the present disclosure can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0093] Although the present disclosure has been described in conjunction with specific embodiments of the present disclosure, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0094] The embodiments of the present disclosure are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present disclosure should be included in the scope of protection of the present disclosure.

Claims

1. An application access method, comprising: In response to receiving an access request to access the first application to the host application, creating a first entry plug-in in a preset container of the host application; In response to the entry configuration operation for the first application, obtaining entry configuration information of the first application; wherein the entry configuration information includes: the name of the first application, the entry function of the first application and the file where the entry of the first application is located; Based on the entry configuration information, configure the first entry plug-in via the configuration component in the preset container to connect the first application to the host application via the first entry plug-in; Wherein, the preset container also includes a second entry plug-in corresponding to the second application; The method further comprises: A first engine different from that of the second application is configured for the first application based on the configuration component to isolate data between the first application and the second application.

2. The method according to claim 1, further comprising: Displaying an entry identifier corresponding to the first entry plug-in in a display interface of the host application; In response to a trigger operation on the entry identifier, jump to a graphical user page of the first application.

3. The method according to claim 1, wherein The configuration component includes an access interception manager, and the entry configuration information also includes a network resource address that needs to be intercepted; The configuring the first entry plug-in via the configuration component in the preset container based on the entry configuration information further includes: The access interception manager is configured with a regular expression corresponding to the network resource address that needs to be intercepted.

4. The method according to claim 1, wherein The configuration component includes a bridge interface and a bridge channel; the method further includes: In response to an acquisition request for a host application resource, the host application resource is returned to the requester via the bridge channel and the bridge interface.

5. The method according to claim 1, wherein: The acquiring, in response to the entry configuration operation for the first application, entry configuration information of the first application further includes: Performing the entry configuration operation in the settings panel of the host application; The entry configuration information corresponding to the entry configuration operation is obtained via the configuration component.

6. The method according to claim 1, wherein: The preset container includes a container integrating multiple applications, wherein the multiple applications include multiple Flutter business applications; And / or, the first application includes an application implemented based on Flutter.

7. The method according to claim 1, wherein: The preset container is built into the host application or is sent to the host application in the form of a plug-in; the preset container also includes a shared library shared by all entry plug-ins in the preset container, and the shared library includes the configuration component and at least one of the following: A log component, used to record operation execution information of the associated application connected to the preset container; A storage component, used to store data of associated applications accessing the preset container; A second-party and third-party database component, used to provide information of a second-party database and / or a third-party database to an associated application accessing the preset container; A tracking point access component, used for accessing tracking points for associated applications accessing the preset container; The anomaly detection component is used to perform anomaly detection on the associated applications connected to the preset container.

8. An application access device, comprising: A receiving module, configured to create a first entry plug-in in a preset container of the host application in response to receiving an access request for accessing the first application to the host application; wherein the preset container also includes a second entry plug-in corresponding to the second application; an acquisition module, configured to acquire, in response to an entry configuration operation for the first application, entry configuration information of the first application; wherein the entry configuration information includes: a name of the first application, an entry function of the first application, and a file where the entry of the first application is located; a configuration module, configured to configure the first entry plug-in via a configuration component in the preset container based on the entry configuration information, so as to connect the first application to the host application via the first entry plug-in; and A first engine different from that of the second application is configured for the first application based on the configuration component to isolate data between the first application and the second application.

9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the program. 10 . A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to claim 1 .

Citation Information

Patent Citations

  • Application program and the service plug-in use method thereof

    CN108958842A

  • Method and device for creating sandbox environment for plug-in operation, and computing equipment

    CN113986515A

  • Application program display method and device, equipment and medium

    CN114564133A

  • Function calling method and device for non-native page component, equipment and storage medium

    CN116521268A