Login verification method and device, computer equipment, readable storage medium and program product

By responding to data collection task requests on the client and receiving login verification information from the server, and automatically logging in to the application according to preset extraction rules, the problem of low login verification efficiency in the existing technology is solved, and automated login is realized and efficiency is improved.

CN119094161APending Publication Date: 2024-12-06CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411055394.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing login verification methods are inefficient, and users need to manually scan the code or manually monitor SMS or email verification information, resulting in a complex and time-consuming login process.

Method used

By responding to the data collection task request on the client, sending it to the server and receiving the login verification information sent by the server calling the application server, extracting the login data according to the preset extraction rules and automatically logging in to the application, and logging in using the extracted login data for login Verify and avoid human operation.

Benefits of technology

It improves the efficiency of login verification, reduces human semi-automated operations, realizes automated login, simplifies the login process, and reduces the time consumption of login verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094161A_ABST
    Figure CN119094161A_ABST
Patent Text Reader

Abstract

The invention relates to a login verification method and device, computer equipment, a computer readable storage medium and a computer program product, and relates to the technical field of information. The login verification method comprises the following steps: in response to a data acquisition task request for an application program, sending the data acquisition task request to a server; receiving login verification information sent by a server for calling the application program by the server side; and extracting login data in the login verification information according to a preset extraction rule, and logging in the application program according to the extracted login data. By adopting the method, the login verification efficiency of the application program can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information technology, and in particular to a login verification method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] When you need to collect data from a website or access an application, you must first log in to verify the website or application. The login verification methods include SMS verification, email verification, or QR code scanning, etc. Every time a user logs in to a website or application, they need to scan the code manually or manually listen to the verification information from SMS or email to log in, which makes the login verification process complicated and time-consuming.

[0003] Therefore, the current login verification method has the problem of low efficiency. Summary of the invention

[0004] Based on this, it is necessary to provide a login verification method, apparatus, computer device, computer-readable storage medium and computer program product that can improve the login verification efficiency of applications in response to the above technical problems.

[0005] In a first aspect, the present application provides a login verification method, which is applied to a client, comprising:

[0006] In response to a data collection task request for an application, sending the data collection task request to a server;

[0007] Receiving login verification information sent by the server that calls the application program;

[0008] The login data in the login verification information is extracted according to a preset extraction rule, and the application is logged in according to the extracted login data.

[0009] In one embodiment, before responding to the data collection task request for the application, the method further includes:

[0010] In response to a data collection task registration request, a data collection task is created according to the data collection task registration request; the data collection task registration request includes object information and preset extraction rules corresponding to each piece of object information.

[0011] In one embodiment, after receiving the login verification information sent by the server that calls the application program, the method further includes:

[0012] The corresponding object information is determined based on the login verification information, and the corresponding preset extraction rule is determined based on the object information.

[0013] In one embodiment, the step of extracting the login data in the login verification information according to a preset extraction rule, and logging into the application program according to the extracted login data, further includes:

[0014] Extracting the login data in the login verification information according to a preset extraction rule;

[0015] In the case where the login data is extracted successfully, logging into the application according to the extracted login data and obtaining a login result;

[0016] The login data and the login result are sent to a server; wherein the server is used to record a log of the login data and the corresponding login result.

[0017] In one embodiment, after receiving the login verification information sent by the server that calls the application program, the method further includes:

[0018] Transmitting the login verification information to a server, for storing backup information of the login verification information in the server;

[0019] The step of extracting the login data in the login verification information according to a preset extraction rule, and logging into the application program according to the extracted login data, further includes:

[0020] Extracting the login data in the login verification information according to a preset extraction rule;

[0021] In the case where the login data extraction fails, transmitting an information extraction request to the server; the information extraction request is used to instruct the server to extract the standby login data in the standby information according to the preset extraction rule;

[0022] Receive the alternate login data returned by the server based on the information extraction request, and log in to the application according to the alternate login data.

[0023] In one of the embodiments, after receiving the backup login data returned by the server based on the information extraction request, the method further includes:

[0024] In the case where the standby login data fails to be received, updating the data collection task request to obtain an updated data collection task request; and sending the updated data collection task request to the server;

