TWI692990B - Smart device binding method, device and system, communication system - Google Patents

Smart device binding method, device and system, communication system Download PDF

Info

Publication number
TWI692990B
TWI692990B TW107118446A TW107118446A TWI692990B TW I692990 B TWI692990 B TW I692990B TW 107118446 A TW107118446 A TW 107118446A TW 107118446 A TW107118446 A TW 107118446A TW I692990 B TWI692990 B TW I692990B
Authority
TW
Taiwan
Prior art keywords
identification
user
server
smart
device identification
Prior art date
Application number
TW107118446A
Other languages
Chinese (zh)
Other versions
TW201914354A (en
Inventor
孫健康
王林青
林鋒
Original Assignee
香港商阿里巴巴集團服務有限公司
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 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201914354A publication Critical patent/TW201914354A/en
Application granted granted Critical
Publication of TWI692990B publication Critical patent/TWI692990B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6263Protecting personal data, e.g. for financial or medical purposes during internet communication, e.g. revealing personal data from cookies

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本發明公開了一種智能設備的綁定方法、裝置和系統、通訊系統,該方法包括:使用者終端獲取智能設備的第一設備標識以及使用者標識;所述使用者終端向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識,並將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。The invention discloses a binding method, device and system of a smart device, and a communication system. The method includes: a user terminal obtains a first device identification and a user identification of the smart device; the user terminal sends a request to the server, The request includes the first device ID and the user ID; the server generates a second device ID according to the first device ID and the user ID in the request, and converts The second device identification is bound to the first device identification and the user identification.

Description

智能設備的綁定方法、裝置和系統、通訊系統Smart device binding method, device and system, communication system

本發明涉及物聯網技術領域,尤其涉及一種智能設備的綁定方法、裝置和系統、通訊系統。The present invention relates to the field of Internet of Things technology, and in particular, to a binding method, device and system of a smart device, and a communication system.

物聯網是新一代資訊技術的重要組成部分,也是資訊化時代的重要發展階段。在物聯網系統中,通常可以包括伺服器、智能設備和使用者終端,其中,伺服器可以將智能設備與使用者終端對應的使用者標識進行綁定,使得智能設備可以在與使用者標識進行綁定的基礎上與伺服器進行通訊,實現與伺服器之間的資料交互。   通常,伺服器在將智能設備與使用者標識進行綁定時,可以將智能設備的設備標識與使用者標識進行綁定。然而,在實際應用中,智能設備的設備標識容易被非法使用者獲取得到,這樣,非法使用者可以藉由該設備標識進一步獲取得到使用者的使用者資訊,導致使用者資訊洩露,安全性較低。The Internet of Things is an important part of the new generation of information technology and an important stage of development in the information age. In the Internet of Things system, it can usually include a server, a smart device, and a user terminal, where the server can bind the smart device to the user identification corresponding to the user terminal, so that the smart device can perform On the basis of binding, it communicates with the server to realize data interaction with the server.   Generally, when the server binds the smart device to the user ID, the server can bind the device ID of the smart device to the user ID. However, in practical applications, the device identification of smart devices is easily obtained by illegal users. In this way, illegal users can further obtain user information of the user through the device identification, resulting in leakage of user information and higher security. low.

本發明實施例提供一種智能設備的綁定方法、裝置和系統、通訊系統,用於解決現有技術中在將智能設備與使用者標識進行綁定時,使用者資訊存在被洩露的風險,安全性較低的問題。   為解決上述技術問題,本發明實施例是這樣實現的:   第一方面,提出一種智能設備的綁定方法,該方法包括:   使用者終端獲取智能設備的第一設備標識以及使用者標識;   所述使用者終端向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識,並將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   第二方面,提出一種智能設備的綁定裝置,該裝置包括:   接收單元,接收使用者終端發送的請求,所述請求中包含智能設備的第一設備標識以及使用者標識;   產生單元,根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識;   綁定單元,將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   第三方面,提出一種電子設備,該電子設備包括:   處理器;以及   被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作:   接收使用者終端發送的請求,所述請求中包含智能設備的第一設備標識以及使用者標識;   根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識;   將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   第四方面,提出一種電腦可讀儲存媒體,所述電腦可讀儲存媒體儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下方法:   接收使用者終端發送的請求,所述請求中包含智能設備的第一設備標識以及使用者標識;   根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識;   將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   第五方面,提出一種智能設備的綁定裝置,該裝置包括:   獲取單元,獲取智能設備的第一設備標識以及使用者標識;   發送單元,向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   接收單元,接收所述伺服器返回的第二設備標識,所述第二設備標識由所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識產生,並與第一設備標識以及所述使用者標識綁定。   第六方面,提出一種電子設備,該電子設備包括:   處理器;以及   被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作:   獲取智能設備的第一設備標識以及使用者標識;   向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   接收所述伺服器返回的第二設備標識,所述第二設備標識由所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識產生,並與第一設備標識以及所述使用者標識綁定。   第七方面,提出一種電腦可讀儲存媒體,所述電腦可讀儲存媒體儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下方法:   獲取智能設備的第一設備標識以及使用者標識;   向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   接收所述伺服器返回的第二設備標識,所述第二設備標識由所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識產生,並與第一設備標識以及所述使用者標識綁定。   第八方面,提出一種智能設備的綁定裝置,該裝置包括:   接收單元,接收使用者終端發送的第二設備標識,所述第二設備標識由伺服器根據所述智能設備的第一設備標識以及使用者標識產生,並與所述第一設備標識以及所述使用者標識綁定。   第九方面,提出一種電子設備,該電子設備包括:   處理器;以及   被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作:   接收使用者終端發送的第二設備標識,所述第二設備標識由伺服器根據所述智能設備的第一設備標識以及使用者標識產生,並與所述第一設備標識以及所述使用者標識綁定。   第十方面,提出一種電腦可讀儲存媒體,所述電腦可讀儲存媒體儲存一個或多個程式,所述一個或多個程式當被包括多個應用程式的電子設備執行時,使得所述電子設備執行以下方法:   接收使用者終端發送的第二設備標識,所述第二設備標識由伺服器根據所述智能設備的第一設備標識以及使用者標識產生,並與所述第一設備標識以及所述使用者標識綁定。   第十一方面,提出一種智能設備的綁定系統,該系統包括:智能設備、使用者終端和伺服端,其中:   所述使用者終端,獲取所述智能設備的第一設備標識以及使用者標識,並向所述伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   所述伺服器,根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識,並將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   第十二方面,提出一種智能設備的通訊系統,包括:智能設備、使用者終端和伺服端,其中:   所述使用者終端,獲取所述智能設備的第一設備標識以及使用者標識;將所述第一設備標識以及所述使用者標識發送給所述伺服器;   所述伺服器,根據所述第一設備標識以及所述使用者標識,產生第二設備標識;將所述第二設備標識發送給所述使用者終端;   所述使用者終端,將所述第二設備標識發送給所述智能設備;   所述智能設備,根據所述第二設備標識與所述伺服器進行通訊。   本發明實施例提供的技術方案,使用者終端在將智能設備進行綁定時,獲取智能設備的第一設備標識以及使用者標識;所述使用者終端向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識,並將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。這樣,伺服器藉由產生的設備標識將智能設備與使用者標識進行綁定,可以使得智能設備根據該產生的設備標識與伺服器進行通訊,由於伺服器產生的設備標識不易被非法使用者獲取得到,因此,非法使用者無法進一步獲取得到使用者的使用者資訊,進而可以有效避免使用者資訊的洩露,保證使用者資訊的安全。Embodiments of the present invention provide a binding method, device and system of a smart device, and a communication system, which are used to solve the risk of leakage of user information when binding a smart device and a user ID in the prior art, and security Lower problem. To solve the above technical problems, the embodiments of the present invention are implemented as follows:    In the first aspect, a method for binding a smart device is provided. The method includes:   The user terminal obtains the first device identification and user identification of the smart device; The user terminal sends a request to the server, the request includes the first device identification and the user identification;    the server according to the first device identification and the user identification in the request, Generate a second device identification, and bind the second device identification to the first device identification and the user identification. In a second aspect, a device for binding a smart device is provided. The device includes: a    receiving unit that receives a request sent by a user terminal, where the request includes the first device identification of the smart device and the user identification;    generating unit, based on Generating the second device ID by the first device ID and the user ID in the request;    binding unit, binding the second device ID to the first device ID and the user ID . In a third aspect, an electronic device is proposed, the electronic device comprising: a    processor; and a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to perform the following operations:    receiving user terminal A request sent, the request including the first device identifier and the user identifier of the smart device;    generating a second device identifier based on the first device identifier and the user identifier in the request;   The second device identifier is bound to the first device identifier and the user identifier. According to a fourth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores one or more programs that, when executed by an electronic device including multiple application programs, cause the electronic The device performs the following methods:   Receives a request sent by the user terminal, the request contains the first device identification and user identification of the smart device;   Based on the first device identification and the user identification in the request, generated Second device identification;    binding the second device identification with the first device identification and the user identification. According to a fifth aspect, a device for binding a smart device is provided. The device includes: a    acquisition unit that acquires a first device identification and a user identification of the smart device; and a    sending unit that sends a request to a server, where the request includes the first A device identification and the user identification;    receiving unit, receiving the second device identification returned by the server, the second device identification by the server according to the first device identification and the request The user ID is generated and bound to the first device ID and the user ID. In a sixth aspect, an electronic device is proposed, the electronic device comprising: a    processor; and a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to perform the following operations:    obtain the A first device identification and a user identification;    sends a request to the server, the request contains the first device identification and the user identification;    receives the second device identification returned by the server, the second device The ID is generated by the server according to the first device ID and the user ID in the request, and is bound to the first device ID and the user ID. According to a seventh aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores one or more programs that, when executed by an electronic device including multiple application programs, cause the electronic The device performs the following methods:   Obtain the first device ID and user ID of the smart device;   Send a request to the server, the request contains the first device ID and the user ID;    Receive the first Two device identifications, the second device identification is generated by the server according to the first device identification and the user identification in the request, and is bound to the first device identification and the user identification. According to an eighth aspect, a device for binding a smart device is provided. The device includes: a    receiving unit that receives a second device identification sent by a user terminal, and the second device identification is determined by the server according to the first device identification of the smart device And a user ID are generated and bound to the first device ID and the user ID. In a ninth aspect, an electronic device is provided, the electronic device comprising: a    processor; and a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to perform the following operations:    receiving user terminal The sent second device identification, the second device identification is generated by the server according to the first device identification and the user identification of the smart device, and is bound to the first device identification and the user identification. According to a tenth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores one or more programs that, when executed by an electronic device including multiple application programs, cause the electronic The device performs the following methods:    Receives the second device ID sent by the user terminal, the second device ID is generated by the server according to the first device ID and the user ID of the smart device, and is associated with the first device ID and The user ID is bound. In an eleventh aspect, a binding system for a smart device is proposed. The system includes: a smart device, a user terminal, and a servo terminal, wherein: the user terminal obtains the first device identification and the user identification of the smart device And send a request to the server, the request contains the first device ID and the user ID;    the server, according to the first device ID and the user in the request Identification, generating a second device identification, and binding the second device identification to the first device identification and the user identification. In a twelfth aspect, a communication system for smart devices is proposed, including: a smart device, a user terminal, and a server, wherein:    the user terminal, acquiring the first device identification and user identification of the smart device; Sending the first device identification and the user identification to the server;    the server, generating a second device identification based on the first device identification and the user identification; and identifying the second device identification Send to the user terminal;    the user terminal, send the second device identification to the smart device;    the smart device, communicate with the server according to the second device identification. According to a technical solution provided by an embodiment of the present invention, when a user terminal binds a smart device, the first device identification and the user identification of the smart device are obtained; the user terminal sends a request to the server, the request includes The first device identification and the user identification; the server generates a second device identification according to the first device identification and the user identification in the request, and the second device identification Bind with the first device identification and the user identification. In this way, the server binds the smart device with the user ID through the generated device ID, so that the smart device can communicate with the server according to the generated device ID, because the device ID generated by the server is not easy to be obtained by illegal users Obtained, therefore, illegal users cannot further obtain the user information of the users, which can effectively avoid the leakage of user information and ensure the safety of user information.

在現有的物聯網系統中,伺服器在將智能設備與使用者標識進行綁定時,首先,伺服器接收使用者終端上傳的智能設備的設備標識以及使用者標識;其次,伺服器將該設備標識與該使用者標識進行綁定,並藉由綁定該設備標識與該使用者標識,將智能設備與使用者標識進行綁定。這樣,伺服器在將智能設備與使用者標識進行綁定後,智能設備可以使用該設備標識與伺服器建立連接,實現與伺服器的通訊,進而與伺服器進行資料交互。   然而,在實際應用中,使用者終端上傳的智能設備的設備標識通常為該智能設備在出廠時分配得到的設備標識,很容易被非法使用者獲取得到,這樣,非法使用者一旦獲取到該設備標識,可以藉由非法手段使用該設備標識與伺服器進行通訊,進而與伺服器進行資料交互,並在與伺服器進行資料交互的過程中,可以使用非法手段獲取得到與該智能設備綁定的使用者標識對應的使用者資訊,導致使用者資訊的洩露,使用者資訊安全性較低。   由此可見,現有的物聯網系統中,對智能設備進行綁定的方法存在一定的安全風險。   為了解決上述問題,本發明實施例提供一種智能設備的綁定方法、裝置和系統、通訊系統,該方法包括:使用者終端獲取智能設備的第一設備標識以及使用者標識;所述使用者終端向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識,並將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   這樣,伺服器藉由產生的設備標識將智能設備與使用者標識進行綁定,可以使得智能設備藉由伺服器產生的設備標識與伺服器進行通訊和資料交互,相較於現有技術而言,由於伺服器產生的設備標識不易被非法使用者獲取得到,因此,可以有效避免非法使用者藉由該設備標識與伺服器進行通訊時造成的使用者資訊洩露的問題,進而有效保證使用者資訊的安全。   換句話說,即使非法使用者獲取得到智能設備出廠時分配得到的設備標識,也無法藉由該設備標識與伺服器進行通訊和資料交互,進而可以有效避免使用者資訊的洩露,保證使用者資訊的安全。進一步地,即使非法使用者獲取得到伺服器產生的設備標識,也無法確定該設備標識屬於哪一個智能設備,也就無法藉由該設備標識與伺服器進行通訊和資料交互,這樣,也可以有效避免使用者資訊的洩露,保證使用者資訊的安全。   為了使本技術領域的人員更好地理解本發明中的技術方案,下面將結合本發明實施例中的圖式,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域具有通常知識者在沒有作出創造性勞動前提下所獲得的所有其他實施例,都應當屬於本發明保護的範圍。   本發明實施例提供的技術方案,可以應用於現有的物聯網系統中,並用於將智能設備以及使用者標識進行綁定,此外,使用本發明實施例的技術方案將智能設備與使用者標識進行綁定後,可以有效避免使用者資訊的洩露,進而保證使用者資訊的安全。   其中,所述智能設備可以是具有藍牙功能、近場通訊功能以及聯網功能中至少一種功能的設備,例如,智能手環、智能家電等,這樣,所述智能設備可以與伺服器以及使用者終端建立連接並進行通訊。   所述使用者標識可以是使用者的手機號碼,也可以是使用者登入使用者終端或使用者終端中安裝的應用程式時使用的使用者名,還可以是使用者的信箱等用於標識使用者的資訊,這裡不做具體限定。其中,所述使用者終端可以是使用者使用的終端設備,例如智能手機、iPad等,所述應用程式可以是與所述智能設備相關的應用程式,例如,如果所述智能設備為智能家電,那麼所述使用者終端中可以安裝用於對所述智能家電進行管理或控制的應用程式。   所述伺服器可以是與所述使用者終端中安裝的所述應用程式對應的伺服器,也可以是物聯網對應的伺服器,也可以是與所述使用者標識對應的伺服器,這裡不做具體限定。本發明實施例中,所述伺服器在將所述智能設備與所述使用者標識進行綁定後,所述智能設備可以基於所述使用者標識與所述伺服器建立連接,並進行通訊和資料交互。   以下結合圖式,詳細說明本發明各實施例提供的技術方案。   圖1是本發明的一個實施例智能設備的綁定方法的流程示意圖。所述綁定方法如下所述。   S102:使用者終端獲取智能設備的第一設備標識以及使用者標識。   使用者在獲取到智能設備後,在想要將所述智能設備與使用者標識進行綁定,以便於所述智能設備基於所述使用者標識可以與伺服器進行通訊時,可以使用使用者終端獲取所述智能設備的第一設備標識以及所述使用者標識。   所述智能設備的第一設備標識可以是所述智能設備在出廠時為所述智能設備分配的設備標識,所述第一設備標識與所述智能設備之間是一一對應的關係,例如,所述智能設備在出廠時分配得到的設備標識是“AAAABBBB”,那麼所述第一設備標識可以是“AAAABBBB”。   本發明實施例中,所述使用者終端獲取所述智能設備的所述第一設備標識的方法至少可以包含以下幾種:   第一種:如果所述智能設備具有近場通訊功能,那麼所述使用者終端可以藉由近場通訊的方式獲取得到所述第一設備標識,其中,所述智能設備自身的操作系統中可以儲存有所述智能設備的所述第一設備標識,並可以藉由近場通訊的方式發送給所述使用者終端;   第二種:所述使用者終端藉由對所述智能設備上的圖形碼進行掃碼的方式獲得所述第一設備標識,其中,廠家在出廠所述智能設備時,可以為所述智能設備分配設備標識,並藉由所述圖形碼的方式標注在所述智能設備上,所述圖形碼中可以包含所述第一設備標識;   第三種:所述使用者終端可以向所述使用者展示輸入介面,此時,所述使用者可以在所述輸入介面中輸入所述第一設備標識(所述第一設備標識可以由使用者從所述智能設備上讀取得到),所述使用者終端可以獲取得到所述使用者輸入的所述第一設備標識。   所述使用者標識可以是所述使用者在所述使用者終端中的標識。例如,如果所述使用者終端是智能手機,那麼,所述使用者標識可以是所述使用者的手機號碼,如果所述使用者在所述智能手機中登入了某應用程式,那麼,所述使用者標識還可以是所述使用者登入所述應用程式時使用的使用者名。   所述使用者終端在獲取得到所述智能設備的第一設備標識以及所述使用者標識後,可以執行S104。   S104:所述使用者終端向伺服器發送請求。   所述使用者終端在獲取得到所述第一設備標識以及所述使用者標識後,可以向伺服器發送請求,其中,所述請求中可以包含所述第一設備標識以及所述使用者標識,所述請求可以用於請求所述伺服器將所述智能設備與所述使用者標識進行綁定。   S106:所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識,並將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   所述使用者終端將所述請求發送給所述伺服器後,所述伺服器可以接收所述請求,並可以根據所述請求中的所述第一設備標識以及所述使用者標識,產生針對所述智能設備的第二設備標識。   本發明實施例中,所述伺服器可以根據所述使用者標識以及所述第一設備標識隨機產生所述第二設備標識,也可以是按照一定的規律產生所述第二設備標識,不做具體限定。其中,所述第二設備標識與所述第一設備標識不同,且與所述第一設備標識以及所述使用者標識是唯一對應。   所述伺服器在產生所述第二設備標識後,可以將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   本發明實施例中,所述伺服器將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定,可以包括:   所述伺服器建立所述第二設備標識與所述第一設備標識、所述使用者標識之間的映射關係。   所述伺服器在建立所述映射關係後,可以意味著所述伺服器將所述第一設備標識、所述使用者標識以及所述第二設備標識進行關聯綁定,即所述伺服器將所述智能設備與所述使用者標識進行綁定。其中,所述伺服器在建立所述映射關係後,還可以將所述映射關係進行儲存。   由於所述伺服器根據產生的所述第二設備標識將所述智能設備以及所述使用者標識進行綁定,因此,所述智能設備可以藉由所述第二設備標識與所述伺服器進行通訊。這樣,由於伺服器產生的所述第二設備標識不易被非法使用者獲取得到,因此,可以有效避免非法使用者藉由所述第二設備標識獲取得到使用者的使用者資訊,進而保證使用者資訊的安全。   在本發明的另一實施例,所述伺服器根據所述第一設備標識以及所述使用者標識,產生第二設備標識,包括:   所述伺服器根據所述第一設備標識、所述使用者標識以及有效日期,產生所述第二設備標識,所述有效日期用於表徵所述第二設備標識的使用有效期。   也就是說,所述伺服器在產生所述第二設備標識時,還可以確定所述第二設備標識的有效日期,並根據所述第一設備標識、所述使用者標識以及所述有效日期,產生所述第二設備標識,其中,所述有效日期可以用於表徵所述第二設備標識的使用有效期。   例如,所述伺服器可以確定所述有效日期是X年Y月Z日,那麼,所述第二設備標識的使用有效期為X年Y月Z日這一天,在所述有效期日期之外,所述第二設備標識將不能被使用,這樣,非法使用者在獲取得到所述第二設備標識後,在所述第二設備標識的非有效期內,將不能使用所述第二設備標識,進而可以有效避免所述第二設備標識被非法使用者獲取後,使用者資訊的洩露,有效保證使用者資訊的安全。   本發明實施例中,所述伺服器將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定後,所述方法還可以包括:   所述伺服器將所述第二設備標識發送給所述使用者終端;   所述使用者終端將所述第二設備標識發送給所述智能設備;   所述智能設備根據所述第二設備標識與所述伺服器進行通訊。   所述伺服器將所述第二設備標識發送給所述使用者終端後,所述使用者終端可以接收所述第二設備標識,此時,所述使用者終端可以確定所述伺服器根據所述第二設備標識,將所述智能設備與所述使用者終端進行綁定。   所述使用者終端在接收到所述第二設備標識後,可以將所述第二設備標識發送給所述智能設備。其中,若所述智能設備具有藍牙功能,則所述使用者終端可以藉由藍牙將所述第二設備標識發送給所述智能設備;若所述智能設備具有近場通訊功能,則所述使用者終端可以藉由近場通訊的方式將所述第二設備標識發送給所述智能設備。   所述智能設備在接收到所述第二設備標識後,可以根據所述第二設備標識與所述伺服器進行通訊,進而實現與所述伺服器之間的資料交互。   在本發明提供的又一實施例中,所述伺服器在將所述第二設備標識發送給所述使用者終端之前,所述方法還包括:   所述伺服器對所述第二設備標識進行加密。   本發明實施例中,為了保證所述第二設備標識在傳輸過程中的安全性,所述伺服器在將所述第二設備標識發送給所述使用者終端之前,可以對所述第二設備標識進行加密,並將加密後的所述第二設備標識發送給所述使用者終端,這樣,所述使用者終端可以將加密後的所述第二設備標識發送給所述智能設備,所述智能設備可以根據加密後的所述第二設備標識與所述伺服器進行通訊。 In the existing IoT system, when the server binds the smart device to the user ID, first, the server receives the device ID and user ID of the smart device uploaded by the user terminal; second, the server uses the device The logo is bound to the user logo, and the smart device and the user logo are bound by binding the device logo and the user logo. In this way, after the server binds the smart device and the user ID, the smart device can use the device ID to establish a connection with the server, realize communication with the server, and then perform data interaction with the server. However, in practical applications, the device ID of the smart device uploaded by the user terminal is usually the device ID assigned by the smart device at the factory, which is easily obtained by illegal users. In this way, once the illegal user obtains the device ID, you can use the device ID to communicate with the server by illegal means, and then to interact with the server, and in the process of data interaction with the server, you can use illegal means to obtain the binding with the smart device The user information corresponding to the user identification results in the leakage of user information and the user information is less secure.   It can be seen that in the existing Internet of Things system, the method of binding smart devices has certain security risks. In order to solve the above problems, embodiments of the present invention provide a method, device and system for binding a smart device, and a communication system. The method includes: a user terminal obtains a first device identification and a user identification of the smart device; the user terminal Send a request to the server, the request contains the first device identification and the user identification; the server generates a second according to the first device identification and the user identification in the request Device identification, and bind the second device identification with the first device identification and the user identification. In this way, the server binds the smart device with the user ID through the generated device ID, which can enable the smart device to communicate and interact with the server through the device ID generated by the server. Compared with the prior art, Since the device identification generated by the server is not easy to be obtained by illegal users, the problem of user information leakage caused by illegal users communicating with the server through the device identification can be effectively avoided, thereby effectively ensuring the user information Safety. In other words, even if an illegal user obtains the device ID assigned when the smart device was shipped from the factory, it cannot communicate and interact with the server through the device ID, thereby effectively avoiding the leakage of user information and ensuring user information Security. Further, even if an illegal user obtains the device identification generated by the server, it cannot determine which smart device the device identification belongs to, and the device identification and the server cannot be used for communication and data interaction through the device identification, which can also be effective Avoid the leakage of user information and ensure the safety of user information. In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person having ordinary knowledge in the art without making creative work shall fall within the protection scope of the present invention. The technical solution provided by the embodiment of the present invention can be applied to the existing Internet of Things system and used to bind the smart device and the user ID. In addition, the technical solution of the embodiment of the present invention is used to perform the smart device and the user ID After binding, the leakage of user information can be effectively avoided, thereby ensuring the safety of user information. Wherein, the smart device may be a device with at least one of Bluetooth function, near field communication function and networking function, for example, smart bracelet, smart home appliance, etc. In this way, the smart device may be connected with a server and a user terminal Establish a connection and communicate. The user identification may be the user's mobile phone number, or the user name used when the user logs into the user terminal or the application installed in the user terminal, or may be the user's mailbox, etc. for identification use The information of the author is not limited here. Wherein, the user terminal may be a terminal device used by a user, such as a smart phone, iPad, etc., and the application may be an application related to the smart device, for example, if the smart device is a smart home appliance, Then, an application program for managing or controlling the smart home appliance may be installed in the user terminal. The server may be a server corresponding to the application installed in the user terminal, or a server corresponding to the Internet of Things, or a server corresponding to the user ID, not here Be specific. In the embodiment of the present invention, after the server binds the smart device and the user identification, the smart device may establish a connection with the server based on the user identification, and communicate and Information interaction.   The following describes the technical solutions provided by the embodiments of the present invention in detail with reference to the drawings. FIG. 1 is a schematic flowchart of a method for binding a smart device according to an embodiment of the present invention. The binding method is as follows.   S102: The user terminal acquires the first device identification and the user identification of the smart device. After the user obtains the smart device, when the user wants to bind the smart device to the user identification, so that the smart device can communicate with the server based on the user identification, the user terminal can be used Acquire the first device identification of the smart device and the user identification. The first device identifier of the smart device may be a device identifier assigned to the smart device when the smart device is shipped from the factory, and there is a one-to-one correspondence between the first device identifier and the smart device, for example, The device identifier assigned when the smart device is shipped from the factory is "AAAABBBB", then the first device identifier may be "AAAABBBB". In the embodiment of the present invention, the method for the user terminal to obtain the first device identification of the smart device may include at least the following:    First: If the smart device has a near field communication function, then the The user terminal can obtain the first device identification by near field communication, wherein the first device identification of the smart device can be stored in the operating system of the smart device itself, and can be obtained by Near field communication is sent to the user terminal;    Second: the user terminal obtains the first device identification by scanning the graphic code on the smart device, where the manufacturer is When the smart device is shipped from the factory, a device identifier may be assigned to the smart device and marked on the smart device by means of the graphic code, the graphic code may include the first device identifier;    third Kind: The user terminal can show the input interface to the user, at this time, the user can input the first device identification in the input interface (the first device identification can be (Readable on the smart device), the user terminal may obtain the first device identification input by the user.   The user identification may be the identification of the user in the user terminal. For example, if the user terminal is a smartphone, then the user ID may be the user's mobile phone number, and if the user logs into an application on the smartphone, then, the The user ID may also be the user name used by the user when logging in to the application.  After acquiring the first device identification of the smart device and the user identification, the user terminal may execute S104.   S104: The user terminal sends a request to the server. After acquiring the first device identification and the user identification, the user terminal may send a request to a server, where the request may include the first device identification and the user identification, The request may be used to request the server to bind the smart device with the user identification. S106: The server generates a second device ID according to the first device ID and the user ID in the request, and compares the second device ID with the first device ID and the usage The user ID to bind. After the user terminal sends the request to the server, the server may receive the request, and may generate an object based on the first device identification and the user identification in the request The second device identifier of the smart device. In the embodiment of the present invention, the server may randomly generate the second device ID according to the user ID and the first device ID, or may generate the second device ID according to a certain rule, and do not do Specific restrictions. Wherein, the second device identifier is different from the first device identifier, and uniquely corresponds to the first device identifier and the user identifier. After generating the second device identification, the server may bind the second device identification to the first device identification and the user identification. In the embodiment of the present invention, the server binds the second device ID to the first device ID and the user ID, and may include:    The server establishes the second device ID and the The mapping relationship between the first device ID and the user ID. After the server establishes the mapping relationship, it may mean that the server associates and binds the first device ID, the user ID, and the second device ID, that is, the server will The smart device is bound to the user identification. After the server establishes the mapping relationship, the server may also store the mapping relationship. Since the server binds the smart device and the user ID according to the generated second device ID, the smart device can perform the process with the server by using the second device ID communication. In this way, since the second device identification generated by the server is not easily obtained by illegal users, it can effectively prevent illegal users from obtaining user information of the user through the second device identification, thereby ensuring the user Information security. In another embodiment of the present invention, the server generates a second device ID based on the first device ID and the user ID, including:    The server uses the first device ID and the usage The second device identifier and the effective date are used to generate the second device identifier, and the effective date is used to characterize the use period of the second device identifier. That is to say, when the server generates the second device identification, it can also determine the effective date of the second device identification, and according to the first device identification, the user identification and the effective date To generate the second device identifier, wherein the effective date may be used to characterize the use validity period of the second device identifier. For example, the server may determine that the effective date is X year, Y month, and Z day. Then, the effective period of use of the second device identifier is the X year, Y month, and Z day. The second device identification cannot be used, so that after obtaining the second device identification, an illegal user will not be able to use the second device identification within the inactive period of the second device identification. This effectively prevents the leakage of user information after the second device identification is acquired by an illegal user, and effectively guarantees the security of user information. In the embodiment of the present invention, after the server binds the second device ID, the first device ID, and the user ID, the method may further include:    The server Two device identifiers are sent to the user terminal;    The user terminal sends the second device identifier to the smart device;    The smart device communicates with the server according to the second device identifier. After the server sends the second device identification to the user terminal, the user terminal may receive the second device identification. At this time, the user terminal may determine that the server The second device identifier binds the smart device to the user terminal.  After receiving the second device identification, the user terminal may send the second device identification to the smart device. Wherein, if the smart device has a Bluetooth function, the user terminal may send the second device identification to the smart device via Bluetooth; if the smart device has a near field communication function, the use The user terminal may send the second device identification to the smart device by means of near field communication.  After receiving the second device identification, the smart device may communicate with the server according to the second device identification, thereby achieving data interaction with the server. In yet another embodiment provided by the present invention, before the server sends the second device identification to the user terminal, the method further includes:    The server performs the second device identification encryption. In the embodiment of the present invention, in order to ensure the security of the second device identification during transmission, the server may send a message to the second device before sending the second device identification to the user terminal Encrypt the identification, and send the encrypted second device identification to the user terminal, so that the user terminal can send the encrypted second device identification to the smart device, The smart device may communicate with the server according to the encrypted second device identifier.

此外,為了保證所述智能設備在根據所述第二設備標識與所述伺服器進行通訊時的安全性,所述伺服器還可以產生對所述第二設備標識進行校驗的校驗資訊,並藉由所述使用者終端將所述校驗資訊發送給所述智能設備,這樣,所述智能設備可以根據所述第二設備標識以及所述校驗資訊與所述伺服器進行通訊。 In addition, in order to ensure the security of the smart device when communicating with the server according to the second device identification, the server may also generate verification information for verifying the second device identification, The user terminal sends the verification information to the smart device, so that the smart device can communicate with the server according to the second device identification and the verification information.

需要說明的是,在實際應用中,若所述使用者想要重新對所述智能設備以及所述使用者標識進行綁定,那麼,可以按照上述S102以及S104記載的方法向所述伺服器發送請求,此時,所述伺服器可以重新產生一個新的設備標識,並將重新產生的該設備標識與所述第一設備標識以及所述使用者標識進行綁定,這樣,所述智能設備可以藉由所述新的設備標識與所述伺服器進行通訊。 It should be noted that, in practical applications, if the user wants to bind the smart device and the user ID again, then the method may be sent to the server according to the method described in S102 and S104 At this time, the server can regenerate a new device ID, and bind the regenerated device ID to the first device ID and the user ID, so that the smart device can Communicate with the server by the new device identification.

總之,所述伺服器可以產生與所述第一設備標識不同的設備標識,並根據該設備標識將所述智能設備與所述使用者標識進行綁定,這樣,所述智能設備可以藉由所述伺服器產生的設備標識與所述伺服器進行通訊,從而可以避免使用者資訊的洩露,保證使用者資訊的安全。 In short, the server can generate a device ID different from the first device ID, and bind the smart device to the user ID according to the device ID, so that the smart device can use all The device identification generated by the server communicates with the server, thereby avoiding leakage of user information and ensuring the safety of user information.

本發明實施例提供的技術方案,伺服器藉由自身產生的設備標識將智能設備與使用者標識進行綁定,可以使得智能設備根據該產生的設備標識與伺服器進行通訊,由於伺服器產生的設備標識不易被非法使用者獲取得到,因 此,非法使用者無法進一步獲取得到使用者的使用者資訊,進而可以有效避免使用者資訊的洩露,保證使用者資訊的安全。 According to the technical solution provided by the embodiment of the present invention, the server binds the smart device and the user ID through the device ID generated by the server, so that the smart device can communicate with the server according to the generated device ID. Equipment identification is not easy to obtain by illegal users, because Therefore, the illegal user cannot further obtain the user information of the user, which can effectively avoid the leakage of the user information and ensure the safety of the user information.

圖2是本發明的一個實施例智能設備的綁定方法的流程示意圖。本發明實施例中,使用者終端可以是圖1所示的實施例中記載的所述使用者終端,伺服器可以是圖1所示的實施例中記載的所述伺服器。所述綁定方法可以包括: 2 is a schematic flowchart of a method for binding a smart device according to an embodiment of the present invention. In the embodiment of the present invention, the user terminal may be the user terminal described in the embodiment shown in FIG. 1, and the server may be the server described in the embodiment shown in FIG. 1. The binding method may include:

步驟201:使用者終端獲取智能設備的第一設備標識以及使用者標識。 Step 201: The user terminal obtains the first device identification and the user identification of the smart device.

其中,所述第一設備標識可以是所述智能設備在出廠時分配得到的設備標識,所述使用者終端可以藉由圖1所示的實施例中記載的方法獲取得到所述第一設備標識以及所述使用者標識。 Wherein, the first device identifier may be a device identifier assigned by the smart device when shipped from the factory, and the user terminal may obtain the first device identifier by the method described in the embodiment shown in FIG. 1 And the user identification.

步驟202:所述使用者終端向伺服器發送請求。 Step 202: The user terminal sends a request to the server.

其中,所述請求中可以包含所述第一設備標識以及所述使用者終端對應的使用者標識,所述請求用於請求所述伺服器將所述使用者標識與所述智能設備進行綁定。 Wherein, the request may include the first device identification and the user identification corresponding to the user terminal, and the request is used to request the server to bind the user identification to the smart device .

步驟203:所述伺服器根據所述請求,產生第二設備標識。 Step 203: The server generates a second device identification according to the request.

所述伺服器可以藉由圖1所示的實施例記載的方法產生所述第二設備標識,這裡不再重複描述。 The server may generate the second device identification by the method described in the embodiment shown in FIG. 1, and the description will not be repeated here.

步驟204:所述伺服器將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。 Step 204: The server binds the second device identification with the first device identification and the user identification.

所述伺服器藉由將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定,實現將所述智能設備與所述使用者標識進行綁定。   步驟205:所述伺服器將所述第二設備標識發送給所述使用者終端。   步驟206:所述使用者終端接收所述第二設備標識。   此時,所述使用者終端可以確定所述伺服器根據所述第二設備標識將所述智能設備與所述使用者標識進行綁定。   步驟207:所述使用者終端將所述第二設備標識發送給所述智能設備。   步驟208:所述智能設備接收所述第二設備標識。   步驟209:所述智能設備根據所述第二設備標識與所述伺服器進行通訊。   這樣,所述智能設備可以根據所述第二設備標識與所述伺服器建立連接,進而實現與所述伺服器之間的資料交互。   由於所述伺服器產生的所述第二設備標識不易被非法使用者獲取得到,因此,非法使用者無法進一步獲取得到使用者的使用者資訊,進而可以有效避免使用者資訊的洩露,保證使用者資訊的安全。   圖3為本發明的一個實施例智能設備的綁定方法的示意圖。   本發明實施例中,以智能設備為智能手環,使用者終端為智能手機為例進行說明,其中,所述智能手環具有近場通訊功能,所述智能手機中安裝有可以對所述智能手環進行管理和控制的應用程式。   如圖3所示,在將所述智能手環進行綁定時,智能手機可以獲取智能手環的設備標識以使用者在所述智能手機中的使用者標識,其中,所述智能手環的設備標識可以是所述智能手環在出廠時為所述智能手環分配的設備標識,所述智能手機可以藉由近場通訊的方式獲取得到所述智能手環的設備標識,所述使用者標識可以是所述使用者登入所述應用程式時使用的使用者名。   所述智能手機在獲取到所述設備標識以及所述使用者標識後,可以藉由所述應用程式將所述設備標識以及所述使用者標識發送給伺服器,請求所述伺服器將所述智能手環與所述使用者標識進行綁定。   所述伺服器在接收到所述設備標識以及所述使用者標識後,可以產生一個與所述設備標識以及所述使用者標識唯一對應的動態設備標識,並將所述設備標識、所述使用者標識以及所述動態設備標識進行關聯綁定。這樣,所述伺服器可以將所述使用者標識與所述智能手環進行綁定。   所述伺服器在所述使用者標識與所述智能手環進行綁定後,可以將所述動態設備標識發送給所述智能手機,所述智能手機在接收到所述動態設備標識後,可以藉由近場通訊的方式將所述動態設備標識返回給所述智能手環,這樣,所述智能手環可以使用所述動態設備標識與所述伺服器建立連接,進而實現與所述伺服器之間的通訊和資料交互。   由於智能手環可以藉由伺服器產生的設備標識與伺服器進行通訊和資料交互,伺服器產生的設備標識不易被非法使用者獲取得到,因此,非法使用者無法進一步獲取得到使用者的使用者資訊,進而可以有效避免使用者資訊的洩露,保證使用者資訊的安全。   上述對本說明書特定實施例進行了描述。其它實施例在所附申請專利範圍的範圍內。在一些情況下,在申請專利範圍中記載的動作或步驟可以按照不同於實施例中的順序來執行並且仍然可以實現期望的結果。另外,在圖式中描繪的過程不一定要求示出的特定順序或者連續順序才能實現期望的結果。在某些實施方式中,多工處理和平行處理也是可以的或者可能是有利的。   圖4是本發明的一個實施例電子設備的結構示意圖。請參考圖5,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非易失性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。   處理器、網路介面和記憶體可以藉由內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準結構)匯流排、PCI(Peripheral Component Interconnect,外設元件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準結構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖4中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。   記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非易失性記憶體,並向處理器提供指令和資料。   處理器從非易失性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成智能設備的綁定裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作:   接收使用者終端發送的請求,所述請求中包含智能設備的第一設備標識以及使用者標識;   根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識;   將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   上述如本發明圖4所示實施例揭示的智能設備的綁定裝置執行的方法可以應用於處理器中,或者由處理器實現。處理器可能是一種集成電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以藉由處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位信號處理器(Digital Signal Processor,DSP)、專用集成電路(Application Specific Integrated Circuit,ASIC)、現場可程式閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式邏輯裝置、分立閘或者電晶體邏輯裝置、分立硬體組件。可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本發明實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式唯讀記憶體或者電可擦寫可程式記憶體、暫存器等本領域成熟的儲存媒體中。該儲存媒體位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。   該電子設備還可執行圖1的方法,並實現智能設備的綁定裝置在圖1、圖2以及圖3所示實施例的功能,本發明實施例在此不再贅述。   當然,除了軟體實現方式之外,本發明的電子設備並不排除其他實現方式,比如邏輯裝置亦或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。   本發明實施例還提出了一種電腦可讀儲存媒體,該電腦可讀儲存媒體儲存一個或多個程式,該一個或多個程式包括指令,該指令當被包括多個應用程式的便攜式電子設備執行時,能夠使該便攜式電子設備執行圖1所示實施例的方法,並具體用於執行以下操作:   接收使用者終端發送的請求,所述請求中包含智能設備的第一設備標識以及使用者標識;   根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識;   將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   圖5是本發明的一個實施例智能設備的綁定裝置50的結構示意圖。請參考圖5,在一種軟體實施方式中,所述綁定裝置50可包括:   接收單元51,接收使用者終端發送的請求,所述請求中包含智能設備的第一設備標識以及使用者標識;   產生單元52,根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識;   綁定單元53,將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   可選地,所述產生單元52根據所述第一設備標識以及所述使用者標識,產生第二設備標識,包括:   所述伺服器根據所述第一設備標識、所述使用者標識以及有效日期,產生所述第二設備標識,所述有效日期用於表徵所述第二設備標識的使用有效期。   可選地,所述第二設備標識與所述第一設備標識、所述使用者標識唯一對應。   可選地,所述綁定單元53將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定,包括:   所述伺服器建立所述第二設備標識與所述第一設備標識、所述使用者標識之間的映射關係。   可選地,所述綁定裝置50還可以包括:發送單元54,其中:   所述發送單元54,在所述綁定單元53將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定後,將所述第二設備標識發送給所述使用者終端。   可選地,所述發送單元54在將所述第二設備標識發送給所述使用者終端之前,對所述第二設備標識進行加密;將加密後的所述第二設備標識發送給所述使用者終端。   可選地,所述發送單元54產生對所述第二設備標識進行校驗的校驗資訊,並將所述校驗資訊發送給所述使用者終端。   圖6是本發明的一個實施例電子設備的結構示意圖。請參考圖6,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非易失性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。   處理器、網路介面和記憶體可以藉由內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準結構)匯流排、PCI(Peripheral Component Interconnect,外設元件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準結構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖6中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。   記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非易失性記憶體,並向處理器提供指令和資料。   處理器從非易失性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成智能設備的綁定裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作:   獲取智能設備的第一設備標識以及使用者標識;   向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   接收所述伺服器返回的第二設備標識,所述第二設備標識由所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識產生,並與第一設備標識以及所述使用者標識綁定。   上述如本發明圖6所示實施例揭示的智能設備的綁定裝置執行的方法可以應用於處理器中,或者由處理器實現。處理器可能是一種集成電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以藉由處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位信號處理器(Digital Signal Processor,DSP)、專用集成電路(Application Specific Integrated Circuit,ASIC)、現場可程式閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式邏輯裝置、分立閘或者電晶體邏輯裝置、分立硬體組件。可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本發明實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式唯讀記憶體或者電可擦寫可程式記憶體、暫存器等本領域成熟的儲存媒體中。該儲存媒體位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。   該電子設備還可執行圖1的方法,並實現智能設備的綁定裝置在圖1、圖2以及圖3所示實施例的功能,本發明實施例在此不再贅述。   當然,除了軟體實現方式之外,本發明的電子設備並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。   本發明實施例還提出了一種電腦可讀儲存媒體,該電腦可讀儲存媒體儲存一個或多個程式,該一個或多個程式包括指令,該指令當被包括多個應用程式的便攜式電子設備執行時,能夠使該便攜式電子設備執行圖1所示實施例的方法,並具體用於執行以下操作:   獲取智能設備的第一設備標識以及使用者標識;   向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   接收所述伺服器返回的第二設備標識,所述第二設備標識由所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識產生,並與第一設備標識以及所述使用者標識綁定。   圖7是本發明的一個實施例智能設備的綁定裝置70的結構示意圖。請參考圖7,在一種軟體實施方式中,所述綁定裝置70可包括:   獲取單元71,獲取智能設備的第一設備標識以及使用者標識;   發送單元72,向伺服器發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   接收單元73,接收所述伺服器返回的第二設備標識,所述第二設備標識由所述伺服器根據所述請求中的所述第一設備標識以及所述使用者標識產生,並與第一設備標識以及所述使用者標識綁定。   可選地,所述獲取單元71藉由以下至少一種方式獲取所述智能設備的第一設備標識,包括:   所述使用者終端藉由近場通訊的方式獲取所述第一設備標識;   所述使用者終端藉由對所述智能設備進行掃碼的方式獲取所述第一設備標識;   所述使用者終端接收使用者輸入的所述第一設備標識。   可選地,所述發送單元72還用於將所述第二設備標識發送給所述智能設備,使得所述智能設備根據所述第二設備標識與所述伺服器進行通訊。   可選地,所述接收單元73還用於接收所述伺服器發送的加密後的第二設備標識;所述發送單元72還用於將加密後的所述第二設備標識發送給所述智能設備,使得所述智能設備根據加密後的所述第二設備標識與所述伺服器進行通訊。   可選地,所述接收單元73還用於接收所述伺服器發送的對所述第二設備標識的校驗資訊;所述發送單元72還用於將所述校驗資訊發送給所述智能設備,使得所述智能設備根據所述第二設備標識以及所述校驗資訊與所述伺服器進行通訊。   圖8是本發明的一個實施例電子設備的結構示意圖。請參考圖8,在硬體層面,該電子設備包括處理器,可選地還包括內部匯流排、網路介面、記憶體。其中,記憶體可能包含記憶體,例如高速隨機存取記憶體(Random-Access Memory,RAM),也可能還包括非易失性記憶體(non-volatile memory),例如至少1個磁碟記憶體等。當然,該電子設備還可能包括其他業務所需要的硬體。   處理器、網路介面和記憶體可以藉由內部匯流排相互連接,該內部匯流排可以是ISA(Industry Standard Architecture,工業標準結構)匯流排、PCI(Peripheral Component Interconnect,外設元件互連標準)匯流排或EISA(Extended Industry Standard Architecture,延伸工業標準結構)匯流排等。所述匯流排可以分為位址匯流排、資料匯流排、控制匯流排等。為便於表示,圖8中僅用一個雙向箭頭表示,但並不表示僅有一根匯流排或一種類型的匯流排。   記憶體,用於存放程式。具體地,程式可以包括程式碼,所述程式碼包括電腦操作指令。記憶體可以包括記憶體和非易失性記憶體,並向處理器提供指令和資料。   處理器從非易失性記憶體中讀取對應的電腦程式到記憶體中然後運行,在邏輯層面上形成智能設備的綁定裝置。處理器,執行記憶體所存放的程式,並具體用於執行以下操作:   接收使用者終端發送的第二設備標識,所述第二設備標識由伺服器根據所述智能設備的第一設備標識以及使用者標識產生,並與所述第一設備標識以及所述使用者標識綁定。   上述如本發明圖8所示實施例揭示的智能設備的綁定裝置執行的方法可以應用於處理器中,或者由處理器實現。處理器可能是一種集成電路晶片,具有信號的處理能力。在實現過程中,上述方法的各步驟可以藉由處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器,包括中央處理器(Central Processing Unit,CPU)、網路處理器(Network Processor,NP)等;還可以是數位信號處理器(Digital Signal Processor,DSP)、專用集成電路(Application Specific Integrated Circuit,ASIC)、現場可程式閘陣列(Field-Programmable Gate Array,FPGA)或者其他可程式邏輯裝置、分立閘或者電晶體邏輯裝置、分立硬體組件。可以實現或者執行本發明實施例中的公開的各方法、步驟及邏輯方塊圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本發明實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式唯讀記憶體或者電可擦寫可程式記憶體、暫存器等本領域成熟的儲存媒體中。該儲存媒體位於記憶體,處理器讀取記憶體中的資訊,結合其硬體完成上述方法的步驟。   該電子設備還可執行圖1的方法,並實現智能設備的綁定裝置在圖1、圖2以及圖3所示實施例的功能,本發明實施例在此不再贅述。   當然,除了軟體實現方式之外,本發明的電子設備並不排除其他實現方式,比如邏輯裝置抑或軟硬體結合的方式等等,也就是說以下處理流程的執行主體並不限定於各個邏輯單元,也可以是硬體或邏輯裝置。   本發明實施例還提出了一種電腦可讀儲存媒體,該電腦可讀儲存媒體儲存一個或多個程式,該一個或多個程式包括指令,該指令當被包括多個應用程式的便攜式電子設備執行時,能夠使該便攜式電子設備執行圖1所示實施例的方法,並具體用於執行以下操作:   接收使用者終端發送的第二設備標識,所述第二設備標識由伺服器根據所述智能設備的第一設備標識以及使用者標識產生,並與所述第一設備標識以及所述使用者標識綁定。   圖9是本發明的一個實施例智能設備的綁定裝置90的結構示意圖。請參考圖9,在一種軟體實施方式中,所述綁定裝置90可包括:   接收單元91,接收使用者終端發送的第二設備標識,所述第二設備標識由伺服器根據所述智能設備的第一設備標識以及使用者標識產生,並與所述第一設備標識以及所述使用者標識綁定。   可選地,所述綁定裝置90還包括:通訊單元91,其中:   所述通訊單元91,根據所述第二設備標識與所述伺服器進行通訊。   圖10是本發明的一個實施例智能設備的綁定系統的結構示意圖。請參考圖10,在一種實施方式中,所述系統100可包括:智能設備101、使用者終端102和伺服器103,其中:   所述使用者終端102,獲取所述智能設備101的第一設備標識以及使用者標識,並向所述伺服器103發送請求,所述請求中包含所述第一設備標識以及所述使用者標識;   所述伺服器103,根據所述請求中的所述第一設備標識以及所述使用者標識,產生第二設備標識,並將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   可選地,所述伺服器103根據所述第一設備標識以及所述使用者標識,產生第二設備標識,包括:   根據所述第一設備標識、所述使用者標識以及有效日期,產生所述第二設備標識,所述有效日期用於表徵所述第二設備標識的使用有效期。   可選地,所述第二設備標識與所述第一設備標識、所述使用者標識唯一對應。   可選地,所述伺服器103將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定,包括:   建立所述第二設備標識與所述第一設備標識、所述使用者標識之間的映射關係。   可選地,所述伺服器103將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定後,將所述第二設備標識發送給所述使用者終端102;所述使用者終端102將所述第二設備標識發送給所述智能設備101;所述智能設備101根據所述第二設備標識與所述伺服器103進行通訊。   可選地,所述伺服器103在將所述第二設備標識發送給所述使用者終端102之前,對所述第二設備標識進行加密;將加密後的所述第二設備標識發送給所述使用者終端102。   可選地,所述伺服器103產生對所述第二設備標識進行校驗的校驗資訊,並將所述校驗資訊發送給所述使用者終端102;所述使用者終端102將所述校驗資訊發送給所述智能終端101;所述智能設備101根據所述第二設備標識以及所述校驗資訊與所述伺服器103進行通訊。   可選地,所述使用者終端102藉由以下至少一種方式獲取所述智能設備101的第一設備標識,包括:   藉由近場通訊的方式獲取所述第一設備標識;   藉由對所述智能設備進行掃碼的方式獲取所述第一設備標識;   接收使用者輸入的所述第一設備標識。   本發明實施例提供的智能設備的綁定系統中,伺服器根據自身產生的設備標識將智能設備與使用者標識進行綁定,智能設備可以藉由伺服器產生的設備標識與伺服器進行通訊,這樣,由於伺服器產生的設備標識不易被非法使用者獲取得到,因此,非法使用者無法進一步獲取得到使用者的使用者資訊,進而可以有效避免使用者資訊的洩露,保證使用者資訊的安全。   圖11是本發明的一個實施例智能設備的通訊系統的結構示意圖。請參考圖11,在一種實施方式中,所述系統110可包括:智能設備111、使用者終端112和伺服器113,其中:   所述使用者終端112,獲取所述智能設備111的第一設備標識以及使用者標識;將所述第一設備標識以及所述使用者標識發送給所述伺服器113;   所述伺服器113,根據所述第一設備標識以及所述使用者標識,產生第二設備標識;將所述第二設備標識發送給所述使用者終端112;   所述使用者終端112,將所述第二設備標識發送給所述智能設備111;   所述智能設備111,根據所述第二設備標識與所述伺服器113進行通訊。   可選地,所述伺服器113產生的所述第二設備標識與所述第一設備標識、所述使用者標識唯一對應。   可選地,所述伺服器113在產生所述第二設備標識後,將所述第二設備標識與所述第一設備標識、所述使用者標識進行綁定。   總之,以上所述僅為本發明的較佳實施例而已,並非用於限定本發明的保護範圍。凡在本發明的精神和原則之內,所作的任何修改、等同替換、改進等,均應包含在本發明的保護範圍之內。   上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現設備為電腦。具體的,電腦例如可以為個人電腦、筆記型電腦、行動電話、相機電話、智能電話、個人數位助理、媒體播放器、導航設備、電子郵件設備、遊戲控制台、平板電腦、可穿戴設備或者這些設備中的任何設備的組合。   電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可擦除可程式唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟(CD-ROM)、數位化多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁碟儲存或其他磁性儲存設備或任何其他非傳輸媒體,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體(transitory media),如調變的資料信號和載波。   還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。   本說明書中的各個實施例均採用遞進的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於系統實施例而言,由於其基本相似於方法實施例,所以描述的比較簡單,相關之處參見方法實施例的部分說明即可。The server binds the smart device to the user ID by binding the second device ID to the first device ID and the user ID.   Step 205: The server sends the second device identification to the user terminal.   Step 206: The user terminal receives the second device identification.   At this time, the user terminal may determine that the server binds the smart device to the user identification according to the second device identification.   Step 207: The user terminal sends the second device identification to the smart device.   Step 208: The smart device receives the second device identification.   Step 209: The smart device communicates with the server according to the second device identifier. In this way, the smart device can establish a connection with the server according to the second device identifier, and thereby realize data interaction with the server. Since the second device identification generated by the server is not easily obtained by illegal users, the illegal users cannot further obtain the user information of the users, which can effectively avoid the leakage of user information and ensure the users Information security. FIG. 3 is a schematic diagram of a binding method of an intelligent device according to an embodiment of the present invention. In the embodiment of the present invention, a smart device is a smart bracelet, and a user terminal is a smart phone. The smart bracelet has a near-field communication function, and the smart phone is Application for management and control of the bracelet. As shown in FIG. 3, when binding the smart bracelet, the smart phone can obtain the device identification of the smart bracelet to use the user identification of the user in the smart phone. The device identification may be the device identification assigned to the smart bracelet when the smart bracelet was shipped from the factory. The smart phone may obtain the device identification of the smart bracelet by means of near field communication. The user The identifier may be the user name used by the user when logging in to the application. After acquiring the device identification and the user identification, the smartphone may send the device identification and the user identification to the server through the application, and request the server to send the device identification and the user identification The smart bracelet is bound to the user identification. After receiving the device identification and the user identification, the server may generate a dynamic device identification that uniquely corresponds to the device identification and the user identification, and the device identification and the use The user ID and the dynamic device ID to be associated and bound. In this way, the server can bind the user identification with the smart bracelet. After binding the user ID and the smart bracelet, the server may send the dynamic device ID to the smart phone, and after receiving the dynamic device ID, the smart phone may The dynamic device identification is returned to the smart bracelet by means of near-field communication, so that the smart bracelet can use the dynamic device identification to establish a connection with the server, and thereby realize the connection with the server Communication and data exchange between. Since the smart bracelet can communicate with the server through the device identification generated by the server and the data interaction, the device identification generated by the server is not easy to be obtained by illegal users. Therefore, the illegal user cannot further obtain the user who obtained the user Information, which can effectively avoid the leakage of user information and ensure the safety of user information.  The above describes specific embodiments of the present specification. Other embodiments are within the scope of the attached patent application. In some cases, the actions or steps described in the scope of the patent application may be performed in a different order than in the embodiment and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In some embodiments, multiplexing and parallel processing are also possible or may be advantageous. FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Please refer to FIG. 5, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), or may also include non-volatile memory (non-volatile memory), such as at least one disk memory Wait. Of course, the electronic device may also include hardware required by other businesses. The processor, network interface and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, PCI (Peripheral Component Interconnect) Busbar or EISA (Extended Industry Standard Architecture) busbar, etc. The bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, only one bidirectional arrow is used in FIG. 4, but it does not mean that there is only one bus bar or one type of bus bar.  Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor.   The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to form the binding device of the smart device at the logical level. The processor executes the program stored in the memory, and is specifically used to perform the following operations:   Receives a request sent by the user terminal, the request includes the first device ID of the smart device and the user ID;    According to Generating the second device identifier by the first device identifier and the user identifier;    binding the second device identifier with the first device identifier and the user identifier.   The method executed by the binding device of the smart device disclosed in the embodiment shown in FIG. 4 of the present invention may be applied to a processor, or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor. The foregoing processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; or a digital signal processor (Digital Signal Processor, DSP), dedicated Integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logical block diagrams in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a random storage memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a temporary memory, and other mature storage media in the art. The storage medium is located in the memory. The processor reads the information in the memory and combines the hardware to complete the steps of the above method.   The electronic device can also execute the method of FIG. 1 and implement the functions of the binding device of the smart device in the embodiments shown in FIG. 1, FIG. 2, and FIG. 3, and the embodiments of the present invention will not be described here. Of course, in addition to the software implementation, the electronic device of the present invention does not exclude other implementations, such as a logic device or a combination of hardware and software, etc., that is to say, the execution body of the following processing flow is not limited to each logic The unit can also be a hardware or logic device. An embodiment of the present invention also provides a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions that are executed by a portable electronic device that includes multiple application programs At this time, the portable electronic device can perform the method of the embodiment shown in FIG. 1 and is specifically used to perform the following operations:    Receive a request sent by a user terminal, where the request includes the first device identification of the smart device and the user identification   Generate a second device ID based on the first device ID and the user ID in the request;    Bind the second device ID to the first device ID and the user ID. FIG. 5 is a schematic structural diagram of an apparatus 50 for binding a smart device according to an embodiment of the present invention. Referring to FIG. 5, in a software implementation, the binding device 50 may include: a    receiving unit 51, which receives a request sent by a user terminal, where the request includes the first device identification of the smart device and the user identification; The generating unit 52 generates a second device ID according to the first device ID and the user ID in the request;    binding unit 53 combines the second device ID with the first device ID, The user ID is bound. Optionally, the generating unit 52 generates a second device identification based on the first device identification and the user identification, including:    the server according to the first device identification, the user identification, and the validity Date, the second device identification is generated, and the effective date is used to characterize the use period of the second device identification.   Optionally, the second device identification uniquely corresponds to the first device identification and the user identification. Optionally, the binding unit 53 binds the second device identification to the first device identification and the user identification, including:    the server establishing the second device identification and the The mapping relationship between the first device identification and the user identification. Optionally, the binding apparatus 50 may further include: a sending unit 54, wherein: the sending unit 54, in the binding unit 53, the second device identification and the first device identification, the After binding the user ID, the second device ID is sent to the user terminal. Optionally, the sending unit 54 encrypts the second device identifier before sending the second device identifier to the user terminal; and sends the encrypted second device identifier to the User terminal.   Optionally, the sending unit 54 generates verification information that verifies the second device identification, and sends the verification information to the user terminal. FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Please refer to FIG. 6, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), or may also include non-volatile memory (non-volatile memory), such as at least one disk memory Wait. Of course, the electronic device may also include hardware required by other businesses. The processor, network interface and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, PCI (Peripheral Component Interconnect) Busbar or EISA (Extended Industry Standard Architecture) busbar, etc. The bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, only one bidirectional arrow is used in FIG. 6, but it does not mean that there is only one bus bar or one type of bus bar.  Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor.   The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to form the binding device of the smart device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:   Obtain the first device ID and user ID of the smart device;   Send a request to the server, the request includes the first device ID and The user ID;    receiving the second device ID returned by the server, the second device ID is generated by the server according to the first device ID and the user ID in the request, and Bind to the first device identification and the user identification.   The method executed by the binding device of the smart device disclosed in the embodiment shown in FIG. 6 of the present invention may be applied to a processor, or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor. The foregoing processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; or a digital signal processor (Digital Signal Processor, DSP), dedicated Integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logical block diagrams in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a random storage memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a temporary memory, and other mature storage media in the art. The storage medium is located in the memory. The processor reads the information in the memory and combines the hardware to complete the steps of the above method.   The electronic device can also execute the method of FIG. 1 and implement the functions of the binding device of the smart device in the embodiments shown in FIG. 1, FIG. 2, and FIG. 3, and the embodiments of the present invention will not be described here. Of course, in addition to the software implementation, the electronic device of the present invention does not exclude other implementations, such as a logic device or a combination of hardware and software, etc., that is to say, the execution body of the following processing flow is not limited to each logic unit , Can also be hardware or logic devices. An embodiment of the present invention also provides a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions that are executed by a portable electronic device that includes multiple application programs At this time, the portable electronic device can perform the method of the embodiment shown in FIG. 1 and is specifically used to perform the following operations:   Obtain the first device identification and user identification of the smart device;   Send a request to the server, the request contains The first device identification and the user identification;    receiving the second device identification returned by the server, the second device identification is determined by the server according to the first device identification and The user ID is generated and bound to the first device ID and the user ID. FIG. 7 is a schematic structural diagram of an apparatus 70 for binding a smart device according to an embodiment of the present invention. Referring to FIG. 7, in a software implementation manner, the binding device 70 may include: a    acquisition unit 71, which acquires the first device identification and user identification of the smart device; and a    sending unit 72, which sends a request to the server, The request contains the first device ID and the user ID;    receiving unit 73, receives the second device ID returned by the server, the second device ID is determined by the server according to the The first device identification and the user identification are generated and bound to the first device identification and the user identification. Optionally, the acquiring unit 71 acquires the first device identification of the smart device by at least one of the following methods, including:    The user terminal acquires the first device identification by near field communication;   The user terminal obtains the first device identification by scanning the smart device;    The user terminal receives the first device identification input by the user.   Optionally, the sending unit 72 is further configured to send the second device identification to the smart device, so that the smart device communicates with the server according to the second device identification. Optionally, the receiving unit 73 is further configured to receive the encrypted second device identification sent by the server; the sending unit 72 is also configured to send the encrypted second device identification to the smart Device, so that the smart device communicates with the server according to the encrypted second device identifier. Optionally, the receiving unit 73 is also used to receive the verification information sent by the server for the identification of the second device; the sending unit 72 is also used to send the verification information to the smart Device, so that the smart device communicates with the server according to the second device identification and the verification information. FIG. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Please refer to FIG. 8. At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include memory, such as high-speed random access memory (Random-Access Memory, RAM), or may also include non-volatile memory (non-volatile memory), such as at least one disk memory Wait. Of course, the electronic device may also include hardware required by other businesses. The processor, network interface and memory can be connected to each other through an internal bus, which can be an ISA (Industry Standard Architecture) bus, PCI (Peripheral Component Interconnect) Busbar or EISA (Extended Industry Standard Architecture) busbar, etc. The bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, only one bidirectional arrow is used in FIG. 8, but it does not mean that there is only one bus bar or one type of bus bar.  Memory, used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include memory and non-volatile memory, and provide instructions and data to the processor.   The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to form the binding device of the smart device at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:    Receive the second device identification sent by the user terminal, the second device identification is determined by the server according to the first device identification of the smart device and The user ID is generated and bound to the first device ID and the user ID.   The method performed by the binding device of the smart device disclosed in the embodiment shown in FIG. 8 of the present invention may be applied to a processor, or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor. The foregoing processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; or a digital signal processor (Digital Signal Processor, DSP), dedicated Integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logical block diagrams in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied and executed by a hardware decoding processor, or may be executed and completed by a combination of hardware and software modules in the decoding processor. The software module may be located in a random storage memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a temporary memory, and other mature storage media in the art. The storage medium is located in the memory. The processor reads the information in the memory and combines the hardware to complete the steps of the above method.   The electronic device can also execute the method of FIG. 1 and implement the functions of the binding device of the smart device in the embodiments shown in FIG. 1, FIG. 2, and FIG. 3, and the embodiments of the present invention will not be described here. Of course, in addition to the software implementation, the electronic device of the present invention does not exclude other implementations, such as a logic device or a combination of hardware and software, etc., that is to say, the execution body of the following processing flow is not limited to each logic unit , Can also be hardware or logic devices. An embodiment of the present invention also provides a computer-readable storage medium that stores one or more programs, and the one or more programs include instructions that are executed by a portable electronic device that includes multiple application programs Can enable the portable electronic device to perform the method of the embodiment shown in FIG. 1 and is specifically used to perform the following operations:    Receive the second device identification sent by the user terminal, and the second device identification is determined by the server according to the smart The first device identification and the user identification of the device are generated and bound to the first device identification and the user identification. FIG. 9 is a schematic structural diagram of an apparatus 90 for binding a smart device according to an embodiment of the present invention. Referring to FIG. 9, in a software implementation, the binding device 90 may include: a receiving unit 91 that receives a second device identifier sent by a user terminal, and the second device identifier is sent by the server according to the smart device The first device identification and the user identification are generated and bound to the first device identification and the user identification.   Optionally, the binding device 90 further includes: a communication unit 91, wherein:    the communication unit 91 communicates with the server according to the second device identification. FIG. 10 is a schematic structural diagram of a binding system of an intelligent device according to an embodiment of the present invention. Referring to FIG. 10, in one embodiment, the system 100 may include: a smart device 101, a user terminal 102, and a server 103, wherein: the user terminal 102 acquires the first device of the smart device 101 Logo and user logo, and send a request to the server 103, the request contains the first device logo and the user logo;    the server 103, according to the first in the request The device identification and the user identification generate a second device identification, and bind the second device identification to the first device identification and the user identification. Optionally, the server 103 generates a second device ID based on the first device ID and the user ID, including:    generating a device based on the first device ID, the user ID, and the effective date In the second device identification, the effective date is used to characterize the use period of the second device identification.   Optionally, the second device identification uniquely corresponds to the first device identification and the user identification. Optionally, the server 103 binds the second device identification to the first device identification and the user identification, including:    establishing the second device identification and the first device identification, The mapping relationship between the user IDs. Optionally, after binding the second device identifier to the first device identifier and the user identifier, the server 103 sends the second device identifier to the user terminal 102; The user terminal 102 sends the second device identification to the smart device 101; the smart device 101 communicates with the server 103 according to the second device identification. Optionally, before sending the second device identification to the user terminal 102, the server 103 encrypts the second device identification; and sends the encrypted second device identification to the user Scription user terminal 102. Optionally, the server 103 generates verification information that verifies the second device identification, and sends the verification information to the user terminal 102; the user terminal 102 sends the Verification information is sent to the smart terminal 101; the smart device 101 communicates with the server 103 according to the second device identification and the verification information. Optionally, the user terminal 102 obtains the first device identification of the smart device 101 by at least one of the following methods, including:    acquiring the first device identification by near field communication;   The first device identification is obtained by a smart device by scanning the code;    receiving the first device identification input by the user. In the binding system of the smart device provided by the embodiment of the present invention, the server binds the smart device and the user ID according to the device ID generated by the server, and the smart device can communicate with the server through the device ID generated by the server, In this way, since the device identification generated by the server is not easily obtained by the illegal user, the illegal user cannot further obtain the user information of the user, thereby effectively avoiding the leakage of the user information and ensuring the safety of the user information. FIG. 11 is a schematic structural diagram of a communication system of an intelligent device according to an embodiment of the present invention. Referring to FIG. 11, in one embodiment, the system 110 may include: a smart device 111, a user terminal 112, and a server 113, where: the user terminal 112 obtains the first device of the smart device 111 Logo and user logo; send the first device logo and the user logo to the server 113;    the server 113, according to the first device logo and the user logo, generate a second Device identification; send the second device identification to the user terminal 112;    the user terminal 112, send the second device identification to the smart device 111;    the smart device 111, according to the The second device identifier communicates with the server 113.   Optionally, the second device ID generated by the server 113 uniquely corresponds to the first device ID and the user ID.   Optionally, after generating the second device identification, the server 113 binds the second device identification to the first device identification and the user identification.   In summary, the above is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.   The system, device, module or unit explained in the above embodiments can be realized by a computer chip or entity, or by a product with a certain function. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a notebook computer, a mobile phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or these Any combination of devices in the device.  Computer-readable media including permanent and non-permanent, removable and non-removable media can be stored by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM) , Read-only memory (ROM), electrically erasable and programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only discs (CD-ROM), digital versatile discs (DVD) Or other optical storage, magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves. It should also be noted that the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also includes Other elements not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, commodity, or equipment that includes the element.   The embodiments in this specification are described in a progressive manner. The same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method embodiment.

