CN117240507A - Access password resetting method and device - Google Patents

Access password resetting method and device Download PDF

Info

Publication number
CN117240507A
CN117240507A CN202311059421.7A CN202311059421A CN117240507A CN 117240507 A CN117240507 A CN 117240507A CN 202311059421 A CN202311059421 A CN 202311059421A CN 117240507 A CN117240507 A CN 117240507A
Authority
CN
China
Prior art keywords
terminal
mac address
network
recorded
smartmc
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.)
Pending
Application number
CN202311059421.7A
Other languages
Chinese (zh)
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202311059421.7A priority Critical patent/CN117240507A/en
Publication of CN117240507A publication Critical patent/CN117240507A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The specification provides an access password resetting method and device, and relates to the technical field of communication. An access password resetting method is applied to a terminal in a SmartMC network, and comprises the following steps: when a terminal access password accesses a TM in a SmartMC network, recording a network identifier of the current SmartMC network and a Media Access Control (MAC) address of the terminal, wherein the TM is recorded with the access password; transmitting the MAC address of the terminal to the TM so that the TM records the MAC address of the terminal, and calculating a verification character string according to the MAC address of the terminal, the network identification and the recorded MAC address of the terminal; calculating a character string to be verified according to the MAC address of the TM, the network identifier and the MAC address of the TM; and sending a request message carrying the character string to be verified to the TM, so that the TM allows the terminal to reconfigure the access password when determining that the character string to be verified is consistent with the verification character string. By the method, the efficiency of the reconfiguration of the access password in the SmartMC network is improved.

Description