[0025] After logging into the application according to the standby login data, the method further includes:

[0026] When the login result is a login failure, the data collection task request is updated to obtain an updated data collection task request; and the updated data collection task request is sent to the server.

[0027] In one embodiment, after sending the updated data collection task request to the server, the method further includes:

[0028] When the number of updated data collection task requests exceeds a preset number, or when the login result is a successful login, the updating of the data collection task request is stopped.

[0029] In one embodiment, the login verification information includes a text message, an email, or a QR code.

[0030] In a second aspect, the present application also provides a login verification device, which is applied to a client, including:

[0031] A request sending module, used for responding to a data collection task request for an application program and sending the data collection task request to a server;

[0032] An information receiving module, used to receive login verification information sent by the server that calls the application program;

[0033] The program login module is used to extract the login data in the login verification information according to a preset extraction rule, and log in to the application program according to the extracted login data.

[0034] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0035] In response to a data collection task request for an application, sending the data collection task request to a server;

[0036] Receiving login verification information sent by the server that calls the application program;

[0037] The login data in the login verification information is extracted according to a preset extraction rule, and the application is logged in according to the extracted login data.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0039] In response to a data collection task request for an application, sending the data collection task request to a server;

[0040] Receiving login verification information sent by the server that calls the application program;

[0041] The login data in the login verification information is extracted according to a preset extraction rule, and the application is logged in according to the extracted login data.

[0042] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0043] In response to a data collection task request for an application, sending the data collection task request to a server;

[0044] Receiving login verification information sent by the server that calls the application program;

[0045] The login data in the login verification information is extracted according to a preset extraction rule, and the application is logged in according to the extracted login data.

[0046] The above-mentioned login verification method, device, computer equipment, computer-readable storage medium and computer program product, by responding to the data collection task request for the application, send the data collection task request to the server, so as to realize the unified management of the data collection task by the server to facilitate monitoring and scheduling; receive the login verification information sent by the server of the application called by the server, so as to realize the interaction with the application server, extract the login data in the login verification information according to the preset extraction rules, log in the application according to the extracted login data, and automatically log in the application using the extracted login data, thereby avoiding manual login to the application according to the login verification information, reducing manual semi-automatic operations, and improving the efficiency of login verification. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] FIG1 is an application environment diagram of a login verification method in one embodiment;

[0049] FIG2 is a schematic diagram of a flow chart of a login verification method in one embodiment;

[0050] FIG3 is a schematic flow diagram of the steps of logging into an application program with backup login data in one embodiment;

[0051] FIG4 is a schematic diagram of the structure of a login verification system in one embodiment;

[0052] FIG5 is a flow chart of a method for logging in and verifying via SMS in one embodiment;

[0053] FIG6 is a schematic diagram of a login verification method for emails in one embodiment;

[0054] FIG7 is a schematic diagram of a login verification method for a QR code in one embodiment;

[0055] FIG8 is a structural block diagram of a login verification device in one embodiment;

[0056] FIG. 9 is a diagram showing the internal structure of a vehicle-side control device in one embodiment. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0058] The login verification method provided in the embodiment of the present application can be applied in the application environment shown in FIG. 1 .

[0059] The application scenario includes: a client 102, a server 104 and a server 106 of an application. The client 102, the server 104 and the server 106 of the application all communicate through a network, and the server 104 and the server 106 of the application communicate through a network. The client 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and IoT devices, and the IoT devices may be smart vehicle-mounted devices, projection devices, etc. The server 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. In response to a data collection task request for an application, the client 102 sends a data collection task request to the server 104, and receives login verification information sent by the server 106 of the application called by the server 104; further, the client 102 extracts the login data in the login verification information according to a preset extraction rule, and automatically logs in to the application according to the extracted login data.

[0060] In an exemplary embodiment, as shown in FIG2 , a login verification method is provided, which is described by taking the method applied to the client 102 in FIG1 as an example, and includes the following steps S202 to S206 . Among them:

[0061] Step S202, in response to the data collection task request for the application, the data collection task request is sent to the server.

[0062] Among them, an application can be an APP (Application), which refers to a software program designed and developed for a specific purpose. The application can be installed on mobile phones, tablets, computers and other devices to help users complete specific tasks or activities.

[0063] Among them, the data collection task request can be an application for initiating a data collection task; the data collection task can be a task for crawling data for an application, including crawling the data of the application itself, and crawling the data of login verification information of the application.

[0064] Among them, the server can be the server corresponding to the platform that performs the data collection task. Similarly, the client is also the client corresponding to the platform that performs the data collection task. The user of the client can be an application developer or an ordinary user who uses the application.

[0065] Optionally, the client responds to the data collection task request for the application, which may be a data collection task request formed by a trigger operation of the user on the application. The client sends the data collection task request to the server.

[0066] Step S204, receiving login verification information sent by the server that calls the application program.

[0067] The server of an application can refer to a server that stores, processes, and provides the functions required by the application. It is responsible for receiving requests from the user, performing corresponding operations, and returning the processing results to the user. The server is usually hosted in a data center or cloud environment to ensure that the application can run stably and maintain security and reliability.

[0068] The login verification information may be a token containing user authentication information generated by the application server and returned to the client. The token is usually an encrypted string containing the user's identity information, authorization information, validity period, etc.

[0069] Optionally, the client receives login verification information sent by the server that calls the application. The verification information is generated by the server according to the data collection task request, and the login verification request is sent to the server of the application. The server sends the login verification request to a third-party service provider, and the third-party service provider generates it according to the login verification request.

[0070] Step S206: extract the login data in the login verification information according to the preset extraction rule, and log in to the application program according to the extracted login data.

[0071] Among them, the preset extraction rules can be a technology for extracting specific information from text. These rules can identify and extract useful information from text based on a variety of methods such as keywords, grammatical structures, and entity recognition. Information extraction rules can help automate the processing of large amounts of text data, extract information of interest to users, and help speed up the process of information collation and analysis.

[0072] The login data may be the login credentials required when logging into an application. For example, if the login information is a sent text message, the login data may be a verification code extracted from the text message.

[0073] Optionally, the client identifies the login data in the login verification information according to a preset extraction rule and extracts the login data, and further passes the verification of the application program and logs into the application program according to the extracted login data.

[0074] In the above login verification method, by responding to the data collection task request for the application, the data collection task request is sent to the server, so that the server can achieve unified management of the data collection task to facilitate monitoring and scheduling; receive the login verification information sent by the server of the application called by the server, thereby realizing interaction with the application server, extracting the login data in the login verification information according to the preset extraction rules, and logging in to the application according to the extracted login data, and automatically logging in to the application using the extracted login data, avoiding manual login to the application based on the login verification information, reducing manual semi-automatic operations, and thus improving the efficiency of login verification.

[0075] In an exemplary embodiment, before step S202 includes responding to the data collection task request for the application, it also includes:

[0076] In response to the data collection task registration request, a data collection task is created according to the data collection task registration request.

[0077] The data collection task registration request may be a data collection task creation application initiated by a user according to a data collection requirement for an application. The data collection requirement may be the need to collect data of a certain application or the need to collect login verification related data of a certain application. The data collection task registration request includes object information and preset extraction rules corresponding to each object information. The object information may be the target information that the user needs to collect, and the corresponding extraction rule may be to extract by identifying keywords or text types in the information to be collected through a corresponding script or program.

[0078] Among them, data collection tasks can refer to the process of automatically collecting data from specified data sources (such as websites, applications, etc.) by writing scripts or programs. These data collection tasks can be used for purposes such as obtaining the latest information, monitoring data changes, and establishing data warehouses. Data collection tasks can be performed regularly to ensure the timeliness and accuracy of data. These tasks may involve steps such as data analysis, data storage, and data cleaning to organize the collected data into a usable format.

[0079] Optionally, the client creates a data collection task in response to the data collection task registration request according to the object information in the data collection task registration request and the preset extraction rules corresponding to each object information. For example, if a user needs to collect data of a certain application, the data of the application is used as the object information, the client is given access rights to the data of the application, and an identification method for extracting the data of the application and a corresponding data extraction script or program are determined.

[0080] In this embodiment, by creating a data collection task for the application in advance and determining the corresponding object information and each object information in the data collection task, when it is necessary to log in to the application, a data collection task request is directly initiated based on the pre-created data collection task, thereby improving the efficiency of calling the data collection task and further improving the efficiency of login verification.

[0081] In an exemplary embodiment, after step S204 receives the login verification information sent by the server that calls the application program, the process further includes:

[0082] Corresponding object information is determined based on the login verification information, and a corresponding preset extraction rule is determined based on the object information.

[0083] The type of login verification information can be a text message, email or QR code. The application server initiates an application to a third-party service provider, and the third-party service provider generates a text message, email or QR code and sends it to the client. The object information can be the information type of the login verification information.

[0084] Optionally, the client determines the object information corresponding to the login information based on the login verification information, and determines the corresponding preset extraction rule based on the object information. For example, when the object information of the login verification information is determined to be a text message or an email, the corresponding extraction rule is to extract by identifying continuous numbers; when the object information of the login verification information is determined to be a QR code, the corresponding extraction rule is to extract by identifying the QR code image.

[0085] In this embodiment, by adopting different extraction rules according to the different object information of the login verification information, it is possible to adapt to data of different forms and types, reduce errors and improve the accuracy of data extraction during the data processing process, and realize the dynamic determination of the corresponding extraction rules according to the object information in the login verification information, thereby achieving the technical effect of improving the accuracy and efficiency of data extraction.

[0086] In an exemplary embodiment, step S206 extracts the login data in the login verification information according to a preset extraction rule, and logs in the application according to the extracted login data, and further includes:

[0087] The login data in the login verification information is extracted according to the preset extraction rules; if the login data is successfully extracted, the application is logged in according to the extracted login data, and the login result is obtained; the login data and the login result are sent to the server.

[0088] The server is used to record the login data and the corresponding login result log, so as to facilitate the tracing of historical login verification information and the corresponding login results, and facilitate the technical staff to analyze the reasons for the login verification failure.

[0089] Optionally, the client extracts the login data in the login verification information according to a preset extraction rule, and if the login data is successfully extracted, logs in to the application according to the extracted login data, and obtains login results including login success and login failure. The login results corresponding to the login data are sent to the server for storage by the server.

[0090] In this embodiment, the login data can be automatically extracted from the login verification information through the preset extraction rules, avoiding the need to manually monitor the login data and improving efficiency. When the login data is successfully extracted, the application is automatically logged in, avoiding the need for the user to manually enter the login information and improving the efficiency of login verification. The login data and login results are sent to the server and logged, which helps the technicians to trace back the historical login verification information and the corresponding login results. This makes it easier for the technicians to analyze the reasons for the login verification failure, thereby improving the system and improving security.

[0091] In an exemplary embodiment, after step S204 receives the login verification information sent by the server that calls the application program, the process further includes:

[0092] The login verification information is transmitted to the server, and backup information of the login verification information is stored in the server.

[0093] Optionally, the client transmits the login verification information to the server, and stores backup information of the login verification information in the server, so that when the client fails to perform a corresponding operation using the login verification information, the backup information can be retrieved from the server again for operation, thereby improving the robustness of the system.

[0094] As shown in FIG. 3 , step S206 extracts the login data in the login verification information according to the preset extraction rule, and logs in the application according to the extracted login data, and also includes the following steps S302 to 306:

[0095] Step S302: extracting the login data in the login verification information according to a preset extraction rule.

[0096] Optionally, the client extracts the login data in the login verification information according to a preset rule included in the data collection task.

[0097] Step S304: When the login data extraction fails, an information extraction request is transmitted to the server.

[0098] The information extraction request is used to instruct the server to extract the backup login data in the backup information according to the preset extraction rule. The backup login data can be the same as the login data, only different in the source of the extracted data and the storage location.

