Login page generation method, device and electronic device
By obtaining device parameters and login method information to generate adaptation rules, it solves the complexity of software development caused by differences in vehicle and machine equipment hardware, achieves unified adaptation of login pages, and reduces research and development costs.
Patent Information
- Application Number
- CN202210372602.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-08
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-04-08
AI Technical Summary
Due to the huge differences in hardware specifications of vehicle and machine equipment, software development needs to repeatedly adapt to user interfaces of different sizes, resolutions and versions, which increases R&D costs and workload, especially when it is compatible with multiple software login functions.
By obtaining device parameter information and login method information, generate rules, generate login page code, and transfer it to the preset operation object to generate a login page, thereby adapting to different vehicle equipment and decoupling vehicle equipment and third-party software. Company login function.
It greatly saves manpower, material resources and costs in software development, realizes unified adaptation of login functions, and reduces development complexity.
Smart Images

Figure CN114860360B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, device and electronic device for generating a login page. Background Art
[0002] As the entrance to the software, the importance of the login function to the software is self-evident. For car manufacturers, in order to provide functional diversity, car computers often have to integrate different applications from multiple manufacturers, and each application must have a separate login function, which increases the software development cost. At the same time, the specifications of car computers from different car manufacturers vary greatly. Even for the same car manufacturer, the equipment of vehicles of different models and specifications may be different. During the software development process, it is necessary to consider different hardware specifications for different designs. The same content often needs to be repeatedly developed many times. While verifying the effectiveness of the function, it is also necessary to adapt the user interface for car computers of different sizes, resolutions, and versions. Even if the software is developed, car computer manufacturers still need to do a lot of adaptation work when connecting. With the increase in automotive software, car computers need to be compatible with the login functions of different software, resulting in a huge workload when introducing software and the cost of introduction is getting higher and higher. Summary of the invention
[0003] The present application provides a method, device and electronic device for generating a login page to solve all or part of the problems in the prior art.
[0004] In a first aspect, the present application provides a method for generating a login page, the method comprising: obtaining device parameter information and login method information; obtaining generation rules based on the device parameter information and login method information; generating login page code based on the generation rules; transmitting the login page code to a first preset operation object so that the first preset operation object generates a login page based on the login page code.
[0005] In a possible implementation, obtaining a generation template according to device parameter information and login mode information specifically includes:
[0006] A generation template corresponding to the device parameter information and the login method is extracted from a preconfigured template library according to the device parameter information and the login method information.
[0007] In a possible implementation, after the login page code is transmitted to the first preset operation object so that the first preset operation object generates a login page according to the login page code, the method further includes:
[0008] Obtaining a login request, wherein the login request includes login parameter information corresponding to the login method;
[0009] Compare the login parameter information with the pre-stored verification information to generate a verification result;
[0010] The verification result is transmitted to the first preset operation object so that the first preset operation object generates a verification result page according to the verification result.
[0011] In a possible implementation, after the login page code is transmitted to the first preset operation object so that the first preset operation object generates a login page according to the login page code, the method further includes:
[0012] Obtaining a login request, wherein the login request includes login parameter information corresponding to the login method;
[0013] Transmitting the login parameter information to the second preset operation object so that the second preset operation object generates a verification result according to the login parameter information;
[0014] Obtaining the verification result returned by the second preset operation object;
[0015] The verification result is transmitted to the first preset operation object so that the first preset operation object generates a verification result page according to the verification result, wherein the second preset operation object is an operation object used to verify the login result.
[0016] In a second aspect, the present application provides a device for generating a login page, the device comprising:
[0017] The acquisition module is used to obtain device parameter information and login method information;
[0018] A processing module, used for obtaining generation rules according to device parameter information and login mode information;
[0019] A generation module is used to generate login page code according to generation rules;
[0020] The transmission module is used to transmit the login page code to the first preset operation object so that the first preset operation object generates a login page according to the login page code.
[0021] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0022] Memory, used to store computer programs;
[0023] The processor is used to implement the steps of the method for generating a login page of any embodiment of the first aspect when executing the program stored in the memory.
[0024] In a fourth aspect, 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 of the method for generating a login page as in any embodiment of the first aspect are implemented.
[0025] The above technical solution provided by the embodiment of the present application has the following advantages compared with the prior art:
[0026] The method provided by the embodiment of the present application obtains device parameter information and login method information; obtains generation rules according to the device parameter information and login method information; generates login page code according to the generation rules; transmits the login page code to the first preset operation object so that the first preset operation object generates a login page according to the login page code. In this way, different vehicle devices can be adapted based on device parameter information and login methods to generate login pages, decoupling the login function from the vehicle device and the third-party software company, greatly saving the manpower, material resources, and costs of software development. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flowchart of a method for generating a login page provided by an embodiment of the present invention;
[0028] Figure 2 A method flow chart provided by the present invention;
[0029] Figure 3 A schematic diagram of the method flow of the user name and password login method provided by the present invention;
[0030] Figure 4 A schematic diagram of the method flow of the code scanning login method provided by the present invention;
[0031] Figure 5 A schematic diagram of a method flow of a mobile phone number verification code login method provided by the present invention;
[0032] Figure 6 A schematic diagram of a login and verification method flow provided by the present invention;
[0033] Figure 7 Another flow chart of a login and verification method provided by the present invention;
[0034] Figure 8 A schematic diagram of the structure of a device for generating a login page provided by an embodiment of the present invention;
[0035] Fig. 9 A schematic diagram of the structure of an electronic device is provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.
[0038] In view of the technical problems mentioned in the background technology, the present application embodiment provides a method for generating a login page. Figure 1 As shown, Figure 1 A flowchart of a method for generating a login page provided by an embodiment of the present invention is provided. Before introducing the steps of the method, a schematic diagram of the architecture of the method is first introduced. Figure 2 shown.
[0039] Figure 2 The interactive process between the operation objects of the method is shown, and the operation objects include device manufacturers, login platforms and third-party applications.
[0040] Because the device hardware parameters and software environment of device manufacturers are not unified, and third-party applications cannot adapt to all device parameters, a platform for adaptation can be established, such as a login platform, to decouple the login function from the vehicle device and third-party software companies. Device manufacturers and third-party applications only need to provide necessary parameters.
[0041] Specifically, the login platform obtains device parameters from the device manufacturer, and the third-party application provides login parameters and a login interface to the login platform. The login platform configures the device parameters and the login method provided by the login platform interface, generates a login page code in HyperText Markup Language 5 (H5) according to the configuration, and transmits the login page code to the device manufacturer. After receiving the H5 login page code, the device manufacturer renders the page according to the login page code, and generates the login page after the rendering is completed.
[0042] In order to more intuitively illustrate the login process of each login method, this article will list three login methods for illustration.
[0043] The first login method: Login with username and password, such as Figure 3 As shown, Figure 3 It shows the login page generation and login process of the username and password login method.
[0044] When the device manufacturer wants to access the application software, it requests the login page from the login platform. The login platform generates the login page code based on the configured device parameter information and the username and password login interface provided by the third-party application and returns it to the device manufacturer. The device manufacturer generates the login page based on the login page code. It should be noted that based on information security considerations, when generating the login page code, if the login method is determined to be username and password login, encryption will be performed when the username and password are entered.
[0045] When the user logs in, he / she enters the username and password information. At this time, as can be seen from the above, the username and password information will be encrypted. After the login platform receives the information, considering that the information encryption methods of third-party applications are different, if the information is not processed according to the format of the third-party application, the third-party application will not be able to verify the result when receiving the username and password information.
[0046] Therefore, the information needs to be decrypted first, and then encrypted according to the encryption method of the third-party application, and transmitted to the third-party application. The third-party application verifies the received username and password information, generates a verification result, and then returns the verification result to the login platform. The login platform parses the verification result, obtains the result of user login success or failure, and returns the corresponding jump page link according to the jump link corresponding to the verification result configured by the platform. The equipment manufacturer generates a verification result page based on the page jump link.
[0047] It should be further explained that the login page code encrypts the username and password using an asymmetric encryption method. Therefore, when the user enters the username and password, the username and password are always transmitted in ciphertext form during the process of being transmitted to the login platform, thus ensuring the security of the account.
[0048] The second login method: scan the code to log in, such as Figure 4 As shown, Figure 4 It shows the login page generation and login process of scanning code to log in.
[0049] When a device manufacturer wants to access an application software, it requests a login page from the login platform. The login platform requests a login QR code from the third-party application based on the scan code login interface provided by the third-party application. The third-party application returns a login QR code. The login platform assembles the generated code for the login page based on the device parameter information and the returned login QR code, and transmits it to the device manufacturer. The device manufacturer generates a login page based on the login code.
[0050] When the user logs in, the login QR code provided by the third-party application is scanned. After receiving the scanned information, the third-party application generates a login result and returns the login result to the login platform in a callback manner. The login platform parses the login result and obtains the verification result of successful or failed login. It should be noted that the callback method can enable the login platform to obtain the verification result in the first time, saving the interaction time. Of course, the login platform can also actively obtain the login result. The specific operation method can be agreed upon by the login platform and the third-party application. In this way, the third-party application only needs to provide the login QR code and the verification result, which can be completed by the interface without considering the page adaptation process. Then, the login platform returns the corresponding jump page link to the device manufacturer according to the configured jump link corresponding to the verification result. The device manufacturer generates the verification result page according to the page jump link. It should be noted that the device manufacturer can also obtain the verification result page by actively polling the login platform, which can be determined according to the actual situation.
[0051] Mobile phone verification code login Figure 5 As shown, Figure 5 The login process of the mobile phone number verification code login method is shown. When the device manufacturer wants to access the application software, it requests the login page from the login platform. The login platform returns the login page code based on the configured device parameter information and the mobile phone verification code login interface provided by the third-party application. The device manufacturer generates the login page based on the login code. When the user logs in, he enters the mobile phone number login information. The login platform forwards the mobile phone number information and the request to obtain the verification code to the third-party application. The third-party application sends the verification code to the logged-in user according to the request. After the logged-in user enters the verification code, the login platform forwards the verification code to the third-party application. The third-party application verifies whether the login is successful and returns the verification result to the login platform. The login platform returns the corresponding jump page link to the device manufacturer based on the jump link corresponding to the configured verification result. The device manufacturer generates the verification result page based on the page jump link. It should be noted that the device manufacturer can also obtain the verification result page by actively polling the login platform, which can be determined according to the actual situation. The method steps in the embodiment of the present application are applicable to each of the login methods listed above. The method steps include:
[0052] Step 110, obtaining device parameter information and login method information.
[0053] Specifically, in an optional example, the method can be applied to a vehicle device, specifically a vehicle display. The device parameter information includes but is not limited to information such as the resolution and size of the display and the operating system installed on the device.
[0054] In an optional example, the login method information is used to indicate the login method, which may include but is not limited to the following three methods: username and password login, QR code scan login, and mobile phone verification code login. This method supports adapting one or more login methods, and of course may also include other login methods, depending on the actual situation.
[0055] Step 120, obtaining generation rules according to device parameter information and login method information.
[0056] Specifically, according to the device parameter information and the login method information, a generation template corresponding to the device parameter information and the login method is extracted from a preconfigured template library, and the corresponding generation rule is obtained according to the generation template.
[0057] In an optional example, for example, it can be a login platform system, the front page is used to collect parameter information, and the backend system is used for function processing.
[0058] The acquired device parameter information, size, resolution, etc., and the login method of the application software are configured on the foreground visual interface, and the parameter information is submitted to the background system through a request. The background system matches the closest generation template according to the acquired parameter information. The generation template can be pre-configured according to the mainstream device parameter information and login method, and is used to directly generate the login interface code according to the template generation rules. Of course, the generation rules of the login page can also be directly obtained according to the parameter information.
[0059] In an optional example, the method also supports a customized login page, such as a customized device manufacturer's logo, background, text, etc., which can be configured on the page.
[0060] Step 130, generating a login page code according to the generation rules.
[0061] Specifically, the generation rule corresponds to the configured parameter information and login method, and is used to instruct the generation of a login page code that is adapted to the device and login method.
[0062] In an optional example, for example, the generation rule includes a login page with resolution parameters of 480*320, size of 7 feet, and login method of username and password or mobile phone verification code, then based on the above rules, the H5 login page code is generated.
[0063] Optionally, for the scan code login method, when requesting the login page, request the login QR code from the third-party application, use the login QR code as parameter information, and generate the H5 login page code with the device parameter information.
[0064] Step 140: transmitting the login page code to the first preset operation object so that the first preset operation object generates a login page according to the login page code.
[0065] Specifically, the login page code is transmitted to the device running the application software so that the device can render the page and generate the login page by parsing the H5 page code obtained in step 130. Because the login page code is generated based on the parameters of the device, after the rendering is completed, the login page is fully adapted to the device.
[0066] After the login page is generated, the user completes the login operation on the device login page. There are two specific ways. The first way is to complete the login process through verification by the login platform. Figure 6 The method steps shown, Figure 6 The login process verified by the login platform is shown as follows:
[0067] Step 610: Obtain a login request, wherein the login request includes login parameter information corresponding to the login method.
[0068] Specifically, in an optional example, for example, login with username and password, obtain the user's username and password information; login with scan code, obtain the user information of the scanned code user; login with mobile phone verification code, obtain the mobile phone number and verification code information of the logged-in user.
[0069] Furthermore, based on the security considerations of the account information, if the login method is a username and password, the username and password need to be encrypted. For example, an asymmetric encryption algorithm is used. Before entering the username and password to initiate a login request, the username and password are encrypted using an asymmetric algorithm and transmitted in ciphertext, which improves security.
[0070] Asymmetric encryption algorithms eliminate the need for end users to exchange keys. This type of encryption has a complex algorithm strength and security that depends on the algorithm and key. Asymmetric key systems have two keys, one of which is public, so there is no need to transmit the other party's key, greatly improving security.
[0071] Step 620, compare the login parameter information with the pre-stored verification information to generate a verification result.
[0072] Specifically, in an achievable example, such as a username and password login method, the login platform may store the user information, and after obtaining the user information, decrypt the username and password to obtain the username and password plain text information, and compare the plain text information with the pre-stored user information. If they are consistent, a verification result of successful login is generated; if they fail, a verification result of failed verification is generated. The verification result is used to indicate whether the user has successfully logged in or failed to log in.
[0073] In another feasible example, for example, the scan code login method, if the third-party application supports WeChat scan code login, the login platform directly uses the verification function provided by WeChat when the user scans the code to log in. For example, it can be a WeChat applet for verifying login. The result is verified through the interface provided by the applet, and the corresponding jump page link is returned to the device manufacturer based on the jump link corresponding to the configured verification result. The device manufacturer generates a verification result page based on the page jump link.
[0074] In another feasible example, for example, the mobile phone verification code login method, when the user uses the mobile phone verification code to log in, the user enters the mobile phone number and submits a request to obtain the verification code. The login platform sends the SMS verification code to the user through the pre-configured SMS platform. After the user enters the verification code, the SMS platform completes the verification of the verification code and generates a verification result that is transmitted to the login platform. After the login platform obtains the verification result, it returns the corresponding jump page link to the device manufacturer according to the jump link corresponding to the configured verification result. The device manufacturer generates a verification result page based on the page jump link.
[0075] Step 630: Transmit the verification result to the first preset operation object so that the first preset operation object generates a verification result page according to the verification result.
[0076] Specifically, in an optional example, the login platform can configure different jump links for different verification results, and transmit the corresponding jump links to the device running the third-party application based on the verification results. The device jumps to the verification result page based on the received jump link, and the verification result page is used to display the login results.
[0077] Based on the situation that it is inconvenient for third-party applications to hand over the verification capabilities to the login platform, this article also provides a second way to perform login verification, specifically:
[0078] The third-party application performs verification, and the login platform obtains the verification result for logging in.
[0079] Optionally, also include Figure 7 The method steps shown:
[0080] Step 710: Obtain a login request, wherein the login request includes login parameter information corresponding to the login method.
[0081] Specifically, as described in step 610, it will not be repeated here.
[0082] Step 720: Transmit the login parameter information to the second preset operation object so that the second preset operation object generates a verification result according to the login parameter information.
[0083] Specifically, in an optional example, the username and password login method, after obtaining the username and password, the username and password are asymmetrically decrypted, and then the parameter information is encrypted as required by the third-party application. Of course, it can also be unencrypted, and the username and password are processed according to the requirements of the third-party application, and the username and password are transmitted to the third-party application, and the third-party application verifies the username and password.
[0084] Optionally, scan the QR code to log in, and send the scanned user information to a third-party application, which will verify the user information.
[0085] Optionally, the mobile phone verification code login method sends the user's mobile phone number and verification code to a third-party application, which then verifies the user information.
[0086] Step 730: Obtain the verification result returned by the second preset operation object.
[0087] Specifically, the verification result returned by the third-party application is obtained and analyzed to determine whether the login is successful or failed.
[0088] Step 740, transmitting the verification result to the first preset operation object, so that the first preset operation object generates a verification result page according to the verification result, wherein the second preset operation object is an operation object used to verify the login result.
[0089] Specifically, in an optional example, according to whether the login is successful or failed, the corresponding page jump link is transmitted to the application device, and the application device displays the jump result page according to the received jump link.
[0090] The method for generating a login page provided by an embodiment of the present invention obtains device parameter information and login method information; obtains generation rules according to the device parameter information and login method information; generates login page code according to the generation rules; and transmits the login page code to a first preset operation object so that the first preset operation object generates a login page according to the login page code. In this way, different vehicle-mounted devices can be adapted based on device parameter information and login methods to generate login pages, decoupling the login function from the vehicle-mounted devices and third-party software companies, greatly saving manpower, material resources, and costs for software development.
[0091] The above is an embodiment of the method for generating a login page provided by the present application. The following is an introduction to other embodiments of generating a login page provided by the present application. Please refer to the following for details.
[0092] Figure 8 A device for generating a login page provided in an embodiment of the present invention includes:
[0093] Acquisition module 801, used to acquire device parameter information and login mode information;
[0094] Processing module 802, used to obtain generation rules according to device parameter information and login mode information;
[0095] A generation module 803 is used to generate a login page code according to a generation rule;
[0096] The transmission module 804 is used to transmit the login page code to the first preset operation object, so that the first preset operation object generates a login page according to the login page code.
[0097] Optionally, the device further includes: an extraction module 805 .
[0098] The extraction module 805 is used to extract a generation template corresponding to the device parameter information and the login method from a pre-configured template library according to the device parameter information and the login method information.
[0099] Optionally, the device also includes a comparison module 806.
[0100] The acquisition module 801 is further used to acquire a login request, wherein the login request includes login parameter information corresponding to the login method;
[0101] The comparison module 806 compares the login parameter information with the pre-stored verification information to generate a verification result;
[0102] The transmission module 804 is further used to transmit the verification result to the first preset operation object, so that the first preset operation object generates a verification result page according to the verification result.
[0103] Optionally, also include:
[0104] The acquisition module 801 is further used to acquire a login request, wherein the login request includes login parameter information corresponding to the login method;
[0105] The transmission module 804 is further used to transmit the login parameter information to the second preset operation object so that the second preset operation object generates a verification result according to the login parameter information;
[0106] The acquisition module 801 is further used to obtain the verification result returned by the second preset operation object;
[0107] The transmission module 804 is further used to transmit the verification result to the first preset operation object so that the first preset operation object generates a verification result page according to the verification result, wherein the second preset operation object is an operation object used to verify the login result.
[0108] The functions performed by the various components in the device for generating a login page provided by the embodiment of the present invention have been described in detail in any of the above method embodiments, and thus will not be described in detail here.
[0109] An embodiment of the present invention provides a device for generating a login page, which obtains device parameter information and login method information; obtains generation rules according to the device parameter information and login method information; generates login page code according to the generation rules; and transmits the login page code to a first preset operation object so that the first preset operation object generates a login page according to the login page code. In this way, different vehicle-mounted devices can be adapted based on device parameter information and login methods to generate login pages, decoupling the login function from the vehicle-mounted devices and third-party software companies, greatly saving manpower, material resources, and costs for software development.
[0110] like Fig. 9 As shown, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0111] Memory 113, used for storing computer programs;
[0112] In one embodiment of the present application, the processor 111, when executing the program stored in the memory 113, implements the method for generating a login page provided by any of the aforementioned method embodiments, including: obtaining device parameter information and login method information; obtaining generation rules based on the device parameter information and login method information; generating a login page code based on the generation rules; transmitting the login page code to a first preset operation object, so that the first preset operation object generates a login page based on the login page code.
[0113] An embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for generating a login page provided in any of the aforementioned method embodiments are implemented.
[0114] It should be noted that, in this article, relational terms such as "first" and "second" 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-exclusive 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 "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0115] The above is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features applied herein.
Claims
1. A method for generating a login page, characterized in that: The method comprises: Obtain device parameter information and login method information; According to the device parameter information and the login mode information, obtaining a generation rule includes: according to the device parameter information and the login mode information, extracting a generation template corresponding to the device parameter information and the login mode information from a preconfigured template library, and obtaining the generation rule according to the generation template, wherein the generation rule corresponds to the configured device parameter information and the login mode information, and is used to instruct the generation of a login page code adapted to the device parameter information and the login mode information; Generate a login page code according to the generation rule; The login page code is transmitted to a first preset operation object, so that the first preset operation object generates a login page according to the login page code, wherein the first preset operation object is a device manufacturer.
2. The method according to claim 1, characterized in that The acquiring generation rules according to the device parameter information and the login mode information specifically includes: Acquire a generation template according to the device parameter information and the login mode information; According to the generation template, corresponding generation rules are obtained.
3. The method according to claim 2, characterized in that The acquiring a generation template according to the device parameter information and the login mode information specifically includes: A generation template corresponding to the device parameter information and the login method is extracted from a preconfigured template library according to the device parameter information and the login method information.
4. The method according to any one of claims 1 to 3, characterized in that: After the login page code is transmitted to the first preset operation object so that the first preset operation object generates a login page according to the login page code, the method further includes: Obtaining a login request, wherein the login request includes login parameter information corresponding to the login method; Comparing the login parameter information with the pre-stored verification information to generate a verification result; The verification result is transmitted to the first preset operation object so that the first preset operation object generates a verification result page according to the verification result, and the verification result page is used to display the login result.
5. The method according to any one of claims 1 to 3, characterized in that: After the login page code is transmitted to the first preset operation object so that the first preset operation object generates a login page according to the login page code, the method further includes: Obtaining a login request, wherein the login request includes login parameter information corresponding to the login method; Transmitting the login parameter information to a second preset operation object so that the second preset operation object generates a verification result according to the login parameter information; Obtaining the verification result returned by the second preset operation object; The verification result is transmitted to the first preset operation object so that the first preset operation object generates a verification result page according to the verification result, wherein the second preset operation object is an operation object used to verify the login result, and the verification result page is used to display the login result.
6. A device for generating a login page, characterized in that: The device comprises: The acquisition module is used to obtain device parameter information and login method information; A processing module, configured to obtain a generation rule according to the device parameter information and the login mode information, comprising: extracting a generation template corresponding to the device parameter information and the login mode information from a preconfigured template library according to the device parameter information and the login mode information, and obtaining the generation rule according to the generation template, wherein the generation rule corresponds to the configured device parameter information and the login mode information, and is used to instruct generation of a login page code adapted to the device parameter information and the login mode information; A generation module, used to generate a login page code according to the generation rules; The transmission module is used to transmit the login page code to a first preset operation object so that the first preset operation object generates a login page according to the login page code, wherein the first preset operation object is a device manufacturer.
7. The device according to claim 6, characterized in that The device also includes: a comparison module; The acquisition module is further used to acquire a login request, wherein the login request includes login parameter information corresponding to the login method; The comparison module is used to compare the login parameter information with the pre-stored verification information to generate a verification result; The transmission module is further used to transmit the verification result to the first preset operation object, so that the first preset operation object generates a verification result page according to the verification result, and the verification result page is used to display the login result.
8. The device according to claim 6, characterized in that The device also includes: The acquisition module is further used to acquire a login request, wherein the login request includes login parameter information corresponding to the login method; The transmission module is further used to transmit the login parameter information to a second preset operation object, so that the second preset operation object generates a verification result according to the login parameter information; The acquisition module is further used to acquire the verification result returned by the second preset operation object; The transmission module is further used to transmit the verification result to the first preset operation object, so that the first preset operation object generates a verification result page according to the verification result, wherein the second preset operation object is an operation object used to verify the login result.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor is used to implement the steps of the method for generating a login page as described in any one of claims 1 to 5 when executing a program stored in a memory.
10. 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 for generating a login page according to any one of claims 1 to 5 are implemented.