Access password resetting method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for resetting an access password.
Background
With the development of network technology, the number of network devices deployed in a network is gradually increased, and the coverage range is also gradually expanded, so that staff needs to manage the network devices through a great deal of work. In order to improve maintainability of a network and maintenance efficiency of staff, smartMC (intelligent management center, smart Management Center) technology is in operation.
Centralized management of network devices can be achieved through SmartMC technology, and the included network devices can be configured in different roles, namely TM (management device) and TC (membership device), wherein TM and TC are generated by network devices in the SmartMC network based on election. In SmartMC networks, a worker is required to access the TM via a terminal to perform an opening operation, and in this process, the worker configures an access password for the TM via the terminal. After the opening, if the staff member needs to change the configuration of the network devices in the SmartMC network, it is necessary to log in to the TM with the access password set previously. If the staff forgets to access the password, the staff is required to isolate each network device one by one to reset the password, the operation is complex, and the efficiency of resetting the access password in the SmartMC network is reduced.
Disclosure of Invention
In order to overcome the problems in the related art, the present specification provides an access password resetting method and apparatus.
With reference to the first aspect of the embodiments of the present specification, the present application provides an access password resetting method, applied to a terminal in a SmartMC network, including:
when a terminal access password accesses a TM in a SmartMC network, recording a network identifier of the current SmartMC network and an MAC address of the terminal, wherein the access password is recorded in the TM;
transmitting the MAC address of the terminal to the TM so that the TM records the MAC address of the terminal, and calculating a verification character string according to the MAC address of the terminal, the network identification and the recorded MAC address of the terminal;
calculating a character string to be verified according to the MAC address of the TM, the network identifier and the MAC address of the TM;
and sending a request message carrying the character string to be verified to the TM, so that the TM allows the terminal to reconfigure the access password when determining that the character string to be verified is consistent with the verification character string.
Optionally, recording the network identifier of the current SmartMC network and the MAC address of the terminal includes:
if the acquired network identifier of the current SmartMC network and/or the MAC address of the terminal are inconsistent or not recorded with the network identifier of the SmartMC network and/or the MAC address of the terminal recorded by the network identifier of the current SmartMC network and/or the MAC address of the terminal, the recorded network identifier of the current SmartMC network and the MAC address of the terminal are updated;
if the acquired network identification of the current SmartMC network and the MAC address of the terminal are consistent with the recorded network identification of the SmartMC and the MAC address of the terminal, the update is not carried out.
With reference to the second aspect of the embodiments of the present specification, the present application provides an access password resetting method, applied to a TM in a SmartMC network, including:
receiving and recording the MAC address sent by the terminal;
calculating a verification character string according to the self MAC address, the network identifier and the recorded MAC address of the terminal;
receiving a request message which is sent by a terminal and carries a character string to be verified;
and if the character string to be verified sent by the terminal is consistent with the verification character string recorded by the terminal, allowing the terminal to reconfigure the access password.
Optionally, the method includes receiving and recording the MAC address sent by the terminal, including:
receiving an MAC address sent by a terminal;
if the number of the MAC addresses recorded currently is not greater than the preset number, recording the MAC addresses sent by the terminal;
if the number of the currently recorded MAC addresses is larger than the preset number, the currently recorded MAC addresses with the longest time are replaced by the MAC addresses sent by the terminal.
Optionally, the request message also carries an access password updated by the terminal;
allowing the terminal to reconfigure the access code, comprising:
and replacing the currently recorded access password by the access password which is carried in the request message and updated by the terminal.
Optionally, allowing the terminal to reconfigure the access code includes:
enabling reconfiguration of the access password within a preset time period;
receiving an access password which is transmitted by the verified terminal and updated by the terminal;
and replacing the currently recorded access password by the access password updated by the terminal.
Optionally, after allowing the terminal to reconfigure the access password, the method further includes:
if the preset time period is exceeded, the reconfiguration of the access password is disabled.
Optionally, after receiving the MAC address sent by the terminal and recording, the method further includes:
the recorded MAC address of the terminal is sent to the TC in the SmartMC network so that the TC calculates the authentication string from its own MAC address, the network identification, and the recorded MAC address of the terminal.
With reference to a third aspect of the embodiments of the present specification, the present application provides an access password resetting device, applied to a terminal in a SmartMC network, including:
a recording unit, configured to record, when the terminal accesses a TM in the SmartMC network, a network identifier of the current SmartMC network and a MAC address of the terminal, where the TM records an access password;
a transmitting unit for transmitting the MAC address of the terminal to the TM so that the TM records the MAC address of the terminal, and calculates a verification character string according to the MAC address of the TM, the network identification and the recorded MAC address of the terminal;
the computing unit is used for computing the character string to be verified according to the MAC address of the TM, the network identifier and the MAC address of the computing unit;
the sending unit is further used for sending a request message carrying the character string to be verified to the TM, so that the TM allows the terminal to reconfigure the access password when determining that the character string to be verified is consistent with the verification character string.
Optionally, the recording unit is specifically configured to update the recorded network identifier of the current SmartMC network and the MAC address of the terminal if the obtained network identifier of the current SmartMC network and/or the MAC address of the terminal are inconsistent or not recorded with the network identifier of the SmartMC network and/or the MAC address of the terminal recorded by the recording unit; if the acquired network identification of the current SmartMC network and the MAC address of the terminal are consistent with the recorded network identification of the SmartMC and the MAC address of the terminal, the update is not carried out.
With reference to the fourth aspect of the embodiments of the present specification, the present application provides an access password resetting device, applied to a TM in a SmartMC network, including:
a recording unit, configured to receive and record the MAC address sent by the terminal;
the computing unit is used for computing a verification character string according to the self MAC address, the network identifier and the recorded MAC address of the terminal;
the receiving unit is used for receiving a request message which is sent by the terminal and carries a character string to be verified;
and the resetting unit is used for allowing the terminal to reconfigure the access password if the character string to be verified sent by the terminal is determined to be consistent with the verification character string recorded by the terminal.
Optionally, the recording unit includes:
the receiving module is used for receiving the MAC address sent by the terminal;
the recording module is used for recording the MAC addresses sent by the terminal if the number of the MAC addresses recorded currently is not greater than the preset number; if the number of the currently recorded MAC addresses is larger than the preset number, the currently recorded MAC addresses with the longest time are replaced by the MAC addresses sent by the terminal.
Optionally, the request message also carries an access password updated by the terminal;
and the resetting unit is specifically configured to replace the currently recorded access password by the access password updated by the terminal, which is carried in the request message, if it is determined that the to-be-verified character string sent by the terminal is consistent with the verification character string recorded by the terminal.
Optionally, the reset unit includes:
the enabling module is used for enabling the reconfiguration of the access password in a preset time period;
the receiving module is used for receiving the access password which is transmitted by the verified terminal and updated by the terminal;
the updating module is used for replacing the currently recorded access password through the access password updated by the terminal;
the enabling module is further configured to enable the reconfiguration of the access code if the preset time period is exceeded after the reconfiguration unit allows the terminal to reconfigure the access code.
Optionally, the device further includes:
and the sending unit is used for sending the recorded MAC address of the terminal to the member device TC in the SmartMC network so that the TC calculates the verification character string according to the MAC address of the TC, the network identification and the recorded MAC address of the terminal.
In connection with a fifth aspect of the embodiments herein, the application provides a terminal comprising a transceiver, a processor, and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps implementing any of the above.
In connection with a sixth aspect of the embodiments herein, the application provides a network device comprising a transceiver, a processor, and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps implementing any of the above.
In connection with the seventh aspect of the embodiments herein, the application provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: method steps implementing any of the above.
The technical scheme provided by the embodiment of the specification can comprise the following beneficial effects:
in the embodiment of the specification, the MAC address of the accessed terminal is recorded through the TM in the SmartMC network, the verification character string is calculated according to the MAC address, the network identifier and the recorded MAC address of the terminal, when the terminal resets the password, the character string to be verified is calculated according to the network identifier of the current SmartMC network, the MAC address of the accessed TM and the MAC address of the terminal, the character string to be verified is sent to the TM to verify, if the verification is passed, the terminal is allowed to reconfigure the access password, and if the verification is not passed, the terminal is refused to reconfigure the access password, so that the process that the access password is reconfigured only by isolating the TM from the TC in the SmartMC network when the user forgets to access the password is avoided, and the access password reconfiguration efficiency in the SmartMC network is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a flowchart of an access password resetting method according to the present application, wherein the method is applied to a terminal in a SmartMC network;
FIG. 2 is a schematic diagram of a network to which an access password resetting method according to an embodiment of the present application is applied;
FIG. 3 is a flow chart of a method of access password reset in accordance with the present application, wherein the method is applied to a TM in a SmartMC network;
fig. 4 is a schematic diagram illustrating an update of a MAC address in an access code resetting method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an access code resetting device according to the present application, wherein the device is applied to a terminal in a SmartMC network;
fig. 6 is a schematic structural diagram of an access code resetting device according to the present application, wherein the device is applied to a terminal in a SmartMC network;
fig. 7 is a schematic structural view of a terminal according to the present application;
fig. 8 is a schematic structural diagram of a network device according to the present application.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present specification.
The application provides an access password resetting method, which is applied to a terminal in a SmartMC network, as shown in figure 1, and comprises the following steps:
s100, when the terminal accesses the TM in the SmartMC network, recording the network identification of the current SmartMC network and the MAC address of the terminal.
Wherein the access password is recorded in the TM. In SmartMC networks, as shown in fig. 2, a plurality of network devices are included, and the plurality of network devices perform interaction of a selection message, from which one network device is selected as a TM, and other network devices are selected as TCs. The user may perform an opening operation by accessing the TM through the terminal, configure an access password in the SmartMC network (e.g., TM) through the opening operation, and generate a network identification (NetID).
When a user opens an office by accessing the TM through the terminal or accesses the TM through the access code, the terminal records the network identification of the SmartMC network currently accessed and the MAC (media access control ) address of itself.
Because the user can log in the SmartMC network through the user name and the password to access, the user with the same user name may access different SmartMC networks or the user with the same user name may access the SmartMC network through different terminals, and the same user only records the network identifier and the MAC address of one SmartMC network, when the terminal accesses a network device in one SmartMC network, it is necessary to determine whether the currently accessed SmartMC network is consistent with the last accessed SmartMC network. Optionally, step S100, recording the network identifier of the current SmartMC network and the MAC address of the terminal, includes:
and S100A, if the acquired network identification of the current SmartMC network and/or the MAC address of the terminal are inconsistent or not recorded with the network identification of the SmartMC network and/or the MAC address of the terminal recorded by the acquired network identification of the current SmartMC network, updating the recorded network identification of the current SmartMC network and the MAC address of the terminal.
And S100B, if the acquired network identifier of the current SmartMC network and the MAC address of the terminal are consistent with the network identifier of the SmartMC recorded by the terminal and the MAC address of the terminal, not updating.
When a terminal accesses a network device in a SmartMC network, it first acquires the network identifier of the SmartMC network and its own MAC address (i.e., the MAC address of the terminal). And then, determining whether the currently accessed SmartMC network and the terminal used by the user are the same as the last accessed SmartMC network and the last used terminal by comparing the acquired network identifier with the network identifier stored in the terminal and the MAC address of the terminal, if so, updating the network identifier of the currently accessed SmartMC network and the MAC address of the terminal if at least one of the network identifier and the MAC address is different, so that the user can confirm the information of the currently accessed SmartMC network, and incorrect configuration of different SmartMC networks by the user is avoided.
S101, the MAC address of the terminal is sent to the TM, so that the TM records the MAC address of the terminal, and the verification character string is calculated according to the MAC address of the terminal, the network identification and the recorded MAC address of the terminal.
After the user records (or updates) the network identity and its own MAC address, the terminal will send the recorded terminal's MAC address to the TM, so that the TM records the information of the terminal currently accessing the SmartMC network.
Thus, the TM can calculate a verification string according to the MAC address of the terminal, the network identifier, and the MAC address of the TM itself, where the verification string is used to determine that a terminal can reset the access password. The calculation may be based on a setting
S102, calculating a character string to be verified according to the MAC address of the TM, the network identification and the MAC address of the TM.
In case of forgetting the access password and requiring the access password reset, the user accesses through the currently used terminal connection TM. After clicking a button such as "forget password" on the terminal, the terminal selects an Algorithm according to the accessed TM MAC address, the network identifier of the currently accessed SmartMC network, and the acquired self MAC address, according to a specific Algorithm, for example, an MD5 (message-Digest Algorithm 5), an SHA (secure hash Algorithm ) Algorithm, an RSA Algorithm, an AES (advanced encryption standard ) Algorithm, and the like, where the Algorithm selection may be different according to the unused SmartMC network, and different SmartMC networks may also use the same Algorithm, and may be set according to actual requirements without limitation.
S103, sending a request message carrying the character string to be verified to the TM, so that the TM allows the terminal to newly configure the access password when determining that the character string to be verified is consistent with the verification character string.
After the terminal calculates the character string to be verified, a request message carrying the character string to be verified is sent to the TM, wherein the request message can be a message for requesting the TM for resetting the access password or a message for requesting the TM for enabling the access password to be reset, and the request message is not limited according to actual requirement setting.
Through the above flow, the terminal can apply for the reset of the access password to the TM.
Correspondingly, the application also provides an access password resetting method which is applied to the TM in the SmartMC network, as shown in figure 3, and comprises the following steps:
s300, receiving the MAC address sent by the terminal and recording.
In the SmartMC network shown in fig. 2, the TM can receive the MAC address of the terminal transmitted from the terminal used by the user, and the TM can record the MAC address of the terminal.
The number of recorded MAC addresses of the terminal (hereinafter referred to as a preset number) may be set in the TM, and the TM may calculate a plurality of authentication strings corresponding to the number of recorded MAC addresses of the terminal, so that the user may reset the access password.
Such a setting is to take into account that a user may access the SmartMC network through different terminals, and if only one terminal is allowed to perform the reset of the access code, there may occur a problem that the access code cannot be reset when the terminal is not at hand. In order to avoid the above-described problem, the TM may be implemented by recording the MAC addresses of a plurality of terminals.
Optionally, step S300, receiving the MAC address sent by the terminal, and recording, includes:
S300A, receiving the MAC address sent by the terminal.
And S300B, if the number of the MAC addresses recorded currently is not greater than the preset number, recording the MAC addresses sent by the terminal.
And S300C, if the number of the MAC addresses recorded currently is larger than the preset number, replacing the MAC address which is recorded currently and has the longest time by the MAC address transmitted by the terminal.
When the TM receives the MAC address of the terminal sent by the user, the TM can judge whether the number of the MAC addresses of the terminal which are recorded currently is larger than the preset number, if not, the MAC address of the terminal can be recorded directly at present, and if so, the current record is exceeded, and the MAC address of the terminal with earliest recording time is required to be replaced by the current MAC address of the terminal.
As shown in fig. 4, the TM has 3 terminals with MAC addresses recorded therein, wherein the recording time corresponding to the MAC a in the record a is 202307291300, the recording time corresponding to the MAC B in the record B is 202307291500, and the recording time corresponding to the MAC C in the record C is 202307291700. At this time, the user accesses the TM through the other terminal, and passes the verification of the access password, a new record D is formed, the record time corresponding to the MAC D is 202307300000, the number exceeds the preset number (assumed to be 3), and the MAC address and the record time of the record a are covered by the record D. By the coverage mode, the terminal of the access TM through the access password of the last 3 stations can reconfigure the access password, and reliability and flexibility of the reconfiguration of the access password are improved.
By the method, the TM can record the MAC address of the terminal used when the user accesses the SmartMC network for the last several times, and when the verification character string is calculated, the verification character string can be associated with the terminal used for accessing the TM according to the MAC address of the terminal recorded for the last several times as a parameter, so that the function that the access password can be reset only through the specific terminal is realized.
S301, calculating a verification character string according to the MAC address of the terminal, the network identification and the recorded MAC address of the terminal.
After the TM acquires the MAC address of the terminal, the verification character string is calculated and stored according to a preset algorithm according to the MAC address of the TM, the network identification and the recorded MAC address of the terminal. Since the MAC address of the terminal changes as the user accesses using a different terminal, when the original, terminal MAC address is updated by the new, terminal MAC address, the TM deletes the verification string corresponding to the original, terminal MAC address, and calculates the verification string corresponding to the new, terminal MAC address.
S302, receiving a request message which is sent by a terminal and carries a character string to be verified.
After that, if the TM receives the request message sent by the user through the terminal, the to-be-verified string calculated by the terminal according to the MAC address of the accessed TM, the network identifier of the accessed SmartMC network, and the MAC address of the terminal recorded by the TM may be parsed from the request message.
S303, if the character string to be verified sent by the terminal is determined to be consistent with the verification character string recorded by the terminal, the terminal is allowed to reconfigure the access password.
And comparing the verification character string calculated and recorded by the TM with the received character string to be verified, and if one of the recorded verification character strings is matched with the character string to be verified, indicating that the currently used terminal is operated by logging in the TM through the access password in a period of time, so that the reconfiguration of the access password can be performed. At this point, the TM may allow the terminal to reconfigure the access password.
The access code reconfiguration method can be divided into at least two modes according to different modes when the terminal reconfiguration access code is operated, and of course, the access code reconfiguration permission method can also comprise other modes, and the access code reconfiguration method is not limited.
Mode 1:
the request message also carries the access password updated by the terminal, that is, the verification of the character string to be verified and the reconfiguration of the access password can be realized in one request message.
Step S303, allowing the terminal to reconfigure the access password, including:
S303A, replacing the currently recorded access password by the access password which is carried in the request message and updated by the terminal.
When the TM receives the character string to be verified and passes verification through comparison and confirmation, a new access password is obtained from the request message, and the current recorded access password is replaced, so that the reconfiguration of the access password is realized. When the access password is realized through one request message, the efficiency of the reconfiguration of the access password can be improved.
Mode 2:
step S303, allowing the terminal to reconfigure the access password, including:
S303B, enabling reconfiguration of the access password in a preset time period.
A switch may be provided in the TM to access the password reconfiguration to enable or disable this function. And a preset time period can be set in the TM, when the character string to be verified is matched with the verification character string, the reconfiguration of the potential energy access password in the preset time period is performed, and the password is disabled after the potential energy access password exceeds the preset time period.
S303C, receiving an access password which is transmitted by the authenticated terminal and updated by the terminal.
S303D, replacing the currently recorded access password by the access password updated by the terminal.
And in a preset time period, if the TM receives the updated access password sent by the terminal, the TM replaces the currently recorded access password by the updated access password so as to reconfigure the access password.
Step S303, after allowing the terminal to reconfigure the access password, further includes:
s304, if the preset time period is exceeded, enabling the reconfiguration of the access password.
After the counted time exceeds the preset time period, the reconfiguration of the access password is enabled. At this time, if the terminal sends the updated access password, the terminal cannot be reconfigured, and can be reminded that the access password cannot be reconfigured currently, and the character string to be verified needs to be retransmitted.
Optionally, after step S300, the step of receiving the MAC address sent by the terminal and recording, the method further includes:
s305, sending the recorded MAC address of the terminal to the TC in the SmartMC network, so that the TC calculates the authentication string according to the own MAC address, the network identifier, and the recorded MAC address of the terminal.
In SmartMC networks, there are several TCs in addition to the TM. In some cases, due to the current TM failure, an election may be performed in the SmartMC network to select a TC to operate as a new TM, at which time the user may enter an access password through the terminal to log in to the new TM.
In order that the new TM may also implement the function of reconfiguring the access password, after the original TM receives the MAC address of the terminal itself sent by the terminal, the TM may send (or broadcast) the received MAC address of the terminal to the TC in the SmartMC network, so that the TC records.
Subsequently, if one TC is changed into TM, the new TM can be triggered to calculate the verification character string of the new TM according to the MAC address of the new TM, the network identification and the MAC address of the terminal, so that the new TM can reconfigure the access password, and the flexibility of reconfiguring the access password under the condition of TM fault in the SmartMC network is improved.
Correspondingly, the application also provides an access password resetting device which is applied to the terminal in the SmartMC network, as shown in figure 5, and comprises the following steps:
a recording unit, configured to record, when accessing a TM in a SmartMC network in a terminal, a network identifier of the current SmartMC network and a MAC address of the terminal, where the TM records an access password;
a transmitting unit for transmitting the MAC address of the terminal to the TM so that the TM records the MAC address of the terminal, and calculates a verification character string according to the MAC address of the TM, the network identification and the recorded MAC address of the terminal;
the computing unit is used for computing the character string to be verified according to the MAC address of the TM, the network identifier and the MAC address of the computing unit;
the sending unit is further used for sending a request message carrying the character string to be verified to the TM, so that the TM allows the terminal to reconfigure the access password when determining that the character string to be verified is consistent with the verification character string.
Optionally, the recording unit is specifically configured to update the recorded network identifier of the current SmartMC network and the MAC address of the terminal if the obtained network identifier of the current SmartMC network and/or the MAC address of the terminal are inconsistent or not recorded with the network identifier of the SmartMC network and/or the MAC address of the terminal recorded by the recording unit; if the acquired network identification of the current SmartMC network and the MAC address of the terminal are consistent with the recorded network identification of the SmartMC and the MAC address of the terminal, the update is not carried out.
Correspondingly, the application also provides an access password resetting device which is applied to the TM in the SmartMC network, as shown in figure 6, and comprises the following steps:
a recording unit, configured to receive and record the MAC address sent by the terminal;
the computing unit is used for computing a verification character string according to the self MAC address, the network identifier and the recorded MAC address of the terminal;
the receiving unit is used for receiving a request message which is sent by the terminal and carries a character string to be verified;
and the resetting unit is used for allowing the terminal to reconfigure the access password if the character string to be verified sent by the terminal is determined to be consistent with the verification character string recorded by the terminal.
Optionally, the recording unit includes:
the receiving module is used for receiving the MAC address sent by the terminal;
the recording module is used for recording the MAC addresses sent by the terminal if the number of the MAC addresses recorded currently is not greater than the preset number; if the number of the currently recorded MAC addresses is larger than the preset number, the currently recorded MAC addresses with the longest time are replaced by the MAC addresses sent by the terminal.
Optionally, the request message also carries an access password updated by the terminal;
and the resetting unit is specifically configured to replace the currently recorded access password by the access password updated by the terminal, which is carried in the request message, if it is determined that the to-be-verified character string sent by the terminal is consistent with the verification character string recorded by the terminal.
Optionally, the reset unit includes:
the enabling module is used for enabling the reconfiguration of the access password in a preset time period;
the receiving module is used for receiving the access password which is transmitted by the verified terminal and updated by the terminal;
and the updating module is used for replacing the currently recorded access password by the access password updated by the terminal.
The enabling module is further configured to enable the reconfiguration of the access code if the preset time period is exceeded after the reconfiguration unit allows the terminal to reconfigure the access code.
Optionally, the device further includes:
and the sending unit is used for sending the recorded MAC address of the terminal to the member device TC in the SmartMC network so that the TC calculates the verification character string according to the MAC address of the TC, the network identification and the recorded MAC address of the terminal.
Correspondingly, the application provides a terminal comprising a transceiver, a processor and a machine-readable storage medium, as shown in fig. 7, the machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps for implementing any of the above-mentioned claims applied to a terminal.
Accordingly, the present application provides a network device, as shown in fig. 8, comprising a transceiver, a processor, and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps implementing any of the above-described methods for application to a TM.
Correspondingly, a machine-readable storage medium stores machine-executable instructions that, when invoked and executed by a processor, cause the processor to: the above-described method steps applied to the terminal or to the TM are implemented.
The technical scheme provided by the embodiment of the specification can comprise the following beneficial effects:
in the embodiment of the specification, the MAC address of the accessed terminal is recorded through the TM in the SmartMC network, the verification character string is calculated according to the MAC address, the network identifier and the recorded MAC address of the terminal, when the terminal resets the password, the character string to be verified is calculated according to the network identifier of the current SmartMC network, the MAC address of the accessed TM and the MAC address of the terminal, the character string to be verified is sent to the TM to verify, if the verification is passed, the terminal is allowed to reconfigure the access password, and if the verification is not passed, the terminal is refused to reconfigure the access password, so that the process that the access password is reconfigured only by isolating the TM from the TC in the SmartMC network when the user forgets to access the password is avoided, and the access password reconfiguration efficiency in the SmartMC network is improved.
It is to be understood that the present description is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be made without departing from the scope thereof.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (18)

