CN-115221442-B - Webpage loading method and device, computer equipment and computer readable storage medium
Abstract
The invention relates to artificial intelligence technology, and discloses a webpage loading method, a device, computer equipment and a computer readable storage medium, wherein the webpage loading method comprises the following steps: acquiring the identity information of the target user and the webpage information requested to log in by the target user according to the webpage login request input by the target user, carrying out security verification on the identity information when the identity information is not associated with the webpage information, generating authority information according to the identity information passing the security verification, acquiring the loading requirement of the target user, generating a loading flow according to the loading requirement and the authority information, and loading webpage content corresponding to the webpage information through the loading flow. According to the webpage loading method, the unaware safety verification is carried out on the unassociated user to generate the corresponding authority information, and the personalized and intelligent webpage loading effect is realized according to the authority information, so that the safety and convenience of user registration and login and the personalized and intelligent degree of webpage loading are improved.
Inventors
- TANG DONGXUE
- ZHAO SHUJUN
Assignees
- 平安科技(深圳)有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20220729
Claims (8)
- 1. A method for loading a web page, the method comprising: acquiring the identity information of a target user according to a webpage login request input by the target user, and acquiring webpage information requested to login by the target user; When the identity information is determined to be not associated with the webpage information, carrying out security verification on the identity information; generating authority information corresponding to the webpage information according to the identity information passing the security verification; Acquiring a loading requirement of the target user, and generating a loading flow according to the loading requirement and the authority information; loading the webpage content corresponding to the webpage information through the loading flow; wherein, the security verification of the identity information includes: Inquiring a history request record of the target user for requesting to load the webpage in a preset period, wherein the history request record at least comprises network address information used when the target user inputs a login request in the preset period; Determining an operation safety coefficient of the target user according to the history request record; When the operation safety coefficient is larger than a preset threshold value, determining that the corresponding identity information passes the safety verification; the determining the operation safety coefficient of the target user according to the history request record comprises the following steps: analyzing the history request record to obtain contact information and identity character strings used by the target user when requesting to load a webpage; determining a first safety coefficient corresponding to the contact information and a second safety coefficient corresponding to the identity character string according to the network address information; and generating the operation safety coefficient according to the first safety coefficient and the second safety coefficient.
- 2. The method of claim 1, wherein the determining the first security factor corresponding to the contact information comprises: Acquiring single contact information of the target user according to the network address information and the contact information, and determining the repeated use times of the single contact information in the preset period; determining common contact information and non-common contact information in the single contact information based on the repeated use times; calculating the sample ratio of the common contact information in the contact information, and determining the sample number of the unusual contact information; The first security factor is determined from the sample duty cycle of the common contact information and the number of samples of the unusual contact information.
- 3. The method of claim 2, wherein determining the second security coefficient corresponding to the identity string comprises: Invoking a preset identity character string sample set, wherein the identity character string sample set comprises a plurality of identity character string samples and network address information samples corresponding to the identity character string samples; inquiring the identity character string sample matched with the identity character string in the identity character string sample set, and extracting a corresponding network address information sample; And calculating the regional span of the network address information sample to determine the second security coefficient.
- 4. The method of claim 1, wherein the generating a loading flow from the loading requirement and the permission information comprises: determining a user level of the target user according to the authority information; And matching the optional flow corresponding to the user level in a preset operation authority library, and determining a loading flow in the optional flow according to the loading requirement.
- 5. The method of any one of claims 1-4, wherein loading the web content corresponding to the web information through the loading process includes: the method comprises the steps of obtaining pre-loading information of webpage information, wherein the pre-loading information comprises a first position of a control area corresponding to an operable control in the webpage information and a second position of a popup area corresponding to a popup; determining the sequence between loading the control area and loading the popup window area according to the loading flow; loading the operable control at the first position under the condition that the control area is loaded first; And correcting the second position according to the first position to obtain a third position, and loading the popup window at the third position.
- 6. A web page loading device, comprising: The request processing module is used for acquiring the identity information of the target user and the webpage information requested to log in by the target user according to the webpage login request input by the target user; The security verification module is used for performing security verification on the identity information when the identity information is determined to be not associated with the webpage information; the permission information generation module is used for generating permission information corresponding to the webpage information according to the identity information passing the security verification; the loading flow generating module is used for acquiring the loading requirement of the target user and generating a loading flow according to the loading requirement and the authority information; the loading execution module is used for loading the webpage content corresponding to the webpage information through the loading flow; The security verification module performs security verification on the identity information, and includes: Inquiring a history request record of the target user for requesting to load the webpage in a preset period, wherein the history request record at least comprises network address information used when the target user inputs a login request in the preset period; Determining an operation safety coefficient of the target user according to the history request record; When the operation safety coefficient is larger than a preset threshold value, determining that the corresponding identity information passes the safety verification; the security verification module determines an operation security coefficient of the target user according to the history request record, and comprises the following steps: analyzing the history request record to obtain contact information and identity character strings used by the target user when requesting to load a webpage; determining a first safety coefficient corresponding to the contact information and a second safety coefficient corresponding to the identity character string according to the network address information; and generating the operation safety coefficient according to the first safety coefficient and the second safety coefficient.
- 7. A computer device, the computer device comprising a memory and a processor; The memory is used for storing a computer program; the processor being configured to execute the computer program and to implement the web page loading method according to any one of claims 1 to 5 when the computer program is executed.
- 8. A computer readable storage medium storing a computer program which when executed by a processor causes the processor to implement the method of loading web pages as claimed in any one of claims 1 to 5.
Description
Webpage loading method and device, computer equipment and computer readable storage medium Technical Field The present invention relates to the field of artificial intelligence technologies, and in particular, to a method and apparatus for loading a web page, a computer device, and a computer readable storage medium. Background At present, a user can realize the linkage of a plurality of different website accounts, specifically, when the user registers and logs in a website to be loaded, corresponding identity information can be generated according to the account corresponding to another website by the user, the user registers and logs in the website to be loaded with the identity information, and the website to be loaded can load corresponding content after the completion of the login is determined. However, for the website to be loaded, it is difficult to ensure the authenticity of the identity information for the user by registering according to the identity information of the account on another website, so that a certain potential safety hazard exists, and meanwhile, in the process of loading the webpage, the loading speed of the operable control is slower, and the experience of the user is to be promoted. Therefore, how to improve the security and the rapidity of the webpage loading is a popular subject for research by those skilled in the art. Disclosure of Invention The embodiment of the invention provides a webpage loading method, a webpage loading device, computer equipment and a computer readable storage medium, which aim to improve the safety and convenience degree of user registration and login before webpage loading, individuation and intelligence degree during webpage loading and realize imperceptible user safety authentication. In a first aspect, an embodiment of the present invention provides a method for loading a web page, including: Acquiring the identity information of the target user according to the webpage login request input by the target user, and acquiring the webpage information requested to login by the target user; when the identity information is determined to be not associated with the webpage information, carrying out safety verification on the identity information; Generating authority information corresponding to the webpage information according to the identity information passing the security verification; acquiring a loading requirement of a target user, and generating a loading flow according to the loading requirement and the authority information; And loading the webpage content corresponding to the webpage information through the loading flow. In some embodiments, securely verifying the identity information includes: inquiring a history request record of a target user requesting to load a webpage in a preset period; determining the operation safety coefficient of the target user according to the history request record; When the operation safety coefficient is larger than a preset threshold value, determining that the corresponding identity information passes the safety verification. In some embodiments, the history request record at least includes network address information used by the target user when inputting the login request in a preset period, and determining the operation security coefficient of the target user according to the history request record includes: analyzing the history request record to obtain contact information and identity character strings used by a target user when requesting to load a webpage; Determining a first safety coefficient corresponding to the contact information and a second safety coefficient corresponding to the identity character string according to the network address information; And generating an operation safety coefficient according to the first safety coefficient and the second safety coefficient. In some embodiments, determining the first security factor corresponding to the contact information includes: Acquiring single contact information of a target user according to the network address information and the contact information, and determining the repeated use times of the single contact information in a preset period; Determining common contact information and non-common contact information in the single contact information based on the number of repeated use; calculating the sample ratio of the common contact information in the contact information, and determining the sample number of the common contact information; and determining the first safety coefficient according to the sample ratio of the common contact information and the sample number of the non-common contact information. In some embodiments, determining the second security coefficient corresponding to the identity string includes: invoking a preset identity character string sample set, wherein the identity character string sample set comprises a plurality of identity character string samples and network address information samples corresponding to the ide