S102~S106‧‧‧步驟S201~S209‧‧‧步驟50‧‧‧綁定裝置51‧‧‧接收單元52‧‧‧產生單元53‧‧‧綁定單元70‧‧‧綁定裝置71‧‧‧獲取單元72‧‧‧發送單元73‧‧‧接收單元90‧‧‧綁定裝置91‧‧‧接收單元100‧‧‧系統101‧‧‧智能設備102‧‧‧使用者終端103‧‧‧伺服器110‧‧‧系統111‧‧‧智能設備112‧‧‧使用者終端113‧‧‧伺服器S102~S106‧‧‧Step S201~S209‧‧‧Step 50‧‧‧Binding device 51‧‧‧Receiving unit 52‧‧‧Generation unit 53‧‧‧Binding unit 70‧‧‧Binding device 71‧‧ ‧Acquiring unit 72‧‧‧Sending unit 73‧‧‧Receiving unit 90‧‧‧Binding device 91‧‧‧Receiving unit 100‧‧‧System 101‧‧‧Smart device 102‧‧‧User terminal 103‧‧‧ Server 110‧‧‧System 111‧‧‧Smart device 112‧‧‧User terminal 113‧‧‧Server

為了更清楚地說明本發明實施例或現有技術中的技術方案,下面將對實施例或現有技術描述中所需要使用的圖式作簡單地介紹,顯而易見地,下面描述中的圖式僅僅是本發明中記載的一些實施例,對於本領域具有通常知識者來講,在不付出創造性勞動性的前提下,還可以根據這些圖式獲得其他的圖式。   圖1是本發明的一個實施例智能設備的綁定方法的流程示意圖;   圖2是本發明的一個實施例智能設備的綁定方法的流程示意圖;   圖3為本發明的一個實施例智能設備的綁定方法的示意圖;   圖4是本發明的一個實施例電子設備的結構示意圖;   圖5是本發明的一個實施例智能設備的綁定裝置的結構示意圖;   圖6是本發明的一個實施例電子設備的結構示意圖;   圖7是本發明的一個實施例智能設備的綁定裝置的結構示意圖;   圖8是本發明的一個實施例電子設備的結構示意圖;   圖9是本發明的一個實施例智能設備的綁定裝置的結構示意圖;   圖10是本發明的一個實施例智能設備的綁定系統的結構示意圖;   圖11是本發明的一個實施例智能設備的通訊系統的結構示意圖。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the drawings required in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only Some embodiments described in the invention, for those with ordinary knowledge in the art, can also obtain other drawings based on these drawings without paying creative labor. 1 is a schematic flow chart of a method for binding a smart device according to an embodiment of the present invention; FIG. 2 is a schematic flow chart of a method for binding a smart device according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a smart device according to an embodiment of the present invention Schematic diagram of the binding method;    FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;    FIG. 5 is a structural schematic diagram of a binding apparatus of an intelligent device according to an embodiment of the present invention;    FIG. 6 is an embodiment of the present invention. Schematic diagram of the device;    FIG. 7 is a schematic diagram of the binding device of the smart device according to an embodiment of the invention;    FIG. 8 is a schematic diagram of the electronic device according to an embodiment of the invention;    FIG. 9 is a smart device according to an embodiment of the invention FIG. 10 is a structural schematic diagram of a binding system of an intelligent device according to an embodiment of the present invention; FIG. 11 is a structural schematic diagram of a communication system of an intelligent device according to an embodiment of the present invention.