1. The access password resetting method is characterized by being applied to a terminal in an intelligent management center SmartMC network and comprising the following steps of:
when a terminal access password accesses a management device (TM) in a SmartMC network, recording a network identifier of the current SmartMC network and a Media Access Control (MAC) address of the terminal, wherein the TM is recorded with the access password;
transmitting the MAC address of the terminal to the TM so that the TM records the MAC address of the terminal, and calculating a verification character string according to the MAC address of the TM, the network identification and the recorded MAC address of the terminal;
calculating a character string to be verified according to the MAC address of the TM, the network identifier and the MAC address of the TM;
and sending a request message carrying a character string to be verified to the TM, so that the TM allows the terminal to reconfigure an access password when determining that the character string to be verified is consistent with the verification character string.
2. The method of claim 1, wherein the recording the network identification of the current SmartMC network and the MAC address of the terminal comprises:
if the acquired network identifier of the current SmartMC network and/or the MAC address of the terminal are inconsistent or not recorded with the network identifier of the SmartMC network and/or the MAC address of the terminal recorded by the network identifier of the current SmartMC network and/or the MAC address of the terminal, the recorded network identifier of the current SmartMC network and the MAC address of the terminal are updated;
if the acquired network identification of the current SmartMC network and the MAC address of the terminal are consistent with the recorded network identification of the SmartMC and the MAC address of the terminal, the update is not carried out.
3. An access password resetting method, which is applied to a TM in a SmartMC network, comprising:
receiving and recording the MAC address sent by the terminal;
calculating a verification character string according to the self MAC address, the network identifier and the recorded MAC address of the terminal;
receiving a request message which is sent by a terminal and carries a character string to be verified;
and if the character string to be verified sent by the terminal is determined to be consistent with the verification character string recorded by the terminal, allowing the terminal to reconfigure the access password.
4. A method according to claim 3, wherein the receiving the MAC address sent by the terminal and recording includes:
receiving an MAC address sent by a terminal;
if the number of the MAC addresses recorded currently is not greater than the preset number, recording the MAC addresses sent by the terminal;
if the number of the currently recorded MAC addresses is larger than the preset number, the currently recorded MAC addresses with the longest time are replaced by the MAC addresses sent by the terminal.
5. The method of claim 3, wherein the request message further carries an access code updated by the terminal;
the allowing the terminal to reconfigure an access password includes:
and replacing the currently recorded access password by the access password which is carried in the request message and updated by the terminal.
6. A method according to claim 3, wherein said allowing the terminal to reconfigure an access code comprises:
enabling reconfiguration of the access password within a preset time period;
receiving an access password which is transmitted by the verified terminal and updated by the terminal;
and replacing the currently recorded access password by the access password updated by the terminal.
7. A method according to claim 3, wherein after allowing the terminal to reconfigure an access code, further comprises:
if the preset time period is exceeded, the reconfiguration of the access password is disabled.
8. A method according to claim 3, further comprising, after the receiving terminal has transmitted the MAC address and recorded:
the recorded MAC address of the terminal is sent to a member device TC in the SmartMC network so that the TC calculates an authentication string from its own MAC address, the network identity, and the recorded MAC address of the terminal.
9. An access code resetting apparatus, applied to a terminal in a SmartMC network, comprising:
a recording unit, configured to record, when a terminal accesses a TM in a SmartMC network, a network identifier of the current SmartMC network and a MAC address of the terminal, where the TM records an access password;
a transmitting unit, configured to transmit a MAC address of a terminal to the TM, so that the TM records the MAC address of the terminal, and calculates a verification string according to the MAC address of the TM, the network identifier, and the recorded MAC address of the terminal;
the computing unit is used for computing a character string to be verified according to the MAC address of the TM, the network identifier and the MAC address of the computing unit;
the sending unit is further configured to send a request message carrying a character string to be verified to the TM, so that the TM allows the terminal to reconfigure an access password when determining that the character string to be verified is consistent with the verification character string.
10. The apparatus according to claim 9, wherein the recording unit is specifically configured to update the recorded network identifier of the current SmartMC network and the MAC address of the terminal if the obtained network identifier of the current SmartMC network and/or the MAC address of the terminal do not coincide with or are not recorded by the network identifier of the SmartMC network and/or the MAC address of the terminal recorded by the recording unit; if the acquired network identification of the current SmartMC network and the MAC address of the terminal are consistent with the recorded network identification of the SmartMC and the MAC address of the terminal, the update is not carried out.
11. An access password resetting device, for use in a TM in a SmartMC network, comprising:
a recording unit, configured to receive and record the MAC address sent by the terminal;
the computing unit is used for computing a verification character string according to the self MAC address, the network identifier and the recorded MAC address of the terminal;
the receiving unit is used for receiving a request message which is sent by the terminal and carries a character string to be verified;
and the resetting unit is used for allowing the terminal to reconfigure the access password if the character string to be verified sent by the terminal is determined to be consistent with the verification character string recorded by the terminal.
12. The apparatus according to claim 11, wherein the recording unit includes:
the receiving module is used for receiving the MAC address sent by the terminal;
the recording module is used for recording the MAC addresses sent by the terminal if the number of the MAC addresses recorded currently is not greater than the preset number; if the number of the currently recorded MAC addresses is larger than the preset number, the currently recorded MAC addresses with the longest time are replaced by the MAC addresses sent by the terminal.
13. The apparatus of claim 11, wherein the request message further carries an access code updated by the terminal;
the resetting unit is specifically configured to replace the currently recorded access password with the access password updated by the terminal carried in the request message if it is determined that the to-be-verified string sent by the terminal is consistent with the verification string recorded by the terminal.
14. The apparatus of claim 11, wherein the reset unit comprises:
the enabling module is used for enabling the reconfiguration of the access password in a preset time period;
the receiving module is used for receiving the access password which is transmitted by the verified terminal and updated by the terminal;
the updating module is used for replacing the currently recorded access password through the access password updated by the terminal;
after the reset unit allows the terminal to reconfigure the access password, the enabling module is further configured to disable the reconfiguration of the access password if the preset time period is exceeded.
15. The apparatus as recited in claim 11, further comprising:
and the sending unit is used for sending the recorded MAC address of the terminal to the member device TC in the SmartMC network so that the TC calculates the verification character string according to the MAC address of the TC, the network identification and the recorded MAC address of the terminal.
16. A terminal comprising a transceiver, a processor, and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps for implementing the claims 1 or 2.
17. A network device comprising a transceiver, a processor, and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: implementing the method steps of any one of claims 3-8.
18. A machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: method steps of any of claims 1-2 or 3-8 are carried out.
CN202311059421.7A 2023-08-21 2023-08-21 Access password resetting method and device Pending CN117240507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311059421.7A CN117240507A (en) 2023-08-21 2023-08-21 Access password resetting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311059421.7A CN117240507A (en) 2023-08-21 2023-08-21 Access password resetting method and device

