CN111756534A - Network password updating method and device, network access device and storage medium - Google Patents

Network password updating method and device, network access device and storage medium Download PDF

Info

Publication number
CN111756534A
CN111756534A CN202010585426.3A CN202010585426A CN111756534A CN 111756534 A CN111756534 A CN 111756534A CN 202010585426 A CN202010585426 A CN 202010585426A CN 111756534 A CN111756534 A CN 111756534A
Authority
CN
China
Prior art keywords
updating
password
network
time point
algorithm
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
CN202010585426.3A
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.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010585426.3A priority Critical patent/CN111756534A/en
Publication of CN111756534A publication Critical patent/CN111756534A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0891Revocation or update of secret information, e.g. encryption key update or rekeying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The disclosure provides a method and a device for updating a network password, a network access device and a storage medium. The network password updating method comprises the following steps: and calculating a new password corresponding to the updating time point by adopting an updating algorithm by taking the original password of the target network before the updating time point as a parameter. According to the method and the device, the network password of the target network is updated by the network using device according to the original password, so that the safety of the network and the use experience of a user are improved.

Description

Network password updating method and device, network access device and storage medium
Technical Field
The present disclosure relates to the field of network technologies, and in particular, to a method and an apparatus for updating a network password, a network access apparatus, and a storage medium.
Background
When a wireless network is set, a network name (SSID), a security encryption algorithm, a network frequency band and a network password need to be set. Because the set network password is a static password, the password is easy to be detected by some detection tools, and potential safety hazards are caused. Certain software which is installed by the mobile phone of the user unintentionally can also reveal the wireless network password. In order to ensure the network security, the user may update the network password at intervals to improve the security of the network password.
Disclosure of Invention
In order to solve the existing problems, the present disclosure provides a method and an apparatus for updating a network password, a network access apparatus, and a storage medium.
The present disclosure adopts the following technical solutions.
In some embodiments, the present disclosure provides a method for updating a network password, including:
calculating a new password corresponding to an update time point by using an update algorithm with an original password of a target network before the update time point as a parameter;
and updating the network password of the target network by using the corresponding new password at the updating time point.
In some embodiments, the present disclosure provides an apparatus for updating a network password, including:
the calculation unit is used for calculating a new password corresponding to the updating time point by adopting an updating algorithm by taking the original password of the target network before the updating time point as a parameter;
and the updating unit is used for updating the network password of the target network by using the corresponding new password at the updating time point.
In some embodiments, the present disclosure provides a network access apparatus comprising: at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
In some embodiments, the present disclosure provides a storage medium for storing program code for performing the above-described method.
According to the method for updating the network password, the new password is calculated according to the original password of the target network, the safety is improved, in some embodiments, a buffer period is provided for updating the network password, when the network password is updated in advance and/or the network password is updated in a delayed mode by using the network equipment, the connection of the network cannot be disconnected, the use experience of a user is improved, and the connection with the network cannot be disconnected, so that the updating period for updating the network password can be greatly shortened, and even the updating period can be in a minute level.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method for updating a network password according to an embodiment of the present disclosure.
Fig. 2 is a schematic diagram of a network password over time in an embodiment of the disclosure.
Fig. 3 is a block diagram of an apparatus for updating a network password according to an embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that various steps recited in method embodiments of the present disclosure may be performed in parallel and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the prior art, in order to prevent the network password of the wireless network from being leaked, a user may update the network password of the wireless network at intervals, and it is very important to improve the security of the network password, and in addition, the time for updating the network password by each device is not completely consistent with the hot spot updating network password, and all devices connected with the hot spot (such as a router) are necessarily required to be disconnected in the updating process, so that the use experience is poor.
Some embodiments of the present disclosure provide an updating method for a network password, where the updating method for a network password may be used in a hotspot device or terminal, for example, a router or a mobile phone, as shown in fig. 1, fig. 1 is a flowchart of the updating method for a network password in an embodiment of the present disclosure, and includes the following steps:
s11: calculating a new password corresponding to an update time point by using an update algorithm with an original password of a target network before the update time point as a parameter;
in this embodiment, the network password being used by the target network before the update time point is the original password, and the network password of the target network needs to be updated at the update time point;
s12: updating the network password of the target network by using the corresponding new password at the updating time point;
in some embodiments, the new password may be used as the network password for the target network. In this embodiment, the updated new password depends on the original password and the update algorithm before updating, so that when updating, the user can calculate the updated network password on the device used by the user by himself only needing to know the original password, the update algorithm and the update time point before updating, and automatically update the network password at the update time point, without informing the user of the updated network password by other devices, and by reducing transmission of the updated network password, the network password can be prevented from being leaked as much as possible, the security and the confidentiality of the network password are improved, and unauthorized devices are enabled to be disconnected from the target network.
In some embodiments, during a period from a first duration before the update time point to the update time point, the original password and a new password corresponding to the update time point are simultaneously used as the network password of the target network; and/or during a second time period from the updating time point to the time point after the updating time point, simultaneously using the original password and the new password corresponding to the updating time point as the network password of the target network. In some embodiments, the first duration and the second duration may be, for example, 5 minutes, 3 minutes, or 1 minute, at this time, before and/or after any update time point, the target network simultaneously uses the original password and the new password corresponding to the update time point as the network password, that is, the target network may be connected to the target network through any one of the original password and the new password corresponding to the update time point, which is equivalent to setting a buffer period for updating the password, and when the device using the network updates the network password in advance and/or delays updating the network password, the connection of the network is not disconnected, so that the use experience of the user is improved, because the connection with the network is not disconnected, the update period for updating the network password is greatly shortened, and even the update period is in the order of minutes.
To facilitate understanding of the network updating method proposed by the embodiment of the present disclosure, referring to fig. 2, a detailed description is made on the network password updating method proposed by the embodiment of the present disclosure, as shown in fig. 2, where the coordinate axis shown in fig. 2 is time, assuming that the current time is the time point identified by T0 in fig. 2, the target network password at the current time is the original password P0, and the first updating time point is the time point at which T1 in fig. 2 is located, step S11 is first performed to determine the new password P1, at the first updating time point T1, the network password of the target network is updated with P1, if P0 is invalidated from the time point T1 according to the prior art, P1 will become the network password of the target network, however, in some embodiments of the present disclosure, a first time length Δ T1 and a second time length Δ T2 are set, a time period from T1 to Δ T1 to T1 shown in fig. 2, and/or a time period from T1 to Δ T2 +, using both P0 and P1 as the network password of the target network, using P1 as the network password of the target network during the time period from T1+ Δ T2 to the next update time point corresponds to letting P1 take effect in advance as the network password before the first update time point T1 while keeping P0 valid, and letting P0 extend for a period of time after the first update time point T1 while keeping P1 valid.
In the prior art, when a network password is updated, the hotspot device and the device using the network cannot achieve real time synchronization, and therefore after the update time is up, a part of devices using the network are inevitably disconnected from the hotspot device, and poor use experience is caused.
In some embodiments of the present disclosure, the number of the update time points is at least 2, and the new password corresponding to any one of the update time points is an original password before a next update time point. Illustratively, referring to fig. 2, as shown in fig. 2, there are a first update time point T1 and a second update time point T2, the network password being used by the target network before T1 is the original password P0 for T1, the new password corresponding to the first update time point T1 is P1, and after the network password of the target network is updated with P1, the P1 is the original password of the target network corresponding to the second update time point T2 during the period from T1 to T2. Similarly, the new password corresponding to T2 will also be the original password corresponding to the next update time point after T2.
In some embodiments of the present disclosure, the number of the update time points is at least 2, and the calculating a new password corresponding to the update time point by using an update algorithm includes: and calculating each new password corresponding to each updating time point by adopting an updating algorithm. Or, calculating a new password corresponding to the update time point by using an update algorithm, including: and calculating the new password corresponding to the updating time point in a third time before the updating time point, or calculating the new password corresponding to the updating time point at the updating time point. That is, in this embodiment, the new passwords corresponding to the N update time points may be calculated and stored at one time, or may be calculated only when the password needs to be updated, so as to reduce resource occupation.
To better explain the embodiment, please refer to fig. 2, the second update time point T2 is the next update time point after the first update time point T1, in the embodiment, the new password P2 corresponding to T2 is determined by the new password P1 corresponding to T1, and so on, the new password corresponding to any update time point is determined by the new password corresponding to the previous update time point before the update time point. Therefore, in this embodiment, as long as the device used by the user to connect to the target network knows any network password, update algorithm, and update time point, the device of the user can automatically calculate the network password corresponding to each update time point, and therefore, the device of the user can permanently obtain the network password updated each time only by performing data transmission on the device of the user once, and does not need to perform data transmission when updating the network password each time, so that the concealment and reliability of the network password are improved, and meanwhile, the validity of the network password can be ensured. In some embodiments of the present disclosure, during a first duration before and/or a second duration after any update time point, the new password corresponding to the update time point and the original password before the update time point are both used as the network password of the target network.
In some embodiments of the present disclosure, the network password updating method is executed every preset updating period, and the network password of the target network is updated. The preset update period may be, for example, one day, one week, or one month. The network security is improved by periodically changing the network password.
In some embodiments of the present disclosure, the update algorithm is an irreversible algorithm. Therefore, lawless persons can be prevented from reversely calculating the updating algorithm through one or more network passwords, and the safety of the updating algorithm is guaranteed. In some embodiments, the irreversible algorithm includes a hash algorithm, and the hash value depends on an input parameter of the hash algorithm and has uniqueness, so that the new password may be the hash value of the original password, or the new password is an n-bit character in the hash value of the original password, for example, to improve the security of the network password, n may be selected as an integer not less than 32.
In some embodiments of the present disclosure, before calculating a new password corresponding to an update time point by using an update algorithm with an original password of a target network before the update time point as a parameter, the method further includes: setting an initial sequence, calculating by using an updating algorithm with the initial sequence as a parameter to obtain an initial network password, wherein the initial network password is an original password before the earliest updating time point, and the first updating time point calculates by using the updating algorithm to obtain a new password corresponding to the first updating time point with the initial network password as a parameter. In this embodiment, the initial sequence is set, and the initial network password is obtained by using the update algorithm, so that the initial sequence and the update algorithm may be sent to the trusted device only at the beginning, instead of directly sending the initial network password to the trusted device, thereby improving the security and the imperceptibility of the network password.
In some embodiments of the present disclosure, taking an original password of a target network before an update time point as a parameter, and calculating before a new password corresponding to the update time point by using an update algorithm, further includes: and transmitting the original password, the updating time point and the updating algorithm to at least one target terminal. In this embodiment, the target terminal is a trusted terminal, for example, a mobile phone of a user, a tablet, and the like, and the content is sent to the target terminal in advance, so that the target terminal can automatically calculate an updated new password and automatically update the network password at an update time point, thereby ensuring that the connection with the target network is not disconnected when the network password is updated, improving user experience, reducing the possibility of network password leakage, and reducing user loss. In some embodiments of the present disclosure, the original password, the update time point, and the update algorithm are stored in a secure partition of the target terminal to prevent information from being stolen by malicious software.
In order to better explain the beneficial effects of the network password updating method proposed by the present disclosure, a specific embodiment is described below. In this embodiment, the wireless router as the hot spot executes the network password updating method, the mobile phone of the user is used as a trusted device authorized by the wireless router, i.e. a target terminal, the network password currently used by the target network transmitted by the wireless router is the original password P0, the mobile phone of the user previously obtained an initial sequence, an updating algorithm and each updating time point from the wireless router, or previously obtained the original password, the updating algorithm and each updating time point, the wireless router calculates a next updating time point, i.e. a new password corresponding to the first updating time point, here taking the updating algorithm as a hash algorithm as an example, the new password corresponding to the first updating time point may be n bits in the hash value of the original password P0, the wireless router updates the network password of the target network to the new password corresponding to the first updating time point at the first updating time point, but in the first time length before the first updating time point and the second time length after the first updating time point, the original password and the new password are used simultaneously, which is equivalent to setting the buffering time. The mobile phone of the user calculates a new password based on an updating algorithm, and the new password is adopted to be connected with the target network at the first updating time point, and the wireless router sets the buffer time, so that even if the time of the mobile phone of the user and the time of the wireless router are asynchronous, the first updating time point determined by the mobile phone of the user and the wireless router has slight difference, the mobile phone of the user can not be disconnected with the target network, the period for updating the network password can be shortened, meanwhile, the network password does not need to be communicated with the wireless router every time, the safety of the network password is ensured, an unauthorized terminal can be disconnected with the target network when the network password is updated, and the network safety of the user is ensured.
In some embodiments of the present disclosure, as shown in fig. 3, an embodiment of the present disclosure further provides an apparatus for updating a network password, including:
a calculating unit 10, configured to calculate, by using an original password of a target network before an update time point as a parameter, a new password corresponding to the update time point by using an update algorithm;
an updating unit 20, configured to update the network password of the target network with the corresponding new password at the update time point.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The network password updating method and device of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 4, a schematic diagram of an electronic device (e.g., a terminal device or server) 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device 800 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing apparatus 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText transfer protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure as described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, 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 computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including:
calculating a new password corresponding to the updating time point by adopting an updating algorithm by taking the original password of the target network before the updating time point as a parameter;
and updating the network password of the target network by using the corresponding new password at the updating time point.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including: during the period from the first time before the updating time point to the updating time point, simultaneously using the original password and the new password corresponding to the updating time point as the network password of the target network;
and/or during a second time period from the updating time point to the time point after the updating time point, simultaneously using the original password and the new password corresponding to the updating time point as the network password of the target network.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including:
the number of the update time points is at least 2, and the new password corresponding to any update time point is the original password corresponding to the next update time point.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including: and executing the updating method of the network password every other preset updating period to update the network password of the target network.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including: the number of the updating time points is at least 2, and a new password corresponding to the updating time points is calculated by adopting an updating algorithm, and the method comprises the following steps: calculating each new password corresponding to each updating time point by adopting an updating algorithm;
or,
calculating a new password corresponding to the updating time point by adopting an updating algorithm, wherein the method comprises the following steps: and calculating the new password corresponding to the updating time point in a third time before the updating time point, or calculating the new password corresponding to the updating time point at the updating time point.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including: the updating algorithm is an irreversible algorithm.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including: the irreversible algorithm comprises a hash algorithm;
the new password is a hash value of the original password, or,
the new password is n-bit characters in the hash value of the original password.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including: the method comprises the following steps of taking the original password of the target network before the updating time point as a parameter, and calculating the time point before the new password corresponding to the updating time point by adopting an updating algorithm, and further comprising the following steps:
setting an initial sequence, and calculating by using an updating algorithm by taking the initial sequence as a parameter to obtain an initial network password of the target network.
According to one or more embodiments of the present disclosure, there is provided a method for updating a network password, including: the method comprises the following steps of taking the original password of the target network before the updating time point as a parameter, and calculating the time point before the new password corresponding to the updating time point by adopting an updating algorithm, and further comprising the following steps:
and transmitting the original password, the updating time point and the updating algorithm to at least one target terminal.
According to one or more embodiments of the present disclosure, there is provided a network password updating apparatus, including: the calculation unit is used for calculating a new password corresponding to the updating time point by adopting an updating algorithm by taking the original password of the target network before the updating time point as a parameter;
and the updating unit is used for updating the network password of the target network by using the corresponding new password at the updating time point.
According to one or more embodiments of the present disclosure, there is provided a network access apparatus including: at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the method of any one of the above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (12)