[0099] Optionally, when the client fails to extract the login data, an information extraction request is sent to the server, instructing the server to extract the backup login data in the backup information according to the preset extraction rules included in the data collection task. For example, when the login information is a text message, when the client receives the text message, the text message service provider will also forward the text message to the server, and the server will store the text message as the backup login information; when the extraction fails, the server extracts the backup login data from the backup text message according to the preset rules according to the information extraction request sent by the client, and obtains the verification code in the text message. When the login information is a QR code, when the client receives the QR code, the application server will also forward the QR code to the server, and the server will store the QR code as the backup login information; when the extraction fails, the server scans the backup QR code according to the preset rules according to the information extraction request sent by the client to extract the backup login data contained in the QR code, and obtains the verification code in the QR code.

[0100] Step S306, receiving the backup login data returned by the server based on the information extraction request, and logging into the application according to the backup login data.

[0101] Optionally, the client receives the alternate login data extracted and returned by the server based on the information extraction request, and logs in to the application according to the alternate data to obtain a login result. In a specific implementation, when the extracted alternate login data is a verification code in a text message, email, or QR code, the client automatically enters the verification code to log in to the application.

[0102] In this embodiment, the login verification information is transmitted between the client and the server, so that the server stores the backup login verification information. When the client cannot extract the login data, it automatically sends an information extraction request to the server and instructs the server to extract the backup login data. This eliminates the need to request the application server to generate new login verification information again, thereby improving the robustness of the system and the efficiency of login verification.

[0103] In an exemplary embodiment, after receiving the backup login data returned by the server based on the information extraction request, step S306 further includes:

[0104] In the case where the standby login data reception fails, the data collection task request is updated to obtain an updated data collection task request; and the updated data collection task request is sent to the server.

[0105] Optionally, when the client itself fails to extract login data based on the login verification information, and the server fails to extract backup login data based on the backup login information, resulting in the client failing to receive the backup login data, a new data collection task request is generated to update the previous data collection task request to obtain an updated data collection task request. The client sends the updated data collection task request to the server, and then executes a new round of steps S202 to S206 to perform login verification for the application.

[0106] After logging into the application program according to the standby login data in step S306, the method further includes:

[0107] When the login result is a login failure, the data collection task request is updated to obtain an updated data collection task request; and the updated data collection task request is sent to the server.

[0108] Optionally, the client receives the alternative login data returned by the server based on the information extraction request, but fails to log into the application according to the alternative login data. Then, a new data collection task request can be further generated to update the previous data collection task request to obtain an updated data collection task request. The client sends the updated data collection task request to the server, and then executes a new round of steps S202 to S206 to perform login verification of the application.

[0109] It should be noted that in the case where the backup login data cannot be received, or the login result is a login failure, new login verification information needs to be obtained and the login data needs to be extracted again. Therefore, it is necessary to return to the step of generating the data collection task, update the data collection task request, and iterate the previous steps until the client successfully logs in to the application according to the login data.

[0110] In this embodiment, when the client receives the login data returned by the server or the login fails, a new data collection task request is generated, the data collection task request is updated, and the data collection process is continuously optimized iteratively to ensure that the required login verification information can be successfully obtained in the end, thereby improving the accuracy and completeness of data collection. When the login data fails to be obtained or the login fails, a new data collection task request is automatically generated, and the data collection task request is updated, which reduces the need for manual intervention by the user, thereby further improving the efficiency of login verification.

[0111] In an exemplary embodiment, after the steps of the above embodiment send the updated data collection task request to the server, the steps further include:

[0112] When the number of updated data collection task requests exceeds a preset number, or when the login result is a successful login, the updated data collection task request is stopped.

[0113] Among them, the preset number of times can be determined according to the time consumed by each update data collection request task, and the number of times the data collection request task is updated is limited to a range of less time consumed. For example, the preset number of times can be selected as 3 times. Then, if the request number of the updated data collection task has reached 3 times, but the login is still not successful, the update data collection task request is stopped. It should be noted that setting the preset number of times to 3 times is only an optional embodiment provided by the present application, but the present application is not limited thereto, and the preset number of times can also be set to 2 times, 4 times or 6 times, etc. according to the needs.

