CN115348116A - Webpage login method and device of industrial internet, equipment and medium - Google Patents

Webpage login method and device of industrial internet, equipment and medium Download PDF

Info

Publication number
CN115348116A
CN115348116A CN202211283013.5A CN202211283013A CN115348116A CN 115348116 A CN115348116 A CN 115348116A CN 202211283013 A CN202211283013 A CN 202211283013A CN 115348116 A CN115348116 A CN 115348116A
Authority
CN
China
Prior art keywords
login
webpage
industrial internet
user account
identification code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211283013.5A
Other languages
Chinese (zh)
Other versions
CN115348116B (en
Inventor
谢家贵
刘红炎
韩盈盈
田佳利
张少飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202211283013.5A priority Critical patent/CN115348116B/en
Publication of CN115348116A publication Critical patent/CN115348116A/en
Application granted granted Critical
Publication of CN115348116B publication Critical patent/CN115348116B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/105Multiple levels of security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the disclosure discloses a webpage login method, a device, equipment and a medium for industrial Internet, wherein the method comprises the following steps: responding to the received webpage login request, and providing a first login mode and a second login mode through a webpage; responding to a received selection instruction of a first login mode, acquiring a user account and a first identification code of the industrial Internet, and further verifying whether the user account has the authority of the first login mode; if the user has the authority of the first login mode, providing the two-dimensional code through the webpage; and in response to receiving a code scanning login request aiming at the two-dimensional code, displaying a specified webpage and providing a first webpage operation authority. The method and the device for the webpage login of the server provide different webpage login modes for the same user account, when the user selects scanning login, whether the user account has the scanning login authority needs to be detected, and because the different webpage login modes have different webpage operation authorities, the server only needs to maintain one user account, and the redundancy rate of the user amount of the system is low.

Description

Webpage login method and device of industrial internet, equipment and medium
Technical Field
The disclosure relates to the technical field of industrial internet and identification, in particular to a webpage login method, a webpage login device, equipment and a webpage login medium for the industrial internet.
Background
The current login authentication mode of the world wide web (web) is to realize the purpose of the user accessing the system by the authority and domain division through role control. That is, the same user can only have one role, and can see pages or data under one type of authority after logging in the system.
The current web login mode is difficult to realize that the same user can view different authority pages or data of the same system after logging in different modes. When the same user needs to view pages or data with different permissions of the same system, at least two accounts and passwords need to be maintained, so that the experience of the user in using the system is reduced, and the system also redundantly contains repeated users.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, equipment and a medium for logging in a webpage of an industrial internet, wherein the same user account provides different webpage logging modes, and the different webpage logging modes have different webpage operation authorities.
In a first aspect of the embodiments of the present disclosure, a method for logging in a web page of an industrial internet is provided, including:
responding to the received webpage login request, and providing a first login mode and a second login mode through a webpage;
responding to the received selection instruction of the first login mode, and acquiring a user account and a first industrial internet identification code provided by user terminal equipment through the webpage;
verifying whether the user account has the authority of the first login mode or not based on the industrial Internet first identification code and the user account;
if the verification result represents that the user account has the authority of the first login mode, providing a two-dimensional code for scanning login through the webpage, wherein the first webpage operation authority corresponding to the first login mode after login is different from the second webpage operation authority corresponding to the second login mode;
and responding to a received code scanning login request aiming at the two-dimensional code, displaying a specified webpage, and providing the first webpage operation authority.
In an embodiment of the present disclosure, after the providing the first login manner and the second login manner through the web page, the method further includes:
responding to a received selection instruction of the second login mode, and acquiring a user name, a login password and a dynamic verification code through the webpage;
and verifying based on the user name, the login password and the dynamic verification code, displaying the specified webpage after the verification is passed, and providing the second webpage operation authority.
In an embodiment of the present disclosure, before the providing, in response to receiving a web page login request, a first login manner and a second login manner through a web page, the method further includes:
creating the user account based on the webpage registration request;
setting the first login mode, the industrial internet second identification code and the first webpage operation authority aiming at the user account, and binding the user account, the industrial internet second identification code and the state value of the first login mode, wherein the state value of the first login mode comprises a state value representing that the first login mode is opened and a state value representing that the login mode is closed.
And setting the second login mode aiming at the user account, and binding the second login mode, the user name, the login password and the second webpage operation authority.
In an embodiment of the present disclosure, the providing, through the web page, a two-dimensional code for scan login includes:
and generating the two-dimensional code based on the second identification code of the industrial internet, the website of the appointed webpage, the preset overtime access time and the random unique identification code.
In an embodiment of the present disclosure, the verifying whether the user account has the authority of the first login manner includes:
detecting whether a background server of the webpage can acquire the industrial internet second identification code;
if the second industrial internet identification code can be acquired and the first industrial internet identification code is consistent with the second industrial internet identification code, determining that the user account has the authority of the first login mode;
and if the second identification code of the industrial internet cannot be acquired, determining that the user account does not have the authority of the first login mode.
In an embodiment of the present disclosure, after the detecting whether the second identification code of the industrial internet can be acquired through the background server of the web page, the method further includes:
and if the second identification code of the industrial internet can be acquired and the first identification code of the industrial internet is inconsistent with the second identification code of the industrial internet, feeding back login failure information through the webpage.
In a second aspect of the embodiments of the present disclosure, there is provided a web page login apparatus for an industrial internet, including:
the webpage login mode providing module is used for responding to the received webpage login request and providing a first login mode and a second login mode through a webpage;
the user account acquisition module is used for responding to the received selection instruction of the first login mode and acquiring a user account and a first identification code of the industrial internet provided by user terminal equipment through the webpage;
the login authority verification module is used for verifying whether the user account has the authority of the first login mode or not based on the first industrial internet identification code and the user account;
the two-dimension code providing module is used for providing a two-dimension code for scanning login through the webpage if the verification result indicates that the user account has the authority of the first login mode, wherein the first webpage operation authority corresponding to the first login mode after login is different from the second webpage operation authority corresponding to the second login mode;
and the webpage display operation module is used for responding to the received code scanning login request aiming at the two-dimensional code, displaying a specified webpage and providing the first webpage operation authority.
In one embodiment of the present disclosure, the web page registration apparatus for the industrial internet further includes:
the webpage login information acquisition module is used for responding to the received selection instruction of the second login mode and acquiring a user name, a login password and a dynamic verification code through the webpage;
the login authority verification module is further used for verifying based on the user name, the login password and the dynamic verification code; the webpage display operation module is also used for displaying the specified webpage after the verification is passed and providing the second webpage operation authority.
In an embodiment of the present disclosure, the web page login apparatus for the industrial internet further includes a web page registration module, where the web page registration module is configured to create the user account based on a web page registration request; the webpage registration module is further used for setting the first login mode, the industrial internet second identification code and the first webpage operation authority aiming at the user account, and binding the user account, the industrial internet second identification code, the first webpage operation authority and a state value of the first login mode, wherein the state value of the first login mode comprises a state value representing that the first login mode is opened and a state value representing that the login mode is closed; the webpage registration module is further configured to set the second login mode for the user account, and bind the second login mode, the user name, the login password, and the second webpage operation permission.
In an embodiment of the disclosure, the two-dimensional code providing module is configured to generate the two-dimensional code based on the industrial internet second identification code, the website of the designated webpage, a preset timeout access time, and a random unique identification code.
In an embodiment of the disclosure, the login permission verification module is configured to detect whether a background server passing through the webpage can obtain the second identification code of the industrial internet; the login authority verification module is further used for determining that the user account has the authority of the first login mode if the second industrial internet identification code can be acquired and the first industrial internet identification code is consistent with the second industrial internet identification code; the login permission verification module is further used for determining that the user account does not have the permission of the first login mode if the second industrial internet identification code cannot be obtained.
In an embodiment of the disclosure, the web page login device of the industrial internet further includes a login state feedback module, and the login state feedback module is configured to feed back login failure information through the web page if the second identification code of the industrial internet can be acquired and the first identification code of the industrial internet is inconsistent with the second identification code of the industrial internet.
In a third aspect of the disclosed embodiments, there is provided an electronic device, including:
a memory for storing a computer program;
and a processor configured to execute the computer program stored in the memory, wherein when the computer program is executed, the method for logging in a web page of the industrial internet according to the first aspect is implemented.
A fourth aspect of the embodiments of the present disclosure provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the computer program implements the method for logging in a web page of an industrial internet according to the first aspect.
According to the webpage login method, the webpage login device, the webpage login equipment and the webpage login medium of the industrial internet, two different webpage login modes are provided for the same user account, and the two different webpage login modes have different webpage operation permissions. When the user selects the first login mode, whether the user account has the authority of the first login mode is verified based on the first industrial internet identification code and the user account provided by the user terminal equipment, and the two-dimensional code is provided after the user account passes the verification. And when the user uses the terminal to scan the two-dimensional code for logging in, displaying the specified webpage, and providing a first webpage operation authority corresponding to the first logging-in mode so that the user can conveniently perform webpage operation in the first webpage operation authority. According to the method and the device, different webpage login modes are provided for the same user account, different webpage login modes have different webpage operation permissions, the server only needs to maintain one user account, and the redundancy of the user amount of the system is low.
The technical solution of the present disclosure is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The present disclosure may be more clearly understood from the following detailed description, taken with reference to the accompanying drawings, in which:
FIG. 1 is a schematic flow chart illustrating a method for web page login in an industrial Internet according to an embodiment of the present disclosure;
FIG. 2 is a block diagram of a web page registration apparatus of the industrial Internet according to an embodiment of the present disclosure;
fig. 3 is a block diagram of an electronic device in an embodiment of the disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
It will be understood by those within the art that the terms "first", "second", etc. in the embodiments of the present disclosure are used only for distinguishing between different steps, devices or modules, etc., and do not denote any particular technical meaning or necessary logical order therebetween.
It is also understood that in embodiments of the present disclosure, "a plurality" may refer to two or more than two, and "at least one" may refer to one, two or more than two.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the disclosure, may be generally understood as one or more, unless explicitly defined otherwise or stated otherwise.
In addition, the term "and/or" in the present disclosure is only one kind of association relationship describing the association object, and indicates that three relationships may exist, for example, a and/or B, may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the former and latter associated objects are in an "or" relationship.
It should also be understood that the description of the embodiments in the present disclosure emphasizes the differences between the embodiments, and the same or similar parts may be referred to each other, and are not repeated for brevity.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The disclosed embodiments may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, networked personal computers, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
Fig. 1 is a flowchart illustrating a web page login method of an industrial internet according to an embodiment of the present disclosure. As shown in fig. 1, a web page login method of an industrial internet according to an embodiment of the present disclosure includes:
s1: and responding to the received webpage login request, and providing the first login mode and the second login mode through the webpage.
A user can access the home page of a target website through a terminal and enter a user login page. And then the target website determines a default login mode and an alternative login mode according to the webpage login parameters of the user.
The terminal used by the user can be a mobile phone terminal, a computer terminal or other terminals.
The default login mode is one of the first login mode and the second login mode, and the alternative login mode is the other one.
The web page login parameter may include at least one of a networking type of the terminal, a location of the terminal, and a current system time. The networking type may include a local area network, a mobile data network (4G network or 5G network), or a WiFi network. When the user is a member of the company to which the target website belongs, the target website can be accessed through the internal local area network of the company to which the target website belongs. When the user is not a member of the company to which the target site belongs, the target site can be accessed through a mobile data network or a WiFi network. The target website may provide its own location through the terminal in case the terminal authorizes the provision of the location information. When the terminal is located at the company to which the target website belongs, the terminal may be an employee of the company to which the target website belongs, or a partner of the company to which the target website belongs to log in the target website. The current system time may determine whether the time at which the user logs in the target website is at the working time of the company to which the target website belongs, or is close to the start-stop time of the working time. The purpose (public or private use) of the user to log in the target website can be reflected to a certain extent by the networking type of the terminal, the position of the terminal and the current system time.
S2: and responding to the received selection instruction of the first login mode, and acquiring the user account and a first identification code of the industrial Internet provided by the user terminal equipment through a webpage.
When a user selects a first login mode in a user login page through a terminal, and a user account is input through the user login page, a background server of a target website can acquire the user account. In addition, the background server of the target website can acquire the first identification code of the industrial internet through the user terminal equipment applying for web page login. The first identification code of the industrial internet is a user identification code obtained by registering user terminal equipment through an industrial internet identification system.
S3: and verifying whether the user account has the authority of the first login mode or not based on the first identification code of the industrial Internet and the user account.
The background server of the target website matches the user account in the registered account database, if the user account is matched, the industrial internet identification code bound with the user account can be detected, the industrial internet identification code bound with the user account is compared with the first identification code of the industrial internet, and whether the user account has the authority of using the first login mode or not can be verified based on the comparison result.
S4: and if the verification result represents that the user account has the authority of the first login mode, providing a two-dimensional code for scanning login through a webpage. And the first webpage operation authority corresponding to the first login mode after login is different from the second webpage operation authority corresponding to the second login mode.
In one example of the present disclosure, the first login manner has a web page operation authority a and a web page operation authority B, and the second login manner has a web page operation authority a, a web page operation authority B, and a web page operation authority C. For example, the webpage operation permission A can be a webpage data reading permission, the webpage operation permission B can be a webpage data copying permission, and the webpage operation permission C can be a webpage data deleting permission.
S5: and in response to receiving a code scanning login request aiming at the two-dimensional code, displaying a specified webpage and providing a first webpage operation authority. The designated web page may be a personal home page corresponding to the user account, or may be another web page, which is set according to the setting of the target website.
In this embodiment, two different web page login modes are provided for the same user account, and the two different web page login modes have different web page operation permissions. When a user selects a first login mode, verifying whether a user account has the authority of the first login mode or not based on a first identification code of the industrial internet and the user account provided by user terminal equipment, providing a two-dimensional code after the verification is passed, displaying an appointed webpage after the user scans the two-dimensional code to log in by using a terminal, and providing a first webpage operation authority corresponding to the first login mode so that the user can perform webpage operation in the first webpage operation authority. According to the method and the device, different webpage login modes are provided for the same user account, different webpage login modes have different webpage operation permissions, the server only needs to maintain one user account, and the redundancy of the user amount of the system is low.
In an embodiment of the present disclosure, after step S1, the method may further include: responding to a received selection instruction of a second login mode, and acquiring a user name, a login password and a dynamic verification code through a webpage; and verifying based on the user name, the login password and the dynamic verification code, displaying the specified webpage after the verification is passed, and providing a second webpage operation authority.
And when the user selects a second login mode in the user login page through the terminal, prompting the user to input a user name and a password in the user login page corresponding to the second login mode, and prompting the user to input a dynamic verification code for dynamic verification. And after the user inputs the user name, the login password and the dynamic verification code in the user login page corresponding to the second login mode, the background server of the target website can acquire the user name, the login password and the dynamic verification code. And the background server of the target website carries out verification based on the user name, the login password and the dynamic verification code, if the verification is passed, the appointed webpage is displayed, and a second webpage operation authority is provided.
In this embodiment, after the user selects the second login manner, whether the user has the right of the second login manner is verified based on the user name, the login password and the dynamic verification code, and after the verification is passed, the same webpage after the user logs in the first login manner can be displayed, but the webpage operation right of the user after logging in the second login manner is different from the webpage operation right of the user after logging in the first login manner, so that the same user account has different webpage operation rights for different webpage login manners, and the redundancy of the system user amount is low.
In an embodiment of the present disclosure, before step S1, the method further includes:
s0: a user account is registered. The step S0 specifically includes:
s0-1: a user account is created based on the web page registration request.
The user submits an account registration request through the target website, and a user name and a login password are provided in the account registration request. After verifying that the login password conforms to a preset password rule, the background server of the target website creates a user account for the user, and provides a first webpage login mode and a second webpage login mode for the user account.
S0-2: the method comprises the steps of setting a first login mode, a second identification code of the industrial internet and a first webpage operation authority aiming at a user account, and binding the user account, the user identification code, the first webpage operation authority and a state value of the first login mode. The state value of the first login mode comprises a state value representing that the first login mode is opened and a state value representing that the login mode is closed.
A background server of a target website registers a system user a to an industrial internet identification analysis system, and a registration field is as follows: user account, system name, and affiliated institution. The industrial internet identification analysis system registration system distributes a globally unique user identification code Ida, namely a second identification code of the industrial internet, to the user a, so that the user a becomes an identification user. In the industrial Internet identification analysis system registration system, the identification code IDa of the user is inquired, and the identification user and the registration information thereof can be searched uniquely. The user identification code Ida (namely the second identification code of the industrial internet), the user account, the first webpage operation authority and the state value (representing the state value of the function opening or closing, for example, 1 indicates that the function is opened, and 0 indicates that the function is closed) supporting the scanning login mode are bound.
S0-3: and setting a second login mode aiming at the user account, and binding the second login mode, the user name, the login password and the second webpage operation.
In this embodiment, when the user registers an account, the user may be provided with a first login manner and a second login manner for the user to select, and if the user selects the first login manner and the second login manner at the same time, the first login manner and the second login manner are respectively bound with the user account and related information. And then, the webpage login can be carried out through the first login mode or the second login mode.
In one embodiment of the present disclosure, providing a two-dimensional code for scan login through a web page may include: and generating a two-dimensional code based on the second identification code of the industrial internet, the website of the appointed webpage, the preset overtime access time and the random unique identification code. The random Unique identification code may be a Universal Unique Identifier (UUID), so that it is ensured that the generated two-dimensional code is Unique.
In this embodiment, based on the second identification code of the industrial internet, the website of the designated webpage, the preset timeout access time, and the random unique identification code, a unique two-dimensional code may be generated, so that the user may log in the webpage by scanning the two-dimensional code.
In one embodiment of the present disclosure, step S3 includes:
s3-1: and detecting whether the background server passing through the webpage can acquire the industrial internet second identification code.
S3-2: and if the second identification code of the industrial internet can be acquired and the first identification code of the industrial internet is consistent with the second identification code of the industrial internet, determining that the user account has the authority of the first login mode.
S3-3: and if the second identification code of the industrial internet cannot be acquired and the characteristic that the user account does not have the code scanning login permission, determining that the user account does not have the permission of the first login mode.
In this embodiment, when the user selects the first login manner (i.e., the code scanning login manner), the second identification code of the industrial internet bound with the user account is searched for in the registered account server. And when the searched second identification code of the industrial internet is consistent with the first identification code of the industrial internet provided by the user terminal equipment, determining that the user account has the authority of the first login mode. And when the second identification code of the industrial internet bound with the user account is not found, representing that the user account does not open the authority of the first login mode. According to the embodiment, the first identification code of the industrial internet provided by the user terminal equipment is compared with the second identification code of the industrial internet matched with the user account, so that whether the user account has the authority of the first login mode or not can be quickly verified.
In an embodiment of the present disclosure, after step S3-2, further comprising:
s3-5: and if the second identification code of the industrial internet can be obtained and the first identification code of the industrial internet is inconsistent with the second identification code of the industrial internet, feeding back login failure information through a webpage.
When the first industrial internet identification code provided by the user terminal equipment is inconsistent with the second industrial internet identification code bound with the user account, the login information of the user account is possibly tampered, at the moment, login failure information can be fed back to the user through a webpage, and the user can be prompted to check whether the second user identification code is input correctly.
In the embodiment, by comparing the first industrial internet identification code provided by the user terminal device with the second industrial internet identification code bound with the user account, whether login information is tampered or not can be effectively detected, the risk brought by an attacker who violently cracks the account is reduced, and the safety of the system is enhanced.
Fig. 2 is a block diagram illustrating a web page registration apparatus of an industrial internet according to an embodiment of the present disclosure. As shown in fig. 2, the web page registration apparatus of the industrial internet includes:
a web page login mode providing module 100, configured to provide a first login mode and a second login mode through a web page in response to receiving a web page login request;
the user account acquisition module 200 is configured to, in response to receiving a selection instruction of a first login manner, acquire a user account and a first identification code of the industrial internet provided by the user terminal device through a webpage;
the login authority verification module 300 is used for verifying whether the user account has the authority of the first login mode or not based on the first industrial internet identification code and the user account;
the two-dimensional code providing module 400 is configured to provide a two-dimensional code for scanning login through a webpage if the verification result indicates that the user account has the authority of the first login mode, where a first webpage operation authority corresponding to the first login mode after login is different from a second webpage operation authority corresponding to the second login mode;
the web page display operation module 500 is configured to display a specified web page in response to receiving a code scanning login request for a two-dimensional code, and provide a first web page operation permission.
In one embodiment of the present disclosure, the web page registration apparatus of the industrial internet further includes:
the webpage login information acquisition module is used for responding to a received selection instruction of a second login mode and acquiring a user name, a login password and a dynamic verification code through a webpage;
the login authority verification module 300 is further configured to perform verification based on a user name, a login password, and a dynamic verification code; the webpage display operation module is also used for displaying the specified webpage after the verification is passed and providing a second webpage operation authority.
In one embodiment of the disclosure, the web page login device of the industrial internet further comprises a web page registration module, wherein the web page registration module is used for creating a user account based on a web page registration request; the webpage registration module is further used for setting a first login mode, an industrial internet second identification code and a first webpage operation authority aiming at the user account, and binding the user account, the industrial internet second identification code, the first webpage operation authority and a state value of the first login mode, wherein the state value of the first login mode comprises a state value representing that the first login mode is opened and a state value representing that the login mode is closed; the webpage registration module is also used for setting a second login mode aiming at the user account and binding the second login mode, the user name, the login password and the second webpage operation.
In an embodiment of the present disclosure, the two-dimensional code providing module 400 is configured to generate a two-dimensional code based on the industrial internet second identification code, the website of the designated webpage, the preset timeout access time, and the random unique identification code.
In an embodiment of the present disclosure, the login authority verification module 300 is configured to detect whether the background server passing through the web page can obtain the industrial internet second identification code; the login authority verification module 300 is further configured to determine that the user account has the authority of the first login mode if the industrial internet second identification code can be acquired and the industrial internet first identification code is consistent with the industrial internet second identification code; the login permission verification module 300 is further configured to determine that the user account does not have the permission of the first login manner if the second identification code of the industrial internet cannot be acquired.
In an embodiment of the disclosure, the web page login device of the industrial internet further includes a login state feedback module, and the login state feedback module is configured to feed back login failure information through the web page if the second identification code of the industrial internet can be acquired and the first identification code of the industrial internet is inconsistent with the second identification code of the industrial internet.
It should be noted that, the specific implementation of the web page registration apparatus of the industrial internet in the embodiment of the present disclosure is similar to the specific implementation of the web page registration method of the industrial internet in the embodiment of the present disclosure, and specific reference is specifically made to the description of the web page registration method portion of the industrial internet, and details are not described here in order to reduce redundancy.
In addition, an embodiment of the present disclosure also provides an electronic device, including:
a memory for storing a computer program;
and a processor, configured to execute the computer program stored in the memory, and when the computer program is executed, implement the web page login method for the industrial internet according to any of the embodiments of the present disclosure.
Fig. 3 is a block diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 3, the electronic device includes one or more processors 10 and memory 20.
The processor may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
The memory may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer readable storage medium and executed by a processor to implement the web page login method of the industrial internet of the various embodiments of the present disclosure described above and/or other desired functions.
In one example, the electronic device may further include: an input device 30 and an output device 40, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device may also include, for example, a keyboard, mouse, and the like.
The output device may output various information including the determined distance information, direction information, and the like to the outside. The output devices may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device relevant to the present disclosure are shown in fig. 3, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device may include any other suitable components, depending on the particular application.
In addition to the above methods and apparatuses, embodiments of the present disclosure may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps in the web page registration method of the industrial internet according to various embodiments of the present disclosure described in the above section of this specification.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the steps in the web page login method of the industrial internet according to various embodiments of the present disclosure described in the above section of the present specification.
The computer readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by one skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. As used herein, the words "or" and "refer to, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The method and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the apparatus, devices, and methods of the present disclosure, various components or steps may be broken down and/or re-combined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (10)

1. A webpage login method of an industrial Internet is characterized by comprising the following steps:
responding to the received webpage login request, and providing a first login mode and a second login mode through a webpage;
responding to the received selection instruction of the first login mode, and acquiring a user account and a first industrial Internet identification code provided by user terminal equipment through the webpage;
verifying whether the user account has the authority of the first login mode or not based on the industrial Internet first identification code and the user account;
if the verification result represents that the user account has the authority of the first login mode, providing a two-dimensional code for scanning login through the webpage, wherein the first webpage operation authority corresponding to the first login mode after login is different from the second webpage operation authority corresponding to the second login mode;
and responding to a received code scanning login request aiming at the two-dimensional code, displaying a specified webpage, and providing the first webpage operation authority.
2. The web page login method of the industrial internet according to claim 1, wherein after the providing the first login means and the second login means through the web page, further comprising:
responding to a received selection instruction of the second login mode, and acquiring a user name, a login password and a dynamic verification code through the webpage;
and verifying based on the user name, the login password and the dynamic verification code, displaying the specified webpage after the verification is passed, and providing the second webpage operation authority.
3. The web page registration method of the industrial internet according to claim 2, wherein before the providing the first registration means and the second registration means through the web page in response to the web page registration request, further comprising:
creating the user account based on the webpage registration request;
setting the first login mode, the industrial internet second identification code and the first webpage operation authority aiming at the user account, and binding the user account, the industrial internet second identification code, the first webpage operation authority and a state value of the first login mode, wherein the state value of the first login mode comprises a state value representing that the first login mode is opened and a state value representing that the login mode is closed;
and setting the second login mode aiming at the user account, and binding the second login mode, the user name, the login password and the second webpage operation authority.
4. The web page login method of the industrial internet according to claim 3, wherein the providing of the two-dimensional code for scan login through the web page comprises:
and generating the two-dimensional code based on the second identification code of the industrial internet, the website of the appointed webpage, the preset overtime access time and the random unique identification code.
5. The web page login method of the industrial internet according to claim 1, wherein the verifying whether the user account has the authority of the first login mode based on the first identification code of the industrial internet and the user account comprises:
detecting whether a background server passing through the webpage can acquire the second identification code of the industrial Internet;
if the second industrial internet identification code can be acquired and the first industrial internet identification code is consistent with the second industrial internet identification code, determining that the user account has the authority of the first login mode;
and if the second identification code of the industrial internet cannot be acquired, determining that the user account does not have the authority of the first login mode.
6. The web page login method of the industrial internet according to claim 5, wherein after the detecting whether the second identification code of the industrial internet is available to the background server through the web page, the method further comprises:
and if the second identification code of the industrial internet can be acquired and the first identification code of the industrial internet is inconsistent with the second identification code of the industrial internet, feeding back login failure information through the webpage.
7. A web page registration apparatus for an industrial internet, comprising:
the webpage login mode providing module is used for responding to the received webpage login request and providing a first login mode and a second login mode through a webpage;
the user account acquisition module is used for responding to the received selection instruction of the first login mode and acquiring a user account and a first identification code of the industrial internet provided by user terminal equipment through the webpage;
the login authority verification module is used for verifying whether the user account has the authority of the first login mode or not based on the first industrial internet identification code and the user account;
the two-dimension code providing module is used for providing a two-dimension code for scanning login through the webpage if the verification result indicates that the user account has the authority of the first login mode, wherein the first webpage operation authority corresponding to the first login mode after login is different from the second webpage operation authority corresponding to the second login mode;
and the webpage display operation module is used for responding to the received code scanning login request aiming at the two-dimensional code, displaying a specified webpage and providing the first webpage operation authority.
8. The web page registration apparatus for industrial internet according to claim 7, further comprising:
the webpage login information acquisition module is used for responding to the received selection instruction of the second login mode and acquiring a user name, a login password and a dynamic verification code through the webpage;
the login authority verification module is further used for verifying based on the user name, the login password and the dynamic verification code; and the webpage display operation module is also used for displaying the specified webpage after the verification is passed and providing the second webpage operation authority.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program stored in the memory, and when the computer program is executed, implementing the method for web page registration of the industrial internet according to any one of claims 1 to 6.
10. A computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for web page registration of the industrial internet according to any one of claims 1 to 6.
CN202211283013.5A 2022-10-20 2022-10-20 Webpage login method and device of industrial internet, equipment and medium Active CN115348116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211283013.5A CN115348116B (en) 2022-10-20 2022-10-20 Webpage login method and device of industrial internet, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211283013.5A CN115348116B (en) 2022-10-20 2022-10-20 Webpage login method and device of industrial internet, equipment and medium

Publications (2)

Publication Number Publication Date
CN115348116A true CN115348116A (en) 2022-11-15
CN115348116B CN115348116B (en) 2023-03-03

Family

ID=83957561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211283013.5A Active CN115348116B (en) 2022-10-20 2022-10-20 Webpage login method and device of industrial internet, equipment and medium

Country Status (1)

Country Link
CN (1) CN115348116B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085470A1 (en) * 2017-11-01 2019-05-09 平安科技(深圳)有限公司 Authorization configuration method for system, application server and computer-readable storage medium
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
WO2022143160A1 (en) * 2020-12-28 2022-07-07 华为技术有限公司 Method for user identity recognition for multiple devices, and terminal device
CN114764286A (en) * 2020-12-30 2022-07-19 华为技术有限公司 Application program login method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019085470A1 (en) * 2017-11-01 2019-05-09 平安科技(深圳)有限公司 Authorization configuration method for system, application server and computer-readable storage medium
CN110602216A (en) * 2019-09-16 2019-12-20 宁波奥克斯电气股份有限公司 Method and device for using single account by multiple terminals, cloud server and storage medium
WO2022143160A1 (en) * 2020-12-28 2022-07-07 华为技术有限公司 Method for user identity recognition for multiple devices, and terminal device
CN114764286A (en) * 2020-12-30 2022-07-19 华为技术有限公司 Application program login method and system

Also Published As

Publication number Publication date
CN115348116B (en) 2023-03-03

Similar Documents

Publication Publication Date Title
EP3069465B1 (en) System and method for credentialed access to a remote server
CN105610810B (en) Data processing method, client and server
US8087088B1 (en) Using fuzzy classification models to perform matching operations in a web application security scanner
US9525684B1 (en) Device-specific tokens for authentication
CN106105139B (en) The authentication method and system detected automatically carried out by gateway
CN109376078B (en) Mobile application testing method, terminal equipment and medium
WO2018188558A1 (en) Method and apparatus for identifying account permission
JP5868529B2 (en) Form related validation
US20080015986A1 (en) Systems, methods and computer program products for controlling online access to an account
CN107040518B (en) Private cloud server login method and system
US8812697B2 (en) Method of controlling a browser window
KR20120135041A (en) Access monitoring method, information processing apparatus, and computer-readable medium storing access monitoring program
EP3005210B1 (en) Secure automatic authorized access to any application through a third party
US7249168B1 (en) Method and apparatus for automated remote volume mounting using a plug-in installed on a client
CN111259355A (en) Single sign-on method, portal system and service platform
CN114422139A (en) API gateway request security verification method and device, electronic equipment and computer readable medium
CN112118238A (en) Method, device, system, equipment and storage medium for authentication login
RU2638779C1 (en) Method and server for executing authorization of application on electronic device
US20160261715A1 (en) System and method for securing a web server
CN111431857B (en) Authorized access method and device for super account book and storage medium
CN115348116B (en) Webpage login method and device of industrial internet, equipment and medium
CN116248338A (en) Single sign-on authentication method, device and medium based on OAuth2.0 protocol
US20150264025A1 (en) Persistent bookmarklet authorization
CN107294920B (en) Reverse trust login method and device
US20220058286A1 (en) Bypassing elements of a secure document workflow based on identity of recipient

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant