CN108833608B - Method for dynamically determining and changing server through password - Google Patents

Method for dynamically determining and changing server through password Download PDF

Info

Publication number
CN108833608B
CN108833608B CN201810604018.0A CN201810604018A CN108833608B CN 108833608 B CN108833608 B CN 108833608B CN 201810604018 A CN201810604018 A CN 201810604018A CN 108833608 B CN108833608 B CN 108833608B
Authority
CN
China
Prior art keywords
password
server
address
changing
client
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.)
Active
Application number
CN201810604018.0A
Other languages
Chinese (zh)
Other versions
CN108833608A (en
Inventor
张钺
李志华
杜瑾
郑涛野
刘博�
李忠忠
王军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beidou Tiandi Co ltd
Original Assignee
Beidou Tiandi 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 Beidou Tiandi Co ltd filed Critical Beidou Tiandi Co ltd
Priority to CN201810604018.0A priority Critical patent/CN108833608B/en
Publication of CN108833608A publication Critical patent/CN108833608A/en
Application granted granted Critical
Publication of CN108833608B publication Critical patent/CN108833608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for dynamically determining and changing a server through a password, which comprises the following steps: the software system uses at least two computer devices, each computer device is provided with a fixed IP address to form a database, each device member can exist as a server, and the server and the client can be rapidly replaced; assigning a unique identification password to each fixed IP address; entering a login interface, inputting a password, and performing matching verification; and returning to a login interface, changing the password and changing the machine operation. The method for dynamically determining and changing the server through the password has the advantages of high flexibility, safety, convenience and good network stability.

Description

Method for dynamically determining and changing server through password
Technical Field
The invention relates to the technical field of computers, in particular to a method for dynamically determining and changing a server through a password.
Background
At present, software programs are verified by inputting account numbers and passwords, and if the verification is successful, the software programs log in a fixed server to read data and perform related operation.
On the other hand, many users today need a system network without a central node, which requires that in terms of software, a server end cannot be fixed on one device, and a software system capable of temporarily and rapidly changing a server according to actual needs is needed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method for dynamically determining and changing the server through the password, which has the advantages of simple operation, safety, convenience and good flexibility.
In order to achieve the purpose of the invention, the invention adopts the technical scheme that:
a method for dynamically determining and changing a server through a password, the method comprising:
s1: the software system uses at least two computer devices, each computer device is provided with a fixed IP address to form a database, each device member can exist as a server, and the server and the client can be rapidly replaced;
s2, assigning a unique identification password to each fixed IP address;
s3, entering a login interface, inputting a password and performing matching verification;
and S4, returning to the login interface, changing the password and changing the machine operation.
Furthermore, the software system is provided with two program modules of a server and a client at the same time, when a password is input, if the password is the same as the IP address of the software system, the program module of the server is started, otherwise, the program module of the client is started by taking the IP address corresponding to the password as the IP address of the server.
Furthermore, all the equipment members can be used as servers to read the corresponding IP addresses of the passwords through the input passwords, if the IP addresses are the same, the server side is used, and if the IP addresses are different, the client side is used.
Further, the fixed network IP binding unique identification password is that each system member has a fixed network IP as a unique identification, and each fixed IP corresponds to its own unique password, wherein the IP addresses of the system members are different from each other, and the corresponding passwords are different from each other, so that the IP corresponding to the password can be confirmed as the server IP address by uniformly inputting the same password.
Further, the program modules of the client and the server comprise a socket communication module responsible for network communication and an audio/video communication module for performing an audio/video conference.
Furthermore, the Socket communication module is responsible for communication work of programs between networks, the audio and video communication module is an online audio and video conference function, performs communication in a video online transmission mode, and achieves the audio and video communication function in a mode of initiating voice and message services through nodejs and webRTC.
The invention has the beneficial effects that:
all equipment in the system can be quickly switched between the server and the client, so that the flexibility of a system network is guaranteed; when the original server equipment in the system exits, the server can be switched quickly, the normal operation of the system is not influenced, and the stability and operability of the system network are improved.
Detailed Description
The preferred embodiments of the present application are described below, and it should be understood that the preferred embodiments described herein are for purposes of illustration and explanation only and are not intended to limit the present application and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
A method for dynamically determining and changing a server through a password, the method comprising:
s1: the software system uses at least two computer devices, each computer device is provided with a fixed IP address to form a database, each device member can exist as a server, and the server and the client can be rapidly replaced;
s2, assigning a unique identification password to each fixed IP address;
s3, entering a login interface, inputting a password and performing matching verification;
and S4, returning to the login interface, changing the password and changing the machine operation.
The software system is provided with two program modules of a server and a client at the same time, when a password is input, if the password is the same as the IP address of the software system, the program module of the server is started, otherwise, the program module of the client is started by taking the IP address corresponding to the password as the IP address of the server.
All the equipment members can be used as servers to read the corresponding IP addresses of the passwords through the input passwords, if the IP addresses are the same, the server side is used, and if the IP addresses are different, the client side is used.
The fixed network IP binding unique identification password is that each system member has a fixed network IP as a unique identification, each fixed IP corresponds to a respective unique password, the IP addresses of the system members are different from each other, and the corresponding passwords are different from each other, so that the IP corresponding to the password can be confirmed to be the IP address of the server by uniformly inputting the same password.
The program modules of the client and the server comprise a socket communication module responsible for network communication and an audio and video communication module for carrying out an audio and video conference.
The Socket communication module is responsible for communication work of programs between networks, the audio and video communication module is an online audio and video conference function, communication is carried out in a video online transmission mode, and the audio and video communication function is achieved in a mode that nodejs and webRTC initiate voice and message services.
The specific implementation flow is as follows:
if a total of four devices using the system, each having a fixed IP address,
a machine is as follows: 192.168.168.12, respectively;
a second machine: 192.168.168.22, respectively;
a third machine: 192.168.168.32, respectively;
a third machine: 192.168.168.42, respectively;
the IP addresses of the four devices are each assigned a unique login password:
password of the first machine: 1001;
password of machine two: 1002;
password of machine three: 1003;
password of machine four: 1004;
and the four devices simultaneously carry out login operation, and when the respective account passwords are input respectively and then the password 1001 is input in a unified manner, the system can carry out verification on the database according to the password 1001 to obtain the IP address 192.168.168.12 corresponding to the password.
After the first machine logs in, the IP address 192.168.168.12 corresponding to the password 1001 is matched with the IP address of the first machine, and the result is consistent, so that the first machine can operate as a server by using a server for starting socket communication, a server for nodejs and a server for webRTC.
After the second-number machine or the fourth-number machine logs in, the IP address 192.168.168.12 corresponding to the password 1001 is matched with the IP address of the third-number machine, and the result is inconsistent, so that the three machines operate the client for starting socket communication, the client for nodejs in the audio and video communication module and the client for webRTC as clients, and are connected by using 192.168.168.12 as server addresses.
When the number 1 machine is off-line and the number 2 machine is required to be used as a server, the user only needs to return to a login interface and input the password into the unified password 1002, and the address corresponding to the password 1002 is changed to 192.168.168.22. And the second machine starts a server program module to operate as a server. The third machine and the fourth machine operate a client program module as a client and are connected by using 192.168.168.22 as a server address, so that the exit of the first machine does not influence the use of the whole network.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the present invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (3)

1. A method for dynamically determining and changing a server through a password, the method comprising:
s1: the software system uses at least two computer devices, each computer device is provided with a fixed IP address to form a database, each device member can exist as a server, and the server and the client can be rapidly replaced;
s2, assigning a unique identification password to each fixed IP address;
s3, entering a login interface, inputting a password and performing matching verification;
s4: the software system is provided with two program modules of a server and a client at the same time, when a password is input, if the password is the same as the IP address of the local machine, the program module of the server is started, otherwise, the program module of the client is started by taking the IP address corresponding to the password as the IP address of the server;
all the equipment members can be used as servers to read the corresponding IP addresses of the passwords through the input passwords, if the IP addresses are the same, the server side is used, and if the IP addresses are different, the client side is used;
the fixed IP address binds the unique identification password to ensure that each system member has a fixed network IP as a unique identification, and each fixed IP corresponds to a respective unique password, wherein the IP addresses of the system members are different from each other, and the corresponding passwords are different from each other, so that the IP corresponding to the password can be confirmed as the IP address of the server by uniformly inputting the same password;
and S5, returning to the login interface, changing the password and changing the machine operation.
2. A method for dynamically determining and changing servers via passwords as claimed in claim 1, wherein: the program modules of the client and the server comprise a socket communication module responsible for network communication and an audio and video communication module for carrying out an audio and video conference.
3. A method for dynamically determining and changing servers by passwords as set forth in claim 2, wherein: the Socket communication module is responsible for communication work of programs between networks, the audio and video communication module is an online audio and video conference function, communication is carried out in a video online transmission mode, and the audio and video communication function is achieved in a mode that nodejs and webRTC initiate voice and message services.
CN201810604018.0A 2018-06-12 2018-06-12 Method for dynamically determining and changing server through password Active CN108833608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810604018.0A CN108833608B (en) 2018-06-12 2018-06-12 Method for dynamically determining and changing server through password

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810604018.0A CN108833608B (en) 2018-06-12 2018-06-12 Method for dynamically determining and changing server through password

Publications (2)

Publication Number Publication Date
CN108833608A CN108833608A (en) 2018-11-16
CN108833608B true CN108833608B (en) 2021-04-27

Family

ID=64144855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810604018.0A Active CN108833608B (en) 2018-06-12 2018-06-12 Method for dynamically determining and changing server through password

Country Status (1)

Country Link
CN (1) CN108833608B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980412A (en) * 2014-04-14 2015-10-14 阿里巴巴集团控股有限公司 Application client, server and corresponding Portal authentication method
CN105721502A (en) * 2016-04-11 2016-06-29 上海上实龙创智慧能源科技股份有限公司 Authorized access method for browser client and server
CN106230594A (en) * 2016-07-22 2016-12-14 浪潮通用软件有限公司 Method for user authentication based on dynamic password
CN107360150A (en) * 2017-07-06 2017-11-17 天脉聚源(北京)传媒科技有限公司 A kind of method and device of intelligent logging-on
US9832069B1 (en) * 2008-05-30 2017-11-28 F5 Networks, Inc. Persistence based on server response in an IP multimedia subsystem (IMS)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040618B (en) * 2016-12-06 2020-09-11 北京信息科技大学 Decentralized network domain name service system and method
CN107682396B (en) * 2017-08-25 2021-01-19 北京元心科技有限公司 IM server deployment method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9832069B1 (en) * 2008-05-30 2017-11-28 F5 Networks, Inc. Persistence based on server response in an IP multimedia subsystem (IMS)
CN104980412A (en) * 2014-04-14 2015-10-14 阿里巴巴集团控股有限公司 Application client, server and corresponding Portal authentication method
CN105721502A (en) * 2016-04-11 2016-06-29 上海上实龙创智慧能源科技股份有限公司 Authorized access method for browser client and server
CN106230594A (en) * 2016-07-22 2016-12-14 浪潮通用软件有限公司 Method for user authentication based on dynamic password
CN107360150A (en) * 2017-07-06 2017-11-17 天脉聚源(北京)传媒科技有限公司 A kind of method and device of intelligent logging-on

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
统一身份认证服务器的研究与实现;洪丹丹;《中国教育信息化》;20110331;全文 *

Also Published As

Publication number Publication date
CN108833608A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
EP1599014B1 (en) Mechanism for controlling a decentralized multi-party conference
US9332039B2 (en) Method, apparatus, and system for establishing voice communication
US9525848B2 (en) Domain trusted video network
US20170288942A1 (en) Portal for Provisioning Autonomous Software Agents
JP2018522323A (en) Voice communication processing method and system, electronic apparatus, and storage medium
US10721115B2 (en) Content sharing method, terminal, server, and system
US20080263132A1 (en) Apparatus and method for efficient real time web language translations
RU2008138577A (en) NETWORK SYSTEM
KR20210138095A (en) Systems and methods for a virtual agent in a cloud computing environment
CN104010001A (en) Method and system for carrying out connection communication on same networking requests in mobile terminal
CN108011754A (en) Turn control piece-rate system, backup method and device
US8988487B2 (en) Cloud video exchanging conference device
CN104780121A (en) Message transmitting method and device
CA2807740A1 (en) System and method for multiple accounts to access internet message access protocol server
CN110597783B (en) Database management method, device, equipment and storage medium
TWI585699B (en) Establishing a communication event
CN108833608B (en) Method for dynamically determining and changing server through password
JP2002152276A (en) Internet utilizing method and device utilizing wired or wireless lan system, and line concentration/connection device
CN103701690A (en) Method and system for establishing voice communication
CN101640618B (en) Authentication test method and system, and network with function of authentication test
CN107666418B (en) Account generating method, device and system
US9503527B1 (en) Personalized phone registration based on virtual desktop infrastructure
US7533162B2 (en) Method, apparatus and system for supporting multiple collaborative sessions in a bi-directional communication device
US20150134843A1 (en) Method of establishing network connection and system thereof
CN101883239A (en) Method, system and device for controlling multimedia conference

Legal Events

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