[go: up one dir, main page]

CN105656899A - Decentralizing login methods and clients and system - Google Patents

Decentralizing login methods and clients and system Download PDF

Info

Publication number
CN105656899A
CN105656899A CN201610009359.4A CN201610009359A CN105656899A CN 105656899 A CN105656899 A CN 105656899A CN 201610009359 A CN201610009359 A CN 201610009359A CN 105656899 A CN105656899 A CN 105656899A
Authority
CN
China
Prior art keywords
decentralized
login client
login
client
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610009359.4A
Other languages
Chinese (zh)
Other versions
CN105656899B (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.)
BEIJING ZHONGXIANG BIT TECHNOLOGY Co Ltd
Original Assignee
BEIJING ZHONGXIANG BIT 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 ZHONGXIANG BIT TECHNOLOGY Co Ltd filed Critical BEIJING ZHONGXIANG BIT TECHNOLOGY Co Ltd
Priority to CN201610009359.4A priority Critical patent/CN105656899B/en
Publication of CN105656899A publication Critical patent/CN105656899A/en
Application granted granted Critical
Publication of CN105656899B publication Critical patent/CN105656899B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

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

Abstract

本申请公开了一种去中心化登录方法,包括:第一去中心化登录客户端接收第一去中心化登录客户端的第一身份标识号码(ID)后,接收第二去中心化登录客户端的第二ID,第一去中心化登录客户端的第一ID和第二去中心化登录客户端的第二ID分别由网络节点服务器发送;第一去中心化登录客户端根据第一去中心化登录客户端的第一ID和第二去中心化登录客户端的第二ID与第二去中心化登录客户端建立直连通道;第一去中心化登录客户端登录后,通过直连通道接收基础数据信息。本申请还公开了另一种去中心化登录方法、一种去中心化登录客户端、另一种去中心化登录客户端及一种去中心化登录系统。

The present application discloses a decentralized login method, including: after the first decentralized login client receives the first identity number (ID) of the first decentralized login client, receives the ID of the second decentralized login client. The second ID, the first ID of the first decentralized login client and the second ID of the second decentralized login client are sent by the network node server respectively; The first ID of the terminal and the second ID of the second decentralized login client establish a direct connection channel with the second decentralized login client; after the first decentralized login client logs in, it receives basic data information through the direct connection channel. The application also discloses another decentralized login method, a decentralized login client, another decentralized login client and a decentralized login system.

Description

