CN114710564B - Service access method, device, electronic equipment and storage medium - Google Patents
Service access method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114710564B CN114710564B CN202210406847.4A CN202210406847A CN114710564B CN 114710564 B CN114710564 B CN 114710564B CN 202210406847 A CN202210406847 A CN 202210406847A CN 114710564 B CN114710564 B CN 114710564B
- Authority
- CN
- China
- Prior art keywords
- access
- service
- historical
- target
- target service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
技术领域Technical field
本公开涉及通信技术领域,尤其涉及一种业务访问的方法、装置、电子设备和存储介质。The present disclosure relates to the field of communication technology, and in particular, to a service access method, device, electronic device and storage medium.
背景技术Background technique
随着通信技术的不断发展,为了得到更高的网络带宽、更好的网络访问质量,路由器的双WAN(英文:Wide Area Network;中文:广域网)以及多WAN接入网络的需求越来越多。目前,包含多WAN口的路由器通常是根据终端访问的会话(Session)来分配WAN口的,也就是说,不同的会话可能会被分配到不同的WAN口。With the continuous development of communication technology, in order to obtain higher network bandwidth and better network access quality, there is an increasing demand for dual WAN (English: Wide Area Network; Chinese: Wide Area Network) of routers and multi-WAN access networks. . Currently, routers that contain multiple WAN ports usually allocate WAN ports based on the session accessed by the terminal. In other words, different sessions may be assigned to different WAN ports.
由于同一目标业务可能包含多次会话,对于该目标业务来说,终端可能会通过路由器的多个WAN口进行访问,也即该终端对外可能会有多个公网IP地址。但是,对于安全要求比较高的目标业务(例如银行业务),将可能导致业务断开,从而影响用户对目标业务的正常访问。Since the same target service may include multiple sessions, the terminal may access the target service through multiple WAN ports of the router, that is, the terminal may have multiple external public network IP addresses. However, for target services with relatively high security requirements (such as banking services), the service may be disconnected, thus affecting the user's normal access to the target business.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种业务访问的方法、装置、电子设备和存储介质。In order to overcome the problems existing in related technologies, the present disclosure provides a service access method, device, electronic device and storage medium.
根据本公开实施例的第一方面,提供一种业务访问的方法,该方法包括:接收终端发送的业务访问请求消息,所述业务访问请求消息用于访问目标业务;获取所述终端的历史访问记录,所述历史访问记录包括所述终端访问的历史业务,以及所述历史业务对应的历史访问接口,所述历史访问接口用于传输与所述历史业务相关的数据;在所述历史业务包含所述目标业务的情况下,将所述目标业务在所述历史访问记录中对应的所述历史访问接口作为所述目标业务的目标访问接口;通过所述目标访问接口访问所述目标业务。According to a first aspect of an embodiment of the present disclosure, a method of service access is provided. The method includes: receiving a service access request message sent by a terminal, the service access request message being used to access a target service; and obtaining historical access of the terminal. Records, the historical access records include historical services accessed by the terminal, and historical access interfaces corresponding to the historical services. The historical access interfaces are used to transmit data related to the historical services; where the historical services include In the case of the target service, the historical access interface corresponding to the target service in the historical access record is used as the target access interface of the target service; the target service is accessed through the target access interface.
可选地,所述业务访问请求消息包括所述目标业务对应的访问地址信息;所述历史业务包含所述目标业务通过以下方式确定:在所述历史业务对应的访问地址信息中包括所述目标业务对应的访问地址信息的情况下,确定所述历史业务包含所述目标业务;或者,在所述历史业务对应的访问地址信息与所述目标业务对应的访问地址信息满足预设对应关系的情况下,确定所述历史业务包含所述目标业务;其中,所述预设对应关系包括所述历史业务和至少一个访问地址信息的对应关系。Optionally, the service access request message includes access address information corresponding to the target service; the historical service includes the target service in the following manner: including the target in the access address information corresponding to the historical service In the case of access address information corresponding to the service, it is determined that the historical service includes the target service; or, in the case where the access address information corresponding to the historical service and the access address information corresponding to the target service satisfy a preset correspondence relationship Next, it is determined that the historical service includes the target service; wherein the preset correspondence includes a correspondence between the historical service and at least one access address information.
可选地,所述访问地址信息包括访问域名或目的IP地址,所述在所述历史业务对应的访问地址中包括所述目标业务对应的访问地址的情况下,确定所述历史业务包含所述目标业务包括:在所述历史业务对应的访问域名中包括目标域名的情况下,确定所述历史业务包含所述目标业务;所述目标域名包括所述目标业务对应的访问域名,以及所述目标业务对应的访问域名的父域名和子域名中的一个或多个;或者,在所述历史业务对应的目的IP地址中包括所述目标业务对应的目的IP地址的情况下,确定所述历史业务包含所述目标业务。Optionally, the access address information includes an access domain name or a destination IP address, and in the case where the access address corresponding to the historical service includes the access address corresponding to the target service, it is determined that the historical service includes the The target business includes: when the access domain name corresponding to the historical business includes the target domain name, determining that the historical business includes the target business; the target domain name includes the access domain name corresponding to the target business, and the target One or more of the parent domain name and sub-domain name of the access domain name corresponding to the service; or, in the case where the destination IP address corresponding to the historical service includes the destination IP address corresponding to the target service, it is determined that the historical service includes The target business.
可选地,所述方法还包括:在所述历史业务不包含所述目标业务的情况下,从多个预设访问接口中确定所述目标访问接口。Optionally, the method further includes: when the historical service does not include the target service, determining the target access interface from a plurality of preset access interfaces.
可选地,所述从多个所述预设访问接口中确定所述目标访问接口包括:获取多个所述预设访问接口的带宽权重;在所述历史业务不包含所述目标业务的情况下,根据多个所述预设访问接口的带宽权重,从多个所述访问接口中确定所述目标访问接口。Optionally, determining the target access interface from a plurality of the preset access interfaces includes: obtaining bandwidth weights of a plurality of the preset access interfaces; when the historical service does not include the target service Next, the target access interface is determined from the plurality of access interfaces according to the bandwidth weights of the plurality of preset access interfaces.
可选地,所述根据多个所述预设访问接口的带宽权重,从多个所述访问接口中确定所述目标访问接口包括:按照多个所述预设访问接口的带宽权重由大至小的顺序,从多个所述预设访问接口中获取处于空闲状态的访问接口,得到所述目标访问接口。Optionally, determining the target access interface from a plurality of the access interfaces according to the bandwidth weights of the plurality of preset access interfaces includes: according to the bandwidth weights of the plurality of preset access interfaces from large to In a small sequence, an access interface in an idle state is obtained from a plurality of the preset access interfaces to obtain the target access interface.
可选地,所述方法还包括:在未检测到通过所述目标访问接口访问所述目标业务的时间达到预设时间阈值的情况下,从所述历史访问记录中删除所述目标业务的访问记录。Optionally, the method further includes: deleting the access to the target service from the historical access record if it is not detected that the time for accessing the target service through the target access interface reaches a preset time threshold. Record.
根据本公开实施例的第二方面,提供一种业务访问的装置,该装置包括:接收模块,被配置为接收终端发送的业务访问请求消息,所述业务访问请求消息用于访问目标业务;获取模块,被配置为获取所述终端的历史访问记录,所述历史访问记录包括所述终端访问的历史业务,以及所述历史业务对应的历史访问接口,所述历史访问接口用于传输与所述历史业务相关的数据;第一确定模块,被配置为在所述历史业务包含所述目标业务的情况下,将所述目标业务在所述历史访问记录中对应的所述历史访问接口作为所述目标业务的目标访问接口;访问模块,被配置为通过所述目标访问接口访问所述目标业务。According to a second aspect of an embodiment of the present disclosure, a device for service access is provided. The device includes: a receiving module configured to receive a service access request message sent by a terminal, where the service access request message is used to access a target service; obtain A module configured to obtain historical access records of the terminal, where the historical access records include historical services accessed by the terminal, and a historical access interface corresponding to the historical services, where the historical access interface is used to transmit information related to the terminal. Data related to historical services; the first determination module is configured to use the historical access interface corresponding to the target service in the historical access record as the historical access interface when the historical service includes the target service. A target access interface of the target service; an access module configured to access the target service through the target access interface.
可选地,所述业务访问请求消息包括所述目标业务对应的访问地址信息;所述历史业务包含所述目标业务通过以下方式确定:在所述历史业务对应的访问地址信息中包括所述目标业务对应的访问地址信息的情况下,确定所述历史业务包含所述目标业务;或者,在所述历史业务对应的访问地址信息与所述目标业务对应的访问地址信息满足预设对应关系的情况下,确定所述历史业务包含所述目标业务;其中,所述预设对应关系包括所述历史业务和至少一个访问地址信息的对应关系。Optionally, the service access request message includes access address information corresponding to the target service; the historical service includes the target service in the following manner: including the target in the access address information corresponding to the historical service In the case of access address information corresponding to the service, it is determined that the historical service includes the target service; or, in the case where the access address information corresponding to the historical service and the access address information corresponding to the target service satisfy a preset correspondence relationship Next, it is determined that the historical service includes the target service; wherein the preset correspondence includes a correspondence between the historical service and at least one access address information.
可选地,所述访问地址信息包括访问域名或目的IP地址,所述在所述历史业务对应的访问地址中包括所述目标业务对应的访问地址的情况下,确定所述历史业务包含所述目标业务包括:在所述历史业务对应的访问域名中包括目标域名的情况下,确定所述历史业务包含所述目标业务;所述目标域名包括所述目标业务对应的访问域名,以及所述目标业务对应的访问域名的父域名和子域名中的一个或多个;或者,在所述历史业务对应的目的IP地址中包括所述目标业务对应的目的IP地址的情况下,确定所述历史业务包含所述目标业务。Optionally, the access address information includes an access domain name or a destination IP address, and in the case where the access address corresponding to the historical service includes the access address corresponding to the target service, it is determined that the historical service includes the The target business includes: when the access domain name corresponding to the historical business includes the target domain name, determining that the historical business includes the target business; the target domain name includes the access domain name corresponding to the target business, and the target One or more of the parent domain name and sub-domain name of the access domain name corresponding to the service; or, in the case where the destination IP address corresponding to the historical service includes the destination IP address corresponding to the target service, it is determined that the historical service includes The target business.
可选地,所述装置还包括:第二确定模块,被配置为在所述历史业务不包含所述目标业务的情况下,从多个预设访问接口中确定所述目标访问接口。Optionally, the device further includes: a second determination module configured to determine the target access interface from a plurality of preset access interfaces when the historical service does not include the target service.
可选地,所述第二确定模块,包括:获取子模块,被配置为获取多个所述预设访问接口的带宽权重;确定子模块,被配置为在所述历史业务不包含所述目标业务的情况下,根据多个所述预设访问接口的带宽权重,从多个所述访问接口中确定所述目标访问接口。Optionally, the second determination module includes: an acquisition sub-module configured to acquire bandwidth weights of a plurality of the preset access interfaces; a determination sub-module configured to determine when the historical service does not include the target In the case of services, the target access interface is determined from a plurality of the access interfaces according to the bandwidth weights of the plurality of preset access interfaces.
可选地,所述确定子模块,被配置为按照多个所述预设访问接口的带宽权重由大至小的顺序,从多个所述预设访问接口中获取处于空闲状态的访问接口,得到所述目标访问接口。Optionally, the determination sub-module is configured to obtain an access interface in an idle state from a plurality of the preset access interfaces in descending order of bandwidth weights of the plurality of preset access interfaces, Obtain the target access interface.
可选地,所述装置还包括:删除模块,被配置为在未检测到通过所述目标访问接口访问所述目标业务的时间达到预设时间阈值的情况下,从所述历史访问记录中删除所述目标业务的访问记录。Optionally, the device further includes: a deletion module configured to delete from the historical access record if it is not detected that the time for accessing the target service through the target access interface reaches a preset time threshold. Access records of the target business.
根据本公开实施例的第三方面,提供一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为在调用所述存储器上存储的可执行指令时,实现本公开第一方面所述的业务访问的方法的步骤。According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to call executable instructions stored on the memory. When the instruction is executed, the steps of the service access method described in the first aspect of the present disclosure are implemented.
根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开第一方面所述的业务访问的方法的步骤。According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the method for business access described in the first aspect of the present disclosure are implemented. .
本公开的实施例提供的技术方案可以包括以下有益效果:首先,接收终端发送的业务访问请求消息,该业务访问请求消息用于访问目标业务;其次,获取该终端的历史访问记录,该历史访问记录包括该终端访问的历史业务,以及该历史业务对应的历史访问接口,该历史访问接口用于传输与该历史业务相关的数据;之后,在该历史业务包含该目标业务的情况下,将该目标业务在该历史访问记录中对应的该历史访问接口作为该目标业务的目标访问接口;最后,通过该目标访问接口访问该目标业务。通过上述方法,能够在历史访问记录中的历史业务包含当前访问的目标业务的情况下,也即该目标业务与历史业务属于同一业务的情况下,通过历史访问记录中该目标业务对应的历史访问接口访问该目标业务,也就是说,本公开在访问同一业务时通过同一访问接口进行访问,解决了通过多个访问接口访问同一业务时,可能会导致业务中断的问题。The technical solution provided by the embodiments of the present disclosure can include the following beneficial effects: first, receiving a service access request message sent by the terminal, and the service access request message is used to access the target service; second, obtaining the historical access record of the terminal, and the historical access The record includes the historical business accessed by the terminal and the historical access interface corresponding to the historical business. The historical access interface is used to transmit data related to the historical business; later, when the historical business includes the target business, the historical access interface is The historical access interface corresponding to the target service in the historical access record is used as the target access interface of the target service; finally, the target service is accessed through the target access interface. Through the above method, when the historical business in the historical access record contains the currently accessed target business, that is, when the target business and the historical business belong to the same business, the historical access corresponding to the target business in the historical access record can be The target service is accessed through the interface, that is to say, the present disclosure is used to access the same service through the same access interface, which solves the problem that accessing the same service through multiple access interfaces may cause service interruption.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种业务访问的方法的流程图;Figure 1 is a flow chart of a service access method according to an exemplary embodiment;
图2是根据一示例性实施例示出的另一种业务访问的方法的流程图;Figure 2 is a flow chart of another method of service access according to an exemplary embodiment;
图3是根据一示例性实施例示出的另一种业务访问的方法的流程图;Figure 3 is a flow chart of another method of service access according to an exemplary embodiment;
图4是根据一示例性实施例示出的另一种业务访问的方法的流程图;Figure 4 is a flow chart of another method of service access according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种业务访问的装置的框图;Figure 5 is a block diagram of a device for service access according to an exemplary embodiment;
图6是根据一示例性实施例示出的另一种业务访问的装置的框图;Figure 6 is a block diagram of another device for service access according to an exemplary embodiment;
图7是根据一示例性实施例示出的另一种业务访问的装置的框图;Figure 7 is a block diagram of another device for service access according to an exemplary embodiment;
图8是根据一示例性实施例示出的另一种业务访问的装置的框图;Figure 8 is a block diagram of another device for service access according to an exemplary embodiment;
图9是根据一示例性实施例示出的一种电子设备的框图。FIG. 9 is a block diagram of an electronic device according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with aspects of the disclosure as detailed in the appended claims.
需要说明的是,本申请中所有获取信号、信息或数据的动作都是在遵照所在地国家相应的数据保护法规政策的前提下,并获得由相应装置所有者给予授权的情况下进行的。It should be noted that all actions to obtain signals, information or data in this application are performed under the premise of complying with the corresponding data protection regulations and policies of the country where the location is located, and with authorization from the owner of the corresponding device.
在下文中的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。In the description below, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
在介绍本公开提供的业务访问的方法、装置、电子设备和存储介质之前,首先对本公开各个实施例所涉及的应用场景进行介绍。本公开应用于分配路由器访问接口的场景下,目前,包含多WAN口的路由器通常是根据终端访问的会话(Session)来分配WAN口的,在终端的业务访问请求消息到达路由器后,路由器根据业务访问请求消息中该会话的五元组计算分析得到目标WAN口。可以理解的,不同的会话可能会被分配到不同的WAN口。Before introducing the service access methods, devices, electronic devices, and storage media provided by the present disclosure, application scenarios involved in various embodiments of the present disclosure are first introduced. This disclosure is applied to the scenario of allocating router access interfaces. Currently, routers containing multiple WAN ports usually allocate WAN ports based on the session accessed by the terminal. After the terminal's business access request message reaches the router, the router will allocate WAN ports based on the business access request message. The target WAN port is obtained by calculating and analyzing the five-tuple of the session in the access request message. It is understandable that different sessions may be assigned to different WAN ports.
由于同一目标业务可能包含多次会话,对于该目标业务来说,终端可能会通过路由器的多个WAN口进行访问,每个WAN口包含一个公网IP地址,该终端对外可能会有多个公网IP地址。但是,对于安全要求比较高的目标业务(例如银行业务),将可能导致业务断开,从而影响用户对目标业务的正常访问。Since the same target service may contain multiple sessions, for this target service, the terminal may access through multiple WAN ports of the router. Each WAN port contains a public network IP address, and the terminal may have multiple external public IP addresses. network IP address. However, for target services with relatively high security requirements (such as banking services), the service may be disconnected, thus affecting the user's normal access to the target business.
另外,还有一种分配方式是通过预先指定每个终端的WAN口,使得每个终端的所有业务访问都是通过指定WAN口进行的。但是,这种方式一旦设置完成,后续无法根据每个WAN口的负载程度进行动态调整,也即无法充分利用多WAN口的带宽。并且当终端数量较多时,每个终端都需要单独进行设置,实现方式较为繁琐。In addition, there is another allocation method by pre-designating the WAN port of each terminal, so that all business access of each terminal is performed through the designated WAN port. However, once this method is set up, it cannot be dynamically adjusted according to the load level of each WAN port, which means that the bandwidth of multiple WAN ports cannot be fully utilized. And when there are a large number of terminals, each terminal needs to be set up separately, and the implementation method is more cumbersome.
为了解决上述问题,本公开提供一种业务访问的方法、装置、电子设备和存储介质,能够在历史访问记录中的历史业务包含当前访问的目标业务的情况下,也即该目标业务与历史业务属于同一业务的情况下,通过历史访问记录中该目标业务对应的历史访问接口访问该目标业务,也就是说,本公开在访问同一业务时通过同一访问接口进行访问,解决了通过多个访问接口访问同一目标业务时,可能会导致业务中断的问题。In order to solve the above problems, the present disclosure provides a method, device, electronic device and storage medium for business access, which can be used when the historical business in the historical access record contains the currently accessed target business, that is, the target business and the historical business In the case of belonging to the same business, the target business is accessed through the historical access interface corresponding to the target business in the historical access record. That is to say, the present disclosure accesses through the same access interface when accessing the same business, solving the problem of accessing through multiple access interfaces. When accessing the same target business, it may cause business interruption.
下面结合附图对本公开的具体实施方式进行详细说明。Specific embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
图1是根据一示例性实施例示出的一种业务访问的方法的流程图,该方法应用于路由器中,如图1所示,该方法可以包括以下步骤:Figure 1 is a flow chart of a service access method according to an exemplary embodiment. The method is applied in a router. As shown in Figure 1, the method may include the following steps:
在步骤S101中,接收终端发送的业务访问请求消息。In step S101, receive the service access request message sent by the terminal.
当终端访问目标业务时,需要向路由器发送业务访问请求消息,以便路由器根据该业务访问请求消息获取到目标业务的访问地址信息,从而根据该访问地址信息通过访问接口对目标业务进行访问。其中,该业务访问请求消息用于访问目标业务,该访问接口可以是路由器的WAN口。When the terminal accesses the target service, it needs to send a service access request message to the router so that the router can obtain the access address information of the target service based on the service access request message and access the target service through the access interface based on the access address information. The service access request message is used to access the target service, and the access interface may be the WAN port of the router.
在步骤S102中,获取该终端的历史访问记录。In step S102, the historical access record of the terminal is obtained.
其中,该历史访问记录包括该终端访问的历史业务,以及该历史业务对应的历史访问接口,该历史访问接口用于传输与该历史业务相关的数据。The historical access record includes historical services accessed by the terminal, and a historical access interface corresponding to the historical services. The historical access interface is used to transmit data related to the historical services.
在步骤S103中,在该历史业务包含该目标业务的情况下,将该目标业务在该历史访问记录中对应的该历史访问接口作为该目标业务的目标访问接口。In step S103, when the historical service includes the target service, the historical access interface corresponding to the target service in the historical access record is used as the target access interface of the target service.
由于部分业务(例如银行业务)对于安全性要求较高,若终端通过多个访问接口对目标业务进行访问,目标业务端处于安全性的考虑可能会中断该终端对目标业务的访问,最终导致该终端对目标业务的访问异常。因此,在路由器包含多个访问接口的情况下,为了保证用户通过终端正常访问目标业务,在本实施例中,可以根据历史业务中是否包含该目标业务,确定该用户是否通过该终端访问同一业务,并在该历史业务中包含该目标业务的情况下,确定该终端访问的目标业务与历史业务是同一业务,将该目标业务在该历史访问记录中对应的该历史访问接口作为该目标业务的目标访问接口。也就是说,在确定该终端访问的目标业务与历史业务属于同一业务的情况下,通过同一个访问接口对目标业务进行访问。这样,可以避免现有技术中根据业务访问请求消息的会话对路由器的多个访问接口进行分配,使得终端对同一业务可能通过多个访问接口进行访问,可能导致业务访问中断的问题,确保了用户对目标业务的正常访问。Since some businesses (such as banking services) have high security requirements, if a terminal accesses the target business through multiple access interfaces, the target business end may interrupt the terminal's access to the target business for security reasons, eventually leading to the The terminal's access to the target service is abnormal. Therefore, in the case where the router contains multiple access interfaces, in order to ensure that the user normally accesses the target service through the terminal, in this embodiment, it can be determined whether the user accesses the same service through the terminal based on whether the historical service includes the target service. , and when the historical service includes the target service, it is determined that the target service accessed by the terminal is the same service as the historical service, and the historical access interface corresponding to the target service in the historical access record is used as the target service. Target access interface. That is to say, when it is determined that the target service accessed by the terminal and the historical service belong to the same service, the target service is accessed through the same access interface. In this way, it is possible to avoid the problem in the prior art that multiple access interfaces of the router are allocated according to the session of the service access request message, so that the terminal may access the same service through multiple access interfaces, which may cause service access interruption, and ensures that the user Normal access to the target business.
在步骤S104中,通过该目标访问接口访问该目标业务。In step S104, access the target service through the target access interface.
采用上述方法,能够在历史访问记录中的历史业务包含当前访问的目标业务的情况下,也即该目标业务与历史业务属于同一业务的情况下,通过历史访问记录中该目标业务对应的历史访问接口访问该目标业务,也就是说,本公开在访问同一业务时通过同一访问接口进行访问,解决了通过多个访问接口访问同一目标业务时,可能会导致业务中断的问题。Using the above method, when the historical business in the historical access record contains the target business of the current visit, that is, when the target business and the historical business belong to the same business, the historical access corresponding to the target business in the historical access record can be used The target service is accessed through the interface, that is to say, the present disclosure is used to access the same service through the same access interface, which solves the problem that accessing the same target service through multiple access interfaces may cause service interruption.
在一些实施例中,该业务访问请求消息可以包括该目标业务对应的访问地址信息,上述步骤S103中历史业务包含该目标业务可以通过以下方式确定:In some embodiments, the service access request message may include access address information corresponding to the target service. In the above step S103, it can be determined that the historical service includes the target service in the following manner:
方式一:在该历史业务对应的访问地址信息中包括该目标业务对应的访问地址信息的情况下,确定该历史业务包含该目标业务。Method 1: When the access address information corresponding to the historical service includes the access address information corresponding to the target service, determine that the historical service includes the target service.
在一些可能的实现方式中,该访问地址信息例如可以包括访问域名或目的IP地址,进一步地,该在该历史业务对应的访问地址中包括该目标业务对应的访问地址的情况下,确定该历史业务包含该目标业务可以包括:在该历史业务对应的访问域名中包括目标域名的情况下,确定该历史业务包含该目标业务。In some possible implementations, the access address information may include, for example, an access domain name or a destination IP address. Further, if the access address corresponding to the historical service includes the access address corresponding to the target service, the historical service is determined. The business containing the target business may include: when the access domain name corresponding to the historical business includes the target domain name, determining that the historical business contains the target business.
其中,该目标域名可以包括该目标业务对应的访问域名,以及该目标业务对应的访问域名的父域名和子域名中的一个或多个。示例地,若历史业务对应的访问域名为cmbchina.com,且目标业务对应的访问域名为cmbchina.com或者是cmbchina.com的子域名,那么,可以确定历史业务包含该目标业务。其中,cmbchina.com的子域名例如可以是a.cmbchina.com,或者b.cmbchina.com。相应地,cmbchina.com是a.cmbchina.com或者b.cmbchina.com的父域名。上述示例仅是举例说明,本公开对此不作限定。The target domain name may include an access domain name corresponding to the target service, and one or more of the parent domain name and sub-domain name of the access domain name corresponding to the target service. For example, if the access domain name corresponding to the historical business is cmbchina.com, and the access domain name corresponding to the target business is cmbchina.com or a subdomain name of cmbchina.com, then it can be determined that the historical business includes the target business. Among them, the subdomain name of cmbchina.com may be, for example, a.cmbchina.com or b.cmbchina.com. Correspondingly, cmbchina.com is the parent domain name of a.cmbchina.com or b.cmbchina.com. The above examples are only illustrative, and the present disclosure does not limit them.
另外,路由器在接收到终端发送的访问域名后,可以通过DNS(英文:Domain NameSystem;中文:域名解析系统)服务器对该访问域名进行解析,将该访问域名转换为对应的IP地址,从而便于后续根据IP地址访问该目标业务。In addition, after receiving the access domain name sent by the terminal, the router can parse the access domain name through the DNS (English: Domain Name System; Chinese: Domain Name Resolution System) server and convert the access domain name into the corresponding IP address, thus facilitating subsequent Access the target service based on the IP address.
在该历史业务对应的目的IP地址中包括该目标业务对应的目的IP地址的情况下,确定该历史业务包含该目标业务。If the destination IP address corresponding to the historical service includes the destination IP address corresponding to the target service, it is determined that the historical service includes the target service.
针对部分业务的访问,目标业务的访问地址信息包括目的IP地址。在本实施例中,若历史业务对应的目的IP地址中包括该目标业务对应的目的IP地址,即可以确定该历史业务包含该目标业务。其中,该目的IP地址例如可以为1.1.1.1或2.2.2.0/24。需要说明的是,目的IP地址无需通过DNS服务器进行解析就可以直接进行访问。For access to some services, the access address information of the target service includes the destination IP address. In this embodiment, if the destination IP address corresponding to the historical service includes the destination IP address corresponding to the target service, it can be determined that the historical service includes the target service. The destination IP address may be, for example, 1.1.1.1 or 2.2.2.0/24. It should be noted that the destination IP address can be accessed directly without resolving it through a DNS server.
方式二:在该历史业务对应的访问地址信息与该目标业务对应的访问地址信息满足预设对应关系的情况下,确定该历史业务包含该目标业务。Method 2: When the access address information corresponding to the historical service and the access address information corresponding to the target service satisfy a preset correspondence relationship, it is determined that the historical service includes the target service.
其中,该预设对应关系可以包括该历史业务和至少一个访问地址信息的对应关系,该预设对应关系可以是用户预先设置的。The preset correspondence relationship may include a correspondence relationship between the historical business and at least one access address information, and the preset correspondence relationship may be preset by the user.
考虑到部分业务较为复杂,对于同一个业务可能即包括多个访问域名,又包括多个目的IP地址。因此,在本实施例中,为了保证这类业务的正常访问,用户还可以预先设置这类业务的预设对应关系。示例地,该预设对应关系中可以包括业务名称和终端标识(即访问该业务的终端的标识信息)与至少一个访问地址信息的对应关系。其中,该终端标识例如可以是终端的物理地址(MAC地址)或者主机名(hostname)。该至少一个访问地址信息例如可以包括至少一个访问域名和/或至少一个目的IP地址。其中,该目的IP地址可以是完整的IP地址,还可以是IP地址段。Considering that some services are relatively complex, the same service may include multiple access domain names and multiple destination IP addresses. Therefore, in this embodiment, in order to ensure normal access to such services, the user can also preset a preset corresponding relationship for such services. For example, the preset correspondence may include a correspondence between a service name and a terminal identifier (ie, identification information of a terminal accessing the service) and at least one access address information. The terminal identifier may be, for example, the terminal's physical address (MAC address) or host name (hostname). The at least one access address information may include, for example, at least one access domain name and/or at least one destination IP address. The destination IP address can be a complete IP address or an IP address segment.
具体地,若预设对应关系中该历史业务对应的访问地址信息中包含目标业务对应的访问地址信息,即可以确定该历史业务对应的访问地址信息与该目标业务对应的访问地址信息满足预设对应关系。Specifically, if the access address information corresponding to the historical service in the preset correspondence relationship contains the access address information corresponding to the target service, it can be determined that the access address information corresponding to the historical service and the access address information corresponding to the target service satisfy the preset Correspondence.
示例地,以预设对应关系包括历史业务与第一访问域名、第二访问域名、第一目的地IP地址和第二目的IP地址的对应关系为例进行说明,首先,获取历史访问记录中历史业务的访问地址信息。若该历史业务的访问地址信息包括第一目的IP地址,且终端发送的业务访问请求消息中包含目标业务的第一访问域名。根据预设对应关系可知,该历史业务对应的访问地址信息中包含目标业务对应的访问地址信息,也即目标业务的第一访问域名与历史业务的第一目的IP地址满足预设对应关系,则可以确定该历史业务包含该目标业务,也即该历史业务与该目标业务属于同一业务。For example, the preset correspondence includes the correspondence between historical services and the first access domain name, the second access domain name, the first destination IP address, and the second destination IP address. First, obtain the history in the historical access record. Business access address information. If the access address information of the historical service includes the first destination IP address, and the service access request message sent by the terminal includes the first access domain name of the target service. According to the preset correspondence relationship, it can be seen that the access address information corresponding to the historical service includes the access address information corresponding to the target service, that is, the first access domain name of the target service and the first destination IP address of the historical service satisfy the preset correspondence relationship, then It can be determined that the historical business includes the target business, that is, the historical business and the target business belong to the same business.
需要说明的是,若历史访问记录中包括该历史业务的访问记录,且该历史业务存在用户预先设置的预设对应关系,则优先根据该预设对应关系确定该历史业务与该目标业务是否属于同一业务,也就是说,在历史业务存在用户预先设置的预设对应关系的情况下,通过预设对应关系来确定历史业务与目标业务是否属于同一业务的优先级高于通过历史业务的访问地址信息来确定历史业务与目标业务是否属于同一业务的优先级。It should be noted that if the historical access record includes the access record of the historical business, and the historical business has a preset corresponding relationship preset by the user, it is first determined based on the preset corresponding relationship whether the historical business and the target business belong to The same business, that is to say, when the historical business has a preset corresponding relationship preset by the user, the priority of determining whether the historical business and the target business belong to the same business through the preset corresponding relationship is higher than the access address of the historical business. information to determine whether the historical business and the target business belong to the same business priority.
图2是根据一示例性实施例示出的另一种业务访问的方法的流程图,如图2所示,基于上述图1所示实施例中的步骤,该方法还可以包括以下步骤:Figure 2 is a flow chart of another service access method according to an exemplary embodiment. As shown in Figure 2, based on the steps in the embodiment shown in Figure 1, the method may also include the following steps:
在步骤S105中,在该历史业务不包含该目标业务的情况下,从多个预设访问接口中确定该目标访问接口。In step S105, if the historical service does not include the target service, the target access interface is determined from a plurality of preset access interfaces.
若该历史业务中不包含该目标业务,即可以确定历史业务与目标业务不属于同一业务,则可以从多个预设访问接口中确定该目标业务的目标访问接口。If the historical service does not include the target service, it is determined that the historical service and the target service do not belong to the same service, and the target access interface of the target service can be determined from multiple preset access interfaces.
相应地,根据图1所示的实施例可以得到,在步骤S105中可以通过以下方式确定该历史业务中不包含该目标业务:Correspondingly, according to the embodiment shown in Figure 1, it can be obtained that in step S105, it can be determined that the historical service does not include the target service in the following manner:
方式一:在该历史业务对应的访问地址信息中不包括该目标业务对应的访问地址信息的情况下,确定该历史业务不包含该目标业务。Method 1: When the access address information corresponding to the historical service does not include the access address information corresponding to the target service, it is determined that the historical service does not include the target service.
方式二:在该历史业务对应的访问地址信息与该目标业务对应的访问地址信息不满足预设对应关系的情况下,确定该历史业务不包含该目标业务。Method 2: When the access address information corresponding to the historical service and the access address information corresponding to the target service do not satisfy the preset correspondence relationship, determine that the historical service does not include the target service.
如图3所示,上述步骤S105中从多个该预设访问接口中确定该目标访问接口可以包括以下步骤:As shown in Figure 3, determining the target access interface from a plurality of the preset access interfaces in step S105 may include the following steps:
在步骤S1051中,获取多个该预设访问接口的带宽权重。In step S1051, bandwidth weights of multiple preset access interfaces are obtained.
其中,可以根据每个预设访问接口(即WAN口)的带宽对确定每个预设访问接口的带宽权重。示例地,若路由器中包括两个预设访问接口,如WAN1口和WAN2口,且WAN1口的带宽为100M,WAN2口的带宽为50M,那么,可以将WAN1口权重确定为2,WAN2口的权重确定为1。Wherein, the bandwidth weight of each preset access interface can be determined according to the bandwidth pair of each preset access interface (ie, WAN port). For example, if the router includes two preset access interfaces, such as WAN1 and WAN2, and the bandwidth of WAN1 is 100M, and the bandwidth of WAN2 is 50M, then the weight of WAN1 can be determined as 2, and the weight of WAN2 can be The weight is determined to be 1.
在步骤S1052中,在该历史业务不包含该目标业务的情况下,根据多个该预设访问接口的带宽权重,从多个该访问接口中确定该目标访问接口。In step S1052, if the historical service does not include the target service, the target access interface is determined from the plurality of access interfaces according to the bandwidth weights of the plurality of preset access interfaces.
在一些实施例中,可以按照多个该预设访问接口的带宽权重由大至小的顺序,从多个该预设访问接口中获取处于空闲状态的访问接口,得到该目标访问接口。In some embodiments, the target access interface can be obtained by obtaining the access interfaces in the idle state from the plurality of preset access interfaces in descending order of the bandwidth weights of the plurality of preset access interfaces.
示例地,根据步骤S1051获取到每个预设访问接口的权重,即WAN1口权重为2,WAN2口的权重为1。可以理解的,若该终端发起三次对不同业务的访问,将有两次通过WAN1口,一次通过WAN2口。在本步骤中,可以按照多个预设访问接口的带宽权重由大至小的顺序,先确定WAN1口是否处于空闲状态,例如可以确定WAN1口是否达到预设负载量,若WAN1口未达到预设负载量,则可以确定该WAN1口处于空闲状态。若WAN1口处于空闲状态,则可以将WAN1口作为目标访问接口。若WAN1口不处于空闲状态,则可以将WAN2口作为目标访问接口。需要说明的是,若路由器包括多个预设访问接口则需要按照多个预设访问接口的带宽权重由大至小的顺序,依次确定该访问接口是否处于空闲状态,直至得到目标访问接口。上述示例仅是举例说明,本公开对预设访问接口的数量不作限定。For example, the weight of each preset access interface is obtained according to step S1051, that is, the weight of the WAN1 port is 2, and the weight of the WAN2 port is 1. It is understandable that if the terminal initiates three accesses to different services, it will pass through the WAN1 port twice and once through the WAN2 port. In this step, you can first determine whether the WAN1 port is in an idle state according to the order of the bandwidth weights of multiple preset access interfaces from large to small. For example, you can determine whether the WAN1 port has reached the preset load. If the WAN1 port has not reached the preset load, Assuming the load, it can be determined that the WAN1 port is in an idle state. If the WAN1 port is idle, you can use the WAN1 port as the target access interface. If WAN1 port is not idle, WAN2 port can be used as the target access interface. It should be noted that if the router includes multiple preset access interfaces, it is necessary to determine whether the access interfaces are in an idle state in descending order of the bandwidth weights of the multiple preset access interfaces until the target access interface is obtained. The above examples are only illustrative, and the present disclosure does not limit the number of preset access interfaces.
图4是根据一示例性实施例示出的另一种业务访问的方法的流程图,如图4所示,基于上述图2所示实施例中的步骤,该方法还可以包括以下步骤:Figure 4 is a flow chart of another service access method according to an exemplary embodiment. As shown in Figure 4, based on the steps in the embodiment shown in Figure 2, the method may also include the following steps:
在步骤S106中,在未检测到通过该目标访问接口访问该目标业务的时间达到预设时间阈值的情况下,从该历史访问记录中删除该目标业务的访问记录。In step S106, if it is not detected that the time for accessing the target service through the target access interface reaches a preset time threshold, the access record of the target service is deleted from the historical access record.
考虑到若该终端长时间未通过该目标访问接口访问该目标业务,可能是该用户在短期内没有访问该目标业务的需求,也即本次业务访问结束。因此,为了更加合理的分配访问接口,在本实施例中,还可以在未检测到通过该目标访问接口访问该目标业务的时间达到预设时间阈值的情况下,从该历史访问记录中删除该目标业务的访问记录。Considering that if the terminal does not access the target service through the target access interface for a long time, it may be that the user has no need to access the target service in the short term, that is, the current service access is over. Therefore, in order to allocate access interfaces more reasonably, in this embodiment, if it is not detected that the time for accessing the target service through the target access interface reaches the preset time threshold, the access interface can be deleted from the historical access record. Access records of the target business.
也就是说,在未检测到通过该目标访问接口访问该目标业务的时间达到预设时间阈值的情况下,可以确定本次业务访问结束。为了充分利用每个访问接口的带宽,可以从该历史访问记录中删除该目标业务的访问记录,也即该目标业务后续再次进行访问的时候,路由器会根据多个预设访问接口的带宽权重重新确定目标访问接口。That is to say, if it is not detected that the time for accessing the target service through the target access interface reaches the preset time threshold, it can be determined that the current service access has ended. In order to make full use of the bandwidth of each access interface, the access record of the target service can be deleted from the historical access record. That is, when the target service is accessed again in the future, the router will reset based on the bandwidth weight of multiple preset access interfaces. Determine the target access interface.
其中,该预设时间阈值例如可以是10分钟,若未检测到通过该目标访问接口访问该目标业务的时间达到10分钟的情况下,可以确定该终端对目标业务的访问结束,可以从该历史访问记录中删除该目标业务的访问记录。The preset time threshold may be, for example, 10 minutes. If it is not detected that the time for accessing the target service through the target access interface reaches 10 minutes, it can be determined that the terminal's access to the target service has ended, and the history can be obtained. Delete the access record of the target business from the access record.
采用上述方法,能够在历史访问记录中的历史业务包含当前访问的目标业务的情况下,也即该目标业务与历史业务属于同一业务的情况下,通过历史访问记录中该目标业务对应的历史访问接口访问该目标业务,也就是说,本公开在访问同一业务时通过同一访问接口进行访问,解决了通过多个访问接口访问同一目标业务时,可能会导致业务中断的问题。Using the above method, when the historical business in the historical access record contains the target business of the current visit, that is, when the target business and the historical business belong to the same business, the historical access corresponding to the target business in the historical access record can be used The target service is accessed through the interface, that is to say, the present disclosure is used to access the same service through the same access interface, which solves the problem that accessing the same target service through multiple access interfaces may cause service interruption.
图5是根据一示例性实施例示出的一种业务访问的装置的框图,如图5所示,该装置200包括:Figure 5 is a block diagram of a service access device according to an exemplary embodiment. As shown in Figure 5, the device 200 includes:
接收模块201,被配置为接收终端发送的业务访问请求消息,该业务访问请求消息用于访问目标业务;The receiving module 201 is configured to receive a service access request message sent by the terminal, where the service access request message is used to access the target service;
获取模块202,被配置为获取该终端的历史访问记录,该历史访问记录包括该终端访问的历史业务,以及该历史业务对应的历史访问接口,该历史访问接口用于传输与该历史业务相关的数据;The acquisition module 202 is configured to obtain the historical access record of the terminal. The historical access record includes the historical services accessed by the terminal, and the historical access interface corresponding to the historical service. The historical access interface is used to transmit information related to the historical service. data;
第一确定模块203,被配置为在该历史业务包含该目标业务的情况下,将该目标业务在该历史访问记录中对应的该历史访问接口作为该目标业务的目标访问接口;The first determination module 203 is configured to use the historical access interface corresponding to the target service in the historical access record as the target access interface of the target service when the historical service includes the target service;
访问模块204,被配置为通过该目标访问接口访问该目标业务。The access module 204 is configured to access the target service through the target access interface.
可选地,该业务访问请求消息包括该目标业务对应的访问地址信息;该历史业务包含该目标业务通过以下方式确定:在该历史业务对应的访问地址信息中包括该目标业务对应的访问地址信息的情况下,确定该历史业务包含该目标业务;或者,在该历史业务对应的访问地址信息与该目标业务对应的访问地址信息满足预设对应关系的情况下,确定该历史业务包含该目标业务;其中,该预设对应关系包括该历史业务和至少一个访问地址信息的对应关系。Optionally, the service access request message includes access address information corresponding to the target service; it is determined that the historical service includes the target service in the following manner: the access address information corresponding to the historical service includes the access address information corresponding to the target service. In the case of , it is determined that the historical service includes the target service; or, in the case where the access address information corresponding to the historical service and the access address information corresponding to the target service satisfy the preset correspondence relationship, it is determined that the historical service includes the target service ; Wherein, the preset correspondence includes a correspondence between the historical business and at least one access address information.
可选地,该访问地址信息包括访问域名或目的IP地址,该在该历史业务对应的访问地址中包括该目标业务对应的访问地址的情况下,确定该历史业务包含该目标业务包括:在该历史业务对应的访问域名中包括目标域名的情况下,确定该历史业务包含该目标业务;该目标域名包括该目标业务对应的访问域名,以及该目标业务对应的访问域名的父域名和子域名中的一个或多个;或者,在该历史业务对应的目的IP地址中包括该目标业务对应的目的IP地址的情况下,确定该历史业务包含该目标业务。Optionally, the access address information includes an access domain name or a destination IP address. If the access address corresponding to the historical service includes the access address corresponding to the target service, determining that the historical service includes the target service includes: If the access domain name corresponding to the historical business includes the target domain name, it is determined that the historical business includes the target business; the target domain name includes the access domain name corresponding to the target business, and the parent domain name and sub-domain name of the access domain name corresponding to the target business. One or more; or, if the destination IP address corresponding to the historical service includes the destination IP address corresponding to the target service, it is determined that the historical service includes the target service.
可选地,如图6所示,该装置200还包括:Optionally, as shown in Figure 6, the device 200 further includes:
第二确定模块205,被配置为在该历史业务不包含该目标业务的情况下,从多个预设访问接口中确定该目标访问接口。The second determination module 205 is configured to determine the target access interface from a plurality of preset access interfaces when the historical service does not include the target service.
可选地,如图7所示,该第二确定模块205,包括:Optionally, as shown in Figure 7, the second determination module 205 includes:
获取子模块2051,被配置为获取多个该预设访问接口的带宽权重;The acquisition sub-module 2051 is configured to obtain the bandwidth weights of multiple preset access interfaces;
确定子模块2052,被配置为在该历史业务不包含该目标业务的情况下,根据多个该预设访问接口的带宽权重,从多个该访问接口中确定该目标访问接口。The determination sub-module 2052 is configured to determine the target access interface from a plurality of the access interfaces based on the bandwidth weights of the plurality of preset access interfaces when the historical service does not include the target service.
可选地,该确定子模块2052,被配置为按照多个该预设访问接口的带宽权重由大至小的顺序,从多个该预设访问接口中获取处于空闲状态的访问接口,得到该目标访问接口。Optionally, the determination sub-module 2052 is configured to obtain the access interfaces in the idle state from the plurality of preset access interfaces in descending order of the bandwidth weights of the plurality of preset access interfaces, and obtain the Target access interface.
可选地,如图8所示,该装置200还包括:删除模块206,被配置为在未检测到通过该目标访问接口访问该目标业务的时间达到预设时间阈值的情况下,从该历史访问记录中删除该目标业务的访问记录。Optionally, as shown in Figure 8, the device 200 also includes: a deletion module 206, configured to delete data from the history if it is not detected that the time for accessing the target service through the target access interface reaches a preset time threshold. Delete the access record of the target business from the access record.
采用上述装置,能够在历史访问记录中的历史业务包含当前访问的目标业务的情况下,也即该目标业务与历史业务属于同一业务的情况下,通过历史访问记录中该目标业务对应的历史访问接口访问该目标业务,也就是说,本公开在访问同一业务时通过同一访问接口进行访问,解决了通过多个访问接口访问同一目标业务时,可能会导致业务中断的问题。Using the above device, when the historical business in the historical access record includes the currently accessed target business, that is, when the target business and the historical business belong to the same business, the historical access corresponding to the target business in the historical access record can be used. The target service is accessed through the interface, that is to say, the present disclosure is used to access the same service through the same access interface, which solves the problem that accessing the same target service through multiple access interfaces may cause service interruption.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开提供的业务访问的方法的步骤。The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the service access method provided by the present disclosure are implemented.
图9是根据一示例性实施例示出的一种电子设备300的框图。例如,电子设备300可以被提供为一路由器。参照图9,电子设备300包括处理组件322,其进一步包括一个或多个处理器,以及由存储器332所代表的存储器资源,用于存储可由处理组件322的执行的指令,例如应用程序。存储器332中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件322被配置为执行指令,以执行上述方法业务访问的方法。FIG. 9 is a block diagram of an electronic device 300 according to an exemplary embodiment. For example, electronic device 300 may be provided as a router. Referring to FIG. 9 , electronic device 300 includes processing component 322 , which further includes one or more processors, and memory resources represented by memory 332 for storing instructions, such as application programs, executable by processing component 322 . The application program stored in memory 332 may include one or more modules, each of which corresponds to a set of instructions. In addition, the processing component 322 is configured to execute instructions to perform the above-mentioned method of business access.
电子设备300还可以包括一个电源组件326被配置为执行电子设备300的电源管理,一个有线或无线网络接口350被配置为将电子设备300连接到网络,和一个输入输出(I/O)接口358。电子设备300可以操作基于存储在存储器332的操作系统,例如WindowsServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Electronic device 300 may also include a power supply component 326 configured to perform power management of electronic device 300, a wired or wireless network interface 350 configured to connect electronic device 300 to a network, and an input-output (I/O) interface 358 . The electronic device 300 may operate based on an operating system stored in the memory 332, such as Windows Server ™ , Mac OS X ™ , Unix ™ , Linux ™ , FreeBSD ™ or the like.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common knowledge or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the disclosure is limited only by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210406847.4A CN114710564B (en) | 2022-04-18 | 2022-04-18 | Service access method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210406847.4A CN114710564B (en) | 2022-04-18 | 2022-04-18 | Service access method, device, electronic equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114710564A CN114710564A (en) | 2022-07-05 |
| CN114710564B true CN114710564B (en) | 2024-02-06 |
Family
ID=82174459
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210406847.4A Active CN114710564B (en) | 2022-04-18 | 2022-04-18 | Service access method, device, electronic equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114710564B (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101053213A (en) * | 2004-11-04 | 2007-10-10 | 松下电器产业株式会社 | Multi-interface communication device, terminal and path switching method |
| KR20080054831A (en) * | 2006-12-13 | 2008-06-19 | 주식회사 케이티 | Multiple network interface device and method thereof, method for transmitting traffic control option information and method for selecting network interface |
| CN102056133A (en) * | 2009-11-05 | 2011-05-11 | 中兴通讯股份有限公司 | Device and method for realizing concentrated access into business operating support system |
| CN102684951A (en) * | 2011-03-14 | 2012-09-19 | 鸿富锦精密工业(深圳)有限公司 | Method and system for selecting network path from multiple wide area network ports and network path device |
| CN109450869A (en) * | 2018-10-22 | 2019-03-08 | 杭州安恒信息技术股份有限公司 | A kind of service security means of defence based on user feedback |
| CN112153130A (en) * | 2020-09-14 | 2020-12-29 | 腾讯科技(深圳)有限公司 | Business resource access method and device |
| CN113630329A (en) * | 2021-07-20 | 2021-11-09 | 湖北美和易思教育科技有限公司 | Load balancing method and system based on user access amount and readable storage medium |
| CN113849362A (en) * | 2020-06-28 | 2021-12-28 | 腾讯科技(深圳)有限公司 | Business service platform management method, device and computer readable storage medium |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7007080B2 (en) * | 1999-12-23 | 2006-02-28 | Solution Inc Limited | System for reconfiguring and registering a new IP address for a computer to access a different network without user intervention |
| US9197600B2 (en) * | 2011-09-29 | 2015-11-24 | Israel L'Heureux | Smart router |
-
2022
- 2022-04-18 CN CN202210406847.4A patent/CN114710564B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101053213A (en) * | 2004-11-04 | 2007-10-10 | 松下电器产业株式会社 | Multi-interface communication device, terminal and path switching method |
| KR20080054831A (en) * | 2006-12-13 | 2008-06-19 | 주식회사 케이티 | Multiple network interface device and method thereof, method for transmitting traffic control option information and method for selecting network interface |
| CN102056133A (en) * | 2009-11-05 | 2011-05-11 | 中兴通讯股份有限公司 | Device and method for realizing concentrated access into business operating support system |
| CN102684951A (en) * | 2011-03-14 | 2012-09-19 | 鸿富锦精密工业(深圳)有限公司 | Method and system for selecting network path from multiple wide area network ports and network path device |
| CN109450869A (en) * | 2018-10-22 | 2019-03-08 | 杭州安恒信息技术股份有限公司 | A kind of service security means of defence based on user feedback |
| CN113849362A (en) * | 2020-06-28 | 2021-12-28 | 腾讯科技(深圳)有限公司 | Business service platform management method, device and computer readable storage medium |
| CN112153130A (en) * | 2020-09-14 | 2020-12-29 | 腾讯科技(深圳)有限公司 | Business resource access method and device |
| CN113630329A (en) * | 2021-07-20 | 2021-11-09 | 湖北美和易思教育科技有限公司 | Load balancing method and system based on user access amount and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114710564A (en) | 2022-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110677405B (en) | Data processing method and device, electronic equipment and storage medium | |
| TWI675572B (en) | Network service system and network service method | |
| CN114025021B (en) | Communication method, system, medium and electronic equipment crossing Kubernetes cluster | |
| JP6007458B2 (en) | Packet receiving method, deep packet inspection apparatus and system | |
| JPH1065737A (en) | Proxy server device and server device | |
| TWI674780B (en) | Network service system and network service method | |
| CN102148878A (en) | IP (internet protocol) address allocation method, system and device | |
| CN109246078B (en) | Data interaction method and server | |
| CN111327668B (en) | Network management method, device, equipment and storage medium | |
| CN110120932B (en) | Multipath establishing method and device | |
| CN113014680B (en) | Broadband access method, device, equipment and storage medium | |
| EP2466796A1 (en) | User access method, system and access server, access device | |
| CN106453690A (en) | IP address allocation method and apparatus | |
| CN114938508A (en) | 5G private network control method and device, electronic equipment and storage medium | |
| CN111050355A (en) | Method, device and system for dynamically adjusting QoS of mobile terminal | |
| CN114710564B (en) | Service access method, device, electronic equipment and storage medium | |
| CN112272169B (en) | User identity determining method and device | |
| CN110855596B (en) | Communication connection method and device, communication equipment and computer readable storage medium | |
| CN110809033B (en) | Message forwarding method and device and switching server | |
| CN111970250B (en) | Method for identifying account sharing, electronic device and storage medium | |
| CN102413196A (en) | Network address assignment and management method and system thereof | |
| CN114629878A (en) | Address allocation method, UPF entity, SMF entity and storage medium | |
| KR100901630B1 (en) | How to automatically assign location information to internet phone terminal with fixed number | |
| US7813274B1 (en) | Dynamic demultiplexing of network traffic | |
| CN117579598B (en) | Method, device, equipment and medium for distributing IP address based on physical network card |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |