WO2019019670A1 - Application accessing method and device, computer apparatus, and storage medium - Google Patents
Application accessing method and device, computer apparatus, and storage medium Download PDFInfo
- Publication number
- WO2019019670A1 WO2019019670A1 PCT/CN2018/079978 CN2018079978W WO2019019670A1 WO 2019019670 A1 WO2019019670 A1 WO 2019019670A1 CN 2018079978 W CN2018079978 W CN 2018079978W WO 2019019670 A1 WO2019019670 A1 WO 2019019670A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- domain name
- address
- container
- extracted
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5061—Pools of addresses
Definitions
- the present application relates to the field of communications technologies, and in particular, to an application access method, apparatus, computer device, and storage medium.
- Each application in the application container has a corresponding application address, and the user terminal can access an application in the application container according to the application address, so the user terminal must obtain an accurate application address, so as to implement the application in the application container. access.
- the application address is easily changed during the running process of the application, so that the user terminal cannot accurately obtain the application address, and the access efficiency to the application in the application container is reduced.
- an application access method, apparatus, computer device, and non-transitory computer readable storage medium are provided.
- An application access method, applied to a domain name resolution container includes:
- An application access device comprising:
- An access request receiving module configured to receive an application access request sent by the terminal
- the application address query module is configured to query, in the domain name resolution address pool, an application address corresponding to the extracted application domain name;
- the application address sending module is configured to send the queried application address to the terminal, so that the terminal obtains matching application data from the application container according to the queried application address.
- a computer device comprising a memory, a processor, and computer instructions stored on the memory and operative on the processor, the processor executing the computer instructions to:
- a non-transitory computer readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the following steps:
- FIG. 1 is an application environment diagram of an application access method in accordance with one or more embodiments
- FIG. 2 is a structural block diagram of a server in an application access system in accordance with one or more embodiments
- FIG. 3 is a flow diagram of an application access method in accordance with one or more embodiments.
- FIG. 4 is a schematic flow chart of steps of obtaining an application domain name and an application address according to one or more embodiments
- FIG. 5 is a schematic flowchart of a step of updating an application address in a domain name resolution pool according to one or more embodiments
- FIG. 6 is a flow diagram showing the steps of monitoring an application container in accordance with one or more embodiments
- FIG. 7 is a structural block diagram of an application access device in accordance with one or more embodiments.
- FIG. 8 is a structural block diagram of an application access device in another embodiment
- Figure 9 is a block diagram showing the structure of an application access device in still another embodiment.
- FIG. 1 is an application environment diagram of an application access method in an embodiment.
- the application access method is applied to an application access system.
- the application access system includes a terminal 110 and a server 120.
- the terminal 110 is connected to the server 120 through a network.
- the server 120 may be a single server or a server cluster.
- the domain name resolution container 122 and the application container 124 are deployed on the server 120.
- the domain name resolution container 122 is configured to apply the domain name for parsing to obtain an application address corresponding to the application domain name, and the application container 124 can deploy at least one application and the application container deployed on the server 120. Can be one or more.
- the terminal 110 can access the domain name resolution container 122 through the server 120, and the terminal 110 can also access the application in the application container 124 through the server 120.
- the terminal 110 may be a fixed terminal or a mobile terminal, and the fixed terminal may specifically be at least one of a printer, a scanner, and a monitor, and the mobile terminal may specifically be at least one of a tablet computer, a smart phone, a personal data assistant, and a digital camera.
- the domain name resolution container is an application container configured with domain name resolution function; the application container is a virtual application container that can provide services of multiple applications, and the application container can be Docker.
- FIG. 2 is a schematic diagram showing the internal structure of the server 120 in the application access system of FIG. 1 in an embodiment.
- the server 120 includes a processor, memory, and network interface connected by a system bus.
- the processor of server 120 is used to provide computing and control capabilities to support the operation of the entire server 120, the memory for storing data, code instructions, etc., and the network interface for network communication with terminal 110.
- At least one computer instruction is stored on the memory, and the computer instruction can be executed by the processor to implement the application access method applicable to the server 120 provided in the embodiment of the present application.
- the memory may include a non-volatile computer readable storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
- a memory includes a non-transitory computer readable storage medium and an internal memory; the non-transitory computer readable storage medium stores an operating system and computer instructions executable by the processor to implement The above application access method; the internal memory provides a cached operating environment for an operating system and computer instructions in a non-transitory computer readable storage medium.
- FIG. 2 is only a schematic diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied.
- the specific server may include More or fewer components are shown in Figure 2, or some components are combined, or have different component arrangements.
- an application access method is provided.
- the method is applied to the domain name resolution container 122 deployed on the server 120 for example, and specifically includes the following contents:
- a browser is installed in the terminal 110, and the user inputs the application domain name corresponding to the application to be accessed in the browser through the terminal 110.
- the terminal 110 acquires the application domain name input by the user, and generates an application access request according to the application domain name.
- the application access request may include at least one of the authentication information of the terminal 110, the terminal identifier, and the valid time.
- the terminal 110 transmits an application access request to the domain name resolution container 122 in the server 120.
- the domain name resolution container 122 receives the application access request transmitted by the terminal 110 through the server 120.
- the application domain name is the unique access identifier of the application on the Internet.
- an application is installed in the terminal 110.
- the terminal 110 acquires an application of the clicked application according to the triggered application access instruction when the application access instruction is triggered.
- the domain name generates an application access request according to the obtained application domain name.
- the domain name resolution container 122 parses the application access request and extracts the application domain name in the application access request by parsing.
- the application address is a virtual network address of an application deployed in an application container, and each application corresponds to at least one virtual network address.
- the domain name resolution container 122 is configured with a domain name resolution address pool, and the domain name resolution address pool includes an application domain name and an application address.
- the domain name resolution container 122 stores the application domain name and the application address in the domain name resolution address pool.
- the domain name resolution address pool may further include a container identifier, where the container identifier is a unique identifier of the application container deployed on the server 120, and the domain name resolution container 122 may further associate the container identifier with an application deployed in the application container corresponding to the container identifier.
- the application domain name corresponds to the storage.
- the domain name resolution container 122 After the domain name resolution container 122 extracts the application domain name, the application address corresponding to the extracted application domain name is queried in the domain name resolution address pool, and the queried application address is the application address corresponding to the application to be accessed.
- the domain name resolution container 122 extracts the terminal identifier in the application access request, and sends the queried application address to the terminal 110 corresponding to the application access request through the server 120 according to the terminal identifier. After receiving the application address queried by the domain name resolution container 122, the terminal 110 accesses the application in the application container according to the queried application address, and acquires corresponding application data. The terminal 110 displays the acquired application data in an application page.
- the domain name resolution container and the application container are obtained by configuring the Docker container. Docker is an open source, portable application container. Developers can package their applications or dependencies into Docker, provide application services to users through Docker, and deploy multiple applications in a Docker.
- the application access request sent by the terminal is received, and the domain name is resolved in the domain name resolution address pool according to the application domain name in the application access request, and the application address corresponding to the application domain name in the application access request is queried through the domain name resolution query.
- the queried application address is sent to the terminal, and the terminal can obtain matching application data from the application container according to the received application address, thereby implementing access to the application in the application container.
- the terminal In the process of accessing the application in the application container, the terminal only needs to obtain the application domain name of the application to be accessed, and the application domain name is fixed.
- the domain name resolution pool can resolve the application domain name to obtain an accurate application address, according to an accurate The application address can successfully access the application in the application container, which improves the access efficiency of the application in the application container.
- the method before S302, the method further includes the steps of: acquiring an application domain name and an application address, where the step specifically includes the following:
- multiple application containers are deployed on the server 120, and no at least one application is disposed in the no application container.
- the domain name resolution container 122 obtains an application deployment record of each application container, and extracts an application domain name and an application address corresponding to the application deployed in the application container from the application deployment record.
- the domain name resolution container 122 sends a snoop notification to each application container.
- the application container 124 extracts the container identifier of the domain name resolution container in the monitoring notification, and sends the application domain name and the application address corresponding to the deployed application to the domain name resolution container 122 according to the extracted container identifier.
- the domain name resolution container 122 after obtaining the application domain name and the application address corresponding to the application running in each application container, the domain name resolution container 122 obtains the container identifier of the application container matched by the running application, and the domain name resolution container 122 identifies the container identifier.
- the application domain name and application address are stored in the domain name resolution pool.
- the domain name resolution container 122 can store the container identifier, the application domain name, and the application address in the domain name resolution table in the domain name resolution pool.
- the domain name resolution container can obtain the application domain name and the application address corresponding to the application running in each application container, and store the obtained application domain name and application address in the domain name resolution pool to ensure the application domain name in the domain name resolution pool.
- the application address is accurate, so that the domain name resolution pool can accurately resolve the application domain name to obtain an accurate application address.
- the application access method specifically includes the step of updating an application address in the domain name resolution pool, and the step specifically includes the following content:
- the application container 124 after detecting the change of the application address corresponding to the running application, the application container 124 obtains the application domain name and the changed application address of the application, and generates an application address according to the obtained application domain name and the changed application address.
- the change notification the application container 124 sends the generated application address change notification to the domain name resolution container 122.
- the domain name resolution container 122 receives the application address change notification sent by the application container 124.
- the domain name resolution container 122 parses the received application address change notification, and extracts the application domain name and the application address in the application address change notification by parsing.
- the extracted application domain name is an application domain name corresponding to the application that has changed the application address, and the extracted application address is the changed application address.
- the domain name resolution container 122 queries the application address corresponding to the extracted application domain name in the domain name resolution pool, and replaces the queried application address with the changed application address, thereby updating the application address in the domain name resolution pool.
- the application address change notification sent by the application container is received, and the application domain name and the application address in the application address change notification are applied to the application address in the domain name resolution pool.
- the update is performed to ensure the accuracy of the application address in the domain name resolution pool, and the resolution accuracy of the domain name resolution pool for the application domain name is improved.
- the application access method specifically includes the step of monitoring an application container, and the step specifically includes the following:
- the domain name resolution container 122 listens for the presence or absence of a container operation event, which is an operational event triggered by the user operating through the terminal 110 to the application container on the server 120.
- the container operation event may be an operation event of deploying an application in an application container, or may be a time to delete an already deployed application in an application container, and the container operation event may also be to delete, enable, create, and pause the application container. At least one operation corresponds to an operational event.
- the domain name resolution container 122 parses the listened container operation event when the container operation event is intercepted, and parses the container operation type and the container identifier in the container operation event by parsing.
- the container operation type may include at least one of an application creation type, an application deletion, a container creation, a container enablement, a container deletion, and a container suspension operation.
- the extracted application container corresponding to the container identifier is the operation object of the container operation event.
- the domain name resolution container 122 stores an address pool update mode corresponding to the container operation type, and the address pool update mode includes at least one of address deletion, address addition, and address replacement. After the domain name parsing container 122 extracts the container operation type from the container operation event, the domain name retrieving container 122 queries the address pool update mode corresponding to the extracted container operation type.
- the domain name resolution container 122 obtains the application domain name and the application address to be added, and stores the application domain name and the application address to be added in the domain name resolution address pool. If the address pool update mode is the address deletion, the domain name resolution container 122 obtains the application domain name and the application address corresponding to the deleted application, and queries the obtained application domain name and application address in the domain name resolution address pool and deletes the application domain name and the application address. If the address pool update mode is address replacement, the domain name resolution container 122 obtains the application domain name and the changed application address corresponding to the application whose application address is changed, and queries the application address corresponding to the obtained application domain name in the domain name resolution address pool, and the query is performed. The applied application address is replaced with the changed application address.
- the address pool update mode corresponding to the container operation type is an address addition
- the domain name resolution container obtains an application domain name corresponding to the application running on the created or enabled container.
- the application address and the application address are stored in the domain name resolution address pool.
- the address pool corresponding to the container operation type is the address deletion mode
- the application domain name and the application address corresponding to the application on the container that is deleted or suspended are obtained, and the domain name resolution address is obtained. Delete the obtained application domain name and application address in the pool.
- the method further includes the steps of: recording an execution time of the container operation event; and generating a monitoring log according to the execution time of the record, the extracted container operation type, and the extracted container identifier.
- the domain name resolution container 122 records the execution time of the container operation event, and generates a listen log based on the execution time of the record, the extracted container operation type, and the extracted container identifier.
- the application container records the operation time of the corresponding container operation operation event, records the container operation type and operation information, and the application container sends the recorded operation time, the container operation type, the operation information, and the container identifier to the domain name resolution container. 122.
- the domain name resolution container 122 generates a monitoring log corresponding to the container identifier according to the operation time, the container operation type, the operation information, and the container identifier.
- the user with authority utilizes the terminal 110 to query the monitoring log through the server 120.
- the corresponding address pool update mode can be determined, and the domain name resolution address pool is updated according to the determined address pool update mode, so that the application domain name and the application address stored in the domain name resolution pool are successfully accessed.
- the application domain name and application address corresponding to the application improve the accuracy of the application domain name and the application address, thereby improving the access success rate of the application.
- FIGS. 3-6 are sequentially displayed as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Except as explicitly stated herein, the execution of these steps is not strictly limited, and the steps may be performed in other orders. Moreover, at least some of the steps in FIGS. 3-6 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, these sub-steps or stages The order of execution is not necessarily performed sequentially, but may be performed alternately or alternately with at least a portion of other steps or sub-steps or stages of other steps.
- an application access device 700 is provided.
- the device specifically includes an access request receiving module 702 , an application domain name extraction module 704 , an application address query module 706 , and an application address sending module 708 .
- the access request receiving module 702 is configured to receive an application access request sent by the terminal.
- the application domain name extraction module 704 is configured to extract an application domain name in the application access request.
- the application address querying module 706 is configured to query, in the domain name resolution address pool, an application address corresponding to the extracted application domain name.
- the application address sending module 708 is configured to send the queried application address to the terminal, so that the terminal obtains the matched application data from the application container according to the queried application address.
- the application access request sent by the terminal is received, and the domain name is resolved in the domain name resolution address pool according to the application domain name in the application access request, and the application address corresponding to the application domain name in the application access request is queried through the domain name resolution query.
- the queried application address is sent to the terminal, and the terminal can obtain matching application data from the application container according to the received application address, thereby implementing access to the application in the application container.
- the terminal In the process of accessing the application in the application container, the terminal only needs to obtain the application domain name of the application to be accessed, and the application domain name is fixed.
- the domain name resolution pool can resolve the application domain name to obtain an accurate application address, according to an accurate The application address can successfully access the application in the application container, which improves the access efficiency of the application in the application container.
- the application access device 700 further includes an application address obtaining module 710 , an application address storage module 712 , a change notification receiving module 714 , a domain name address extraction module 716 , and an application address update module 718 .
- the application address obtaining module 710 is configured to obtain an application domain name and an application address corresponding to the application running in each application container.
- the application address storage module 712 is configured to store the obtained application domain name and application address in the domain name resolution pool.
- the change notification receiving module 714 is configured to receive an application address change notification sent by the application container.
- the domain name address extraction module 716 is configured to extract an application domain name and an application address in the application address change notification.
- the application address update module 718 is configured to update an application address corresponding to the extracted application domain name in the domain name resolution pool according to the extracted application address.
- the application address change notification sent by the application container is received, and the application domain name and the application address in the application address change notification are applied to the application address in the domain name resolution pool.
- the update is performed to ensure the accuracy of the application address in the domain name resolution pool, and the resolution accuracy of the domain name resolution pool for the application domain name is improved.
- the application access device 700 specifically includes a snoop log generation module.
- the listener log generation module is used to record the execution time of the container operation event; the listener log is generated according to the execution time of the record, the extracted container operation type, and the extracted container identifier.
- the application access device 700 specifically includes an operation instruction monitoring module 720 , an operation instruction analysis module 722 , an update mode determination module 724 , and an address pool update module 726 .
- the operation instruction monitoring module 720 is configured to monitor a container operation event.
- the operation instruction parsing module 722 is configured to extract the container operation type and the container identifier in the monitored container operation event.
- the update mode determining module 724 is configured to determine an address pool update mode according to the extracted container operation type.
- the address pool update module 726 is configured to update the application domain name and the application address in the domain name resolution address pool according to the determined address pool update manner.
- the corresponding address pool update mode can be determined, and the domain name resolution address pool is updated according to the determined address pool update mode, so that the application domain name and the application address stored in the domain name resolution pool are successfully accessed.
- the application domain name and application address corresponding to the application improve the accuracy of the application domain name and the application address, thereby improving the access success rate of the application.
- the various modules in the application access device described above may be implemented in whole or in part by software, hardware, and combinations thereof.
- the network interface may be an Ethernet card or a wireless network card.
- the above modules may be embedded in the hardware in the terminal or in the memory in the terminal, or may be stored in the memory in the terminal in a software form, so that the processor calls the execution of the operations corresponding to the above modules.
- the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
- a computer device comprising a memory, a processor, and computer instructions stored on the memory and operable on the processor, the processor executing the computer instructions to: receive an application access request sent by the terminal; and extract an application access request
- the application domain name in the domain name resolution address pool is searched for the application address corresponding to the extracted application domain name; the queried application address is sent to the terminal, so that the terminal obtains the matched application data from the application container according to the queried application address.
- the method before receiving the application access request sent by the terminal, the method further includes: acquiring an application domain name and an application address corresponding to the application running in each application container; and storing the obtained application domain name and the application address in the domain name resolution pool. in.
- the processor further implements the following steps: receiving an application address change notification sent by the application container; extracting an application domain name and an application address in the application address change notification; and updating the domain name resolution pool according to the extracted application address.
- the application address corresponding to the extracted application domain name.
- the processor further implements the following steps: listening for a container operation event; extracting a container operation type and a container identifier in the monitored container operation event; and determining an address pool update manner according to the extracted container operation type. Update the application domain name and application address in the domain name resolution address pool according to the determined address pool update mode.
- the method further includes: recording an execution time of the container operation event; according to the execution time of the record, the extracted container operation type, and the extracted The container ID generates a listening log.
- the application access request sent by the terminal is received, and the domain name is resolved in the domain name resolution address pool according to the application domain name in the application access request, and the application address corresponding to the application domain name in the application access request is queried through the domain name resolution query.
- the queried application address is sent to the terminal, and the terminal can obtain matching application data from the application container according to the received application address, thereby implementing access to the application in the application container.
- the terminal In the process of accessing the application in the application container, the terminal only needs to obtain the application domain name of the application to be accessed, and the application domain name is fixed.
- the domain name resolution pool can resolve the application domain name to obtain an accurate application address, according to an accurate The application address can successfully access the application in the application container, which improves the access efficiency of the application in the application container.
- a non-transitory computer readable storage medium having stored thereon computer instructions, the computer instructions being executed by a processor to: receive an application access request sent by a terminal; extract an application domain name in an application access request; The application address corresponding to the extracted application domain name is queried in the domain name resolution address pool; the queried application address is sent to the terminal, so that the terminal obtains the matched application data from the application container according to the queried application address.
- the method before receiving the application access request sent by the terminal, the method further includes: acquiring an application domain name and an application address corresponding to the application running in each application container; and storing the obtained application domain name and the application address in the domain name resolution pool. in.
- the processor further performs the steps of: receiving an application address change notification sent by the application container; extracting an application domain name and an application address in the application address change notification; and updating the domain name resolution pool according to the extracted application address and extracting The application address corresponding to the application domain name.
- the processor further performs the steps of: listening for a container operation event; extracting a container operation type and a container identifier in the monitored container operation event; determining an address pool update manner according to the extracted container operation type; The address pool update mode updates the application domain name and application address in the domain name resolution address pool.
- the method further includes: recording an execution time of the container operation event; according to the execution time of the record, the extracted container operation type, and the extracted The container ID generates a listening log.
- the application access request sent by the terminal is received, and the domain name is resolved in the domain name resolution address pool according to the application domain name in the application access request, and the application address corresponding to the application domain name in the application access request is queried through the domain name resolution query.
- the queried application address is sent to the terminal, and the terminal can obtain matching application data from the application container according to the received application address, thereby implementing access to the application in the application container.
- the terminal In the process of accessing the application in the application container, the terminal only needs to obtain the application domain name of the application to be accessed, and the application domain name is fixed.
- the domain name resolution pool can resolve the application domain name to obtain an accurate application address, according to an accurate The application address can successfully access the application in the application container, which improves the access efficiency of the application in the application container.
- the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Stored Programmes (AREA)
Abstract
Description
Claims (20)
- 一种应用访问方法,应用于域名解析容器,包括:An application access method, applied to a domain name resolution container, includes:接收终端发送的应用访问请求;Receiving an application access request sent by the terminal;提取所述应用访问请求中的应用域名;Extracting an application domain name in the application access request;在域名解析地址池中查询与提取到的应用域名对应的应用地址;及Query the application address corresponding to the extracted application domain name in the domain name resolution address pool; and将查询到的应用地址发送至所述终端,使所述终端根据所述查询到的应用地址从应用容器中获取匹配的应用数据。Sending the queried application address to the terminal, so that the terminal acquires matching application data from the application container according to the queried application address.
- 根据权利要求1所述的方法,其特征在于,所述接收终端发送的应用访问请求之前,还包括:The method according to claim 1, wherein before the receiving the application access request sent by the terminal, the method further includes:获取各应用容器中运行的应用所对应的应用域名和应用地址;及Obtain the application domain name and application address corresponding to the application running in each application container; and将获取到的应用域名和应用地址对应存储到域名解析池中。The corresponding application domain name and application address are stored in the domain name resolution pool.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:接收应用容器发送的应用地址变更通知;Receiving an application address change notification sent by the application container;提取所述应用地址变更通知中的应用域名和应用地址;及Extracting an application domain name and an application address in the application address change notification; and根据提取到的应用地址更新所述域名解析池中与提取到的应用域名对应的应用地址。Updating an application address corresponding to the extracted application domain name in the domain name resolution pool according to the extracted application address.
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:监听容器操作事件;Listen for container operation events;提取监听到的容器操作事件中的容器操作类型和容器标识;Extracting the container operation type and container ID in the monitored container operation event;根据提取到的容器操作类型确定地址池更新方式;及Determine the address pool update mode according to the extracted container operation type; and根据确定的地址池更新方式更新域名解析地址池中的应用域名和应用地址。Update the application domain name and application address in the domain name resolution address pool according to the determined address pool update mode.
- 根据权利要求1-3中任一项所述的方法,其特征在于,所述提取监听到的容器操作事件中的容器操作类型和容器标识之后,还包括:The method according to any one of claims 1 to 3, further comprising: after extracting the container operation type and the container identifier in the monitored container operation event, further comprising:记录所述容器操作事件的执行时间;及Recording the execution time of the container operation event; and根据记录的执行时间、提取到的容器操作类型和提取到的容器标识生成监听日志。A listen log is generated based on the execution time of the record, the type of container operation extracted, and the extracted container ID.
- 一种应用访问装置,其特征在于,包括:An application access device, comprising:访问请求接收模块,用于接收终端发送的应用访问请求;An access request receiving module, configured to receive an application access request sent by the terminal;应用域名提取模块,用于提取所述应用访问请求中的应用域名;Applying a domain name extraction module, configured to extract an application domain name in the application access request;应用地址查询模块,用于在域名解析地址池中查询与提取到的应用域名对应的应用地址;及The application address query module is configured to query, in the domain name resolution address pool, an application address corresponding to the extracted application domain name; and应用地址发送模块,用于将查询到的应用地址发送至所述终端,使所述终端根据所述查询到的应用地址从应用容器中获取匹配的应用数据。The application address sending module is configured to send the queried application address to the terminal, so that the terminal obtains matching application data from the application container according to the queried application address.
- 根据权利要求6所述的装置,其特征在于,所述装置还包括:The device according to claim 6, wherein the device further comprises:应用地址获取模块,用于获取各应用容器中运行的应用所对应的应用域名和应用地址;及An application address obtaining module is configured to obtain an application domain name and an application address corresponding to an application running in each application container; and应用地址存储模块,用于将获取到的应用域名和应用地址对应存储到域名解析池中。The application address storage module is configured to store the obtained application domain name and application address in the domain name resolution pool.
- 根据权利要求6所述的装置,其特征在于,所述装置还包括:The device according to claim 6, wherein the device further comprises:变更通知接收模块,用于接收应用容器发送的应用地址变更通知;a change notification receiving module, configured to receive an application address change notification sent by the application container;域名地址提取模块,用于提取所述应用地址变更通知中的应用域名和应用地址;及a domain name address extraction module, configured to extract an application domain name and an application address in the application address change notification; and应用地址更新模块,用于根据提取到的应用地址更新所述域名解析池中与提取到的应用域名对应的应用地址。The application address update module is configured to update an application address corresponding to the extracted application domain name in the domain name resolution pool according to the extracted application address.
- 根据权利要求6-8任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6-8, wherein the device further comprises:操作指令监听模块,用于监听容器操作事件;An operation instruction listening module for monitoring a container operation event;操作指令解析模块,用于提取监听到的容器操作事件中的容器操作类型和容器标识;An operation instruction parsing module, configured to extract a container operation type and a container identifier in the monitored container operation event;更新方式确定模块,用于根据提取到的容器操作类型确定地址池更新方式;及An update mode determining module, configured to determine an address pool update mode according to the extracted container operation type; and地址池更新模块,用于根据确定的地址池更新方式更新域名解析地址池中的应用域名和应用地址。The address pool update module is configured to update the application domain name and the application address in the domain name resolution address pool according to the determined address pool update manner.
- 根据权利要求6-8中任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6-8, wherein the device further comprises:监听日志生成模块,用于记录所述容器操作事件的执行时间;根据记录的执行时间、提取到的容器操作类型和提取到的容器标识生成监听日志。The monitoring log generating module is configured to record an execution time of the container operation event, and generate a monitoring log according to the execution time of the record, the extracted container operation type, and the extracted container identifier.
- 一种计算机设备,所述计算机设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机指令,所述处理器执行所述计算机指令时实现以下步骤:A computer device comprising a memory, a processor, and computer instructions stored on the memory and operative on the processor, the processor executing the computer instructions to:接收终端发送的应用访问请求;Receiving an application access request sent by the terminal;提取所述应用访问请求中的应用域名;Extracting an application domain name in the application access request;在域名解析地址池中查询与提取到的应用域名对应的应用地址;及Query the application address corresponding to the extracted application domain name in the domain name resolution address pool; and将查询到的应用地址发送至所述终端,使所述终端根据所述查询到的应用地址从应用容器中获取匹配的应用数据。Sending the queried application address to the terminal, so that the terminal acquires matching application data from the application container according to the queried application address.
- 根据权利要求11所述的计算机设备,其特征在于,所述接收终端发送的应用访问请求之前,所述处理器执行所述计算机指令时还实现以下步骤:The computer device according to claim 11, wherein the processor further implements the following steps when the processor executes the computer instruction before the application access request sent by the terminal:获取各应用容器中运行的应用所对应的应用域名和应用地址;及Obtain the application domain name and application address corresponding to the application running in each application container; and将获取到的应用域名和应用地址对应存储到域名解析池中。The corresponding application domain name and application address are stored in the domain name resolution pool.
- 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机指令时还实现以下步骤:The computer apparatus according to claim 11, wherein said processor further implements the following steps when said computer instruction is executed:接收应用容器发送的应用地址变更通知;Receiving an application address change notification sent by the application container;提取所述应用地址变更通知中的应用域名和应用地址;及Extracting an application domain name and an application address in the application address change notification; and根据提取到的应用地址更新所述域名解析池中与提取到的应用域名对应的应用地址。Updating an application address corresponding to the extracted application domain name in the domain name resolution pool according to the extracted application address.
- 根据权利要求11-13中任一项所述的计算机设备,其特征在于,所述处理器执行所述计算机指令时还实现以下步骤:The computer device according to any one of claims 11 to 13, wherein the processor further implements the following steps when the computer instruction is executed:监听容器操作事件;Listen for container operation events;提取监听到的容器操作事件中的容器操作类型和容器标识;Extracting the container operation type and container ID in the monitored container operation event;根据提取到的容器操作类型确定地址池更新方式;及Determine the address pool update mode according to the extracted container operation type; and根据确定的地址池更新方式更新域名解析地址池中的应用域名和应用地址。Update the application domain name and application address in the domain name resolution address pool according to the determined address pool update mode.
- 根据权利要求11-13中任一项所述的计算机设备,其特征在于,所述提取监听到的容器操作事件中的容器操作类型和容器标识之后,所述处理器执行所述计算机指令时还实现以下步骤:The computer device according to any one of claims 11 to 13, wherein after the extracting the container operation type and the container identifier in the monitored container operation event, the processor further executes the computer instruction Implement the following steps:记录所述容器操作事件的执行时间;及Recording the execution time of the container operation event; and根据记录的执行时间、提取到的容器操作类型和提取到的容器标识生成监听日志。A listen log is generated based on the execution time of the record, the type of container operation extracted, and the extracted container ID.
- 一种非易失性计算机可读存储介质,其上存储有计算机指令,其特征在于,所述计算机指令被处理器执行时实现以下步骤:A non-transitory computer readable storage medium having stored thereon computer instructions, wherein the computer instructions, when executed by a processor, implement the following steps:接收终端发送的应用访问请求;Receiving an application access request sent by the terminal;提取所述应用访问请求中的应用域名;Extracting an application domain name in the application access request;在域名解析地址池中查询与提取到的应用域名对应的应用地址;及Query the application address corresponding to the extracted application domain name in the domain name resolution address pool; and将查询到的应用地址发送至所述终端,使所述终端根据所述查询到的应用地址从应用容器中获取匹配的应用数据。Sending the queried application address to the terminal, so that the terminal acquires matching application data from the application container according to the queried application address.
- 根据权利要求16所述的存储介质,其特征在于,所述接收终端发送的应用访问请求之前,所述计算机指令被处理器执行时还实现以下步骤:The storage medium according to claim 16, wherein the computer program is executed by the processor before the application access request sent by the terminal further implements the following steps:获取各应用容器中运行的应用所对应的应用域名和应用地址;及Obtain the application domain name and application address corresponding to the application running in each application container; and将获取到的应用域名和应用地址对应存储到域名解析池中。The corresponding application domain name and application address are stored in the domain name resolution pool.
- 根据权利要求16所述的存储介质,其特征在于,所述计算机指令被处理器执行时还实现以下步骤:The storage medium of claim 16, wherein the computer instructions are further executed by the processor to:接收应用容器发送的应用地址变更通知;Receiving an application address change notification sent by the application container;提取所述应用地址变更通知中的应用域名和应用地址;及Extracting an application domain name and an application address in the application address change notification; and根据提取到的应用地址更新所述域名解析池中与提取到的应用域名对应的应用地址。Updating an application address corresponding to the extracted application domain name in the domain name resolution pool according to the extracted application address.
- 根据权利要求16-18中任一项所述的存储介质,其特征在于,所述计算机指令被处理器执行时实现以下步骤:The storage medium of any of claims 16-18, wherein the computer instructions are executed by the processor to implement the following steps:监听容器操作事件;Listen for container operation events;提取监听到的容器操作事件中的容器操作类型和容器标识;Extracting the container operation type and container ID in the monitored container operation event;根据提取到的容器操作类型确定地址池更新方式;及Determine the address pool update mode according to the extracted container operation type; and根据确定的地址池更新方式更新域名解析地址池中的应用域名和应用地址。Update the application domain name and application address in the domain name resolution address pool according to the determined address pool update mode.
- 根据权利要求16-18中任一项所述的存储介质,其特征在于,所述提取监听到的容器操作事件中的容器操作类型和容器标识之后,所述计算机指令被处理器执行时还实现以下步骤:The storage medium according to any one of claims 16 to 18, wherein after the extracting the container operation type and the container identifier in the monitored container operation event, the computer instruction is further implemented by the processor The following steps:记录所述容器操作事件的执行时间;及Recording the execution time of the container operation event; and根据记录的执行时间、提取到的容器操作类型和提取到的容器标识生成监听日志。A listen log is generated based on the execution time of the record, the type of container operation extracted, and the extracted container ID.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710608060.5A CN107707607A (en) | 2017-07-24 | 2017-07-24 | Using access method, device, computer equipment and storage medium |
CN201710608060.5 | 2017-07-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019019670A1 true WO2019019670A1 (en) | 2019-01-31 |
Family
ID=61170751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/079978 WO2019019670A1 (en) | 2017-07-24 | 2018-03-22 | Application accessing method and device, computer apparatus, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107707607A (en) |
WO (1) | WO2019019670A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107707607A (en) * | 2017-07-24 | 2018-02-16 | 上海壹账通金融科技有限公司 | Using access method, device, computer equipment and storage medium |
CN109495464B (en) * | 2018-11-05 | 2021-05-28 | 创新先进技术有限公司 | Method, device, equipment and system for tracking application access |
CN112311904A (en) * | 2019-07-25 | 2021-02-02 | 北京中关村科金技术有限公司 | Method, device, storage medium and domain name management system for updating domain name record |
CN111200595B (en) * | 2019-12-20 | 2022-04-29 | 北京淇瑀信息科技有限公司 | Authority management method and device for accessing container and electronic equipment |
CN111090823B (en) * | 2019-12-23 | 2024-02-09 | 广州市百果园信息技术有限公司 | Page application integration system, application access method, device and equipment |
CN111182089B (en) * | 2019-12-31 | 2022-09-20 | 北京金山云网络技术有限公司 | Container cluster system, method and device for accessing big data assembly and server |
CN113760442A (en) * | 2020-10-19 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Application running and accessing method, device and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201682522U (en) * | 2010-02-08 | 2010-12-22 | 阿里巴巴集团控股有限公司 | Conversation information storage system and application server |
CN102611762A (en) * | 2011-01-21 | 2012-07-25 | 中国电信股份有限公司 | Uniform domain name service system and method |
US8898329B1 (en) * | 2009-04-29 | 2014-11-25 | RangeCast Technologies, Inc | Network audio distribution system and method |
CN106130990A (en) * | 2016-06-29 | 2016-11-16 | 中国联合网络通信集团有限公司 | The control method of container access and device |
CN106341438A (en) * | 2015-07-10 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Request processing method and device |
CN107707607A (en) * | 2017-07-24 | 2018-02-16 | 上海壹账通金融科技有限公司 | Using access method, device, computer equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103685604B (en) * | 2013-12-20 | 2017-07-11 | 北京奇安信科技有限公司 | A kind of domain name pre-parsed method and device |
US10218633B2 (en) * | 2014-03-28 | 2019-02-26 | Amazon Technologies, Inc. | Implementation of a service that coordinates the placement and execution of containers |
CN106302771A (en) * | 2016-08-23 | 2017-01-04 | 浪潮电子信息产业股份有限公司 | Domain name configuration method of application created based on Docker container |
-
2017
- 2017-07-24 CN CN201710608060.5A patent/CN107707607A/en active Pending
-
2018
- 2018-03-22 WO PCT/CN2018/079978 patent/WO2019019670A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8898329B1 (en) * | 2009-04-29 | 2014-11-25 | RangeCast Technologies, Inc | Network audio distribution system and method |
CN201682522U (en) * | 2010-02-08 | 2010-12-22 | 阿里巴巴集团控股有限公司 | Conversation information storage system and application server |
CN102611762A (en) * | 2011-01-21 | 2012-07-25 | 中国电信股份有限公司 | Uniform domain name service system and method |
CN106341438A (en) * | 2015-07-10 | 2017-01-18 | 阿里巴巴集团控股有限公司 | Request processing method and device |
CN106130990A (en) * | 2016-06-29 | 2016-11-16 | 中国联合网络通信集团有限公司 | The control method of container access and device |
CN107707607A (en) * | 2017-07-24 | 2018-02-16 | 上海壹账通金融科技有限公司 | Using access method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107707607A (en) | 2018-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019019670A1 (en) | Application accessing method and device, computer apparatus, and storage medium | |
US20200021662A1 (en) | Systems and methods for web to mobile app correlation | |
US10740299B2 (en) | Systems and methods for providing continuing access to a remote computer program | |
WO2018130066A1 (en) | Data migration method, computer device, and storage medium | |
WO2019085073A1 (en) | Interface test method and apparatus, computer device, and storage medium | |
CN110971655B (en) | Offline client playback and synchronization | |
US9910895B2 (en) | Push subscriptions | |
US10732861B2 (en) | Generating and providing low-latency cached content | |
WO2019019361A1 (en) | Method and apparatus for processing data of database, computer device, and storage medium | |
US20180124109A1 (en) | Techniques for classifying a web page based upon functions used to render the web page | |
WO2020063851A1 (en) | Method and device for searching for hosting program | |
WO2020228038A1 (en) | Domain name processing method, apparatus, electronic device, and storage medium | |
US11580294B2 (en) | Techniques for web framework detection | |
US20150007328A1 (en) | Method and System for Quickly Scanning Files | |
EP3398063A1 (en) | Controlled deployment of application feature | |
CN108228770A (en) | A kind of method and device of application file source inquiry | |
US20240103928A1 (en) | Information processing method and apparatus for animation resource, device, medium and product | |
CN109729121B (en) | Cloud storage system and method for realizing custom data processing in cloud storage system | |
CN113395340A (en) | Information updating method, device, equipment, system and readable storage medium | |
CN109213955B (en) | Data processing method and related equipment | |
US9948694B2 (en) | Addressing application program interface format modifications to ensure client compatibility | |
CN108255898B (en) | Page display method and device | |
CN109391658B (en) | Account data synchronization method and equipment, storage medium and terminal thereof | |
US20160204988A1 (en) | Intelligent Device Data Router | |
CN107547607B (en) | Cluster migration method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18838880 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18838880 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28/05/2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18838880 Country of ref document: EP Kind code of ref document: A1 |