1. A method for updating a network password, comprising:
calculating a new password corresponding to an update time point by using an update algorithm with an original password of a target network before the update time point as a parameter;
and updating the network password of the target network by using the corresponding new password at the updating time point.
2. The method for updating a network password according to claim 1,
during the period from a first time before the updating time point to the updating time point, simultaneously using the original password and a new password corresponding to the updating time point as the network password of the target network;
and/or during a second time period from the updating time point to the time point after the updating time point, simultaneously using the original password and the new password corresponding to the updating time point as the network password of the target network.
3. The method for updating a network password according to claim 1,
the number of the updating time points is at least 2, and the new password corresponding to any one updating time point is the original password corresponding to the next updating time point.
4. The method for updating a network password according to claim 1,
and executing the updating method of the network password every other preset updating period to update the network password of the target network.
5. The method for updating a network password according to claim 1,
the number of the update time points is at least 2, and the new password corresponding to the update time point is calculated by adopting an update algorithm, which comprises the following steps: calculating each new password corresponding to each updating time point by adopting the updating algorithm;
or,
calculating a new password corresponding to the updating time point by adopting an updating algorithm, wherein the method comprises the following steps: and calculating the new password corresponding to the updating time point in a third time before the updating time point, or calculating the new password corresponding to the updating time point at the updating time point.
6. The method for updating a network password according to any one of claims 1 to 5,
the updating algorithm is an irreversible algorithm.
7. The method for updating a network password according to claim 6,
the irreversible algorithm comprises a hash algorithm;
the new password is a hash value of the original password, or,
the new password is n-bit characters in the hash value of the original password.
8. The method for updating the network password according to claim 1, wherein an original password of the target network before the update time point is used as a parameter, and an update algorithm is used to calculate the time point before the new password corresponding to the update time point, further comprising:
setting an initial sequence, and calculating by using the updating algorithm by taking the initial sequence as a parameter to obtain an initial network password of the target network.
9. The method for updating the network password according to claim 1, wherein an original password of the target network before the update time point is used as a parameter, and an update algorithm is used to calculate the time point before the new password corresponding to the update time point, further comprising:
and transmitting the original password, the updating time point and the updating algorithm to at least one target terminal.
10. An updating device of network password comprises:
the calculation unit is used for calculating a new password corresponding to the updating time point by adopting an updating algorithm by taking the original password of the target network before the updating time point as a parameter;
and the updating unit is used for updating the network password of the target network by using the corresponding new password at the updating time point.
11. A network access device, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the method of any of claims 1 to 9.
12. A storage medium for storing program code for performing the method of any one of claims 1 to 9.
CN202010585426.3A 2020-06-24 2020-06-24 Network password updating method and device, network access device and storage medium Pending CN111756534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010585426.3A CN111756534A (en) 2020-06-24 2020-06-24 Network password updating method and device, network access device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010585426.3A CN111756534A (en) 2020-06-24 2020-06-24 Network password updating method and device, network access device and storage medium