[0114] Optionally, when the number of updated data collection task requests exceeds a preset number, or when the login result of logging into the application program according to the login data is a successful login, the update of the data collection task request is stopped, and a reminder of a login failure or a failure to extract the login data is issued to perform human intervention. For example, to update the data collection task request, the server of the application program is called by the server to generate a new QR code, and the client or the client and the server extract the QR code at the same time, and simulate a manual code scanning operation to log into the application program based on the extracted QR code. In the case of a failure in simulating manual code scanning, the user is asked to scan the code manually based on the backup QR code extracted by the server. In the case of a failure in manually scanning the code, the data collection task request is updated until the number of updates exceeds the preset number or until the code scanning login is successful.

[0115] In this embodiment, when the number of updated data acquisition task requests exceeds a preset number or the login result of logging into the application according to the login data is a successful login, the update of the data acquisition task request is stopped, avoiding an infinite loop of updating the data acquisition task request due to failure to extract login data or login failure, thereby saving system resources and time.

[0116] In an exemplary embodiment, another login verification method is provided, which is applied to a login verification system as shown in FIG4 , and the system includes:

[0117] Data collection login verification platform client (corresponding to the client in the above embodiment), data collection login verification platform server (corresponding to the server in the above embodiment) and data collection service. Among them, the data collection login verification platform client is deployed on the device end with a SIM (Subscriber Identity Module) card installed. The data collection login verification platform server and the data collection service can be integrated into one server or a server cluster, or they can be deployed on two different servers respectively. The data collection service and the data collection login verification platform can be two data sharing platforms. The data collection login verification client, the data collection login verification platform server, and the data collection service all communicate through the network.

[0118] Optionally, the data collection login verification platform client is used to monitor SMS, email information and remind users to scan codes. The data collection login verification platform server is used to execute SMS verification tasks, email verification tasks or QR code scanning tasks pre-registered by users. Task registration can configure the object information and preset monitoring rules corresponding to each task for users, such as monitoring the SMS or email sent by which sender, extracting verification codes or pictures, etc. The data collection service is used to execute data collection tasks pre-created by users.

[0119] Exemplarily, as shown in FIG5 , a flowchart of a login verification method for SMS is provided, wherein the login verification method includes the following specific steps:

[0120] Step S11, the data collection service executes the program context of the data task for the application until it reaches the step that requires SMS login verification. A login verification request is generated according to the data collection task information, and the login verification request is sent to the application server through the included collection task verification information request sender. The application server sends the login verification request to the third-party SMS service provider, and the third-party SMS service provider generates a short message corresponding to the login verification request and sends it to the SIM card device end.

[0121] Step S12: The short message client of the SIM card device receives the short message and sends it to the client of the data collection login verification platform. The short message listener of the client of the data collection login verification platform performs regular extraction on the short message content according to the preset rules to obtain the login data, and sends the login data to the data collection login verification platform server through the login data transmitter for backup storage.

[0122] Step S13, the data collection login verification platform client logs in to the application according to the login data, and returns the successful login result to the data collection login verification platform server. The server sends the successful login result to the collection task login data receiving listener of the data collection service, and executes the program context of the data collection task.

[0123] Step S14, in the event of failure to extract login data or failure to log into the application, repeat the above steps S11-S13 until the number of repetitions exceeds a preset number or the login to the application succeeds.

[0124] Exemplarily, as shown in FIG6 , a flowchart of a login verification method for an email is provided, wherein the login verification method includes the following specific steps:

[0125] Step S21, the data collection service executes the program context of the data task for the application until it reaches the step that requires login verification according to the email. A login verification request is generated according to the data collection task information, and the login verification request is sent to the application server through the included collection task verification information request sender. The application server sends the login verification request to the third-party email service provider, and the third-party email service provider generates a short message corresponding to the login verification request and sends it to the SIM card device end.

[0126] Step S22, the short message client of the SIM card device receives the email and sends the email to the data collection login verification platform client. The email listener of the data collection login verification platform client performs regular extraction on the email content according to the preset rules to obtain the login data, and sends the login data to the data collection login verification platform server through the login data sender for backup storage.