Decentralized login method, client and system
Technical Field
The present disclosure relates generally to the field of decentralized logging, and more particularly, to a decentralized logging method, a client and a system.
Background
Currently, the social software of the client mainly uses a centralized login method based on a centralized server, where the client includes a Personal Computer (PC) client and a mobile phone client.
And the centralized server uniformly stores the account password information required by the client during login. Specifically, the centralized server generally uses a file-type database to store account password information data and friend list data registered by the user at the client, so that the account password information and friend list registered by the user are solidified at the centralized server. Here, the file type database includes a two-dimensional database such as an Oracle database, MySQL, Microsoft (MS) SQL, or the like relational database; the file-type database also includes a non-relational database of text-type (NoSQL).
In addition, the client communicates with a fixed centralized server using a fixed port. The centralized server sends data to the client side through a fixed port. And after receiving the data, the client stores the data locally.
Specifically, the centralized login method based on the centralized server comprises the following steps: step S1, installing social software on the PC client and starting the social software; step S2, registering the account, and jumping to step S3 if the account is registered; step S3, prompting to input an account number and a password; step S4, the account and the password are logged in after the verification of the known centralized server of the public network is passed; step S5, after logging in, the centralized server returns basic data of the buddy list information until the logging in is completed.
In summary, the technical features of the centralized login method based on the centralized server include:
(1) the client needs to log in a single centralized server, and the data type stored by the centralized server is fixed;
(2) the client has data traces from remote to local in the whole login process;
(3) communication channel singulation, i.e., a client and a centralized server communicate through a single channel.
It can be seen that the technical problems of using the centralized login method include:
(1) the centralized login method has potential safety hazards, so that data is stolen, leaked, monitored and violently cracked.
(2) The centralized server is supervised or intercepted by hackers due to its exposure on the public network. Thereby making the data insecure. The centralized server is similar to a data backup device, so a client with high privacy requirement can generate unsafe feeling to the centralized server.
Disclosure of Invention
In view of the foregoing defects or shortcomings in the prior art, it is desirable to provide a decentralized login method, a client and a system, which can ensure the security and privacy of data during login communication.
In a first aspect, an embodiment of the present disclosure provides a decentralized login method, including:
after receiving a first identity Identification (ID) number of a first decentralized login client, a first decentralized login client receives a second ID of a second decentralized login client, wherein the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server;
the first decentralized login client establishes a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client;
and after the first decentralized login client logs in, basic data information is received through the direct connection channel.
In the foregoing solution, after receiving the second ID of the second decentralized login client and before the first decentralized login client establishes the direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client, the method further includes:
the first decentralized login client saves a second ID of the second decentralized login client to a first local friend list;
the first decentralized login client receives a second network protocol (IP) address of the second decentralized login client and information of a second port of the second decentralized login client, and the second IP address of the second decentralized login client and the information of the second port of the second decentralized login client are sent by the network node server.
In the foregoing solution, the basic data information includes an encrypted extensible markup language (XML) file, and the encrypted XML file includes the basic data.
In the foregoing solution, after the first decentralized login client receives the first ID of the first decentralized login client and before the first ID of the second decentralized login client is received, the method further includes:
the first decentralized login client adds two-digit characters to a first ID of the first decentralized login client to generate a first ID two-dimensional code of the first decentralized login client; the first ID of the first decentralized login client after the two-bit character is added is a 130-bit character string, the first ID two-dimensional code of the first decentralized login client includes information of the first ID of the first decentralized login client, and the second ID of the second decentralized login client is a 128-bit character string.
In a second aspect, an embodiment of the present disclosure provides another decentralized login method, including:
after receiving a second ID of a second decentralized login client, a second decentralized login client identifies a first ID of a first decentralized login client, and the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server;
the second decentralized login client establishes a direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client;
and the second decentralized login client sends basic data information through the direct connection channel.
In the foregoing solution, after identifying the first ID of the first decentralized login client and before the second decentralized login client establishes the direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client, the method further includes:
after the second decentralized login client saves the first ID of the first decentralized login client to a second local friend list, the second decentralized login client informs the network node server to send a second ID of the second decentralized login client;
the second decentralized login client receives a first IP address of the first decentralized login client and information of a first port of the first decentralized login client, and the first IP address of the first decentralized login client and the information of the first port of the first decentralized login client are sent by the network node server.
In the foregoing solution, the identifying the first ID of the first decentralized login client includes:
scanning a first ID two-dimensional code of a first decentralized login client to obtain a first ID of the first decentralized login client, wherein the first ID two-dimensional code of the first decentralized login client comprises information of the first ID of the first decentralized login client.
In a third aspect, an embodiment of the present disclosure provides a decentralized login client, including:
the receiving module is used for receiving a first ID of a first decentralized login client and then receiving a second ID of a second decentralized login client, wherein the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server;
the direct connection channel establishing module is used for establishing a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client;
and the login module is used for receiving the basic data information through the direct connection channel after login.
In the above scheme, the client further comprises a storage receiving module, wherein,
the receiving module is used for receiving a second ID of a second decentralized login client and storing the second ID of the second decentralized login client to a first local friend list before the direct connection channel establishing module establishes a direct connection channel according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; and receiving a second IP address of the second decentralized login client and information of a second port of the second decentralized login client, wherein the second IP address of the second decentralized login client and the information of the second port of the second decentralized login client are sent by the network node server.
In the above scheme, the basic data information includes an encrypted XML file, and the encrypted XML file includes basic data.
In the above scheme, after the receiving module receives the first ID of the first decentralized login client and before the receiving module receives the second ID of the second decentralized login client, the receiving module is further configured to add two-bit characters to the first ID of the first decentralized login client to generate the first ID two-dimensional code of the first decentralized login client; the first ID of the first decentralized login client after the two-bit character is added is a 130-bit character string, the first ID two-dimensional code of the first decentralized login client includes information of the first ID of the first decentralized login client, and the second ID of the second decentralized login client is a 128-bit character string.
In a fourth aspect, an embodiment of the present disclosure provides another decentralized login client, including:
the receiving and identifying module is used for identifying a first ID of a first decentralized login client after receiving a second ID of a second decentralized login client, and the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server;
the direct connection channel establishing module is used for establishing a direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client;
and the sending module is used for sending basic data information through the direct connection channel.
In the above scheme, the client further comprises a storage receiving module, wherein,
after the receiving and identifying module identifies the first ID of the first decentralized login client and before the direct connection channel establishing module establishes the direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client, the storage and receiving module is used for storing the first ID of the first decentralized login client to a second local friend list and then informing the network node server of sending the second ID of the second decentralized login client; and receiving a first IP address of a first decentralized login client and information of a first port of the first decentralized login client, wherein the first IP address of the first decentralized login client and the information of the first port of the first decentralized login client are sent by the network node server.
In the above solution, the receiving and identifying module includes an identifying unit, configured to identify a first ID of the first decentralized login client; wherein,
the identifying unit is configured to identify a first ID of the first decentralized login client, and the identifying unit includes:
scanning a first ID two-dimensional code of a first decentralized login client to obtain a first ID of the first decentralized login client, wherein the first ID two-dimensional code of the first decentralized login client comprises information of the first ID of the first decentralized login client.
In a fifth aspect, an embodiment of the present disclosure provides a decentralized login system, including:
the system comprises the first decentralized login client of the third aspect and the second decentralized login client of the fourth aspect, and further comprises a network node server, wherein,
the first decentralized login client is used for receiving a first ID of the first decentralized login client sent by the network node server and then receiving a second ID of a second decentralized login client sent by the network node server; establishing a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; after logging in, receiving basic data information sent by the second decentralized logging in client through the direct connection channel;
the second decentralized login client is used for identifying the first ID of the first decentralized login client after receiving the second ID of the second decentralized login client sent by the network node server; establishing the direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; sending the basic data information to the first decentralized login client through the direct connection channel;
the network node server is configured to send a first ID of the first decentralized login client to the first decentralized login client, and then send a second ID of the second decentralized login client to the second decentralized login client.
According to the decentralized login method, the client and the system provided by the embodiment of the disclosure, after a first decentralized login client in the decentralized login system receives a first ID of the first decentralized login client, a second ID of a second decentralized login client is received, and the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server; establishing a direct connection channel with a second decentralized login client in the decentralized login system according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; after logging in, the first decentralized logging-in client receives basic data information from the second decentralized logging-in client through the direct connection channel. Because the network node server is used instead of the centralized server, the centralized login is not needed, and the safety of data in the login process is ensured; meanwhile, the decentralized login method provided by the embodiment of the disclosure can log in without registering an account, so that the technical problem of password data leakage in centralized login is solved; in addition, the decentralized login method provided by the embodiment of the disclosure does not need to store data information at the first decentralized login client, so that login security can be guaranteed to the maximum extent.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic flow chart illustrating an implementation of a decentralized login method according to embodiment 1 of the present disclosure;
fig. 2 is a schematic flow chart illustrating an implementation of the decentralized login method according to embodiment 2 of the present disclosure;
fig. 3 is a schematic flow chart illustrating an implementation of the decentralized login method according to embodiment 3 of the present disclosure;
fig. 4 is a schematic structural diagram of a decentralized login client according to embodiment 4 of the present disclosure;
fig. 5 is a schematic structural diagram of a decentralized login client according to embodiment 5 of the present disclosure.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Example 1
Fig. 1 is a decentralized login method provided in embodiment 1 of the present disclosure. As shown in fig. 1, the decentralized login method is a decentralized login method of a first decentralized login client in the decentralized login system, and includes:
step 110: and after receiving the first ID of the first decentralized login client, the first decentralized login client receives the second ID of the second decentralized login client, wherein the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by the network node server.
Before step 110, the first decentralized login client is started to access a Network Node Server (NNS) and establish a direct connection channel with the network node server. The network node server is a network node (network node) server in a network architecture (SNA). The network node server belongs to a server cluster. It should be noted that the network node servers that the first decentralized login client initiates access to are dynamically and randomly allocated, that is, the network node servers that the first decentralized login client initiates access to are all different each time, so that the user of the first decentralized login client cannot know the network node server that is accessed this time.
Here, the first decentralized login client includes a PC client and a mobile phone client, and may be a social software and a chat software.
Then, the network node server generates a first ID of the first decentralized login client for the first decentralized login client according to an algorithm, wherein the first ID of the first decentralized login client is a 128-bit random unrepeated character string, and sends the first ID of the first decentralized login client to the first decentralized login client.
In step 110, after receiving the first ID of the first decentralized login client, the first decentralized login client receives the second ID of the second decentralized login client, and the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by the network node server.
In step 110, after the first decentralized login client receives the first ID of the first decentralized login client and before the first ID of the second decentralized login client is received, the method further includes:
the first decentralized login client adds two-digit characters to a first ID of the first decentralized login client to generate a first ID two-dimensional code of the first decentralized login client; the first ID of the first decentralized login client after the two-bit character is added is a 130-bit character string, the first ID two-dimensional code of the first decentralized login client includes information of the first ID of the first decentralized login client, and the second ID of the second decentralized login client is a 128-bit character string.
Here, after the first decentralized login client receives the first ID of the first decentralized login client, a two-bit character "C:" is added in front of the first ID of the first decentralized login client, thereby composing a 130-bit string. The first ID string for the 130-bit first decentralized login client is as follows: c: 29 fa5b3c33c7b3065996be3e7f8aa897392cd11885df32eec8b6ae485f. The first decentralized login client generates a first ID two-dimensional code of the first decentralized login client from a first ID of the 130-bit first decentralized login client, wherein the first ID two-dimensional code of the first decentralized login client is a two-dimensional code picture. And then, the first decentralized login client displays the first ID two-dimensional code of the first decentralized login client and stops displaying the interface of the first ID two-dimensional code of the first decentralized login client. At this time, the first decentralized login client does not really log in, and the first ID two-dimensional code of the first decentralized login client can be really logged in only after the second decentralized login client identifies the first ID two-dimensional code and establishes a direct connection channel.
Additionally, the second ID of the second decentralized login client is a 128-bit string generated by the network node server according to an algorithm for the second decentralized login client.
After step 110, the method further comprises:
after receiving the second ID of the second decentralized login client and before the first decentralized login client establishes a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client, the method further includes:
the first decentralized login client saves a second ID of the second decentralized login client to a first local friend list;
the first decentralized login client receives a second network protocol IP address of the second decentralized login client and information of a second port of the second decentralized login client, and the second IP address of the second decentralized login client and the information of the second port of the second decentralized login client are sent by the network node server.
Specifically, the first decentralized login client saves the second ID of the second decentralized login client to the first local friend list; and receiving a second IP address of a second decentralized login client and information of a second port of the second decentralized login client, wherein the second IP address of the second decentralized login client and the information of the second port of the second decentralized login client are sent by the network node server.
Here, the information of the second IP address of the second decentralized login client and the second port of the second decentralized login client is the information of the IP address and the port of the host where the second decentralized login client is located.
In addition, the first decentralized login client sends the first IP address of the first decentralized login client and information of the first port of the first decentralized login client to the network node server, and the first IP address of the first decentralized login client and the information of the first port of the first decentralized login client are the IP address and the port information of the host where the first decentralized login client is located.
Step 120: and the first decentralized login client establishes a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client.
In step 120, the first decentralized login client establishes a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client. Subsequently, the network node server disconnects. The network node server can destroy the information of the first ID of the first decentralized login client and the second ID of the second decentralized login client at any time.
Step 130: and after the first decentralized login client logs in, basic data information is received through the direct connection channel.
In step 130, the first decentralized login client directly logs in after the direct connection channel is successfully established, and waits for the second decentralized login client to send basic data information. Here, the first decentralized login client does not use the method of user login in the prior art.
Here, the basic data information includes an encrypted XML file including basic data.
After step 130, the first decentralized login client receives the basic data information and creates a cache for storing the basic data information. And automatically clearing the basic data information after the first decentralized login client logs out, so that the first client does not have any basic data information.
Specifically, after the first decentralized login client receives the basic data packet sent by the second decentralized login client, a basic data packet loading process is started. First, the first decentralized login client creates a cache list and decrypts the basic data packet, so that the basic data packet is restored to an XML file. And then, the first decentralized login client analyzes the XML file, and the analyzed basic data are classified and stored in a specified cache list. And the first decentralized login client processes and displays the analyzed basic data.
All data of the first decentralized login client are operated in the cache, the method is different from a social software relational database of the client in the prior art, all cache data are stored in an internal memory, the data can be automatically cleared after the first decentralized login client logs out, backup is not reserved on a host of the first decentralized login client, and the first decentralized login client can not be initialized again until logging in next time.
At this point, the decentralized login method at the first decentralized login client is completed.
Here, decentralized refers to a network that does not require fixed servers and data centers. Decentralized is distinguished from fixed servers and data centers referred to as centralized. The decentralized login uses a first decentralized login client and a second decentralized login client to communicate in a direct connection mode. After the direct connection channel is established, the communication and the network node server are disconnected, and the influence and the monitoring of the network node server are avoided.
Example 2
Fig. 2 is a schematic flow chart illustrating an implementation of another decentralized login method according to embodiment 2 of the present disclosure. As shown in fig. 2, the decentralized login method is a decentralized login method of a second decentralized login client in the decentralized login system, and includes:
step 210: and after receiving a second ID of the second decentralized login client, the second decentralized login client identifies a first ID of the first decentralized login client, and the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by the network node server.
Before step 210, a second decentralized login client is initiated, accesses a network node server and establishes a direct connection channel with the network node server. The network node servers which the second decentralized login client starts to access are dynamically and randomly distributed, namely, the network node servers which the second decentralized login client starts to access at each time are different, so that the second decentralized login client cannot know the network node servers which are accessed at this time.
Here, the second decentralized login client includes a mobile phone client and a PC client having a camera function, and may be a social software and a chat software.
Subsequently, the network node server generates a second ID of the second decentralized login client for the second decentralized login client according to an algorithm, wherein the second ID of the second decentralized login client is a 128-bit random non-repetitive character string, and sends the second ID of the second decentralized login client to the second decentralized login client. Meanwhile, the network node server records the position information of the second decentralized login client, namely, the second IP address of the second decentralized login client and the information of the second port of the second decentralized login client.
In step 210, the second decentralized login client receives the second ID of the second decentralized login client and then identifies the first ID of the first decentralized login client.
Specifically, the identifying the first ID of the first decentralized login client includes:
scanning a first ID two-dimensional code of a first decentralized login client to obtain a first ID of the first decentralized login client, wherein the first ID two-dimensional code of the first decentralized login client comprises information of the first ID of the first decentralized login client.
Here, the second decentralized login client scans the first ID two-dimensional code of the first decentralized login client to obtain the first ID of the first decentralized login client, where the first ID two-dimensional code of the first decentralized login client includes information of the first ID of the first decentralized login client.
After step 210, the method further comprises:
after the second decentralized login client saves the first ID of the first decentralized login client to a second local friend list, the second decentralized login client informs the network node server to send a second ID of the second decentralized login client;
the second decentralized login client receives a first IP address of the first decentralized login client and information of a first port of the first decentralized login client, and the first IP address of the first decentralized login client and the information of the first port of the first decentralized login client are sent by the network node server.
Here, after the second decentralized login client saves the first ID of the first decentralized login client to the second local buddy list, the second decentralized login client notifies the network node server to send the second ID of the second decentralized login client to the first decentralized login client provided in embodiment 1; and receiving a first IP address of a first decentralized login client and information of a first port of the first decentralized login client, wherein the first IP address of the first decentralized login client and the information of the first port of the first decentralized login client are sent by the network node server.
Step 220: and the second decentralized login client establishes a direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client.
In step 220, the second decentralized login client establishes a direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client.
Step 230: and the second decentralized login client sends basic data information through the direct connection channel.
In step 230, the second decentralized login client sends basic data information to the first decentralized login client through the direct connection channel.
Specifically, after the second decentralized login client and the first decentralized login client establish a direct connection channel, the flow of packaging basic data is entered. Firstly, the second decentralized login client exports basic data, generates an XML file, encrypts the XML file and generates a basic data packet. And then, the second decentralized login client sends a basic data packet to the first decentralized login client through the direct connection channel.
Example 3
Fig. 3 is a schematic flow chart illustrating an implementation of the decentralized login method according to embodiment 3 of the present disclosure. As shown in fig. 3, the decentralized login method includes:
step 301: a first decentralized login client accesses a network node server;
step 302: the network node server randomly generates a first ID of a first decentralized login client, wherein the first ID of the first decentralized login client is a 128-bit string;
step 303: the network node server sends a first ID of the first decentralized login client to the first decentralized login client;
step 304: the first decentralized login client receives a first ID of the first decentralized login client;
step 305: the first decentralized login client adds two-digit characters to a first ID of the first decentralized login client to generate a first ID two-dimensional code of the first decentralized login client;
step 306: the second decentralized login client accesses the network node server;
step 307: the network node server randomly generates a second ID of the second decentralized login client, wherein the second ID of the second decentralized login client is a 128-bit string;
step 308: the network node server sends a second ID of the second decentralized login client to the second decentralized login client;
step 309: the second decentralized login client receives a second ID of the second decentralized login client;
step 310: the second decentralized login client scans the first ID two-dimensional code of the first decentralized login client, and obtains the first ID of the first decentralized login client from the first decentralized login client;
step 311: after the second decentralized login client saves the first ID of the first decentralized login client to the second local friend list, the second decentralized login client informs the network node server to send the second ID of the second decentralized login client;
step 312: the network node server sends a second ID of the second decentralized login client to the first decentralized login client;
step 313: the first decentralized login client receives a second ID of the second decentralized login client;
step 314: the first decentralized login client saves a second ID of the second decentralized login client to the first local friend list;
step 315: the network node server sends a first IP address of the first decentralized login client and information of a first port of the first decentralized login client to the second decentralized login client;
step 316: the second decentralized login client receives a first IP address of the first decentralized login client and information of a first port of the first decentralized login client;
step 317: the network node server sends a second IP address of the second decentralized login client and information of a second port of the second decentralized login client to the first decentralized login client;
step 318: the first decentralized login client receives a second IP address of the second decentralized login client and information of a second port of the second decentralized login client;
step 319: the first decentralized login client and the second decentralized login client establish a direct connection channel according to a first ID of the first decentralized login client and a second ID of the second decentralized login client;
step 320: a first decentralized login client login;
step 321: the second decentralized login client sends basic data information to the first decentralized login client through the direct connection channel;
step 322: the first decentralized login client receives basic data information through the direct connection channel.
Here, the first decentralized login client is a PC client, and the second decentralized login client is a mobile phone client.
Example 4
Fig. 4 is a decentralized login client provided in embodiment 4 of the present disclosure. As shown in fig. 4, the decentralized login client includes:
the receiving module 410 is configured to receive a first ID of a first decentralized login client, and then receive a second ID of a second decentralized login client, where the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server.
Specifically, after the receiving module 410 receives the first ID of the first decentralized login client and before the receiving the second ID of the second decentralized login client, the receiving module 410 is further configured to add two-bit characters to the first ID of the first decentralized login client to generate the first ID two-dimensional code of the first decentralized login client; the first ID of the first decentralized login client after the two-bit character is added is a 130-bit character string, the first ID two-dimensional code of the first decentralized login client includes information of the first ID of the first decentralized login client, and the second ID of the second decentralized login client is a 128-bit character string.
A direct connection channel establishing module 430, configured to establish a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client.
And the login module 440 is configured to receive the basic data information through the direct connection channel after login.
In addition, the client further comprises a save receive module 420, wherein,
after the receiving module 410 receives the second ID of the second decentralized login client and before the direct connection channel establishing module 430 establishes a direct connection channel according to the first ID of the first decentralized login client and the second ID of the second decentralized login client, the saving receiving module 420 is configured to save the second ID of the second decentralized login client to the first local buddy list; and receiving a second IP address of the second decentralized login client and information of a second port of the second decentralized login client, wherein the second IP address of the second decentralized login client and the information of the second port of the second decentralized login client are sent by the network node server.
Specifically, the basic data information includes an encrypted XML file including basic data.
Example 5
Fig. 5 is a decentralized login client provided in embodiment 5 of the present disclosure. As shown in fig. 5, the decentralized login client includes:
the receiving and identifying module 510 is configured to identify a first ID of a first decentralized login client after receiving a second ID of a second decentralized login client, where the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server.
Specifically, the receiving identification module 510 includes an identification unit 511, configured to identify a first ID of the first decentralized login client; wherein,
the first ID of the identifying unit 511 for identifying the first decentralized login client comprises:
scanning a first ID two-dimensional code of a first decentralized login client to obtain a first ID of the first decentralized login client, wherein the first ID two-dimensional code of the first decentralized login client comprises information of the first ID of the first decentralized login client.
A direct connection channel establishing module 530, configured to establish a direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client.
A sending module 540, configured to send basic data information through the direct connection channel.
In addition, the client further comprises a save receive module 520, wherein,
after the receiving and identifying module 510 identifies the first ID of the first decentralized login client and before the direct connection channel establishing module 530 establishes a direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client, the storing and receiving module 520 is configured to notify the network node server to send the second ID of the second decentralized login client after storing the first ID of the first decentralized login client in the second local buddy list; and receiving a first IP address of a first decentralized login client and information of a first port of the first decentralized login client, wherein the first IP address of the first decentralized login client and the information of the first port of the first decentralized login client are sent by the network node server.
Example 6
The embodiment 6 of the present disclosure provides a decentralized login system. The decentralized login system comprises a first decentralized login client according to embodiment 4 and a second decentralized login client according to embodiment 5, and further comprises a network node server, wherein,
the first decentralized login client is used for receiving a first ID of the first decentralized login client sent by the network node server and then receiving a second ID of a second decentralized login client sent by the network node server; establishing a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; after logging in, receiving basic data information sent by the second decentralized logging in client through the direct connection channel;
the second decentralized login client is used for identifying the first ID of the first decentralized login client after receiving the second ID of the second decentralized login client sent by the network node server; establishing the direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; sending the basic data information to the first decentralized login client through the direct connection channel;
the network node server is configured to send a first ID of the first decentralized login client to the first decentralized login client, and then send a second ID of the second decentralized login client to the second decentralized login client.
In practical applications, the receiving module 410, the storing and receiving module 420, the direct connection channel establishing module 430, the logging module 440, the receiving and identifying module 510, the identifying unit 511, the storing and receiving module 520, the direct connection channel establishing module 530, and the sending module 540 may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Microprocessor (MPU), or a programmable logic array (FPGA) located in any computer device.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (15)

1. A decentralized log-in method, the method comprising:
after receiving a first identity identification number (ID) of a first decentralized login client, a first decentralized login client receives a second ID of a second decentralized login client, wherein the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server;
the first decentralized login client establishes a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client;
and after the first decentralized login client logs in, basic data information is received through the direct connection channel.
2. The method of claim 1, wherein after receiving the second ID of the second decentralized login client and before the first decentralized login client establishes a direct channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client, the method further comprises:
the first decentralized login client saves a second ID of the second decentralized login client to a first local friend list;
the first decentralized login client receives a second network protocol IP address of the second decentralized login client and information of a second port of the second decentralized login client, and the second IP address of the second decentralized login client and the information of the second port of the second decentralized login client are sent by the network node server.
3. The method of claim 1, wherein the base data information comprises an encrypted extensible markup language (XML) file, and wherein the encrypted XML file comprises base data.
4. The method of claim 1, 2 or 3, wherein after the first decentralized login client receives the first ID of the first decentralized login client and before the receiving the second ID of the second decentralized login client, the method further comprises:
the first decentralized login client adds two-digit characters to a first ID of the first decentralized login client to generate a first ID two-dimensional code of the first decentralized login client; the first ID of the first decentralized login client after the two-bit character is added is a 130-bit character string, the first ID two-dimensional code of the first decentralized login client includes information of the first ID of the first decentralized login client, and the second ID of the second decentralized login client is a 128-bit character string.
5. A decentralized log-in method, the method comprising:
after receiving a second ID of a second decentralized login client, a second decentralized login client identifies a first ID of a first decentralized login client, and the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server;
the second decentralized login client establishes a direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client;
and the second decentralized login client sends basic data information through the direct connection channel.
6. The method of claim 5, wherein after identifying the first ID of the first decentralized login client and before the second decentralized login client establishes a direct channel with the first decentralized login client based on the first ID of the first decentralized login client and the second ID of the second decentralized login client, the method further comprises:
after the second decentralized login client saves the first ID of the first decentralized login client to a second local friend list, the second decentralized login client informs the network node server to send a second ID of the second decentralized login client;
the second decentralized login client receives a first IP address of the first decentralized login client and information of a first port of the first decentralized login client, and the first IP address of the first decentralized login client and the information of the first port of the first decentralized login client are sent by the network node server.
7. The method of claim 5 or 6, wherein identifying the first ID of the first decentralized login client comprises:
scanning a first ID two-dimensional code of a first decentralized login client to obtain a first ID of the first decentralized login client, wherein the first ID two-dimensional code of the first decentralized login client comprises information of the first ID of the first decentralized login client.
8. A decentralized login client, said client comprising:
the receiving module is used for receiving a first ID of a first decentralized login client and then receiving a second ID of a second decentralized login client, wherein the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server;
the direct connection channel establishing module is used for establishing a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client;
and the login module is used for receiving the basic data information through the direct connection channel after login.
9. The client of claim 8, further comprising a save receive module, wherein,
the receiving module is used for receiving a second ID of a second decentralized login client and storing the second ID of the second decentralized login client to a first local friend list before the direct connection channel establishing module establishes a direct connection channel according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; and receiving a second IP address of the second decentralized login client and information of a second port of the second decentralized login client, wherein the second IP address of the second decentralized login client and the information of the second port of the second decentralized login client are sent by the network node server.
10. The client of claim 8, wherein the base data information comprises an encrypted XML file, and wherein the encrypted XML file comprises the base data.
11. The client of claim 8, 9 or 10, wherein after receiving the first ID of the first decentralized login client and before receiving the second ID of the second decentralized login client, the receiving module is further configured to add two-bit characters to the first ID of the first decentralized login client to generate the first ID two-dimensional code of the first decentralized login client; the first ID of the first decentralized login client after the two-bit character is added is a 130-bit character string, the first ID two-dimensional code of the first decentralized login client includes information of the first ID of the first decentralized login client, and the second ID of the second decentralized login client is a 128-bit character string.
12. A decentralized login client, said client comprising:
the receiving and identifying module is used for identifying a first ID of a first decentralized login client after receiving a second ID of a second decentralized login client, and the first ID of the first decentralized login client and the second ID of the second decentralized login client are respectively sent by a network node server;
the direct connection channel establishing module is used for establishing a direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client;
and the sending module is used for sending basic data information through the direct connection channel.
13. The client of claim 12, further comprising a save receive module, wherein,
after the receiving and identifying module identifies the first ID of the first decentralized login client and before the direct connection channel establishing module establishes the direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client, the storage and receiving module is used for storing the first ID of the first decentralized login client to a second local friend list and then informing the network node server of sending the second ID of the second decentralized login client; and receiving a first IP address of a first decentralized login client and information of a first port of the first decentralized login client, wherein the first IP address of the first decentralized login client and the information of the first port of the first decentralized login client are sent by the network node server.
14. The client according to claim 12 or 13, wherein the receiving identification module comprises an identification unit for identifying a first ID of the first decentralized login client; wherein,
the identifying unit is configured to identify a first ID of the first decentralized login client, and the identifying unit includes:
scanning a first ID two-dimensional code of a first decentralized login client to obtain a first ID of the first decentralized login client, wherein the first ID two-dimensional code of the first decentralized login client comprises information of the first ID of the first decentralized login client.
15. A decentralized login system, characterized in that said system comprises a first decentralized login client according to claim 8, 9, 10 or 11 and a second decentralized login client according to claim 12, 13 or 14, and further comprises a network node server, wherein,
the first decentralized login client is used for receiving a first ID of the first decentralized login client sent by the network node server and then receiving a second ID of a second decentralized login client sent by the network node server; establishing a direct connection channel with the second decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; after logging in, receiving basic data information sent by the second decentralized logging in client through the direct connection channel;
the second decentralized login client is used for identifying the first ID of the first decentralized login client after receiving the second ID of the second decentralized login client sent by the network node server; establishing the direct connection channel with the first decentralized login client according to the first ID of the first decentralized login client and the second ID of the second decentralized login client; sending the basic data information to the first decentralized login client through the direct connection channel;
the network node server is configured to send a first ID of the first decentralized login client to the first decentralized login client, and then send a second ID of the second decentralized login client to the second decentralized login client.
CN201610009359.4A 2016-01-07 2016-01-07 A kind of decentralization login method, client and system Expired - Fee Related CN105656899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610009359.4A CN105656899B (en) 2016-01-07 2016-01-07 A kind of decentralization login method, client and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610009359.4A CN105656899B (en) 2016-01-07 2016-01-07 A kind of decentralization login method, client and system