Publications (1)

Publication Number Publication Date
CN117240507A true CN117240507A (en) 2023-12-15

Family

ID=89087028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311059421.7A Pending CN117240507A (en) 2023-08-21 2023-08-21 Access password resetting method and device

Country Status (1)

Country Link
CN (1) CN117240507A (en)

Similar Documents

Publication Publication Date Title
EP3782385B1 (en) Embedded sim profile download and management system
US10506432B2 (en) Method and apparatus for authenticating access authority for specific resource in wireless communication system
US8079064B2 (en) Service verifying system, authentication requesting terminal, service utilizing terminal, and service providing method
US11102013B2 (en) Method and apparatus for providing secure communication among constrained devices
US20130041988A1 (en) Method and Device for Configuring Terminal Devices
CN106471465B (en) Service enabler function
RU2636679C2 (en) Communication control device, authentication device, central control device and communication system
CN102017514B (en) Authentication information management method in home network and an apparatus therefor
EP1168752A1 (en) Access control in client-sever systems
CN107431920A (en) The method and apparatus for receiving profile by terminal in mobile communication system
US20220116773A1 (en) Method and apparatus for managing bundles of smart secure platform
US10893406B2 (en) Method and apparatus for handling remote profile management exception
CN101491008A (en) Station, setting information managing device, wireless communication system, setting information obtaining method, computer-readable medium
US20100030346A1 (en) Control system and control method for controlling controllable device such as peripheral device, and computer program for control
CN104604295B (en) For in a wireless communication system by server management of terminal to the method and its equipment of the access rights of resource
US11516071B2 (en) Method and system for root cause analysis across multiple network systems
WO2021196913A1 (en) Terminal parameter updating protection method and communication device
CN117240507A (en) Access password resetting method and device
CN108495292A (en) Smart home short-range device communication means
CN108183925A (en) narrow band communication method based on LoT
CN116567780A (en) Terminal management method and core network equipment
WO2020208332A1 (en) Provisioning data on a device
CN113891291B (en) Service opening method and device
US20230403557A1 (en) Bluetooth Low Energy for Network Troubleshooting
CN110110011B (en) Data classification management method and device of intelligent lock system

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