Access request processing method and device, equipment and storage medium
Through the access request processing system between the server and the gateway, the disabled information is selectively intercepted or allowed to access the website according to the user's access request, which solves the problem of the impact of the network ban method on the normal life of the user in the existing technology, and achieves flexibility and Efficient URL disabling.
Patent Information
- Application Number
- CN202410890136.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-18
AI Technical Summary
In the existing technology, the method of banning the Internet is mainly to confiscate the user's hardware equipment. Although it can cure Internet addiction, it has an impact on the user's other normal life uses, and the user can still access the Internet through other devices, which lacks selectivity and flexibility.
By establishing an access request processing system between the server and the gateway, disabling information based on the user's access request, selectively intercepting or allowing users to access specific URLs, realizing the ban on URLs and avoiding the confiscation of hardware devices.
The practicality and flexibility of banning URLs have been improved. Users can selectively disable or unban URLs as needed, reducing the impact on normal life.
Smart Images

Figure CN118802340A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing, and in particular to an access request processing method, device, equipment and storage medium. Background Art
[0002] In daily life, people sometimes become addicted to the Internet, which has an adverse impact on their life and work. For example, addiction to stocks, games, etc. will seriously affect the user's normal life.
[0003] Therefore, it is necessary to impose certain restrictions on users' Internet access in order to mitigate the impact of users' Internet addiction on their lives. Therefore, in the prior art, users are usually prohibited from accessing the Internet by depositing their hardware devices (such as mobile phones) with other people or in dedicated lockers for a period of time to prevent them from using them.
[0004] Although the entire hardware device was confiscated, it can help users quit Internet addiction, but it also affects other normal life needs of users. And even if the hardware is confiscated, users can still use other hardware to log in to the application and use it normally. Since there is no binding relationship between the application and the hardware, in theory, the user's use is not restricted by the hardware, but it has a certain impact on their life. Summary of the invention
[0005] The embodiments of the present application provide an access request processing method, apparatus, device and storage medium, which improve the practicality of network ban.
[0006] According to a first aspect of the present application, an embodiment of the present application provides an access request processing method, which is applied to a register, and the method includes:
[0007] In response to an access request sent by a user, obtaining the user's access request disabling information from a server, wherein the access request includes access website information;
[0008] The access URL information and the access request disabling information are sent to the gateway, so that the gateway determines whether to allow the access request to access the URL in the access URL information according to the access URL information and the access request disabling information.
[0009] Optionally, the method further comprises:
[0010] In response to a first user disabling release signal sent by the server, deleting the user's access request disabling information, wherein the first user disabling release signal is used to indicate the release of the user's access request disabling information;
[0011] and / or,
[0012] A second user disabling release signal is sent to the gateway so that the gateway deletes the user's access request disabling information. The second user disabling release signal is used to indicate the release of the user's access request disabling information.
[0013] Optionally, after sending the second user disabling release signal to the gateway so that the gateway deletes the user's access request disabling information, the method further includes:
[0014] In response to the first user disable restoration signal sent by the server, the access request disable information of the restore user is restored, the first user disable restoration signal being used to indicate the disable restoration signal of the restore user;
[0015] and / or,
[0016] A second user disablement restoration signal is sent to the gateway so that the gateway restores the user's access request disablement information, and the second user disablement restoration signal is used to indicate the disablement restoration signal for restoring the user.
[0017] According to a second aspect of the present application, an embodiment of the present application provides an access request processing method, which is applied to a gateway, and the method includes:
[0018] The receiving register sends information about the user's access request prohibition and access website address information;
[0019] Determine whether the URL of the access URL information exists in the prohibited URL list in the access request prohibition information;
[0020] Where present, intercept access requests;
[0021] In its absence, allow access to the URL of the request to access the URL information.
[0022] Optionally, the gateway is a traffic gateway;
[0023] Before determining whether the access website information exists in the prohibited website list in the access request prohibition information, the method further includes:
[0024] In case of obtaining the traffic excess information sent by the registrar, the access request is intercepted.
[0025] Optionally, the gateway is a communication gateway;
[0026] Before determining whether the access website information exists in the prohibited website list in the access request prohibition information, the method further includes:
[0027] In case the request type of the access request is password retrieval communication information, the access request is intercepted.
[0028] Optionally, before determining whether the access website information exists in the prohibited website list in the access request prohibition information, the method further includes:
[0029] Obtain the disabling requirement in the access request disabling information;
[0030] Determine whether the access website information satisfies a disabling requirement, where the disabling requirement includes at least one of an access time disabling requirement, an access address disabling requirement, and an access traffic value disabling requirement.
[0031] Optionally, after receiving the access request disabling information and the access website information sent by the register, the method further includes:
[0032] In response to the second user disabling release signal sent by the register, the access request disabling information of the user is deleted, and the second user disabling release signal is used to indicate the release of the access request disabling information of the user.
[0033] Optionally, after deleting the access request disabling information, the method further includes:
[0034] In response to the second user disable restoration signal sent by the register; restoring the access request disable information of the user, the second user disable restoration signal is used to indicate the disable restoration signal of the restoring user.
[0035] According to a third aspect of the present application, an embodiment of the present application provides an access request processing method, the method is applied to a server, and the method includes:
[0036] Get the user's user information;
[0037] Obtaining access request disabling information corresponding to the user information according to the user information query;
[0038] Sends the user's access request disable information to the register.
[0039] Optionally, the method further comprises:
[0040] Receive a user's request for temporary unblocking;
[0041] Sending a temporary lifting request to the lifting inquiry object, so that the lifting inquiry object determines the lifting score and lifting time period according to the temporary lifting request;
[0042] Get the ban-release score sent by the ban-release inquiry object;
[0043] When the ban release score is greater than a preset score, sending a first user ban release signal to the register at the start time of the ban release period, so that the register deletes the access request ban information according to the first user ban release signal;
[0044] At the end of the unblocking time period, a first user disablement restoration signal is sent to the register, so that the register restores the access request disablement information.
[0045] Optionally, after obtaining the user information of the user, the method further includes:
[0046] Send user information to the service terminal so that the service terminal refuses to handle services based on the user information.
[0047] According to a fourth aspect of the present application, an embodiment of the present application provides a register, which includes:
[0048] A first acquisition module, configured to acquire the user's access request disabling information from the server in response to an access request sent by the user, wherein the access request includes access website information;
[0049] The first sending module is used to send the access website information and the access request prohibition information to the gateway, so that the gateway determines whether to allow the access request to access the website in the access website information according to the access website information and the access request prohibition information.
[0050] According to a fifth aspect of the present application, an embodiment of the present application provides a gateway, which includes:
[0051] A first receiving module, used for receiving access request prohibition information and access website information about a user sent by a register;
[0052] A determination module, used for determining whether the URL of the access URL information exists in the prohibited URL list in the access request prohibition information;
[0053] A first interception module, for intercepting the access request if it exists;
[0054] The access module is used to allow access to the URL of the URL information requested by the access request when it does not exist.
[0055] According to a sixth aspect of the present application, an embodiment of the present application provides a server, comprising:
[0056] The second acquisition module is used to acquire user information of the user;
[0057] A query module, used to query the user information and obtain the access request disabling information corresponding to the user information;
[0058] The second sending module is used to send the user's access request disabling information to the register.
[0059] According to a seventh aspect of the present application, an embodiment of the present application provides an access request processing system, which includes:
[0060] Such as the register of the fourth aspect;
[0061] Such as the gateway in the fifth aspect;
[0062] Such as the server in the sixth aspect.
[0063] The gateway and the register are connected in communication, and the server and the gateway are connected in communication.
[0064] According to an eighth aspect of the present application, an embodiment of the present application provides an access request processing device, the device comprising: a processor and a memory storing computer program instructions;
[0065] When the processor executes the computer program instructions, the access request processing method of any one of the first aspect, the second aspect and the third aspect is implemented.
[0066] According to the ninth aspect of the present application, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the access request processing method of any one of the first aspect, the second aspect and the third aspect is implemented.
[0067] According to the tenth aspect of the present application, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the access request processing method of any one of the first aspect, the second aspect and the third aspect.
[0068] The access request processing method of the embodiment of the present application obtains the user's access request information by responding to the access request sent by the user, and then sends the access request information to the gateway, so that the gateway is configured according to the access request information, so that the gateway can determine whether to allow the access request to access the URL in the access URL information according to the access disabling information, thereby realizing the disabling of the URL in the access URL information. As a result, the URL in the URL information can be selectively disabled according to the access request disabling information, and the disabling can be achieved without confiscating the user's device, thereby improving the practicality of disabling the URL. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0070] Figure 1 is a flowchart of a method for processing an access request according to an exemplary embodiment;
[0071] Figure 2is another flowchart of a method for processing an access request according to an exemplary embodiment;
[0072] Figure 3 is another flowchart of a method for processing an access request according to an exemplary embodiment;
[0073] Figure 4 is a structural block diagram of a register according to an exemplary embodiment;
[0074] Figure 5 is a structural block diagram of a gateway according to an exemplary embodiment;
[0075] Figure 6 is a structural block diagram of a server according to an exemplary embodiment;
[0076] Figure 7 is a structural block diagram of a controller according to an exemplary embodiment;
[0077] Figure 8 It is a structural block diagram of an access request processing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0078] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0079] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-otherwise inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0080] As described in the background technology section, in the prior art, a commonly used method of banning the Internet is to confiscate the entire hardware device for accessing the Internet. Although this can help to help users quit Internet addiction, it also affects other normal life needs of users.
[0081] Based on this, in the access request processing method provided in the embodiment of the present application, the URLs in the URL information can be selectively disabled according to the access request disabling information, and the disabling can be achieved without confiscating the user's device, thereby improving the practicality of disabling the URL.
[0082] The present application provides an access request processing method, which is applied in a CAN interface module of a controller. The following first introduces the access request processing method provided in an embodiment of the present application.
[0083] Figure 1 A schematic diagram of a process flow of an access request processing method provided by an embodiment of the present application is shown. Figure 1 As shown, the method can be applied to a register, which may include the following steps:
[0084] S101, in response to an access request sent by a user, obtaining user access request disabling information from a server, where the access request includes access website information;
[0085] S102: Send the access website information and the access request disabling information to the gateway, so that the gateway determines whether to allow the access request to access the website in the access website information according to the access website information and the access request disabling information.
[0086] Based on the above embodiments, the access request processing method of the embodiment of the present application obtains the user's access request information by responding to the access request sent by the user, and then sends the access request information to the gateway, so that the gateway is configured according to the access request information, so that the gateway can determine whether to allow the access request to access the URL in the access URL information according to the access disabling information, thereby realizing the disabling of the URL in the access URL information. As a result, the URL in the URL information can be selectively disabled according to the access request disabling information, and the disabling can be achieved without confiscating the user's device, thereby improving the practicality of disabling the URL.
[0087] In the above S101, when the user needs to access the Internet, he will send an access request to the access request processing system to request access to the target website through a network connection to achieve Internet access. The register in the access request system will respond to the access request issued by the user, thereby obtaining the user's access request disabling information from the server.
[0088] As an example, an access request includes access website information, which is information about the website that the access request needs to access. Specifically, the access website information may include: access requester address, access website time, access website, access response time, and access website traffic, etc.
[0089] As an example, the access request prohibition information is information set by the user according to his or her own needs for quitting Internet addiction, which may include: Internet prohibition time, prohibited URLs, prohibited addresses, prohibited Internet accounts, and access traffic limits, etc.
[0090] In the above S102, after obtaining the user's access request disabling information, the register sends the access request disabling information to the gateway, so that the gateway can set according to the information in the access request disabling information, thereby implementing the network ban operation on the user according to the requirements in the access request disabling information through the gateway. Therefore, the gateway will determine whether to allow the access request to access the URL in the access URL information according to the access request disabling information, thereby realizing the selective implementation of the network ban operation on the user.
[0091] In one embodiment, in order to control the user access request to access the URL in the access URL information, the access request processing method provided by one embodiment of the present application may further include:
[0092] S103, in response to a first user disabling release signal sent by the server, deleting the user's access request disabling information, where the first user disabling release signal is used to indicate the release of the user's access request disabling information;
[0093] and / or,
[0094] S104: Send a second user disabling release signal to the gateway so that the gateway deletes the user's access request disabling information. The second user disabling release signal is used to indicate the release of the user's access request disabling information.
[0095] Based on the above embodiment, by responding to the first user disable release signal sent by the server, the access request disable information in the register is deleted, and / or a second user disable release signal is sent to the gateway to delete the access request disable information in the gateway, so that the gateway cannot determine whether to allow the access request to access the URL in the access URL information based on the access request disable information, thereby realizing the control of user access requests and access to the URL in the access URL information.
[0096] In the above S103, if the user needs to lift the access request disabling information and be able to access the Internet normally, the server will send a first user disabling lifting signal to the register. After receiving the first user disabling lifting signal, the register will delete the access request disabling information originally stored / written on the register, so that the access request disabling information cannot be sent to the gateway, and the gateway cannot determine whether to allow the access request to access the URL in the access URL information based on the access request disabling information, so as to lift the user's access request network ban information.
[0097] In the above S104, the register may also send a second user disable release signal to the gateway, so that after receiving the second user disable release signal sent by the register, the gateway will delete the access request disable information stored / written in the gateway, thereby making it impossible for the gateway to determine whether to allow the access request to access the URL in the access URL information based on the access request disable information, so as to achieve the release of the user's access request network ban information.
[0098] In one embodiment, in order to control the user access request to access the URL in the access URL information, after the above S104, the access request processing method provided by one embodiment of the present application may further include:
[0099] S105, in response to the first user disablement restoration signal sent by the server, restoring the access request disablement information of the user, wherein the first user disablement restoration signal is used to indicate the disablement restoration signal of the restored user;
[0100] and / or,
[0101] S106: Send a second user disablement recovery signal to the gateway so that the gateway recovers the user's access request disablement information. The second user disablement recovery signal is used to indicate a disablement recovery signal for recovering the user.
[0102] Based on the above embodiment, by responding to the first user disable recovery signal sent by the server, the access request disable information in the register is restored, and / or a second user disable recovery signal is sent to the gateway to restore the access request disable information in the gateway, so that the gateway can determine whether to allow the access request to access the URL in the access URL information based on the access request disable information, thereby realizing the control of user access requests and access to the URL in the access URL information.
[0103] In the above S105, if the user needs to re-enable the access request disabling information to prohibit Internet access, the server will send a first user disabling recovery signal to the register. After receiving the first user disabling recovery signal, the register will restore the access request disabling information originally stored / written on the register, so that the access request disabling information can be sent to the gateway, so that the gateway can determine whether to allow the access request to access the URL in the access URL information according to the access request disabling information, so as to realize the control of the user's access request through the user's access request ban information to normally access the URL in the access URL information.
[0104] In the above S106, the register may also send a second user disable recovery signal to the gateway, so that after receiving the second user disable recovery signal sent by the register, the gateway will restore the access request disable information stored / written in the gateway, thereby enabling the gateway to determine whether to allow the access request to access the URL in the access URL information based on the access request disable information, so as to achieve the control of the user's access request through the user's access request ban information to normally access the URL in the access URL information.
[0105] The present application also provides an access request processing method, which is applied in a gateway. The following first introduces the access request processing method provided in an embodiment of the present application.
[0106] Figure 2 Another flow chart of the access request processing method provided by one embodiment of the present application is shown. Figure 2 As shown, the method may include the following steps:
[0107] S201, receiving the access request prohibition information and access website information of the user sent by the register;
[0108] S202, determining whether the URL of the access URL information exists in the prohibited URL list in the access request prohibition information;
[0109] S203, if present, intercept the access request;
[0110] S204: If the URL does not exist, allow the access request to access the URL information.
[0111] Based on the above embodiment, after receiving the access request disabling information sent by the register, the gateway can judge the URL of the access URL information in the access request according to the access request disabling information. If the URL of the access URL information exists in the access request disabling information, the access request is intercepted by the gateway, otherwise the access request is allowed to access the URL in the access URL information. Based on this, the gateway can selectively intercept according to the access request disabling information, thereby improving the accuracy of intercepting the access request.
[0112] In the above S201, by connecting the gateway and the register, the gateway can receive the access request prohibition information and access website information about the user from the register.
[0113] In the above S202, the gateway may determine whether the access website information exists in the prohibited website list in the access request prohibition information according to the access request prohibition information.
[0114] As an example, for the websites that need to be disabled, the disabled information of the access request can be listed in a list, thereby forming a disabled website list.
[0115] In the above S203, if the URL of the URL information exists in the list of disabled URLs, it means that the URL cannot be accessed and needs to be disabled, so the access request will be blocked.
[0116] In the above S204, if the URL of the URL information does not exist in the list of banned URLs, it means that the URL is not in the banned range and can be accessed, so the gateway allows the access request to access the URL in the URL information.
[0117] In one embodiment, in order to be able to more specifically control whether an access request should be intercepted through a gateway, the access request processing method provided by one embodiment of the present application may further include:
[0118] The gateway is a traffic gateway.
[0119] Before the above S202, the method may further include:
[0120] S205: When the traffic excess information sent by the register is obtained, the access request is intercepted.
[0121] Based on the above embodiment, through the traffic gateway, when receiving traffic excess information, by intercepting the access request, the access request is not allowed to access when the traffic usage exceeds the quota, thereby realizing the interception of its access traffic.
[0122] In the above S205, the traffic gateway is responsible for processing or selecting the data traffic entering the network, and realizing functions such as network interconnection, protocol conversion, business processing, and data packet control. Therefore, after the traffic gateway receives the traffic excess information sent by the register, it can be determined that the Internet traffic generated by the user's access request has exceeded the access traffic limit required in the access request prohibition information, and therefore needs to be restricted. Specifically, the traffic gateway can disconnect the connection with the URL in the URL information, thereby intercepting the access request.
[0123] In one embodiment, in order to be able to more specifically control whether an access request should be intercepted through a gateway, the access request processing method provided by one embodiment of the present application may further include:
[0124] The gateway is a communication gateway.
[0125] Before the above S202, the method may further include:
[0126] S206: When the request type of the access request is password retrieval communication information, intercept the access request.
[0127] Based on the above embodiment, the communication gateway intercepts the access request of the password retrieval type, preventing the user from reconnecting to the Internet by retrieving or changing the password to avoid the access request disabling information, thereby achieving comprehensive disabling coverage.
[0128] In the above S206, the communication gateway will make a judgment on the request type of the access request. If the request type is password retrieval communication information, the communication gateway will intercept the access request.
[0129] As an example, the communication gateway may include a telephone gateway and a text message gateway. Similarly, the password retrieval communication information may be a voice message or a text message.
[0130] In one embodiment, in order to more accurately determine whether the gateway control access request should be intercepted, the access request processing method provided by one embodiment of the present application may further include:
[0131] Before the above S202, the method further includes:
[0132] S207, obtaining the disabling requirement in the access request disabling information;
[0133] S208, determining that the access website information satisfies a disabling requirement, where the disabling requirement includes at least one of an access time disabling requirement, an access address disabling requirement, and an access traffic value disabling requirement.
[0134] Based on the above embodiment, by setting the network ban requirement in the access request disabling information, it is determined whether the access request needs to be intercepted according to the network ban requirement, so that the access request of the website that is allowed to access the website information not only does not exist in the banned website list, but also can meet the network ban requirement, thereby increasing the conditions for network ban and improving the disabling effect.
[0135] In the above S207, the disabling requirement in the access request information is obtained. Specifically, the disabling requirement may include at least one of an access time disabling requirement, an access address disabling requirement, and an access traffic value disabling requirement.
[0136] In the above S208, whether the access requester address in the URL information of the access request meets the access address prohibition requirement; whether the access URL time in the URL information of the access request meets the network prohibition time; whether the access URL traffic in the URL information of the access request meets the access traffic value prohibition requirement.
[0137] In one embodiment, in order to more accurately determine whether the gateway control access request should be intercepted, the access request processing method provided by one embodiment of the present application may further include:
[0138] After the above S201, the method further includes:
[0139] S209, in response to the second user disabling release signal sent by the register, deleting the user's access request disabling information, wherein the second user disabling release signal is used to indicate the release of the user's access request disabling information.
[0140] Based on the above embodiment, the gateway deletes the access request information originally written / stored on the gateway according to the second user disabling release signal sent by the register, so that the gateway cannot determine whether to allow the access request to access the URL in the access URL information based on the access request disabling information, thereby realizing the control of user access requests and access to the URL in the access URL information.
[0141] In the above S209, after receiving the second user disablement release signal sent by the register, the gateway will delete the access request information originally written / stored on the gateway, thereby making it impossible for the gateway to be configured according to the access request information, and thus making it impossible for the gateway to intercept the user's access request according to the access request information.
[0142] In one embodiment, in order to more accurately determine whether the gateway control access request should be intercepted, the access request processing method provided by one embodiment of the present application may further include:
[0143] After the above S201, the method further includes:
[0144] S2010, in response to a second user disablement restoration signal sent by the register; restoring the user's access request disablement information, the second user disablement restoration signal being used to indicate the disablement restoration signal of the restoring user.
[0145] Based on the above embodiment, the gateway restores the access request information originally written / stored on the gateway according to the second user disabled recovery signal sent by the register, so that the gateway can determine whether to allow the access request to access the URL in the access URL information according to the access request disabled information, so that the gateway can control the user's access request through the user's access request banned information to normally access the URL in the access URL information.
[0146] In the above S2010, since the access request information in the gateway has been deleted, after receiving the second user disable recovery signal sent by the gateway, the access request information can be obtained from the register again, or the gateway can restore the originally deleted second user disable recovery signal, so that the gateway can control the user's access request through the user's access request ban information to normally access the URL in the access URL information.
[0147] The present application also provides an access request processing method, which is applied in a server. The following first introduces the access request processing method provided in an embodiment of the present application.
[0148] Figure 3 Another flow chart of the access request processing method provided by one embodiment of the present application is shown. Figure 3 As shown, the method may include the following steps:
[0149] S301, obtaining user information of the user;
[0150] S302, obtaining access request disabling information corresponding to the user information according to the user information query;
[0151] S303, sending the user's access request disabling information to the register.
[0152] Based on the above embodiment, the server queries the user information of the user to obtain the access request disabling information corresponding to the user information, and then sends the access request disabling information of the user to the register, so that the access request disabling information and the user correspond to each other, thereby ensuring that the register can process the access request disabling information related to the user, thereby improving the accuracy of the access request disabling information.
[0153] In the above S301, the user can log in to the server by logging in to an account, face recognition, fingerprint recognition, etc., so that the server needs to verify the user and thereby obtain the user information of the user.
[0154] As an example, the user information may include user name, user age, user location, etc.
[0155] In the above S302, the user information can be queried from the correspondence between the preset user information and the preset access request disabling information in the server to obtain the access request disabling information corresponding to the user information.
[0156] The user may obtain an access request disabling template from the server, fill in the access request disabling template, and return the filled-in access request disabling template to the server, thereby obtaining the user's access request disabling information.
[0157] In the above S303, the user's access request information is sent to the register, so that the register can send the access request information to the gateway to configure the gateway.
[0158] In one embodiment, in order to more reasonably determine whether the gateway control access request should be intercepted, the access request processing method provided by one embodiment of the present application may further include:
[0159] S304, receiving a temporary lifting request from a user;
[0160] S305, sending a temporary ban-releasing request to the ban-releasing inquiry object, so that the ban-releasing inquiry object determines a ban-releasing score and a ban-releasing time period according to the temporary ban-releasing request;
[0161] S306, obtaining a ban release score sent by the ban release inquiry object;
[0162] S307, when the ban release score is greater than the preset score, sending a first user ban release signal to the register at the start time of the ban release period, so that the register deletes the access request ban information according to the first user ban release signal;
[0163] S308: Send a first user disablement restoration signal to the register at the end of the ban release period, so that the register restores the access request disablement information.
[0164] Based on the above embodiment, after receiving the temporary unlock request from the user, a temporary unblocking request is sent to the unblocking inquiry object, so that the unblocking inquiry object can decide whether to unblock the user and submit an unblocking score to the server, so that the server can judge whether it is necessary to send a first user disablement release signal to the register to delete the access request disable information in the register to unblock the user according to the unblocking score, and send a first user disablement restoration signal to the register at the end of the unblocking time period to restore the access request disable information. Therefore, it is possible to determine whether the user needs to be unblocked by sending the unblocking inquiry object, thereby more reasonably determining whether the gateway control access request should be intercepted, and improving the flexibility of access request processing.
[0165] In the above S304, if the user needs to lift the ban on the access request, the user may send a temporary lifting request to the server to apply for lifting the ban, and the server may receive the temporary lifting request sent by the user.
[0166] In the above S305, the server is communicatively connected with the object of unbanning inquiry, so that after receiving the temporary unbanning request sent by the user, the server will send the temporary unbanning request to the object of unbanning inquiry. After receiving the temporary unbanning request, the object of unbanning inquiry will make a score of whether to unban the intention according to the temporary unbanning request, that is, the unbanning score, and the unbanning time period allowed by the object of unbanning inquiry.
[0167] As an example, there may be multiple unban query objects, and the server will send a temporary unban request to each unban query object, and each unban query object will return an unban score and an unban time period.
[0168] As an example, a temporary unban request may include at least one of the following requests: an unban time request, an unban address request, an unban website request, etc. The unban score may be expressed as follows: 1 point is given if one of the requests in the temporary unban request is agreed, and 0 point is given if one of the requests is not agreed. The sum of the scores of each request in the temporary unban request is the unban score.
[0169] If there are multiple objects of the ban release inquiry, the final ban release score is the average of the multiple ban release scores.
[0170] In the above S306, the ban release score sent by the ban release inquiry object is obtained.
[0171] In the above S307, the ban release score is compared with the preset score. If the ban release score is greater than the preset score, it means that the ban is allowed. Therefore, at the starting time of the ban release period, the first user ban release information can be sent to the register, so that the register deletes the access request ban information originally written / stored in the register according to the first user ban release signal, so that the gateway cannot determine whether to allow the access request to access the URL in the access URL information according to the access request ban information, thereby realizing the ban on the URL in the access request ban information.
[0172] Otherwise, the first user disable release information will not be sent to the register
[0173] In the above S308, when the ban-unblocking time period ends, a first user ban restoration signal is sent to the register to enable the register to restore the previously deleted access request ban information, so that the gateway still determines whether to allow the access request to access the URL in the access URL information according to the access request ban information. The banning of the URL in the access request ban information is achieved.
[0174] In one embodiment, in order to more effectively disable a user, the access request processing method provided by one embodiment of the present application may further include:
[0175] After S301 above, the access request processing method may further include:
[0176] S309: Send the user information to the service terminal so that the service terminal refuses to handle the service according to the user information.
[0177] Based on the above embodiment, by sending user information to the service terminal, the service terminal refuses to handle services based on the user information, thereby reducing the possibility of users opening new accounts and issuing access requests, thereby more effectively banning users from the Internet.
[0178] In the above S309, the service terminal may include: at least one of a terminal for handling communication accounts and a terminal for handling Internet access accounts. After sending the user information to the service terminal, the service terminal will no longer open a new communication account or Internet access account based on the user information, thereby avoiding the possibility that the user can circumvent the Internet ban by opening a new communication account or Internet access account and taking advantage of the fact that the newly opened communication account or Internet access account does not exist in the access request disabled information.
[0179] It should be noted that the application scenarios described in the above-mentioned embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0180] Based on the same inventive concept, the present application also provides a register. Figure 4 Provide detailed explanation.
[0181] Figure 4 FIG. 4 is a schematic diagram showing the hardware structure of the register 400 provided in an embodiment of the present invention.
[0182] like Figure 4 As shown, the register 400 may include:
[0183] A first acquisition module 410 is used to obtain user access request disabling information from a server in response to an access request sent by a user, where the access request includes access website information;
[0184] The first sending module 420 is used to send the access website information and the access request prohibition information to the gateway, so that the gateway determines whether to allow the access request to access the website in the access website information according to the access website information and the access request prohibition information.
[0185] In the register provided in the present embodiment, the first acquisition module 410 acquires the access request information of the user in response to the access request sent by the user, and the first sending module 420 sends the access request information to the gateway, so that the gateway is configured according to the access request information, so that the gateway can determine whether to allow the access request to access the URL in the access URL information according to the access disabling information, thereby realizing the disabling of the URL in the access URL information. As a result, the URL in the URL information can be selectively disabled according to the access request disabling information, and the disabling can be realized without confiscating the user's device, thereby improving the practicality of disabling the URL.
[0186] Optionally, the register 400 may further include:
[0187] A first deleting module, configured to delete the user's access request disabling information in response to a first user disabling release signal sent by the server, wherein the first user disabling release signal is used to indicate the release of the user's access request disabling information;
[0188] and / or,
[0189] The third sending module is used to send a second user disablement release signal to the gateway so that the gateway deletes the user's access request disablement information. The second user disablement release signal is used to indicate the release of the user's access request disablement information.
[0190] Optionally, the register 400 may further include:
[0191] A first restoring module, configured to restore the user's access request disabling information in response to a first user disabling restoration signal sent by the server, wherein the first user disabling restoration signal is used to indicate a disabling restoration signal for restoring the user;
[0192] and / or,
[0193] The fourth sending module is used to send a second user disablement recovery signal to the gateway so that the gateway can recover the user's access request disablement information. The second user disablement recovery signal is used to indicate the disablement recovery signal for recovering the user.
[0194] The register 400 provided in the embodiment of the present application can realize the above Figure 1 Each process implemented by the method embodiment can achieve the same technical effect, and will not be described again here to avoid repetition.
[0195] Based on the same inventive concept, the present application also provides a register. Figure 5 Provide detailed explanation.
[0196] Figure 5 A schematic diagram of the hardware structure of a gateway 500 provided in an embodiment of the present invention is shown.
[0197] The first receiving module 510 is used to receive the access request prohibition information and access website information of the user sent by the register;
[0198] A determination module 520, configured to determine whether the URL of the access URL information exists in the prohibited URL list in the access request prohibition information;
[0199] A first interception module 530, for intercepting the access request if it exists;
[0200] The access module 540 is used to allow the access request to access the URL of the access URL information when it does not exist.
[0201] Based on the above embodiment, after the first receiving module 510 of the gateway receives the access request disabling information sent by the register, the judging module 520 can judge the URL of the access URL information in the access request according to the access request disabling information. If the URL of the access URL information exists in the access request disabling information, the access request is intercepted by the first intercepting module 530, otherwise the passing module 540 allows the access request to access the URL in the access URL information. Based on this, the gateway can selectively intercept according to the access request disabling information, thereby improving the accuracy of intercepting the access request.
[0202] Optionally, the gateway 500 is a traffic gateway;
[0203] The gateway 500 may also include:
[0204] The second interception module is used to intercept the access request when the traffic excess information sent by the register is obtained.
[0205] Optionally, the gateway is a communication gateway;
[0206] The gateway 500 may also include:
[0207] The third interception module is used to intercept the access request when the request type of the access request is password retrieval communication information.
[0208] Optionally, the gateway 500 may further include:
[0209] A third acquisition module is used to obtain the disabling requirement in the access request disabling information;
[0210] The determination module is used to determine whether the access website information meets the disabling requirement, and the disabling requirement includes at least one of the access time disabling requirement, the access address disabling requirement and the access flow value disabling requirement.
[0211] Optionally, the gateway 500 may further include:
[0212] The second deleting module is used to delete the user's access request disabling information in response to a second user disabling release signal sent by the register, wherein the second user disabling release signal is used to indicate the release of the user's access request disabling information.
[0213] Optionally, the gateway 500 may further include:
[0214] The second recovery module is used to respond to the second user disable recovery signal sent by the register; restore the user's access request disable information, and the second user disable recovery signal is used to indicate the disable recovery signal of the restore user.
[0215] The gateway 500 provided in the embodiment of the present application can achieve the above Figure 2 Each process implemented by the method embodiment can achieve the same technical effect, and will not be described again here to avoid repetition.
[0216] The present application also provides an access request processing method, which is applied in a server. The following first introduces the access request processing method provided in an embodiment of the present application.
[0217] Figure 6 Another flow chart of the access request processing method provided by one embodiment of the present application is shown. Figure 6 As shown, the server 600 may include the following steps:
[0218] The second acquisition module 610 is used to acquire user information of the user;
[0219] A query module 620, configured to query the user information and obtain access request disabling information corresponding to the user information;
[0220] The second sending module 630 is used to send the user's access request disabling information to the register.
[0221] Based on the above embodiment, the user information is obtained through the second acquisition module 610 of the server, and the query module 620 queries according to the user information to obtain the access request disabling information corresponding to the user information. The second sending module 630 sends the user's access request disabling information to the register, so that the access request disabling information and the user correspond to each other, thereby ensuring that the register can process the access request disabling information related to the user, thereby improving the accuracy of the access request disabling information.
[0222] Optionally, the server 600 may further include:
[0223] A second receiving module, configured to receive a temporary unblocking request from the user;
[0224] A third sending module is used to send the temporary ban release request to the ban release inquiry object, so that the ban release inquiry object determines the ban release score and the ban release time period according to the temporary ban release request;
[0225] A fourth acquisition module, used to acquire the ban release score sent by the ban release inquiry object;
[0226] A fourth sending module, configured to send a first user ban release signal to the register at the start time of the ban release time period when the ban release score is greater than a preset score, so that the register deletes the access request ban information according to the first user ban release signal;
[0227] A fifth sending module is used to send a first user disablement restoration signal to the register at the end time of the unlocking time period, so that the register restores the access request disablement information.
[0228] Optionally, the server 600 may further include:
[0229] The sixth sending module is used to send the user information to the service terminal, so that the service terminal refuses to handle the service according to the user information.
[0230] The gateway 600 provided in the embodiment of the present application can achieve the above Figure 3 Each process implemented by the method embodiment can achieve the same technical effect, and will not be described again here to avoid repetition.
[0231] Figure 7A schematic diagram of the structure of an access request processing system 700 provided in an embodiment of the present invention is shown.
[0232] The access request processing system 700 may include:
[0233] The register 400 of the above embodiment;
[0234] The gateway 500 of the above embodiment;
[0235] The server 600 of the above embodiment.
[0236] The gateway 500 is communicatively connected to the register 400 , and the server 600 is communicatively connected to the gateway 500 .
[0237] The register 400, gateway 500 and server 600 in the access request processing system 700 provided in the embodiment of the present application can all implement the various processes implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described here.
[0238] Figure 8 A schematic diagram of the hardware structure of an access request processing device provided by an embodiment of the present invention is shown.
[0239] The controller may include a processor 801 and a memory 802 storing computer program instructions.
[0240] Specifically, the processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0241] The memory 802 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 802 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 802 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 802 is a non-volatile solid-state memory.
[0242] In certain embodiments, the memory 802 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory 802 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors 801), it is operable to perform the operations described with reference to the method according to an aspect of the present application.
[0243] The processor 801 implements any one of the access request processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 802 .
[0244] In one example, the controller may further include a communication interface 803 and a bus 804. As shown in the figure, the processor 801, the memory 802, and the communication interface 803 are connected via the bus 804 and communicate with each other.
[0245] The communication interface 803 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiment of the present invention.
[0246] Bus 804 includes hardware, software or both, and the components of the controller are coupled to each other. For example, but not limitation, bus 804 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, wireless bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral control interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 804 may include one or more buses 804. Although the present application embodiment describes and shows a specific bus 804, the present application considers any suitable bus 804 or interconnection.
[0247] The access request processing device can be based on the current access request processing method, thereby realizing the combination Figure 1-Figure 6 The described access request processing method, device, equipment and storage medium.
[0248] In addition, in combination with the access request processing method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the access request processing methods in the above embodiment is implemented.
[0249] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the access request processing methods in the above embodiments when the computer program is processed and executed.
[0250] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0251] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0252] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0253] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable access request processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable access request processing device enable the implementation of the functions / actions specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0254] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for processing an access request, characterized in that: The method is applied to a register, and the method comprises: In response to an access request sent by a user, obtaining access request disabling information of the user from a server, wherein the access request includes access website information; The access website information and the access request disabling information are sent to a gateway, so that the gateway determines whether to allow the access request to access the website in the access website information according to the access website information and the access request disabling information.
2. The method according to claim 1, characterized in that The method further comprises: In response to a first user disabling release signal sent by the server, deleting the access request disabling information of the user, wherein the first user disabling release signal is used to indicate the release of the access request disabling information of the user; and / or, A second user disabling release signal is sent to the gateway so that the gateway deletes the access request disabling information of the user, wherein the second user disabling release signal is used to indicate the release of the access request disabling information of the user.
3. The method according to claim 2, characterized in that After sending the second user disabling release signal to the gateway so that the gateway deletes the access request disabling information of the user, the method further includes: In response to a first user disabling restoration signal sent by the server, restoring the access request disabling information of the user, wherein the first user disabling restoration signal is used to indicate restoring the disabling restoration signal of the user; and / or, A second user disablement recovery signal is sent to the gateway so that the gateway recovers the access request disablement information of the user, wherein the second user disablement recovery signal is used to indicate recovery of the disablement recovery signal of the user.
4. A method for processing an access request, characterized in that: The method is applied to a gateway, and the method comprises: The receiving register sends information about the user's access request prohibition and access website address information; Determine whether the URL of the access URL information exists in the prohibited URL list in the access request prohibition information; Where present, intercept access requests; If not present, the access request is allowed to access the URL of the access URL information.
5. The method according to claim 4, characterized in that The gateway is a traffic gateway; Before determining whether the access website information exists in the prohibited website list in the access request prohibition information, the method further includes: In the case of acquiring the traffic excess information sent by the register, the access request is intercepted.
6. The method according to claim 4, characterized in that The gateway is a communication gateway; Before determining whether the access website information exists in the prohibited website list in the access request prohibition information, the method further includes: In a case where the request type of the access request is password retrieval communication information, the access request is intercepted.
7. The method according to claim 4, characterized in that Before determining whether the access website information exists in the prohibited website list in the access request prohibition information, the method further includes: Obtaining the disabling requirement in the access request disabling information; Determine whether the access website information satisfies the disabling requirement, where the disabling requirement includes at least one of an access time disabling requirement, an access address disabling requirement, and an access traffic value disabling requirement.
8. The method according to claim 4, characterized in that After the receiving register sends the access request prohibition information and the access website information, the method further includes: In response to a second user disabling release signal sent by the register, the access request disabling information of the user is deleted, wherein the second user disabling release signal is used to indicate the release of the access request disabling information of the user.
9. The method according to claim 8, characterized in that After deleting the access request disabling information, the method further includes: In response to a second user disablement restoration signal sent by the register; restoring the access request disablement information of the user, wherein the second user disablement restoration signal is used to indicate restoration of the disablement restoration signal of the user.
10. A method for processing an access request, characterized in that: The method is applied to a server, and the method comprises: Get the user's user information; Obtaining access request disabling information corresponding to the user information according to the user information query; The access request disabling information of the user is sent to a register.
11. The method according to claim 10, characterized in that The method further comprises: Receiving a temporary lifting request from the user; Sending the temporary ban-releasing request to the ban-releasing inquiry object, so that the ban-releasing inquiry object determines the ban-releasing score and the ban-releasing time period according to the temporary ban-releasing request; Obtaining the ban release score sent by the ban release inquiry object; When the ban release score is greater than a preset score, sending a first user ban release signal to the register at the start time of the ban release time period, so that the register deletes the access request ban information according to the first user ban release signal; At the end of the ban release period, a first user disablement restoration signal is sent to the register, so that the register restores the access request disablement information.
12. The method according to claim 10, characterized in that After obtaining the user information of the user, the method further includes: The user information is sent to a service terminal so that the service terminal refuses to handle services based on the user information.
13. A register, characterized in that: The registers include: A first acquisition module, configured to acquire access request disabling information of the user from a server in response to an access request sent by the user, wherein the access request includes access website information; The first sending module is used to send the access website information and the access request disabling information to the gateway, so that the gateway determines whether to allow the access request to access the website in the access website information according to the access website information and the access request disabling information.
14. A gateway, characterized in that: The gateway comprises: A first receiving module, used for receiving access request prohibition information and access website information about a user sent by a register; A determination module, used for determining whether the URL of the access URL information exists in the prohibited URL list in the access request prohibition information; A first interception module, for intercepting the access request if it exists; The access module is used to allow the access request to access the URL of the access URL information if it does not exist.
15. A server, characterized in that: The server comprises: The second acquisition module is used to acquire user information of the user; A query module, configured to query and obtain access request disabling information corresponding to the user information according to the user information; The second sending module is used to send the access request disabling information of the user to a register.
16. An access request processing system, characterized in that: The system comprises: A register as claimed in claim 13; A gateway as claimed in claim 14; A server as claimed in claim 15; The gateway is communicatively connected to the register, and the server is communicatively connected to the gateway.
17. An access request processing device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method according to any one of claims 1 to 3, claims 4 to 9, and claims 10 to 12 is implemented.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 3, claims 4 to 9, and claims 10 to 12 is implemented.
19. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the method according to any one of claims 1 to 3, claims 4 to 9, and claims 10 to 12.
Citation Information
Patent Citations
Data packet transmission control method and gateway device
CN102891794A
Network access flow limiting control method and device and computer readable storage medium
CN111030936A
Data access control method and device, computer equipment and storage medium
CN112165455A
Flow limiting method and equipment
CN113489726A
Information processing apparatus and method, program, and information processing system
US20080244734A1