[0127] Step S23, the data collection login verification platform client logs in to the application according to the login data, and returns the successful login result to the data collection login verification platform server. The server sends the successful login result to the collection task login data receiving listener of the data collection service, and executes the program context of the data collection task.

[0128] Step S24, in the event of failure to extract login data or failure to log into the application, repeat the above steps S21-S23 until the number of repetitions exceeds a preset number or the login to the application succeeds.

[0129] Exemplarily, as shown in FIG7 , a flowchart of a login verification method for a QR code is provided, wherein the specific steps include:

[0130] Step S31, the data collection service executes the program context of the data task for the application until the step of login verification according to the QR code is executed. A login verification request is generated according to the data collection task information, and the login verification request is sent to the application server through the included collection task verification information request sender. The application server generates the QR code information corresponding to the login verification request and sends it to the SIM card device end and to the QR code listener of the data collection login verification platform server end for backup.

[0131] Step S32: The application on the SIM card device receives the QR code information, and the client of the data collection login verification platform obtains the QR code information received by the application. The scan code request listener of the client of the data collection login verification platform performs regular extraction on the QR code information according to preset rules, obtains the QR code image, saves it to the system album, and sends the QR code information to the server of the data collection login verification platform for backup storage.

[0132] Step S33, the data collection login verification platform client simulates human scanning to log in to the application according to the QR code image, and returns the successful login result to the data collection login verification platform server. The server sends the successful login result to the collection task login data receiving listener of the data collection service and executes the program context of the data collection task.

[0133] Step S34, when the simulated code scanning to log into the application fails, the data collection login verification platform server reminds the user to manually scan the code to log in based on the backed up QR code image.

[0134] Step S35, in the event that the extraction of the QR code image fails or the manual scanning and login fails, repeat the above steps S31-S34 until the number of repetitions exceeds the preset number or the login application succeeds.

[0135] In this embodiment, the method can automatically log in to the application through SMS, email, or QR code, which not only improves data collection efficiency and productivity, but also eliminates the disadvantages of manual input, especially when multiple data source websites or applications need to be frequently logged in, saving time. In addition, the login process is combined with the automation of subsequent data collection tasks to achieve automation of the entire task workflow and improve overall efficiency. At the same time, it can reduce technical support requests caused by verification problems and reduce the cost of technical support.

[0136] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0137] Based on the same inventive concept, the embodiment of the present application also provides a login verification device for implementing the login verification method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more login verification device embodiments provided below can refer to the limitations on the login verification method above, and will not be repeated here.

[0138] In an exemplary embodiment, as shown in FIG8 , a login verification device 800 is provided, comprising: a request sending module 802, an information receiving module 804 and a program login module 806, wherein:

[0139] The request sending module 802 is used to send the data collection task request to the server in response to the data collection task request for the application.

[0140] The information receiving module 804 is used to receive the login verification information sent by the server that calls the application program.

[0141] The program login module 806 is used to extract the login data in the login verification information according to the preset extraction rules, and log in the application program according to the extracted login data.

[0142] Furthermore, in one embodiment, the login verification device 800 also includes a task creation module for responding to a data collection task registration request and creating a data collection task according to the data collection task registration request; the data collection task registration request includes object information and preset extraction rules corresponding to each object information.

[0143] Furthermore, in one embodiment, the information receiving module 804 is further configured to determine corresponding object information based on the login verification information, and determine corresponding preset extraction rules based on the object information.

[0144] Furthermore, in one embodiment, the program login module 806 is also used to extract the login data in the login verification information according to preset extraction rules; when the login data is successfully extracted, log in to the application according to the extracted login data and obtain the login result; send the login data and the login result to the server; wherein the server is used to record the log of the login data and the corresponding login result.

[0145] Furthermore, in one embodiment, the information receiving module 804 is also used to transmit the login verification information to the server, and to store backup information of the login verification information in the server; the program login module 806 is also used to extract the login data in the login verification information according to preset extraction rules; in the event that the login data extraction fails, an information extraction request is transmitted to the server; the information extraction request is used to instruct the server to extract the backup login data in the backup information according to the preset extraction rules; the backup login data returned by the server based on the information extraction request is received, and the application is logged in according to the backup login data.