Publications (1)

Publication Number Publication Date
CN111756534A true CN111756534A (en) 2020-10-09

Family

ID=72678475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010585426.3A Pending CN111756534A (en) 2020-06-24 2020-06-24 Network password updating method and device, network access device and storage medium

Country Status (1)

Country Link
CN (1) CN111756534A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311785A (en) * 2020-10-27 2021-02-02 珠海格力电器股份有限公司 Method and device for cascade update of equipment authentication information
CN113207097A (en) * 2021-04-29 2021-08-03 深圳市欧瑞博科技股份有限公司 Networking method and device for intelligent equipment, electronic equipment and storage medium
CN113242120A (en) * 2021-04-12 2021-08-10 深圳市智莱科技股份有限公司 Terminal equipment password updating method, system, device and storage medium
CN116319092A (en) * 2023-05-18 2023-06-23 北京智芯微电子科技有限公司 Encryption and decryption method, device and system for data and computer readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1235445A (en) * 1998-01-13 1999-11-17 日本电气株式会社 Password updating apparatus and recording medium used therefor
CN1240961A (en) * 1999-04-29 2000-01-12 华中理工大学 Method for generating dynamic electronic cipher
JP2000082044A (en) * 1998-09-07 2000-03-21 Nec Corp Password authenticating device and authenticating method
US20020124191A1 (en) * 1999-04-13 2002-09-05 Sakari Molin Method and system for updating a password in a telecommunication network
JP2004326763A (en) * 2003-04-10 2004-11-18 Matsushita Electric Ind Co Ltd Password change system
US20070174901A1 (en) * 2006-01-20 2007-07-26 Chang David Y System and method for automatic wireless network password update
CN102130892A (en) * 2010-01-18 2011-07-20 上海启电信息科技有限公司 Safety protection method for network account
CN105187452A (en) * 2015-10-20 2015-12-23 上海斐讯数据通信技术有限公司 Wireless network authentication method and system based on APP control
CN106231531A (en) * 2016-07-15 2016-12-14 乐视控股(北京)有限公司 Main equipment, from equipment, main equipment and the system and method from communication between devices
CN107483427A (en) * 2017-08-09 2017-12-15 北京冠霖环如科技有限公司 A kind of self-reinforcing type anti-counterfeiting technology based on Ntag21X family chips
CN108140077A (en) * 2015-10-08 2018-06-08 汤姆逊许可公司 For generating the device and method of password in a user device
CN109151010A (en) * 2018-08-09 2019-01-04 北京小米移动软件有限公司 Method for connecting network, device and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1235445A (en) * 1998-01-13 1999-11-17 日本电气株式会社 Password updating apparatus and recording medium used therefor
JP2000082044A (en) * 1998-09-07 2000-03-21 Nec Corp Password authenticating device and authenticating method
US20020124191A1 (en) * 1999-04-13 2002-09-05 Sakari Molin Method and system for updating a password in a telecommunication network
CN1240961A (en) * 1999-04-29 2000-01-12 华中理工大学 Method for generating dynamic electronic cipher
JP2004326763A (en) * 2003-04-10 2004-11-18 Matsushita Electric Ind Co Ltd Password change system
US20070174901A1 (en) * 2006-01-20 2007-07-26 Chang David Y System and method for automatic wireless network password update
CN102130892A (en) * 2010-01-18 2011-07-20 上海启电信息科技有限公司 Safety protection method for network account
CN108140077A (en) * 2015-10-08 2018-06-08 汤姆逊许可公司 For generating the device and method of password in a user device
CN105187452A (en) * 2015-10-20 2015-12-23 上海斐讯数据通信技术有限公司 Wireless network authentication method and system based on APP control
CN106231531A (en) * 2016-07-15 2016-12-14 乐视控股(北京)有限公司 Main equipment, from equipment, main equipment and the system and method from communication between devices
CN107483427A (en) * 2017-08-09 2017-12-15 北京冠霖环如科技有限公司 A kind of self-reinforcing type anti-counterfeiting technology based on Ntag21X family chips
CN109151010A (en) * 2018-08-09 2019-01-04 北京小米移动软件有限公司 Method for connecting network, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘礼白: "《码分射频识别体制解析》", 广东科技出版社 *
王月娇等: "无线传感器网络中基于密码hash函数认证协议", 《计算机工程与设计》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311785A (en) * 2020-10-27 2021-02-02 珠海格力电器股份有限公司 Method and device for cascade update of equipment authentication information
CN113242120A (en) * 2021-04-12 2021-08-10 深圳市智莱科技股份有限公司 Terminal equipment password updating method, system, device and storage medium
CN113242120B (en) * 2021-04-12 2023-03-14 深圳市智莱科技股份有限公司 Terminal equipment password updating method, system, device and storage medium
CN113207097A (en) * 2021-04-29 2021-08-03 深圳市欧瑞博科技股份有限公司 Networking method and device for intelligent equipment, electronic equipment and storage medium
CN116319092A (en) * 2023-05-18 2023-06-23 北京智芯微电子科技有限公司 Encryption and decryption method, device and system for data and computer readable storage medium
CN116319092B (en) * 2023-05-18 2023-08-18 北京智芯微电子科技有限公司 Encryption and decryption method, device and system for data and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN111756534A (en) Network password updating method and device, network access device and storage medium
CN109189459B (en) Application program updating method and device, electronic equipment, server and storage medium
CN111327605B (en) Method, terminal, server and system for transmitting private information
CN110851210A (en) Interface program calling method, device, equipment and storage medium
CN112329044A (en) Information acquisition method and device, electronic equipment and computer readable medium
CN110674481B (en) Account registration method, device, equipment and storage medium of application program
CN113282951B (en) Application program security verification method, device and equipment
CN112163046A (en) Block chain-based equipment data storage method, device and system
CN116502189A (en) Software authorization method, system, device and storage medium
CN113133072B (en) Method and device for controlling terminal, terminal and storage medium
CN114780124A (en) Differential upgrading method, device, medium and electronic equipment
CN113765692B (en) Current limiting method, device, electronic equipment and computer readable medium
CN115730324A (en) Business system access method and device, storage medium and electronic equipment
CN112202973A (en) Terminal control method and device, electronic equipment and computer readable medium
CN111897620A (en) Interaction method and device and electronic equipment
CN112087440A (en) Message transmission method and device, electronic equipment and storage medium
CN111756833A (en) Node processing method and device, electronic equipment and computer readable medium
CN111314320B (en) Communication method, terminal, server and system based on HTTP
CN116738472B (en) Task data encryption method, device and equipment applied to task data interaction
CN115174106B (en) Cloud service authentication method, device, equipment and storage medium
CN112468470B (en) Data transmission method and device and electronic equipment
CN112261659B (en) Control method and device for terminal and server, terminal and storage medium
CN116702169B (en) Data encryption migration method, electronic device and computer readable medium
CN115378743A (en) Information encryption transmission method, device, equipment and medium
CN115987661B (en) Cloud server data self-storage method, device, equipment and storage medium

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