Publications (2)

Publication Number Publication Date
CN105656899A true CN105656899A (en) 2016-06-08
CN105656899B CN105656899B (en) 2018-10-19

Family

ID=56491758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610009359.4A Expired - Fee Related CN105656899B (en) 2016-01-07 2016-01-07 A kind of decentralization login method, client and system

Country Status (1)

Country Link
CN (1) CN105656899B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086950A (en) * 2017-03-08 2017-08-22 徐州医科大学 A kind of implementation method of the large-scale instant message system based on dijkstra's algorithm

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006091178A1 (en) * 2005-02-22 2006-08-31 National University Of Singapore A method of obtaining presence information and a method of maintaining an updated membership list of communication devices in a decentralised network
CN101094060A (en) * 2006-06-19 2007-12-26 上海新纳广告传媒有限公司 Authorization method for point-to-point network
US7353252B1 (en) * 2001-05-16 2008-04-01 Sigma Design System for electronic file collaboration among multiple users using peer-to-peer network topology
CN101977178A (en) * 2010-08-09 2011-02-16 中兴通讯股份有限公司 Relay-based media channel establishing method and system
CN102571853A (en) * 2010-12-16 2012-07-11 中国移动通信集团四川有限公司 Method, system and device for remote point-to-point communication of mobile terminals
CN103166990A (en) * 2011-12-13 2013-06-19 中国电信股份有限公司 Peer-to-peer (P2P) establishment method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353252B1 (en) * 2001-05-16 2008-04-01 Sigma Design System for electronic file collaboration among multiple users using peer-to-peer network topology
WO2006091178A1 (en) * 2005-02-22 2006-08-31 National University Of Singapore A method of obtaining presence information and a method of maintaining an updated membership list of communication devices in a decentralised network
CN101094060A (en) * 2006-06-19 2007-12-26 上海新纳广告传媒有限公司 Authorization method for point-to-point network
CN101977178A (en) * 2010-08-09 2011-02-16 中兴通讯股份有限公司 Relay-based media channel establishing method and system
CN102571853A (en) * 2010-12-16 2012-07-11 中国移动通信集团四川有限公司 Method, system and device for remote point-to-point communication of mobile terminals
CN103166990A (en) * 2011-12-13 2013-06-19 中国电信股份有限公司 Peer-to-peer (P2P) establishment method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086950A (en) * 2017-03-08 2017-08-22 徐州医科大学 A kind of implementation method of the large-scale instant message system based on dijkstra's algorithm