[0146] Furthermore, in one embodiment, the request sending module 802 is also used to update the data collection task request when the standby login data reception fails, to obtain an updated data collection task request; send the updated data collection task request to the server; when the login result is a login failure, update the data collection task request to obtain an updated data collection task request; send the updated data collection task request to the server.

[0147] Furthermore, in one embodiment, the request sending module 802 is also used to stop updating the data collection task request when the number of updated data collection task requests exceeds a preset number or when the login result is a successful login.

[0148] Each module in the above-mentioned login verification device 800 can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0149] In an exemplary embodiment, FIG9 is an internal structure diagram of a vehicle-side control device in an embodiment. In an exemplary embodiment, a vehicle-side control device is provided, and the internal structure diagram of the vehicle-side control device may be shown in FIG9. The vehicle-side control device includes a processor and a memory. Among them, the processor of the vehicle-side control device is used to provide computing and control capabilities. The memory of the vehicle-side control device includes a non-volatile storage medium, and the non-volatile storage medium stores a computer program. When the computer program is executed by the processor, a login verification method is implemented.

[0150] Those skilled in the art will understand that the structure shown in FIG. 9 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0151] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0152] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0153] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0154] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0155] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0156] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0157] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A login verification method, characterized in that: Applied to a client, the method comprises: In response to a data collection task request for an application, sending the data collection task request to a server; Receiving login verification information sent by the server that calls the application program; The login data in the login verification information is extracted according to a preset extraction rule, and the application is logged in according to the extracted login data.

2. The method according to claim 1, characterized in that Before responding to the data collection task request for the application, the method further includes: In response to a data collection task registration request, a data collection task is created according to the data collection task registration request; the data collection task registration request includes object information and preset extraction rules corresponding to each piece of object information.

3. The method according to claim 2, characterized in that After receiving the login verification information sent by the server that calls the application program, the method further includes: The corresponding object information is determined based on the login verification information, and the corresponding preset extraction rule is determined based on the object information.

4. The method according to claim 1, characterized in that: The step of extracting the login data in the login verification information according to a preset extraction rule, and logging into the application program according to the extracted login data, further includes: Extracting the login data in the login verification information according to a preset extraction rule; In the case where the login data is extracted successfully, logging into the application according to the extracted login data and obtaining a login result; The login data and the login result are sent to a server; wherein the server is used to record a log of the login data and the corresponding login result.

5. The method according to claim 1, characterized in that After receiving the login verification information sent by the server that calls the application program, the method further includes: Transmitting the login verification information to a server, for storing backup information of the login verification information in the server; The step of extracting the login data in the login verification information according to a preset extraction rule, and logging into the application program according to the extracted login data, further includes: Extracting the login data in the login verification information according to a preset extraction rule; In the case where the login data extraction fails, transmitting an information extraction request to the server; the information extraction request is used to instruct the server to extract the standby login data in the standby information according to the preset extraction rule; Receive the alternate login data returned by the server based on the information extraction request, and log in to the application according to the alternate login data.

6. The method according to claim 5, characterized in that After receiving the standby login data returned by the server based on the information extraction request, the method further includes: In the case where the standby login data fails to be received, updating the data collection task request to obtain an updated data collection task request; and sending the updated data collection task request to the server; Where Description After logging into the application according to the standby login data, the method further includes: When the login result is a login failure, the data collection task request is updated to obtain an updated data collection task request; and the updated data collection task request is sent to the server.

7. The method according to claim 6, characterized in that After sending the updated data collection task request to the server, the method further includes: When the number of updated data collection task requests exceeds a preset number, or when the login result is a successful login, the updating of the data collection task request is stopped.

8. The method according to claim 1, characterized in that The login verification information includes a text message, an email or a QR code.

9. A login verification device, characterized in that: Applied to a client, the device comprises: A request sending module, used for responding to a data collection task request for an application program and sending the data collection task request to a server; An information receiving module, used to receive login verification information sent by the server that calls the application program; The program login module is used to extract the login data in the login verification information according to a preset extraction rule, and log in to the application program according to the extracted login data.

10. A vehicle-side control device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.