Claims (19)

一種智能設備的綁定方法,包括:使用者終端獲取智能設備的第一設備標識以及使用者標識;該使用者終端向伺服器發送請求,該請求中包含該第一設備標識以及該使用者標識;該伺服器根據該請求中的該第一設備標識以及該使用者標識,產生第二設備標識,並將該第二設備標識與該第一設備標識、該使用者標識進行綁定。 A binding method for a smart device includes: a user terminal acquiring a first device identification and a user identification of the smart device; the user terminal sends a request to a server, the request including the first device identification and the user identification The server generates a second device ID according to the first device ID and the user ID in the request, and binds the second device ID to the first device ID and the user ID. 如申請專利範圍第1項所述的綁定方法,該伺服器根據該第一設備標識以及該使用者標識,產生第二設備標識,包括:該伺服器根據該第一設備標識、該使用者標識以及有效日期,產生該第二設備標識,該有效日期用於表徵該第二設備標識的使用有效期。 According to the binding method described in item 1 of the patent application scope, the server generates a second device identification according to the first device identification and the user identification, including: the server according to the first device identification and the user The identification and the effective date generate the second device identification, and the effective date is used to characterize the use period of the second device identification. 如申請專利範圍第1項所述的綁定方法,該第二設備標識與該第一設備標識、該使用者標識唯一對應。 According to the binding method described in item 1 of the patent application scope, the second device identification uniquely corresponds to the first device identification and the user identification. 如申請專利範圍第2或3項所述的綁定方法,該伺服器將該第二設備標識與該第一設備標識、該使用者標識進行 綁定,包括:該伺服器建立該第二設備標識與該第一設備標識、該使用者標識之間的映射關係。 According to the binding method described in item 2 or 3 of the patent application scope, the server performs the second device identification with the first device identification and the user identification The binding includes: the server establishing a mapping relationship between the second device ID, the first device ID, and the user ID. 如申請專利範圍第4項所述的綁定方法,該伺服器將該第二設備標識與該第一設備標識、該使用者標識進行綁定後,該方法還包括:該伺服器將該第二設備標識發送給該使用者終端;該使用者終端將該第二設備標識發送給該智能設備;該智能設備根據該第二設備標識與該伺服器進行通訊。 According to the binding method described in item 4 of the patent application scope, after the server binds the second device ID to the first device ID and the user ID, the method further includes: the server The two device identifications are sent to the user terminal; the user terminal sends the second device identifications to the smart device; the smart device communicates with the server according to the second device identification. 如申請專利範圍第5項所述的綁定方法,該伺服器在將該第二設備標識發送給該使用者終端之前,該方法還包括:該伺服器對該第二設備標識進行加密;該伺服器將該第二設備標識發送給該使用者終端,包括:該伺服器將加密後的該第二設備標識發送給該使用者終端。 According to the binding method described in item 5 of the patent application scope, before the server sends the second device identification to the user terminal, the method further includes: the server encrypts the second device identification; The server sending the second device identification to the user terminal includes: the server sending the encrypted second device identification to the user terminal. 如申請專利範圍第5項所述的綁定方法,該方法還包括:該伺服器產生對該第二設備標識進行校驗的校驗資 訊,並將該校驗資訊發送給該使用者終端;該使用者終端將該校驗資訊發送給該智能終端;該智能設備根據該第二設備標識以及該校驗資訊與該伺服器進行通訊。 As in the binding method described in item 5 of the patent application scope, the method further includes: the server generates a verification resource for verifying the identification of the second device Send the verification information to the user terminal; the user terminal sends the verification information to the smart terminal; the smart device communicates with the server based on the second device identification and the verification information . 如申請專利範圍第1項所述的綁定方法,該使用者終端藉由以下至少一種方式獲取該智能設備的第一設備標識:該使用者終端藉由近場通訊的方式獲取該第一設備標識;該使用者終端藉由對該智能設備進行掃碼的方式獲取該第一設備標識;該使用者終端接收使用者輸入的該第一設備標識。 According to the binding method described in item 1 of the patent application scope, the user terminal obtains the first device identification of the smart device by at least one of the following methods: the user terminal obtains the first device by near field communication Identification; the user terminal obtains the first device identification by scanning the smart device; the user terminal receives the first device identification input by the user. 一種智能設備的綁定裝置,包括:接收單元,接收使用者終端發送的請求,該請求中包含智能設備的第一設備標識以及使用者標識;產生單元,根據該請求中的該第一設備標識以及該使用者標識,產生第二設備標識;綁定單元,將該第二設備標識與該第一設備標識、該使用者標識進行綁定。 An apparatus for binding a smart device includes: a receiving unit that receives a request sent by a user terminal, the request includes a first device identifier of the smart device and a user identifier; a generating unit, according to the first device identifier in the request And the user identification to generate a second device identification; the binding unit binds the second device identification to the first device identification and the user identification. 一種電子裝置,包括:獲取單元,獲取智能設備的第一設備標識以及使用者 標識;發送單元,向伺服器發送請求,該請求中包含該第一設備標識以及該使用者標識;接收單元,接收該伺服器返回的第二設備標識,該第二設備標識由該伺服器根據該請求中的該第一設備標識以及該使用者標識產生,並與第一設備標識以及該使用者標識綁定。 An electronic device, including: an acquiring unit, acquiring a first device identifier of a smart device and a user Identification; the sending unit sends a request to the server, the request contains the first device identification and the user identification; the receiving unit receives the second device identification returned by the server, the second device identification is based on the server The first device identification and the user identification in the request are generated and bound to the first device identification and the user identification. 一種智能設備的綁定裝置,包括:接收單元,接收使用者終端發送的第二設備標識,該第二設備標識由伺服器根據該智能設備的第一設備標識以及使用者標識產生,並與該第一設備標識以及該使用者標識綁定。 An apparatus for binding a smart device includes: a receiving unit that receives a second device ID sent by a user terminal, the second device ID is generated by a server according to the first device ID of the smart device and the user ID, and is associated with the The first device identification and the user identification are bound. 一種電子設備,包括:處理器;以及被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作:接收使用者終端發送的請求,該請求中包含智能設備的第一設備標識以及使用者標識;根據該請求中的該第一設備標識以及該使用者標識,產生第二設備標識;將該第二設備標識與該第一設備標識、該使用者標識進行綁定。 An electronic device comprising: a processor; and a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to perform the following operations: receive a request sent by a user terminal, the request contains The first device ID and user ID of the smart device; a second device ID is generated based on the first device ID and the user ID in the request; the second device ID and the first device ID and the user are generated Logo to bind. 一種電腦可讀儲存媒體,該電腦可讀儲存媒體儲存一個或多個程式,該一個或多個程式當被包括多個應用程式的電子設備執行時,使得該電子設備執行以下方法:接收使用者終端發送的請求,該請求中包含智能設備的第一設備標識以及使用者標識;根據該請求中的該第一設備標識以及該使用者標識,產生第二設備標識;將該第二設備標識與該第一設備標識、該使用者標識進行綁定。 A computer-readable storage medium storing one or more programs, which when executed by an electronic device including multiple application programs, causes the electronic device to perform the following method: receive a user A request sent by the terminal, the request contains the first device identifier and the user identifier of the smart device; according to the first device identifier and the user identifier in the request, a second device identifier is generated; the second device identifier and The first device identifier and the user identifier are bound. 一種電子設備,包括:處理器;以及被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作:獲取智能設備的第一設備標識以及使用者標識;向伺服器發送請求,該請求中包含該第一設備標識以及該使用者標識;接收該伺服器返回的第二設備標識,該第二設備標識由該伺服器根據該請求中的該第一設備標識以及該使用者標識產生,並與第一設備標識以及該使用者標識綁定。 An electronic device, comprising: a processor; and a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to perform the following operations: obtain the first device identification and user identification of the smart device ; Send a request to the server, the request contains the first device identification and the user identification; receive the second device identification returned by the server, the second device identification by the server according to the first in the request The device identification and the user identification are generated and bound to the first device identification and the user identification. 一種電腦可讀儲存媒體,該電腦可讀儲存媒體儲存一個或多個程式,該一個或多個程式當被包括多個應用程式 的電子設備執行時,使得該電子設備執行以下方法:獲取智能設備的第一設備標識以及使用者標識;向伺服器發送請求,該請求中包含該第一設備標識以及該使用者標識;接收該伺服器返回的第二設備標識,該第二設備標識由該伺服器根據該請求中的該第一設備標識以及該使用者標識產生,並與第一設備標識以及該使用者標識綁定。 A computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs are included as a plurality of application programs When the electronic device is executed, the electronic device is caused to perform the following methods: obtain the first device identification and the user identification of the smart device; send a request to the server, the request contains the first device identification and the user identification; receive the The second device ID returned by the server is generated by the server according to the first device ID and the user ID in the request, and is bound to the first device ID and the user ID. 一種電子設備,包括:處理器;以及被安排成儲存電腦可執行指令的記憶體,該可執行指令在被執行時使該處理器執行以下操作:接收使用者終端發送的第二設備標識,該第二設備標識由伺服器根據該智能設備的第一設備標識以及使用者標識產生,並與該第一設備標識以及該使用者標識綁定。 An electronic device includes: a processor; and a memory arranged to store computer executable instructions, the executable instructions, when executed, cause the processor to perform the following operations: receive a second device identification sent by a user terminal, the The second device identification is generated by the server according to the first device identification and the user identification of the smart device, and is bound to the first device identification and the user identification. 一種電腦可讀儲存媒體,該電腦可讀儲存媒體儲存一個或多個程式,該一個或多個程式當被包括多個應用程式的電子設備執行時,使得該電子設備執行以下方法:接收使用者終端發送的第二設備標識,該第二設備標識由伺服器根據該智能設備的第一設備標識以及使用者標識產生,並與該第一設備標識以及該使用者標識綁定。 A computer-readable storage medium storing one or more programs, which when executed by an electronic device including multiple application programs, causes the electronic device to perform the following method: receive a user The second device identification sent by the terminal, the second device identification is generated by the server according to the first device identification and the user identification of the smart device, and is bound to the first device identification and the user identification. 一種智能設備的綁定系統,包括:智能設備、使用者 終端和伺服端,其中:該使用者終端,獲取該智能設備的第一設備標識以及使用者標識,並向該伺服器發送請求,該請求中包含該第一設備標識以及該使用者標識;該伺服器,根據該請求中的該第一設備標識以及該使用者標識,產生第二設備標識,並將該第二設備標識與該第一設備標識、該使用者標識進行綁定。 A binding system for smart devices, including: smart devices and users A terminal and a server, wherein: the user terminal obtains the first device ID and user ID of the smart device, and sends a request to the server, the request includes the first device ID and the user ID; the The server generates a second device ID according to the first device ID and the user ID in the request, and binds the second device ID to the first device ID and the user ID. 一種智能設備的通訊系統,包括:智能設備、使用者終端和伺服端,其中:該使用者終端,獲取該智能設備的第一設備標識以及使用者標識;將該第一設備標識以及該使用者標識發送給該伺服器;該伺服器,根據該第一設備標識以及該使用者標識,產生第二設備標識,並將該第二設備標識與該第一設備標識、該使用者標識進行綁定;將該第二設備標識發送給該使用者終端;該使用者終端,將該第二設備標識發送給該智能設備;該智能設備,根據該第二設備標識與該伺服器進行通訊。A communication system for smart devices, including: a smart device, a user terminal and a server, wherein: the user terminal obtains the first device identification and user identification of the smart device; the first device identification and the user The identification is sent to the server; the server generates a second device identification based on the first device identification and the user identification, and binds the second device identification to the first device identification and the user identification Sending the second device identification to the user terminal; the user terminal sending the second device identification to the smart device; the smart device communicating with the server according to the second device identification.
TW107118446A 2017-09-12 2018-05-30 Smart device binding method, device and system, communication system TWI692990B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
??201710818712.8 2017-09-12
CN201710818712.8 2017-09-12
CN201710818712.8A CN107766738A (en) 2017-09-12 2017-09-12 A kind of binding method of smart machine, device and system, communication system

Publications (2)

Publication Number Publication Date
TW201914354A TW201914354A (en) 2019-04-01
TWI692990B true TWI692990B (en) 2020-05-01

Family

ID=61265500

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107118446A TWI692990B (en) 2017-09-12 2018-05-30 Smart device binding method, device and system, communication system

Country Status (3)

Country Link
CN (1) CN107766738A (en)
TW (1) TWI692990B (en)
WO (1) WO2019052411A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766738A (en) * 2017-09-12 2018-03-06 阿里巴巴集团控股有限公司 A kind of binding method of smart machine, device and system, communication system
CN115243202B (en) * 2018-07-18 2023-07-21 创新先进技术有限公司 Resource sharing method and device and electronic equipment
CN109547535B (en) * 2018-10-31 2021-11-02 创新先进技术有限公司 Equipment binding method, device and system
CN109543462B (en) * 2018-11-15 2020-12-04 深圳乐信软件技术有限公司 Equipment identification determination method, device, server and storage medium
WO2020133495A1 (en) * 2018-12-29 2020-07-02 华为技术有限公司 Smart device management method, mobile terminal, and system
CN113243097B (en) * 2019-06-28 2023-06-13 Oppo广东移动通信有限公司 Equipment binding method, cloud server and first equipment
CN112415901A (en) * 2019-08-20 2021-02-26 云丁网络技术(北京)有限公司 Method and device for managing intelligent equipment, computer readable medium and equipment
CN110545569B (en) * 2019-08-23 2020-10-23 珠海格力电器股份有限公司 Network distribution method and system of intelligent device and readable medium
CN110933733B (en) * 2019-10-14 2021-05-25 珠海格力电器股份有限公司 Network distribution method, device, computer equipment and storage medium
CN113572826B (en) * 2021-07-12 2023-09-26 绿盟科技集团股份有限公司 Device information binding method and system and electronic device
CN116049911B (en) * 2023-04-03 2023-06-30 上海钐昆网络科技有限公司 Method, device, equipment and computer storage medium for generating equipment identifier

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868696A (en) * 2012-09-18 2013-01-09 广州市动景计算机科技有限公司 Method and system for communication and information synchronization among equipments
CN103873342A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Method, terminal and system for joining social group
CN104601455A (en) * 2015-03-04 2015-05-06 北京深思数盾科技有限公司 Information interaction method and system for instant messaging software
CN106161359A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 The method and device of certification user, the method and device of registration wearable device
CN106960148A (en) * 2016-01-12 2017-07-18 阿里巴巴集团控股有限公司 The distribution method and device of a kind of device identification

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106413124B (en) * 2015-07-31 2021-03-23 腾讯科技(深圳)有限公司 Equipment binding method and device
CN106487767B (en) * 2015-08-31 2020-01-21 阿里巴巴集团控股有限公司 Method and device for updating verification information
CN105279452A (en) * 2015-09-14 2016-01-27 北京奇虎科技有限公司 Method, device and system for managing intelligent equipment
CN106559388B (en) * 2015-09-28 2020-11-10 腾讯科技(深圳)有限公司 Method and device for binding equipment
CN105357629A (en) * 2015-11-20 2016-02-24 青岛海尔股份有限公司 Method and device used for binding mobile terminal with intelligent household electrical appliance
CN105450655B (en) * 2015-12-14 2019-05-28 小米科技有限责任公司 Apparatus bound method and apparatus
CN106302762B (en) * 2016-08-19 2019-10-08 北京小米移动软件有限公司 Smart machine binding method and device
CN107766738A (en) * 2017-09-12 2018-03-06 阿里巴巴集团控股有限公司 A kind of binding method of smart machine, device and system, communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868696A (en) * 2012-09-18 2013-01-09 广州市动景计算机科技有限公司 Method and system for communication and information synchronization among equipments
CN103873342A (en) * 2012-12-11 2014-06-18 腾讯科技(深圳)有限公司 Method, terminal and system for joining social group
CN104601455A (en) * 2015-03-04 2015-05-06 北京深思数盾科技有限公司 Information interaction method and system for instant messaging software
CN106161359A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 The method and device of certification user, the method and device of registration wearable device
CN106960148A (en) * 2016-01-12 2017-07-18 阿里巴巴集团控股有限公司 The distribution method and device of a kind of device identification