Also Published As

Publication number Publication date
CN105656899B (en) 2018-10-19

Similar Documents

Publication Publication Date Title
US12081545B2 (en) Out-of-band authentication to access web-service with indication of physical access to client device
US11178134B2 (en) Method and apparatus for allocating device identifiers
CN102195957B (en) Resource sharing method, device and system
CN104935438B (en) Method and apparatus for authentication
US11978053B2 (en) Systems and methods for estimating authenticity of local network of device initiating remote transaction
CN101465735B (en) Network user authentication method, server and client
US10645557B2 (en) Transferable ownership tokens for discrete, identifiable devices
US9654480B2 (en) Systems and methods for profiling client devices
CN106779716B (en) Authentication method, device and system based on block chain account address
US20160173501A1 (en) Managing electronic account access control
CN108337210B (en) Device configuration method, device, and system
KR102119922B1 (en) Network access
WO2016197934A1 (en) Barcode security authentication method
JP2017526995A (en) Dual channel identification and authentication
US11611551B2 (en) Authenticate a first device based on a push message to a second device
US20190037393A1 (en) Method of establishing communications
CN111698196A (en) Authentication method and micro-service system
CN104717187B (en) A kind of login method and equipment
CN106911628A (en) A kind of user registers the method and device of application software on the client
WO2018036220A1 (en) Authority authentication method and system for accessing wireless device
CN105656899B (en) A kind of decentralization login method, client and system
CN107852332A (en) Seamless unique subscriber identification and management
CN111817860B (en) Communication authentication method, device, equipment and storage medium
CN113381978A (en) A security login method and device
CN113812125A (en) Login behavior verification method, device and system, storage medium and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Chen Shu

Inventor before: Huang Songfa

Inventor before: Chen Shu

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181019