[go: up one dir, main page]

CN105592083B - Method and device for terminal to access server by using token - Google Patents

Method and device for terminal to access server by using token Download PDF

Info

Publication number
CN105592083B
CN105592083B CN201510959278.6A CN201510959278A CN105592083B CN 105592083 B CN105592083 B CN 105592083B CN 201510959278 A CN201510959278 A CN 201510959278A CN 105592083 B CN105592083 B CN 105592083B
Authority
CN
China
Prior art keywords
token
terminal
candidate
server
original
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
CN201510959278.6A
Other languages
Chinese (zh)
Other versions
CN105592083A (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo 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 Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510959278.6A priority Critical patent/CN105592083B/en
Publication of CN105592083A publication Critical patent/CN105592083A/en
Application granted granted Critical
Publication of CN105592083B publication Critical patent/CN105592083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos

Landscapes

  • Engineering & Computer Science (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)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种终端利用令牌访问服务器的方法和装置,涉及互联网技术领域,能够解决现有技术中当终端未成功保存服务器侧下发的新令牌时,无法成功访问服务器的问题。本发明的方法主要包括:在生成原始令牌对应的新令牌后,将新令牌设置为候补令牌,令牌用于唯一标识终端,且令牌为终端访问服务器时所需要的访问凭证;向终端发送候补令牌;若接收到终端发送的确认字符,则将候补令牌替换原始令牌作为有效令牌,以便终端利用候补令牌能够成功访问服务器;若未接收到终端发送的确认字符,则保留原始令牌的有效性,以便终端利用原始令牌能够成功访问服务器。本发明主要适用于终端利用令牌访问网络安全服务器的场景中。

Figure 201510959278

The invention discloses a method and a device for a terminal to access a server by using a token, which relates to the field of Internet technology and can solve the problem in the prior art that the terminal cannot successfully access the server when the new token issued by the server side is not successfully saved. The method of the present invention mainly includes: after generating a new token corresponding to the original token, setting the new token as a candidate token, the token is used to uniquely identify the terminal, and the token is the access credential required for the terminal to access the server ; Send the candidate token to the terminal; if the confirmation character sent by the terminal is received, replace the original token with the candidate token as a valid token, so that the terminal can successfully access the server by using the candidate token; if the confirmation sent by the terminal is not received character, the validity of the original token is preserved, so that the terminal can successfully access the server by using the original token. The present invention is mainly applicable to the scenario where the terminal uses the token to access the network security server.

Figure 201510959278

Description

终端利用令牌访问服务器的方法和装置Method and device for terminal to access server by using token

技术领域technical field

本发明涉及互联网技术领域,特别是涉及一种终端利用令牌访问服务器的方法和装置。The present invention relates to the field of Internet technologies, and in particular, to a method and device for a terminal to access a server by using a token.

背景技术Background technique

在实际应用中,终端在服务器发送数据请求之前,需要先向服务器申请用于唯一标识该终端所对应的令牌,然后根据申请的令牌向服务器发送数据请求。服务器接收到数据请求后,会先验证令牌是否正确,若验证正确才向终端返回数据请求所对应的数据响应,从而保证了服务器的安全。In practical applications, before the server sends a data request, the terminal needs to apply to the server for a token that uniquely identifies the terminal corresponding to the terminal, and then sends a data request to the server according to the applied token. After the server receives the data request, it will first verify whether the token is correct, and if the verification is correct, it will return the data response corresponding to the data request to the terminal, thus ensuring the security of the server.

在现有技术中,用户可能会使用ghost软件克隆出多个与已知系统相同的系统,因此会存在多个终端含有相同令牌的现象,且多个终端利用相同的令牌能够成功访问服务器。为了避免一个令牌对应多个终端的现象,服务器侧常常定期对令牌进行更新,并向终端下发新令牌,以便终端使用新令牌访问服务器。In the prior art, users may use ghost software to clone multiple systems that are identical to known systems. Therefore, there may be a phenomenon that multiple terminals contain the same token, and multiple terminals can successfully access the server using the same token. . In order to avoid the phenomenon that one token corresponds to multiple terminals, the server side often updates the token regularly, and issues a new token to the terminal, so that the terminal can use the new token to access the server.

但是现有技术中却常常存在以下问题:当服务器向终端下发新令牌后,终端可能没有接收到该新令牌,或者虽然成功接收新令牌,但是却保存失败。在这种情况下,终端在向服务器发送数据请求时,会携带本地存储的原始令牌向服务器发送数据请求,而原始令牌已经失效,从而终端无法成功获得与该数据请求对应的数据响应。由此可知,如何在终端保存新令牌失败的情况下,仍保证该终端能够成功访问服务器是当今一大难题。However, there are often the following problems in the prior art: after the server issues a new token to the terminal, the terminal may not receive the new token, or the new token is successfully received but fails to be saved. In this case, when the terminal sends a data request to the server, it will carry the locally stored original token to send the data request to the server, but the original token has expired, so the terminal cannot successfully obtain the data response corresponding to the data request. It can be seen that how to ensure that the terminal can successfully access the server even when the terminal fails to save the new token is a major problem today.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明提供一种终端利用令牌访问服务器的方法和装置,能够解决现有技术中当终端未成功保存服务器侧下发的新令牌时,无法成功访问服务器的问题。In view of this, the present invention provides a method and device for a terminal to access a server using a token, which can solve the problem in the prior art that the terminal cannot successfully access the server when the new token issued by the server side is not successfully saved.

一方面,本发明提供了一种终端利用令牌访问服务器的方法,所述方法包括:In one aspect, the present invention provides a method for a terminal to access a server using a token, the method comprising:

在生成原始令牌对应的新令牌后,将所述新令牌设置为候补令牌,所述令牌用于唯一标识终端,且所述令牌为终端访问服务器时所需要的访问凭证;After generating a new token corresponding to the original token, the new token is set as a candidate token, the token is used to uniquely identify the terminal, and the token is the access credential required for the terminal to access the server;

向终端发送所述候补令牌;sending the candidate token to the terminal;

若接收到所述终端发送的确认字符,则将所述候补令牌替换所述原始令牌作为有效令牌,以便所述终端利用所述候补令牌能够成功访问服务器,所述确认字符用于指示所述终端已成功保存所述候补令牌;If a confirmation character sent by the terminal is received, the original token is replaced by the candidate token as a valid token, so that the terminal can successfully access the server by using the candidate token, and the confirmation character is used for indicating that the terminal has successfully saved the candidate token;

若未接收到所述终端发送的确认字符,则保留所述原始令牌的有效性,以便所述终端利用所述原始令牌能够成功访问所述服务器。If the confirmation character sent by the terminal is not received, the validity of the original token is retained, so that the terminal can successfully access the server by using the original token.

另一方面,本发明提供了一种终端利用令牌访问服务器的装置,所述装置包括:In another aspect, the present invention provides an apparatus for a terminal to access a server using a token, the apparatus comprising:

设置单元,用于在生成原始令牌对应的新令牌后,将所述新令牌设置为候补令牌,所述令牌用于唯一标识终端,且所述令牌为终端访问服务器时所需要的访问凭证;The setting unit is configured to set the new token as a candidate token after generating a new token corresponding to the original token, the token is used to uniquely identify the terminal, and the token is used when the terminal accesses the server required access credentials;

发送单元,用于向终端发送所述设置单元设置的所述候补令牌;a sending unit, configured to send the candidate token set by the setting unit to a terminal;

替换单元,用于当接收到所述终端发送的确认字符时,将所述候补令牌替换所述原始令牌作为有效令牌,以便所述终端利用所述候补令牌能够成功访问服务器,所述确认字符用于指示所述终端已成功保存所述候补令牌;a replacement unit, configured to replace the original token with the candidate token as a valid token when receiving the confirmation character sent by the terminal, so that the terminal can successfully access the server by using the candidate token, so The confirmation character is used to indicate that the terminal has successfully saved the candidate token;

保留单元,用于当未接收到所述终端发送的确认字符时,保留所述原始令牌的有效性,以便所述终端利用所述原始令牌能够成功访问所述服务器。A retention unit, configured to retain the validity of the original token when the confirmation character sent by the terminal is not received, so that the terminal can successfully access the server by using the original token.

借由上述技术方案,本发明提供的终端利用令牌访问服务器的方法和装置,能够在生成原始令牌对应的新令牌后,先将该新令牌设置为候补令牌,再向终端发送该候补令牌,若接收到终端发送的确认字符,则可确定终端已成功保存候补令牌,并将候补令牌替换原始令牌作为有效令牌,以便终端利用候补令牌能够成功访问服务器,而若未接收到终端发送的确认字符,则可确定终端未成功保存候补令牌,并依然保留原始令牌的有效性,以便终端利用原始令牌能够成功访问服务器。由此可知,与现有技术中直接将新令牌作为有效令牌相比,本发明在确保终端成功保存新令牌后才将新令牌作为有效令牌,而在终端未成功保存新令牌时,依然将原始令牌作为有效令牌,从而保证了终端侧存储的有效令牌与服务器侧存储的有效令牌相同,进而在终端未成功保存新令牌时,也能保证终端成功访问服务器。With the above technical solutions, the method and device for accessing a server by a terminal using a token provided by the present invention can, after generating a new token corresponding to the original token, first set the new token as a candidate token, and then send the new token to the terminal. If the candidate token receives the confirmation character sent by the terminal, it can be determined that the terminal has successfully saved the candidate token, and the candidate token is replaced with the original token as a valid token, so that the terminal can successfully access the server by using the candidate token, However, if the confirmation character sent by the terminal is not received, it can be determined that the terminal has not successfully saved the candidate token, and the validity of the original token is still retained, so that the terminal can successfully access the server by using the original token. It can be seen that, compared with the prior art, when the new token is directly used as a valid token, the present invention only uses the new token as a valid token after ensuring that the terminal successfully saves the new token. The original token is still used as a valid token, thus ensuring that the valid token stored on the terminal side is the same as the valid token stored on the server side, and further, when the terminal fails to save the new token, it can also ensure that the terminal successfully accesses server.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了本发明实施例提供的一种终端利用令牌访问服务器的方法的流程图;1 shows a flowchart of a method for a terminal to access a server by using a token provided by an embodiment of the present invention;

图2示出了本发明实施例提供的一种终端利用令牌访问服务器的装置的组成框图;FIG. 2 shows a block diagram of a composition of an apparatus for a terminal to access a server using a token provided by an embodiment of the present invention;

图3示出了本发明实施例提供的另一种终端利用令牌访问服务器的装置的组成框图。FIG. 3 shows a block diagram of another apparatus for a terminal to access a server by using a token provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

本发明实施例提供了一种终端利用令牌访问服务器的方法,该方法主要应用于服务器侧,如图1所示,该方法主要包括:An embodiment of the present invention provides a method for a terminal to access a server by using a token. The method is mainly applied to the server side. As shown in FIG. 1 , the method mainly includes:

101、在生成原始令牌对应的新令牌后,将新令牌设置为候补令牌。101. After generating a new token corresponding to the original token, set the new token as a candidate token.

其中,令牌用于唯一标识终端,且令牌为终端访问服务器时所需要的访问凭证。在实际应用中,当终端第一次访问服务器时,会通过申请令牌的API(ApplicationProgramming Interface,应用程序编程接口)向服务器发送令牌请求,服务器接收到令牌请求后,能够从令牌请求中获取终端的终端信息,并根据终端信息、当前时间以及其他信息,生成一个能够唯一标识该终端的令牌,并将生成的令牌反馈给对应的终端,以便终端利用令牌访问服务器。也就是说,服务器可以通过令牌来验证终端是否为合法,从而避免非法终端入侵服务器。The token is used to uniquely identify the terminal, and the token is the access credential required by the terminal to access the server. In practical applications, when the terminal accesses the server for the first time, it will send a token request to the server through the API (Application Programming Interface) that applies for the token. After the server receives the token request, it can request the token from the token. Obtain the terminal information of the terminal, and generate a token that can uniquely identify the terminal according to the terminal information, current time and other information, and feed back the generated token to the corresponding terminal, so that the terminal can use the token to access the server. That is to say, the server can verify whether the terminal is legitimate through the token, so as to prevent illegal terminals from invading the server.

由于存在ghost系统的情况,所以服务器会定期更新令牌,避免ghost系统对应的终端使用原始系统对应的终端中的令牌成功访问服务器。本步骤中,当生成原始令牌对应的新令牌后,终端可以将新令牌设置为候补令牌,即将新令牌作为原始令牌的候补令牌,以便在后续终端成功保存新令牌后,再将新令牌替换原始令牌作为有效令牌。Due to the existence of the ghost system, the server will periodically update the token to prevent the terminal corresponding to the ghost system from successfully accessing the server using the token in the terminal corresponding to the original system. In this step, after generating a new token corresponding to the original token, the terminal can set the new token as a candidate token, that is, the new token is used as a candidate token of the original token, so that the new token can be successfully saved in the subsequent terminal After that, replace the original token with the new token as a valid token.

其中,终端信息包括IP(Internet Protocol Address,网间协议)地址、MAC(MediaAccess Control,媒体访问控制)地址以及用户名等信息。令牌可以为32位的哈希值,且原始令牌为当前有效令牌。The terminal information includes information such as an IP (Internet Protocol Address, Internet Protocol) address, a MAC (Media Access Control, media access control) address, and a user name. The token can be a 32-bit hash value, and the original token is the current valid token.

102、向终端发送候补令牌。102. Send the candidate token to the terminal.

具体的,当服务器第一次生成某终端对应的令牌时,会记录该令牌与该终端的终端信息的对应关系。当获得原始令牌对应的候补令牌时,服务器会从候补令牌对应的终端信息中获取终端的IP地址和MAC地址,并向对应IP地址和MAC地址的终端发送该候补令牌,以便终端更新本地存储的原始令牌。Specifically, when the server generates a token corresponding to a terminal for the first time, the corresponding relationship between the token and the terminal information of the terminal is recorded. When obtaining the candidate token corresponding to the original token, the server will obtain the IP address and MAC address of the terminal from the terminal information corresponding to the candidate token, and send the candidate token to the terminal corresponding to the IP address and MAC address, so that the terminal can Update the original token stored locally.

103、若接收到终端发送的确认字符,则将候补令牌替换原始令牌作为有效令牌,以便终端利用候补令牌能够成功访问服务器。103. If the confirmation character sent by the terminal is received, replace the original token with the candidate token as a valid token, so that the terminal can successfully access the server by using the candidate token.

其中,ACK(Acknowledgement,确认字符)用于指示终端已成功保存候补令牌。在实际应用中,ACK中可以为包含候补令牌以及成功保存候补令牌的标识。The ACK (Acknowledgement, confirmation character) is used to indicate that the terminal has successfully saved the candidate token. In practical applications, the ACK may contain the candidate token and the identifier of the successfully saved candidate token.

具体的,当服务器接收到终端发送的确认字符时,可以确定该终端已成功保存候补令牌,并且该终端后续会利用该候补令牌访问服务器。此时,服务器可以将候补令牌替换原始令牌作为有效令牌,从而保证服务器侧与终端侧存储的有效令牌均为候补令牌,进而该终端利用候补令牌访问服务器时,服务器验证该候补令牌正确,由此该终端可成功访问服务器。Specifically, when the server receives the confirmation character sent by the terminal, it can be determined that the terminal has successfully saved the candidate token, and the terminal will use the candidate token to access the server subsequently. At this time, the server can replace the original token with the candidate token as a valid token, so as to ensure that the valid tokens stored on the server side and the terminal side are all candidate tokens, and when the terminal uses the candidate token to access the server, the server verifies the valid token. The alternate token is correct, so the terminal can successfully access the server.

104、若未接收到终端发送的确认字符,则保留原始令牌的有效性,以便终端利用原始令牌能够成功访问服务器。104. If the confirmation character sent by the terminal is not received, the validity of the original token is retained, so that the terminal can successfully access the server by using the original token.

具体的,当服务器在预设时间段内未接收到终端发送的确认字符时,可以确定该终端未成功保存候补令牌(包括未接收到服务器发送的候补令牌以及虽接收到候补令牌却未成功保存到本地两种情况),并且该终端后续依然会利用原始令牌访问服务器。此时,服务器可以保留原始令牌的有效性,而候补令牌依然为无效令牌,并起候补作用,从而保证服务器侧与终端侧存储的有效令牌均为原始令牌,进而该终端利用原始令牌访问服务器时,服务器验证该原始令牌正确,由此该终端可成功访问服务器。Specifically, when the server does not receive the confirmation character sent by the terminal within the preset time period, it can be determined that the terminal has not successfully saved the candidate token (including not receiving the candidate token sent by the server and having received the candidate token but It is not successfully saved to the local two cases), and the terminal will still use the original token to access the server in the future. At this time, the server can retain the validity of the original token, while the candidate token is still invalid and plays a candidate role, so as to ensure that the valid tokens stored on the server side and the terminal side are all original tokens, and then the terminal uses When the original token accesses the server, the server verifies that the original token is correct, so that the terminal can successfully access the server.

本发明实施例提供的终端利用令牌访问服务器的方法,能够在生成原始令牌对应的新令牌后,先将该新令牌设置为候补令牌,再向终端发送该候补令牌,若接收到终端发送的确认字符,则可确定终端已成功保存候补令牌,并将候补令牌替换原始令牌作为有效令牌,以便终端利用候补令牌能够成功访问服务器,而若未接收到终端发送的确认字符,则可确定终端未成功保存候补令牌,并依然保留原始令牌的有效性,以便终端利用原始令牌能够成功访问服务器。由此可知,与现有技术中直接将新令牌作为有效令牌相比,本发明在确保终端成功保存新令牌后才将新令牌作为有效令牌,而在终端未成功保存新令牌时,依然将原始令牌作为有效令牌,从而保证了终端侧存储的有效令牌与服务器侧存储的有效令牌相同,进而在终端未成功保存新令牌时,也能保证终端成功访问服务器。The method for accessing a server by a terminal using a token provided by the embodiment of the present invention can, after generating a new token corresponding to the original token, first set the new token as a candidate token, and then send the candidate token to the terminal. After receiving the confirmation character sent by the terminal, it can be determined that the terminal has successfully saved the candidate token, and the candidate token is replaced by the original token as a valid token, so that the terminal can successfully access the server by using the candidate token, and if the terminal does not receive the If the confirmation character is sent, it can be determined that the terminal has not successfully saved the candidate token, and the validity of the original token is still retained, so that the terminal can successfully access the server by using the original token. It can be seen that, compared with the prior art, when the new token is directly used as a valid token, the present invention only uses the new token as a valid token after ensuring that the terminal successfully saves the new token. The original token is still used as a valid token, thus ensuring that the valid token stored on the terminal side is the same as the valid token stored on the server side, and further, when the terminal fails to save the new token, it can also ensure that the terminal successfully accesses server.

进一步的,当服务器确定终端未成功保存候补令牌时,依然将原始令牌作为当前有效令牌,但是也会再次向终端发送候补令牌,以便终端及时更新本地令牌。在实际应用中,再次向终端发送候补令牌的实现方式主要可以分为以下两种:Further, when the server determines that the terminal has not successfully saved the candidate token, it still takes the original token as the current valid token, but also sends the candidate token to the terminal again, so that the terminal can update the local token in time. In practical applications, the implementation of sending the candidate token to the terminal again can be mainly divided into the following two ways:

方式一:服务器接收终端发送的携带原始令牌的数据请求,并根据数据请求,向终端发送携带候补令牌的数据响应,以便终端再次保存候补令牌。Manner 1: The server receives the data request carrying the original token sent by the terminal, and sends a data response carrying the candidate token to the terminal according to the data request, so that the terminal can save the candidate token again.

具体的,当终端未成功保存候补令牌时,后续依然会利用原始令牌访问服务器。当服务器接收到终端发送的携带原始令牌的数据请求后,由于服务器本地存储的有效令牌为原始令牌,所以数据请求中携带的令牌正确。但是为了让终端及时更新本地令牌,服务器在根据数据请求向终端发送数据响应时,除了向终端发送其所请求的内容(例如病毒库)外,还可以向终端发送候补令牌,以便通知终端将本地令牌更新为候补令牌。若终端成功保存候补令牌,则终端会向服务器发送确认字符,以便服务器将候补令牌设置为有效令牌;若终端未成功保存候补令牌,则终端不会向服务器发送确认字符,以便服务器依然将原始令牌作为有效令牌。Specifically, when the terminal fails to save the candidate token, it will still use the original token to access the server in the future. After the server receives the data request carrying the original token sent by the terminal, since the valid token stored locally by the server is the original token, the token carried in the data request is correct. However, in order to allow the terminal to update the local token in time, when the server sends a data response to the terminal according to the data request, in addition to sending the requested content (such as a virus database) to the terminal, it can also send an alternate token to the terminal to notify the terminal. Update the local token to an alternate token. If the terminal successfully saves the candidate token, the terminal will send a confirmation character to the server so that the server can set the candidate token as a valid token; if the terminal fails to save the candidate token successfully, the terminal will not send a confirmation character to the server, so that the server can Still have the original token as a valid token.

方式二:服务器向终端再次发送候补令牌,直至接收到终端发送的确认字符,将候补令牌替换原始令牌作为有效令牌。Mode 2: The server sends the candidate token to the terminal again, and replaces the original token with the candidate token as a valid token until the confirmation character sent by the terminal is received.

具体的,若服务器在预设时间段内未接收到终端发送的确认字符,则服务器可以确定终端未成功保存候补令牌。在这种情况下,服务器可以再次向终端发送候补令牌,以便终端再次保存候补令牌,直至服务器接收到终端发送的确认字符,服务器才可确定终端成功保存候补令牌,并且在接收到确认字符后,才将候补令牌替换原始令牌作为有效令牌。Specifically, if the server does not receive the confirmation character sent by the terminal within the preset time period, the server may determine that the terminal has not successfully saved the candidate token. In this case, the server can send the candidate token to the terminal again, so that the terminal can save the candidate token again. Until the server receives the confirmation character sent by the terminal, the server can determine that the terminal has successfully saved the candidate token, and after receiving the confirmation characters before replacing the original token with the alternate token as a valid token.

进一步的,上述步骤103中提及的将候补令牌替换原始令牌作为有效令牌的具体实现方式可以为:服务器为候补令牌添加有效标识;删除原始令牌,或者将原始令牌携带的有效标识更换为无效标识。Further, the specific implementation of replacing the original token with the candidate token as a valid token mentioned in the above step 103 may be: the server adds a valid identifier to the candidate token; deletes the original token, or uses the original token to carry the Valid IDs are replaced with invalid IDs.

具体的,当服务器接收到终端发送的确认字符后,可以确定该终端已成功保存其发送的候补令牌,且后续该终端会利用该候补令牌来访问服务器。因此,服务器可以为候补令牌添加有效标识,并清除原始令牌的有效性。其中,清除原始令牌的有效性可以有两种方法:(1)直接将原始令牌删除,只保留候补令牌;(2)保留原始令牌,但需要将原始令牌的有效标识更换为无效标识。Specifically, after the server receives the confirmation character sent by the terminal, it can be determined that the terminal has successfully saved the candidate token sent by the terminal, and subsequently the terminal will use the candidate token to access the server. Therefore, the server can add a valid identifier to the alternate token and clear the validity of the original token. Among them, there are two ways to clear the validity of the original token: (1) delete the original token directly, and only keep the candidate token; (2) keep the original token, but need to replace the valid identifier of the original token with Invalid ID.

进一步的,服务器侧生成原始令牌对应的新令牌的具体实现方式可以为:服务器查找原始令牌对应的终端的终端信息,并根据终端信息以及当前时间,生成原始令牌对应的新令牌。Further, the specific implementation manner of generating the new token corresponding to the original token on the server side may be as follows: the server searches for terminal information of the terminal corresponding to the original token, and generates a new token corresponding to the original token according to the terminal information and the current time. .

具体的,由于每个终端对应的令牌不同,所以当生成某终端对应的令牌时,服务器会记录令牌与终端信息的对应关系,以便后续验证令牌是否正确,以及根据原始令牌对应的终端信息以及当前时间,生成原始令牌对应的新令牌。Specifically, since the tokens corresponding to each terminal are different, when a token corresponding to a terminal is generated, the server will record the corresponding relationship between the token and the terminal information, so as to verify whether the token is correct in the future, and according to the original token corresponding terminal information and current time to generate a new token corresponding to the original token.

进一步的,依据上述方法实施例,本发明的另一个实施例还提供了一种终端利用令牌访问服务器的装置,如图2所示,该装置主要包括:设置单元21、发送单元22、替换单元23和保留单元24。其中,Further, according to the above method embodiment, another embodiment of the present invention also provides a device for a terminal to access a server using a token. As shown in FIG. 2 , the device mainly includes: a setting unit 21 , a sending unit 22 , a replacement unit 23 and reserved unit 24. in,

设置单元21,用于在生成原始令牌对应的新令牌后,将新令牌设置为候补令牌,令牌用于唯一标识终端,且令牌为终端访问服务器时所需要的访问凭证;The setting unit 21 is used to set the new token as a candidate token after generating the new token corresponding to the original token, the token is used to uniquely identify the terminal, and the token is the access credential required when the terminal accesses the server;

发送单元22,用于向终端发送设置单元21设置的候补令牌;The sending unit 22 is configured to send the candidate token set by the setting unit 21 to the terminal;

替换单元23,用于当接收到终端发送的确认字符时,将候补令牌替换原始令牌作为有效令牌,以便终端利用候补令牌能够成功访问服务器,确认字符用于指示终端已成功保存候补令牌;The replacement unit 23 is configured to replace the original token with the candidate token as a valid token when receiving the confirmation character sent by the terminal, so that the terminal can successfully access the server by using the candidate token, and the confirmation character is used to indicate that the terminal has successfully saved the candidate token token;

保留单元24,用于当未接收到终端发送的确认字符时,保留原始令牌的有效性,以便终端利用原始令牌能够成功访问服务器。The retention unit 24 is configured to retain the validity of the original token when the confirmation character sent by the terminal is not received, so that the terminal can successfully access the server by using the original token.

本发明实施例提供的终端利用令牌访问服务器的装置,能够在生成原始令牌对应的新令牌后,先将该新令牌设置为候补令牌,再向终端发送该候补令牌,若接收到终端发送的确认字符,则可确定终端已成功保存候补令牌,并将候补令牌替换原始令牌作为有效令牌,以便终端利用候补令牌能够成功访问服务器,而若未接收到终端发送的确认字符,则可确定终端未成功保存候补令牌,并依然保留原始令牌的有效性,以便终端利用原始令牌能够成功访问服务器。由此可知,与现有技术中直接将新令牌作为有效令牌相比,本发明在确保终端成功保存新令牌后才将新令牌作为有效令牌,而在终端未成功保存新令牌时,依然将原始令牌作为有效令牌,从而保证了终端侧存储的有效令牌与服务器侧存储的有效令牌相同,进而在终端未成功保存新令牌时,也能保证终端成功访问服务器。The device for a terminal to access a server using a token provided by the embodiment of the present invention can, after generating a new token corresponding to the original token, first set the new token as a candidate token, and then send the candidate token to the terminal. After receiving the confirmation character sent by the terminal, it can be determined that the terminal has successfully saved the candidate token, and the candidate token is replaced by the original token as a valid token, so that the terminal can successfully access the server by using the candidate token, and if the terminal does not receive the If the confirmation character is sent, it can be determined that the terminal has not successfully saved the candidate token, and the validity of the original token is still retained, so that the terminal can successfully access the server by using the original token. It can be seen that, compared with the prior art, when the new token is directly used as a valid token, the present invention only uses the new token as a valid token after ensuring that the terminal successfully saves the new token. The original token is still used as a valid token, thus ensuring that the valid token stored on the terminal side is the same as the valid token stored on the server side, and further, when the terminal fails to save the new token, it can also ensure that the terminal successfully accesses server.

进一步的,如图3所示,该装置还包括:Further, as shown in Figure 3, the device also includes:

接收单元25,用于在若未接收到终端发送的确认字符,则保留原始令牌的有效性之后,接收终端发送的携带原始令牌的数据请求;The receiving unit 25 is configured to receive a data request carrying the original token sent by the terminal after retaining the validity of the original token if the confirmation character sent by the terminal is not received;

发送单元22,还用于根据接收单元25接收的数据请求,向终端发送携带候补令牌的数据响应,以便终端再次保存候补令牌。The sending unit 22 is further configured to send a data response carrying the candidate token to the terminal according to the data request received by the receiving unit 25, so that the terminal can save the candidate token again.

进一步的,发送单元22,还用于在若未接收到终端发送的确认字符,则保留原始令牌的有效性之后,向终端再次发送候补令牌,直至接收到终端发送的确认字符,将候补令牌替换原始令牌作为有效令牌。Further, the sending unit 22 is further configured to send the candidate token to the terminal again after retaining the validity of the original token if the confirmation character sent by the terminal is not received, until the confirmation character sent by the terminal is received, and the candidate token is sent to the terminal. The token replaces the original token as a valid token.

进一步的,如图3所示,替换单元23,包括:Further, as shown in Figure 3, the replacement unit 23 includes:

添加模块231,用于为候补令牌添加有效标识;The adding module 231 is used to add a valid identifier to the candidate token;

删除模块232,用于删除原始令牌;delete module 232, used to delete the original token;

更换模块233,用于将原始令牌携带的有效标识更换为无效标识。The replacement module 233 is configured to replace the valid ID carried by the original token with an invalid ID.

进一步的,如图3所示,该装置还包括:Further, as shown in Figure 3, the device also includes:

生成单元26,用于生成原始令牌对应的新令牌;a generating unit 26, configured to generate a new token corresponding to the original token;

生成单元26,包括:The generating unit 26 includes:

查找模块261,用于查找原始令牌对应的终端的终端信息;A search module 261, configured to search for terminal information of the terminal corresponding to the original token;

生成模块262,用于根据查找模块261查找到的终端信息以及当前时间,生成原始令牌对应的新令牌。The generating module 262 is configured to generate a new token corresponding to the original token according to the terminal information found by the searching module 261 and the current time.

进一步的,终端信息包括网间协议IP地址、媒体访问控制MAC地址和用户名。Further, the terminal information includes an Internet Protocol IP address, a media access control MAC address and a user name.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

可以理解的是,上述方法及装置中的相关特征可以相互参考。另外,上述实施例中的“第一”、“第二”等是用于区分各实施例,而并不代表各实施例的优劣。It can be understood that the relevant features in the above-mentioned methods and apparatuses may refer to each other. In addition, "first", "second", etc. in the above-mentioned embodiments are used to distinguish each embodiment, and do not represent the advantages and disadvantages of each embodiment.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

上述终端利用令牌访问服务器的装置包括存储器和处理器,上述设置单元、发送单元、替换单元和保留单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The device for the above-mentioned terminal to use the token to access the server includes a memory and a processor. The above-mentioned setting unit, sending unit, replacement unit, and retention unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory. implement the corresponding function.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or its description. This disclosure, however, should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will appreciate that although some of the embodiments described herein include certain features, but not others, included in other embodiments, that combinations of features of different embodiments are intended to be within the scope of the invention within and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的随身电子防丢设备的状态检测方法、设备、服务器及系统设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement the state detection method, device, server and system device for a portable electronic anti-lost device according to the embodiments of the present invention Some or all of the functionality of some or all of the components. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

Claims (6)

1. A method for a terminal to access a server by using a token, the method comprising:
after generating a new token corresponding to an original token, setting the new token as a candidate token, wherein the token is used for uniquely identifying a terminal and is an access certificate required by the terminal when the terminal accesses a server;
generating a new token corresponding to the original token specifically includes: when a terminal accesses a server for the first time, a token request is sent to the server through an application programming interface applying for the token, the server can acquire terminal information of the terminal from the token request after receiving the token request, and a token capable of uniquely identifying the terminal is generated according to at least the terminal information and the current time;
sending the candidate token to a terminal;
if a confirmation character sent by the terminal is received, replacing the original token with the candidate token to be a valid token so that the terminal can successfully access the server by using the candidate token, wherein the confirmation character is used for indicating that the terminal successfully stores the candidate token, and is an identifier comprising the candidate token and the successfully stored candidate token;
wherein, the replacing the original token with the candidate token as the valid token specifically includes: adding a valid identifier to the candidate token; replacing the effective identification carried by the original token with an invalid identification;
if the confirmation character sent by the terminal is not received, the validity of the original token is reserved so that the terminal can successfully access the server by using the original token;
receiving a data request carrying the original token and sent by the terminal, and sending a data response carrying the candidate token to the terminal according to the data request so that the terminal can store the candidate token again; and/or the presence of a gas in the gas,
and sending the candidate token to the terminal again until a confirmation character sent by the terminal is received, and replacing the original token with the candidate token to be used as a valid token.
2. The method of claim 1, wherein generating a new token corresponding to the original token comprises:
searching terminal information of a terminal corresponding to the original token;
and generating a new token corresponding to the original token according to the terminal information and the current time.
3. The method of claim 2, wherein the terminal information comprises an Internet Protocol (IP) address, a Media Access Control (MAC) address, and a user name.
4. An apparatus for a terminal to access a server using a token, the apparatus comprising:
the setting unit is used for setting a new token corresponding to an original token as a candidate token after the new token is generated, wherein the token is used for uniquely identifying a terminal and is an access certificate required by the terminal when the terminal accesses a server;
generating a new token corresponding to the original token specifically includes: when a terminal accesses a server for the first time, a token request is sent to the server through an application programming interface applying for the token, the server can acquire terminal information of the terminal from the token request after receiving the token request, and a token capable of uniquely identifying the terminal is generated according to at least the terminal information and the current time;
a transmission unit configured to transmit the candidate token set by the setting unit to a terminal;
a replacing unit, configured to replace the original token with the candidate token as a valid token when receiving a confirmation character sent by the terminal, so that the terminal can successfully access the server by using the candidate token, where the confirmation character is used to indicate that the terminal has successfully saved the candidate token, and the confirmation character is an identifier that includes the candidate token and the successfully saved candidate token;
the replacement unit includes: an adding module, configured to add a valid identifier to the candidate token; the replacing module is used for replacing the effective identification carried by the original token with the invalid identification;
the reservation unit is used for reserving the validity of the original token when the confirmation character sent by the terminal is not received so that the terminal can successfully access the server by using the original token;
the receiving unit is used for receiving a data request carrying the original token sent by the terminal after the validity of the original token is reserved if the confirmation character sent by the terminal is not received;
the sending unit is further configured to send a data response carrying the candidate token to the terminal according to the data request received by the receiving unit, so that the terminal stores the candidate token again;
the sending unit is further configured to, after the validity of the original token is retained if the confirmation character sent by the terminal is not received, send the candidate token to the terminal again until the confirmation character sent by the terminal is received, and replace the original token with the candidate token as a valid token.
5. The apparatus of claim 4, further comprising:
the generating unit is used for generating a new token corresponding to the original token;
the generation unit includes:
the searching module is used for searching the terminal information of the terminal corresponding to the original token;
and the generating module is used for generating a new token corresponding to the original token according to the terminal information searched by the searching module and the current time.
6. The apparatus of claim 5, wherein the terminal information comprises an Internet Protocol (IP) address, a Media Access Control (MAC) address, and a user name.
CN201510959278.6A 2015-12-18 2015-12-18 Method and device for terminal to access server by using token Active CN105592083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510959278.6A CN105592083B (en) 2015-12-18 2015-12-18 Method and device for terminal to access server by using token

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510959278.6A CN105592083B (en) 2015-12-18 2015-12-18 Method and device for terminal to access server by using token

Publications (2)

Publication Number Publication Date
CN105592083A CN105592083A (en) 2016-05-18
CN105592083B true CN105592083B (en) 2020-06-12

Family

ID=55931297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510959278.6A Active CN105592083B (en) 2015-12-18 2015-12-18 Method and device for terminal to access server by using token

Country Status (1)

Country Link
CN (1) CN105592083B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302546B (en) * 2016-10-18 2019-09-13 青岛海信电器股份有限公司 The method and apparatus for realizing server access
CN114745133B (en) * 2018-03-27 2024-09-17 杭州蚂蚁聚慧网络技术有限公司 Method and device for identifying equipment uniqueness
CN108809991A (en) * 2018-06-15 2018-11-13 北京云枢网络科技有限公司 A method of the client side verification based on SDK dynamic watermarks
CN109802941A (en) * 2018-12-14 2019-05-24 平安科技(深圳)有限公司 A kind of login validation method, device, storage medium and server
CN114710295A (en) * 2022-05-05 2022-07-05 阿波罗智联(北京)科技有限公司 Token updating method, device, electronic equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064695A (en) * 2007-05-16 2007-10-31 杭州看吧科技有限公司 P2P(Peer to Peer) safe connection method
CN104660641A (en) * 2013-11-25 2015-05-27 中国直升机设计研究所 Data transmission method in enterprise network

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488179A (en) * 2008-01-18 2009-07-22 华为技术有限公司 Authentication method and apparatus for wireless radio frequency recognition system
CN101729568B (en) * 2009-12-11 2012-08-08 北京交通大学 Safety access system and method for guaranteeing source address authenticity by using token mechanism
CN102378170B (en) * 2010-08-27 2014-12-10 中国移动通信有限公司 Method, device and system of authentication and service calling
CN104980925B (en) * 2015-06-01 2019-05-28 走遍世界(北京)信息技术有限公司 The authentication method and device of user's request

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064695A (en) * 2007-05-16 2007-10-31 杭州看吧科技有限公司 P2P(Peer to Peer) safe connection method
CN104660641A (en) * 2013-11-25 2015-05-27 中国直升机设计研究所 Data transmission method in enterprise network

Also Published As

Publication number Publication date
CN105592083A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
EP3092775B1 (en) Method and system for determining whether a terminal logging into a website is a mobile terminal
CN105592083B (en) Method and device for terminal to access server by using token
CN106302308B (en) A trusted login method and device
JP6514699B2 (en) Facilitates third party execution of batch processing of requests that require authorization from the resource owner for repeated access to the resource
TWI706648B (en) Method and device for verifying validity of source address
CN103139172B (en) A kind of service implementation method and device
US10050899B2 (en) Data processing method, apparatus, client, server and system
US11366803B2 (en) Method for providing relational decentralized identifier service and blockchain node using the same
CN104158818B (en) A kind of single-point logging method and system
CN105450730A (en) Method and apparatus for processing request from client
US11277404B2 (en) System and data processing method
CN109802919B (en) Web page access interception method and device
CN103501331B (en) Data transmission method, data transmission equipment and data transmission system
CN104901925A (en) End-user identity authentication method, device and system and terminal device
CN108494755B (en) Method and device for transmitting Application Programming Interface (API) request
CN105337961A (en) Method for communication with client side and server
WO2018161807A1 (en) User identity verification method and apparatus
TW201510761A (en) Method and apparatus of downloading and installing a client
CN105337990A (en) User identity verification method and device
TWI516965B (en) File sharing method and file sharing system utilizing the same
CN104572907A (en) Business object acquisition method and device
CN108173839A (en) Rights management method and system
CN105554136B (en) Backup data restoration method, device and system
CN107566329A (en) A kind of access control method and device
CN104618388A (en) Quick registration and login method and corresponding reset server and information server

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