Also Published As

Publication number Publication date
WO2019052411A1 (en) 2019-03-21
CN107766738A (en) 2018-03-06
TW201914354A (en) 2019-04-01

Similar Documents

Publication Publication Date Title
TWI692990B (en) Smart device binding method, device and system, communication system
CN107667515B (en) Synchronization group and authentication group in related devices
US11233779B2 (en) Wireless credential sharing
TWI679550B (en) Account login method and device
JP2018507463A (en) Method and apparatus for identifying a user ID
TW202022591A (en) Screen recording evidence obtaining method and system based on block chain and electronic device
CN103620556A (en) Binding applications to device capabilities
CN111339536B (en) Data verification method and device based on secure execution environment
CN106033503A (en) Method, device and system of online writing application secret key into digital content equipment
CN108564363B (en) Transaction processing method, server, client and system
TW201942784A (en) Data encryption, decryption method and device
US20180260538A1 (en) Timestamped license data structure
EP3221814B1 (en) Transparent execution of secret content
US20200302035A1 (en) Source-based authentication for a license of a license data structure
US11244031B2 (en) License data structure including license aggregation
EP3048553B1 (en) Method for distributing applets, and entities for distributing applets
CN113221165B (en) User element authentication method and device based on block chain
CN109802927B (en) Security service providing method and device
CN107566499B (en) Data synchronization method, device and system
US8635692B2 (en) System and method for user friendly detection of spammers
US20140007258A1 (en) Systems and methods for governing the disclosure of restricted data
CN116094793A (en) Method and system for establishing connection between operation center and security equipment based on data certificate
US20180260541A1 (en) License data structure including location-based application features
JP2020500381A (en) Method and apparatus for publishing a work to a network
CN113489695A (en) Private cloud networking method, device and system, computer equipment and storage medium