CN105812343A - Wearable service authentication method, cloud platform, wearable device and terminal - Google Patents
Wearable service authentication method, cloud platform, wearable device and terminal Download PDFInfo
- Publication number
- CN105812343A CN105812343A CN201410855633.0A CN201410855633A CN105812343A CN 105812343 A CN105812343 A CN 105812343A CN 201410855633 A CN201410855633 A CN 201410855633A CN 105812343 A CN105812343 A CN 105812343A
- Authority
- CN
- China
- Prior art keywords
- authentication information
- wearable device
- terminal
- cloud platform
- information sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000004044 response Effects 0.000 claims description 21
- 230000006399 behavior Effects 0.000 description 32
- 238000010586 diagram Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Lock And Its Accessories (AREA)
Abstract
Description
技术领域technical field
本发明涉及移动通信领域,具体涉及一种可穿戴业务认证方法、云平台、可穿戴设备及终端。The invention relates to the field of mobile communication, in particular to a wearable service authentication method, a cloud platform, a wearable device and a terminal.
背景技术Background technique
基于移动通信网的可穿戴业务是指使用智能终端,如手机、平板、个人电脑(PC,PersonalComputer)等作为可穿戴设备的汇聚节点,通过智能终端的移动通信数据连接作为可穿戴设备数据与互联网或云服务平台的数据通道。The wearable service based on the mobile communication network refers to the use of smart terminals, such as mobile phones, tablets, personal computers (PC, Personal Computer), etc. Or the data channel of the cloud service platform.
目前,可穿戴设备和云平台之间还没有可靠有效的方式直接互通,而且,对于可穿戴设备与云平台、云平台与终端、及终端与可穿戴设备之间的认证还没有提出统一的认证方案。At present, there is no reliable and effective way for direct intercommunication between wearable devices and cloud platforms. Moreover, there is no unified authentication for authentication between wearable devices and cloud platforms, cloud platforms and terminals, and terminals and wearable devices. Program.
发明内容Contents of the invention
为了解决现有存在的技术问题,本发明实施例期望提供一种可穿戴业务认证方法、云平台、可穿戴设备及终端。In order to solve the existing technical problems, the embodiment of the present invention expects to provide a wearable service authentication method, a cloud platform, a wearable device and a terminal.
本发明实施例提供了一种可穿戴业务认证方法,所述方法包括:An embodiment of the present invention provides a wearable service authentication method, the method comprising:
本发明提供了一种可穿戴业务认证方法,所述方法包括:The present invention provides a wearable service authentication method, the method comprising:
云平台接收可穿戴设备或终端发送的携带认证信息的业务请求;The cloud platform receives the service request carrying authentication information sent by the wearable device or terminal;
云平台判断可穿戴设备或终端发送的认证信息是否合法,当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当终端发送的认证信息合法时,响应终端的业务请求。The cloud platform judges whether the authentication information sent by the wearable device or the terminal is legal. When the authentication information sent by the wearable device is legal, it responds to the service request of the wearable device; when the authentication information sent by the terminal is legal, it responds to the service request of the terminal.
较佳地,当所述可穿戴设备发送的认证信息仅为一个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:可穿戴设备产品形态标识ID、可穿戴设备产品识别ID及可穿戴设备用户个人信息;Preferably, when the authentication information sent by the wearable device is only the authentication information of one wearable device, the authentication information sent by the wearable device includes: wearable device product form identification ID, wearable device product identification ID and personal information of wearable device users;
当所述可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:由多个可穿戴设备产品形态ID、产品识别ID及可穿戴设备用户个人信息通过加权形成的第一可穿戴设备群组ID。When the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the authentication information sent by the wearable device includes: a plurality of wearable device product form IDs, product identification IDs and wearable device user Personal information is weighted to form the first wearable device group ID.
较佳地,当所述终端发送的认证信息仅为一个终端的认证信息时,所述终端发送的认证信息包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;Preferably, when the authentication information sent by the terminal is only the authentication information of one terminal, the authentication information sent by the terminal includes: terminal identification information ID, terminal user personal information ID and wearable device information engine;
当所述终端发送的认证信息为多个终端的认证信息时,所述终端发送的认证信息包括:多个终端的识别信息ID、多个终端用户个人信息ID及可穿戴设备信息引擎经过加权处理后形成的第一终端群组ID。When the authentication information sent by the terminal is the authentication information of multiple terminals, the authentication information sent by the terminal includes: identification information IDs of multiple terminals, personal information IDs of multiple terminal users, and wearable device information engines after weighted processing The ID of the first terminal group formed later.
较佳地,所述云平台判断可穿戴设备发送的认证信息是否合法,包括:Preferably, the cloud platform judges whether the authentication information sent by the wearable device is legal, including:
当接收到的认证信息仅为一个可穿戴设备的认证信息时,云平台判断本地存储的所述可穿戴设备的认证信息与可穿戴设备发送的认证信息是否相同,相同时,确定所述可穿戴设备发送的认证信息合法;不相同时,确定所述可穿戴设备发送的认证信息不合法;When the received authentication information is only the authentication information of one wearable device, the cloud platform judges whether the locally stored authentication information of the wearable device is the same as the authentication information sent by the wearable device. The authentication information sent by the device is legal; if it is different, it is determined that the authentication information sent by the wearable device is illegal;
当接收到的认证信息为多个可穿戴设备的认证信息时,云平台对所述认证信息进行解析,确定所述认证信息对应的可穿戴设备;并在本地查找所述认证信息对应的各个可穿戴设备的认证信息,包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;对所述查找到的认证信息进行加权处理后生成第二可穿戴设备群组ID;将第一可穿戴设备群组ID和第二可穿戴设备群组ID进行比对,若第一可穿戴设备群组ID与第二可穿戴设备群组ID相同,则确定所述可穿戴设备发送的认证信息合法;若不相同,则确定所述可穿戴设备发送的认证信息不合法。When the received authentication information is the authentication information of multiple wearable devices, the cloud platform analyzes the authentication information to determine the wearable device corresponding to the authentication information; and searches locally for each wearable device corresponding to the authentication information. The authentication information of the wearable device, including: wearable device product form ID, wearable device product identification ID, wearable device user personal information; the second wearable device group ID is generated after the found authentication information is weighted ; Compare the first wearable device group ID with the second wearable device group ID, if the first wearable device group ID is the same as the second wearable device group ID, then determine the wearable device The authentication information sent is legal; if not the same, it is determined that the authentication information sent by the wearable device is invalid.
较佳地,云平台判断终端发送的认证信息是否合法,包括:Preferably, the cloud platform judges whether the authentication information sent by the terminal is legal, including:
当接收到的认证信息仅为一个终端的认证信息时,云平台判断本地存储的所述终端的认证信息与终端发送的认证信息是否相同,相同时,确定所述终端发送的认证信息合法;不相同时,确定所述终端发送的认证信息不合法;When the received authentication information is only the authentication information of one terminal, the cloud platform judges whether the authentication information of the terminal stored locally is the same as the authentication information sent by the terminal, and if they are the same, determines that the authentication information sent by the terminal is legal; When they are the same, it is determined that the authentication information sent by the terminal is illegal;
当接收到的认证信息为多个终端的认证信息时,云平台对所述认证信息进行解析,确定所述认证信息对应的终端;并在本地查找所述认证信息对应的各个终端的认证信息,包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;对所述查找到的认证信息进行加权处理后生成第二终端群组ID;将第一终端群组ID和第二终端群组ID进行比对,若第一终端群组ID与第二终端群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。When the received authentication information is the authentication information of multiple terminals, the cloud platform analyzes the authentication information to determine the terminal corresponding to the authentication information; and locally searches for the authentication information of each terminal corresponding to the authentication information, Including: the identification information ID of the terminal, the personal information ID of the terminal user and the wearable device information engine; the second terminal group ID is generated after the authentication information found is weighted; the first terminal group ID and the second terminal group ID are combined Comparing the terminal group IDs, if the first terminal group ID is the same as the second terminal group ID, it is determined that the authentication information sent by the terminal is legal; if they are not the same, it is determined that the authentication information sent by the terminal is illegal .
本发明又提供了一种可穿戴业务认证方法,所述方法包括:The present invention further provides a wearable service authentication method, the method comprising:
可穿戴设备接收云平台或终端发送的携带认证信息的业务请求;The wearable device receives the service request carrying authentication information sent by the cloud platform or the terminal;
可穿戴设备判断终端或云平台发送的认证信息是否合法,当终端发送的认证信息合法时,响应终端的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。The wearable device judges whether the authentication information sent by the terminal or the cloud platform is legal. When the authentication information sent by the terminal is legal, it responds to the service request of the terminal; when the authentication information sent by the cloud platform is legal, it responds to the business request of the cloud platform.
较佳地,当所述终端发送的认证信息仅为一个终端的认证信息时,所述终端发送的认证信息包括:终端的识别信息标识ID、终端用户个人信息ID及可穿戴设备信息引擎;Preferably, when the authentication information sent by the terminal is only the authentication information of one terminal, the authentication information sent by the terminal includes: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device;
当所述终端发送的认证信息为多个终端的认证信息时,所述终端发送的认证信息包括:多个终端的识别信息ID、多个终端用户个人信息ID及可穿戴设备信息引擎经过加权处理后形成的第一终端群组ID。When the authentication information sent by the terminal is the authentication information of multiple terminals, the authentication information sent by the terminal includes: identification information IDs of multiple terminals, personal information IDs of multiple terminal users, and wearable device information engines after weighted processing The ID of the first terminal group formed later.
较佳地,当所述云平台发送的认证信息仅为一个云平台的认证信息时,所述云平台发送的认证信息包括:云平台的识别信息ID和可穿戴设备信息引擎;Preferably, when the authentication information sent by the cloud platform is only the authentication information of one cloud platform, the authentication information sent by the cloud platform includes: the identification information ID of the cloud platform and the wearable device information engine;
当所述云平台发送的认证信息为多个云平台的认证信息时,所述云平台发送的认证信息包括:多个云平台的识别信息及多个云平台中的可穿戴设备引擎加权后形成的第一云平台群组ID。When the authentication information sent by the cloud platform is the authentication information of a plurality of cloud platforms, the authentication information sent by the cloud platform includes: identification information of a plurality of cloud platforms and wearable device engines in a plurality of cloud platforms are weighted to form The group ID of the first cloud platform.
较佳地,可穿戴设备判断终端发送的认证信息是否合法,包括:Preferably, the wearable device judges whether the authentication information sent by the terminal is legal, including:
当接收到的认证信息仅为一个终端的认证信息时,可穿戴设备判断本地存储的所述终端的认证信息与终端发送的认证信息是否相同,相同时,确定所述终端发送的认证信息合法;不相同时,确定所述终端发送的认证信息不合法;When the received authentication information is only the authentication information of one terminal, the wearable device judges whether the locally stored authentication information of the terminal is the same as the authentication information sent by the terminal, and if they are the same, determines that the authentication information sent by the terminal is legal; If they are different, it is determined that the authentication information sent by the terminal is illegal;
当接收到的认证信息为多个终端的认证信息时,可穿戴设备对所述认证信息进行解析,确定所述认证信息对应的终端;在本地查找所述认证信息对应的各个终端的认证信息,包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;对所述查找到的认证信息进行加权处理后生成第二终端群组ID;将第一终端群组ID和第二终端群组ID进行比对,若第一终端群组ID与第二终端群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。When the received authentication information is the authentication information of multiple terminals, the wearable device parses the authentication information to determine the terminal corresponding to the authentication information; locally searches for the authentication information of each terminal corresponding to the authentication information, Including: the identification information ID of the terminal, the personal information ID of the terminal user and the wearable device information engine; the second terminal group ID is generated after the authentication information found is weighted; the first terminal group ID and the second terminal group ID are combined Comparing the terminal group IDs, if the first terminal group ID is the same as the second terminal group ID, it is determined that the authentication information sent by the terminal is legal; if they are not the same, it is determined that the authentication information sent by the terminal is illegal .
较佳地,所述可穿戴设备判断云平台发送的认证信息是否合法,包括:Preferably, the wearable device judges whether the authentication information sent by the cloud platform is legal, including:
当接收到的认证信息仅为一个云平台的认证信息时,可穿戴设备判断本地存储的所述云平台的认证信息与云平台发送的认证信息是否相同,相同时,确定所述云平台发送的认证信息合法;不相同时,确定所述云平台发送的认证信息不合法;When the received authentication information is only the authentication information of a cloud platform, the wearable device judges whether the authentication information of the cloud platform stored locally is the same as the authentication information sent by the cloud platform, and if they are the same, determine the authentication information sent by the cloud platform. The authentication information is legal; if it is not the same, it is determined that the authentication information sent by the cloud platform is illegal;
当接收到的认证信息为多个云平台的认证信息时,可穿戴设备对所述认证信息进行解析,确定所述认证信息对应的云平台;并在本地查找所述认证信息对应的各个云平台的认证信息,包括:云平台的识别信息ID和可穿戴设备信息引擎;对所述查找到的认证信息进行加权处理后生成第二云平台群组ID;将第一云平台群组ID和第二云平台群组ID进行比对,若第一云平台群组ID与第二云平台群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。When the received authentication information is the authentication information of multiple cloud platforms, the wearable device analyzes the authentication information to determine the cloud platform corresponding to the authentication information; and searches locally for each cloud platform corresponding to the authentication information authentication information, including: the identification information ID of the cloud platform and the wearable device information engine; the second cloud platform group ID is generated after the authentication information found is weighted; the first cloud platform group ID and the second cloud platform group ID Two cloud platform group IDs are compared, if the first cloud platform group ID is identical with the second cloud platform group ID, then determine that the authentication information sent by the terminal is legal; if not identical, then determine that the terminal sends Authentication information is invalid.
本发明又提供了一种可穿戴业务认证方法,所述方法包括:The present invention further provides a wearable service authentication method, the method comprising:
终端接收可穿戴设备或云平台发送的携带认证信息的业务请求;The terminal receives the service request carrying authentication information sent by the wearable device or the cloud platform;
终端判断可穿戴设备或云平台发送的认证信息是否合法,当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。The terminal judges whether the authentication information sent by the wearable device or the cloud platform is legal. When the authentication information sent by the wearable device is legal, it responds to the service request of the wearable device; when the authentication information sent by the cloud platform is legal, it responds to the business request of the cloud platform. .
较佳地,当所述可穿戴设备发送的认证信息仅为一个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:可穿戴设备产品形态标识ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;Preferably, when the authentication information sent by the wearable device is only the authentication information of one wearable device, the authentication information sent by the wearable device includes: wearable device product form identification ID, wearable device product identification ID , personal information of wearable device users;
当所述可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:由多个可穿戴设备产品形态ID、产品识别ID及可穿戴设备用户个人信息通过加权形成的第一可穿戴设备群组ID。When the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the authentication information sent by the wearable device includes: a plurality of wearable device product form IDs, product identification IDs and wearable device user Personal information is weighted to form the first wearable device group ID.
较佳地,当所述云平台发送的认证信息仅为一个云平台的认证信息时,所述云平台发送的认证信息包括:云平台的识别信息ID和可穿戴设备信息引擎;Preferably, when the authentication information sent by the cloud platform is only the authentication information of one cloud platform, the authentication information sent by the cloud platform includes: the identification information ID of the cloud platform and the wearable device information engine;
当所述云平台发送的认证信息为多个云平台的认证信息时,所述云平台发送的认证信息包括:多个云平台的识别信息及多个云平台中的可穿戴设备引擎加权后形成的第一云平台群组ID。When the authentication information sent by the cloud platform is the authentication information of a plurality of cloud platforms, the authentication information sent by the cloud platform includes: identification information of a plurality of cloud platforms and wearable device engines in a plurality of cloud platforms are weighted to form The group ID of the first cloud platform.
较佳地,终端判断可穿戴设备发送的认证信息是否合法,包括:Preferably, the terminal judges whether the authentication information sent by the wearable device is legal, including:
当仅接收到一个可穿戴设备的认证信息时,终端判断本地存储的所述可穿戴设备的认证信息与可穿戴设备发送的认证信息是否相同,相同时,确定所述可穿戴设备发送的认证信息合法;不相同时,确定所述可穿戴设备发送的认证信息不合法;When only the authentication information of one wearable device is received, the terminal judges whether the locally stored authentication information of the wearable device is the same as the authentication information sent by the wearable device, and if they are the same, determine the authentication information sent by the wearable device legal; if not the same, it is determined that the authentication information sent by the wearable device is illegal;
当接收到多个可穿戴设备的认证信息时,终端对所述认证信息进行解析,确定所述认证信息对应的可穿戴设备;在本地查找所述认证信息对应的各个可穿戴设备的认证信息,包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;对所述查找到的认证信息进行加权处理后生成第二可穿戴设备群组ID;将第一可穿戴设备群组ID和第二可穿戴设备群组ID进行比对,若第一可穿戴设备群组ID与第二可穿戴设备群组ID相同,则确定所述可穿戴设备发送的认证信息合法;若不相同,则确定所述可穿戴设备发送的认证信息不合法。When receiving authentication information of multiple wearable devices, the terminal parses the authentication information to determine the wearable device corresponding to the authentication information; locally searches for the authentication information of each wearable device corresponding to the authentication information, Including: wearable device product form ID, wearable device product identification ID, wearable device user personal information; after performing weighted processing on the found authentication information, a second wearable device group ID is generated; the first wearable device The device group ID is compared with the second wearable device group ID, and if the first wearable device group ID is the same as the second wearable device group ID, it is determined that the authentication information sent by the wearable device is legal; If not, it is determined that the authentication information sent by the wearable device is illegal.
较佳地,所述终端判断云平台发送的认证信息是否合法,包括:Preferably, the terminal judges whether the authentication information sent by the cloud platform is legal, including:
当仅接收到一个云平台的认证信息时,终端判断本地存储的所述云平台的认证信息与云平台发送的认证信息是否相同,相同时,确定所述云平台发送的认证信息合法;不相同时,确定所述云平台发送的认证信息不合法;When only the authentication information of one cloud platform is received, the terminal judges whether the authentication information of the cloud platform stored locally is the same as the authentication information sent by the cloud platform, and if they are the same, determines that the authentication information sent by the cloud platform is legal; At the same time, it is determined that the authentication information sent by the cloud platform is illegal;
当接收到多个云平台的认证信息时,终端对所述认证信息进行解析,确定所述认证信息对应的云平台;在本地查找所述认证信息对应的各个云平台的认证信息,包括:云平台的识别信息ID和可穿戴设备信息引擎;对所述查找到的认证信息进行加权处理后生成第二云平台群组ID;将第一云平台群组ID和第二云平台群组ID进行比对,若第一云平台群组ID与第二云平台群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。When receiving authentication information of multiple cloud platforms, the terminal analyzes the authentication information to determine the cloud platform corresponding to the authentication information; locally searches for the authentication information of each cloud platform corresponding to the authentication information, including: The identification information ID of platform and wearable device information engine; The second cloud platform group ID is generated after the authentication information that described finding is carried out weight processing; The first cloud platform group ID and the second cloud platform group ID are carried out For comparison, if the first cloud platform group ID is the same as the second cloud platform group ID, it is determined that the authentication information sent by the terminal is legal; if not, it is determined that the authentication information sent by the terminal is illegal.
本发明又提供了一种云平台,所述云平台包括:第一请求接收模块、第一判断模块及第一响应模块;其中,The present invention further provides a cloud platform, which includes: a first request receiving module, a first judgment module and a first response module; wherein,
所述第一请求接收模块,用于接收可穿戴设备或终端发送的携带认证信息的业务请求;The first request receiving module is configured to receive a service request carrying authentication information sent by a wearable device or a terminal;
所述第一判断模块,用于判断可穿戴设备或终端发送的认证信息是否合法;The first judging module is used to judge whether the authentication information sent by the wearable device or the terminal is legal;
所述第一响应模块,用于当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;还用于当终端发送的认证信息合法时,响应终端的业务请求。The first response module is configured to respond to the service request of the wearable device when the authentication information sent by the wearable device is legal; it is also used to respond to the service request of the terminal when the authentication information sent by the terminal is legal.
较佳地,当所述可穿戴设备发送的认证信息仅为一个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:可穿戴设备产品形态标识ID、可穿戴设备产品识别ID及可穿戴设备用户个人信息;Preferably, when the authentication information sent by the wearable device is only the authentication information of one wearable device, the authentication information sent by the wearable device includes: wearable device product form identification ID, wearable device product identification ID and personal information of wearable device users;
当所述可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:由多个可穿戴设备产品形态ID、产品识别ID及可穿戴设备用户个人信息通过加权形成的第一可穿戴设备群组ID。When the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the authentication information sent by the wearable device includes: a plurality of wearable device product form IDs, product identification IDs and wearable device user Personal information is weighted to form the first wearable device group ID.
较佳地,当所述终端发送的认证信息仅为一个终端的认证信息时,所述终端发送的认证信息包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;Preferably, when the authentication information sent by the terminal is only the authentication information of one terminal, the authentication information sent by the terminal includes: terminal identification information ID, terminal user personal information ID and wearable device information engine;
当所述终端发送的认证信息为多个终端的认证信息时,所述终端发送的认证信息包括:多个终端的识别信息ID、多个终端用户个人信息ID及可穿戴设备信息引擎经过加权处理后形成的第一终端群组ID。When the authentication information sent by the terminal is the authentication information of multiple terminals, the authentication information sent by the terminal includes: identification information IDs of multiple terminals, personal information IDs of multiple terminal users, and wearable device information engines after weighted processing The ID of the first terminal group formed later.
较佳地,所述第一判断模块包括第一判断子模块、第一解析子模块、第一查找子模块及第一加权处理子模块;其中,Preferably, the first judging module includes a first judging submodule, a first parsing submodule, a first searching submodule and a first weighting processing submodule; wherein,
所述第一判断子模块,用于当第一请求接收模块接收到的认证信息仅为一个可穿戴设备的认证信息时,判断本地存储的所述可穿戴设备的认证信息与可穿戴设备发送的认证信息是否相同,相同时,确定所述可穿戴设备发送的认证信息合法;不相同时,确定所述可穿戴设备发送的认证信息不合法;The first judging submodule is configured to judge whether the locally stored authentication information of the wearable device is different from the authentication information sent by the wearable device when the authentication information received by the first request receiving module is only the authentication information of one wearable device. Whether the authentication information is the same, if the same, determine that the authentication information sent by the wearable device is legal; if not, determine that the authentication information sent by the wearable device is illegal;
所述第一解析子模块,用于当第一请求接收模块接收到的认证信息为多个可穿戴设备的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的可穿戴设备;The first parsing submodule is configured to parse the authentication information and determine the wearable device corresponding to the authentication information when the authentication information received by the first request receiving module is the authentication information of multiple wearable devices ;
所述第一查找子模块用于在本地查找所述多个可穿戴设备的认证信息对应的各个可穿戴设备的认证信息,包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;The first search submodule is used to locally search for the authentication information of each wearable device corresponding to the authentication information of the plurality of wearable devices, including: wearable device product form ID, wearable device product identification ID, wearable device Device user personal information;
所述第一加权处理子模块,用于对所述查找到的认证信息进行加权处理后生成第二可穿戴设备群组ID;The first weighted processing submodule is configured to perform weighted processing on the found authentication information to generate a second wearable device group ID;
所述第一判断子模块,还用于将第一可穿戴设备群组ID和第二可穿戴设备群组ID进行比对,若第一可穿戴设备群组ID与第二可穿戴设备群组ID相同,则确定所述可穿戴设备发送的认证信息合法;若不相同,则确定所述可穿戴设备发送的认证信息不合法。The first judgment submodule is also used to compare the first wearable device group ID with the second wearable device group ID, if the first wearable device group ID is the same as the second wearable device group ID If the IDs are the same, it is determined that the authentication information sent by the wearable device is legal; if not, it is determined that the authentication information sent by the wearable device is not legal.
较佳地,Preferably,
所述第一判断子模块,还用于当第一请求接收模块接收到的认证信息仅为一个终端的认证信息时,判断本地存储的所述终端的认证信息与终端发送的认证信息是否相同,相同时,确定所述终端发送的认证信息合法;不相同时,确定所述终端发送的认证信息不合法;The first judging submodule is further configured to judge whether the locally stored authentication information of the terminal is the same as the authentication information sent by the terminal when the authentication information received by the first request receiving module is only the authentication information of one terminal, When they are the same, it is determined that the authentication information sent by the terminal is legal; when they are not the same, it is determined that the authentication information sent by the terminal is illegal;
所述第一解析子模块,还用于当第一请求接收模块接收到的认证信息为多个终端的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的终端;The first parsing submodule is further configured to parse the authentication information and determine the terminal corresponding to the authentication information when the authentication information received by the first request receiving module is the authentication information of multiple terminals;
所述第一查找子模块,还用于在本地查找所述多个终端的认证信息对应的各个终端的认证信息:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;The first search submodule is also used to locally search for the authentication information of each terminal corresponding to the authentication information of the plurality of terminals: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device;
所述第一加权处理子模块,用于对所述查找到的认证信息进行加权处理后生成第二终端群组ID;The first weighting processing submodule is configured to perform weighting processing on the found authentication information to generate a second terminal group ID;
所述第一判断子模块,还用于将第一终端群组ID和第二终端群组ID进行比对,若第一终端群组ID与第二终端群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。The first judging submodule is also used to compare the first terminal group ID with the second terminal group ID, and if the first terminal group ID is the same as the second terminal group ID, then determine the terminal The authentication information sent is legal; if not the same, it is determined that the authentication information sent by the terminal is invalid.
本发明又提供了一种可穿戴设备,所述可穿戴设备包括:第二请求接收模块、第二判断模块及第二响应模块;其中,The present invention further provides a wearable device, which includes: a second request receiving module, a second judging module and a second responding module; wherein,
所述第二请求接收模块,用于接收云平台或终端发送的携带认证信息的业务请求;The second request receiving module is configured to receive a service request carrying authentication information sent by a cloud platform or a terminal;
所述第二判断模块,用于判断终端或云平台发送的认证信息是否合法;The second judging module is used to judge whether the authentication information sent by the terminal or the cloud platform is legal;
所述第二响应模块,用于当终端发送的认证信息合法时,响应终端的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。The second response module is configured to respond to the service request of the terminal when the authentication information sent by the terminal is legal; to respond to the service request of the cloud platform when the authentication information sent by the cloud platform is legal.
较佳地,当所述终端发送的认证信息仅为一个终端的认证信息时,所述终端发送的认证信息包括:终端的识别信息标识ID、终端用户个人信息ID及可穿戴设备信息引擎;Preferably, when the authentication information sent by the terminal is only the authentication information of one terminal, the authentication information sent by the terminal includes: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device;
当所述终端发送的认证信息为多个终端的认证信息时,所述终端发送的认证信息包括:多个终端的识别信息ID、多个终端用户个人信息ID及可穿戴设备信息引擎经过加权处理后形成的第一终端群组ID。When the authentication information sent by the terminal is the authentication information of multiple terminals, the authentication information sent by the terminal includes: identification information IDs of multiple terminals, personal information IDs of multiple terminal users, and wearable device information engines after weighted processing The ID of the first terminal group formed later.
较佳地,当所述云平台发送的认证信息仅为一个云平台的认证信息时,所述云平台发送的认证信息包括:云平台的识别信息ID和可穿戴设备信息引擎;Preferably, when the authentication information sent by the cloud platform is only the authentication information of one cloud platform, the authentication information sent by the cloud platform includes: the identification information ID of the cloud platform and the wearable device information engine;
当所述云平台发送的认证信息为多个云平台的认证信息时,所述云平台发送的认证信息包括:多个云平台的识别信息及多个云平台中的可穿戴设备引擎加权后形成的第一云平台群组ID。When the authentication information sent by the cloud platform is the authentication information of a plurality of cloud platforms, the authentication information sent by the cloud platform includes: identification information of a plurality of cloud platforms and wearable device engines in a plurality of cloud platforms are weighted to form The group ID of the first cloud platform.
较佳地,所述第二判断模块包括第二判断子模块、第二解析子模块、第二查找子模块及第二加权处理子模块;其中,Preferably, the second judging module includes a second judging submodule, a second parsing submodule, a second searching submodule and a second weighting processing submodule; wherein,
第二判断子模块,用于当第二请求接收模块接收到的认证信息仅为一个终端的认证信息时,判断本地存储的所述终端的认证信息与终端发送的认证信息是否相同,相同时,确定所述终端发送的认证信息合法;不相同时,确定所述终端发送的认证信息不合法;The second judging submodule is used to judge whether the locally stored authentication information of the terminal is the same as the authentication information sent by the terminal when the authentication information received by the second request receiving module is only the authentication information of one terminal. Determining that the authentication information sent by the terminal is legal; if not the same, determining that the authentication information sent by the terminal is illegal;
所述第二解析子模块,用于当第二请求接收模块接收到的认证信息为多个终端的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的终端;The second parsing submodule is configured to parse the authentication information and determine the terminal corresponding to the authentication information when the authentication information received by the second request receiving module is the authentication information of multiple terminals;
所述第二查找子模块,用于在本地查找所述认证信息对应的各个终端的认证信息:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;The second search submodule is used to search locally the authentication information of each terminal corresponding to the authentication information: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device;
所述第二加权处理子模块,用于对所述查找到的认证信息进行加权处理后生成第二终端群组ID;The second weighting processing submodule is configured to perform weighting processing on the found authentication information to generate a second terminal group ID;
所述第二判断子模块,还用于将第一终端群组ID和第二终端群组ID进行比对,若第一终端群组ID与第二终端群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。The second judging submodule is also used to compare the first terminal group ID with the second terminal group ID, and if the first terminal group ID is the same as the second terminal group ID, then determine that the terminal The authentication information sent is legal; if not the same, it is determined that the authentication information sent by the terminal is invalid.
较佳地,所述第二判断子模块,还用于当第二请求接收模块接收到的认证信息仅为一个云平台的认证信息时,判断本地存储的所述云平台的认证信息与云平台发送的认证信息是否相同,相同时,确定所述云平台发送的认证信息合法;不相同时,确定所述云平台发送的认证信息不合法;Preferably, the second judging submodule is also used to judge whether the authentication information of the cloud platform stored locally is the same as the authentication information of the cloud platform when the authentication information received by the second request receiving module is only the authentication information of one cloud platform. Whether the authentication information sent is the same, if identical, determine that the authentication information sent by the cloud platform is legal; when not identical, determine that the authentication information sent by the cloud platform is illegal;
所述第二解析模块,还用于当第二请求接收模块接收到的认证信息为多个云平台的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的云平台;The second parsing module is further configured to parse the authentication information and determine the cloud platform corresponding to the authentication information when the authentication information received by the second request receiving module is the authentication information of multiple cloud platforms;
所述第二查找子模块,还用于在本地查找所述认证信息对应的各个云平台的认证信息:云平台的识别信息ID和可穿戴设备信息引擎;The second search submodule is also used to locally search for the authentication information of each cloud platform corresponding to the authentication information: the identification information ID of the cloud platform and the information engine of the wearable device;
所述第二加权处理子模块,还用于对所述查找到的认证信息进行加权处理后生成第二云平台群组ID;The second weighting processing submodule is also used to generate a second cloud platform group ID after performing weighting processing on the found authentication information;
所述第二判断子模块,还用于将第一云平台群组ID和第二云平台群组ID进行比对,若第一云平台群组ID与第二云平台群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。The second judging submodule is also used to compare the first cloud platform group ID with the second cloud platform group ID, if the first cloud platform group ID is identical to the second cloud platform group ID, then It is determined that the authentication information sent by the terminal is legal; if not the same, it is determined that the authentication information sent by the terminal is not legal.
本发明又提供了一种终端,所述终端包括:第三请求接收模块、第三判断模块及第三响应模块;其中,The present invention further provides a terminal, which includes: a third request receiving module, a third judging module, and a third responding module; wherein,
所述第三请求接收模块,用于接收可穿戴设备或云平台发送的携带认证信息的业务请求;The third request receiving module is configured to receive a service request carrying authentication information sent by a wearable device or a cloud platform;
所述第三判断模块,用于判断可穿戴设备或云平台发送的认证信息是否合法;The third judging module is used to judge whether the authentication information sent by the wearable device or the cloud platform is legal;
所述第三响应模块,用于当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。The third response module is configured to respond to the service request of the wearable device when the authentication information sent by the wearable device is legal; and respond to the service request of the cloud platform when the authentication information sent by the cloud platform is legal.
较佳地,当所述可穿戴设备发送的认证信息仅为一个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:可穿戴设备产品形态标识ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;Preferably, when the authentication information sent by the wearable device is only the authentication information of one wearable device, the authentication information sent by the wearable device includes: wearable device product form identification ID, wearable device product identification ID , personal information of wearable device users;
当所述可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:由多个可穿戴设备产品形态ID、产品识别ID及可穿戴设备用户个人信息通过一定加权方式形成的第一可穿戴设备群组ID。When the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the authentication information sent by the wearable device includes: a plurality of wearable device product form IDs, product identification IDs and wearable device user The first wearable device group ID formed by personal information in a certain weighted manner.
较佳地,当所述云平台发送的认证信息仅为一个云平台的认证信息时,所述云平台发送的认证信息包括:云平台的识别信息ID和可穿戴设备信息引擎;Preferably, when the authentication information sent by the cloud platform is only the authentication information of one cloud platform, the authentication information sent by the cloud platform includes: the identification information ID of the cloud platform and the wearable device information engine;
当所述云平台发送的认证信息为多个云平台的认证信息时,所述云平台发送的认证信息包括:多个云平台的识别信息及多个云平台中的可穿戴设备引擎加权后形成的第一云平台群组ID。When the authentication information sent by the cloud platform is the authentication information of a plurality of cloud platforms, the authentication information sent by the cloud platform includes: identification information of a plurality of cloud platforms and wearable device engines in a plurality of cloud platforms are weighted to form The group ID of the first cloud platform.
较佳地,所述第三判断模块包括第三判断子模块、第三解析子模块、第三查找子模块及第三加权处理子模块;其中,Preferably, the third judging module includes a third judging submodule, a third parsing submodule, a third searching submodule and a third weighting processing submodule; wherein,
所述第三判断子模块,用于当第三请求接收模块接收到一个可穿戴设备的认证信息时,判断本地存储的所述可穿戴设备的认证信息与可穿戴设备发送的认证信息是否相同,相同时,确定所述可穿戴设备发送的认证信息合法;不相同时,确定所述可穿戴设备发送的认证信息不合法;The third judging submodule is configured to judge whether the locally stored authentication information of the wearable device is the same as the authentication information sent by the wearable device when the third request receiving module receives the authentication information of a wearable device, When they are the same, it is determined that the authentication information sent by the wearable device is legal; when they are different, it is determined that the authentication information sent by the wearable device is illegal;
所述第三解析子模块,用于当第三请求接收模块接收到多个可穿戴设备的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的可穿戴设备;The third parsing submodule is configured to parse the authentication information and determine the wearable device corresponding to the authentication information when the third request receiving module receives authentication information of multiple wearable devices;
所述第三查找子模块,用于在本地查找所述认证信息对应的各个可穿戴设备的认证信息:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;The third search submodule is used to search locally the authentication information of each wearable device corresponding to the authentication information: wearable device product form ID, wearable device product identification ID, wearable device user personal information;
所述第三加权处理子模块,用于对所述查找到的认证信息进行加权处理后生成第二可穿戴设备群组ID;The third weighted processing submodule is used to generate a second wearable device group ID after performing weighted processing on the found authentication information;
所述第三判断子模块,还用于将第一可穿戴设备群组ID和第二可穿戴设备群组ID进行比对,若第一可穿戴设备群组ID与第二可穿戴设备群组ID相同,则确定所述可穿戴设备发送的认证信息合法;若不相同,则确定所述可穿戴设备发送的认证信息不合法。The third judging submodule is also used to compare the first wearable device group ID with the second wearable device group ID, if the first wearable device group ID is the same as the second wearable device group ID If the IDs are the same, it is determined that the authentication information sent by the wearable device is legal; if not, it is determined that the authentication information sent by the wearable device is not legal.
较佳地,所述第三判断子模块,还用于当第三请求接收模块接收到一个云平台的认证信息时,判断本地存储的所述云平台的认证信息与云平台发送的认证信息是否相同,相同时,确定所述云平台发送的认证信息合法;不相同时,确定所述云平台发送的认证信息不合法;Preferably, the third judging submodule is also used for judging whether the authentication information of the cloud platform stored locally and the authentication information sent by the cloud platform are equal to each other when the third request receiving module receives the authentication information of a cloud platform. Identical, when identical, determine that the authentication information sent by the cloud platform is legal; when not identical, determine that the authentication information sent by the cloud platform is illegal;
所述第三解析子模块,还用于当第三请求接收模块接收到多个云平台的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的云平台;The third parsing submodule is further configured to parse the authentication information and determine the cloud platform corresponding to the authentication information when the third request receiving module receives authentication information of multiple cloud platforms;
所述第三解析子模块,还用于在本地查找所述认证信息对应的各个云平台的认证信息:云平台的识别信息ID和可穿戴设备信息引擎;The third parsing submodule is also used to locally search for the authentication information of each cloud platform corresponding to the authentication information: the identification information ID of the cloud platform and the information engine of the wearable device;
所述第三查找子模块,还用于对所述查找到的认证信息进行加权处理后生成第二云平台群组ID;The third search submodule is further configured to generate a second cloud platform group ID after weighting the found authentication information;
所述第三判断子模块,还用于将第一云平台群组ID和第二云平台群组ID进行比对,若第一云平台群组ID与第二云平台群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。The third judging submodule is also used to compare the first cloud platform group ID with the second cloud platform group ID, if the first cloud platform group ID is identical to the second cloud platform group ID, then It is determined that the authentication information sent by the terminal is legal; if not the same, it is determined that the authentication information sent by the terminal is not legal.
本发明实施例所提供的一种可穿戴业务认证方法、云平台、可穿戴设备及终端,云平台接收可穿戴设备或终端发送的携带认证信息的业务请求;云平台判断可穿戴设备或终端发送的认证信息是否合法,当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当终端发送的认证信息合法时,响应终端的业务请求;可穿戴设备接收云平台或终端发送的携带认证信息的业务请求;可穿戴设备判断终端或云平台发送的认证信息是否合法,当终端发送的认证信息合法时,响应终端的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求;终端接收可穿戴设备或云平台发送的携带认证信息的业务请求;终端判断可穿戴设备或云平台发送的认证信息是否合法,当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。如此,能够实现可穿戴设备与云平台之间的直接互通、且能够提供一种可穿戴设备与终端、及终端与云平台、及可穿戴设备与云平台之间的统一认证方式。A wearable service authentication method, a cloud platform, a wearable device, and a terminal provided by an embodiment of the present invention, the cloud platform receives a service request carrying authentication information sent by the wearable device or terminal; the cloud platform judges that the wearable device or terminal sends When the authentication information sent by the wearable device is legal, it responds to the service request of the wearable device; when the authentication information sent by the terminal is legal, it responds to the service request of the terminal; the wearable device receives the service request sent by the cloud platform or the terminal A business request carrying authentication information; the wearable device judges whether the authentication information sent by the terminal or the cloud platform is legal, and responds to the terminal's business request when the authentication information sent by the terminal is legal; when the authentication information sent by the cloud platform is legal, responds to the cloud platform business request; the terminal receives the business request with authentication information sent by the wearable device or the cloud platform; the terminal judges whether the authentication information sent by the wearable device or the cloud platform is legal, and when the authentication information sent by the wearable device is legal, responds to the wearable The service request of the device; when the authentication information sent by the cloud platform is legal, respond to the service request of the cloud platform. In this way, direct intercommunication between the wearable device and the cloud platform can be realized, and a unified authentication method between the wearable device and the terminal, the terminal and the cloud platform, and the wearable device and the cloud platform can be provided.
附图说明Description of drawings
图1为本发明实施例提供的可穿戴业务认证方法流程图一;Fig. 1 is a flow chart 1 of a wearable service authentication method provided by an embodiment of the present invention;
图2为本发明实施例提供的可穿戴业务认证方法流程图二;Fig. 2 is the second flow chart of the wearable service authentication method provided by the embodiment of the present invention;
图3为本发明实施例提供的可穿戴业务认证方法流程图三;Fig. 3 is the third flowchart of the wearable service authentication method provided by the embodiment of the present invention;
图4为本发明实施例提供的云平台的基本结构图;Fig. 4 is the basic structural diagram of the cloud platform provided by the embodiment of the present invention;
图5为本发明实施例提供的云平台中第一判断模块的基本结构图;Fig. 5 is the basic structural diagram of the first judging module in the cloud platform provided by the embodiment of the present invention;
图6为本发明实施例提供的可穿戴设备的基本结构图;FIG. 6 is a basic structural diagram of a wearable device provided by an embodiment of the present invention;
图7为本发明实施例提供的可穿戴设备中第二判断模块的基本结构图;FIG. 7 is a basic structural diagram of a second judgment module in a wearable device provided by an embodiment of the present invention;
图8为本发明实施例提供的终端的基本结构图;FIG. 8 is a basic structural diagram of a terminal provided by an embodiment of the present invention;
图9为本发明实施例提供的终端中第三判断模块的基本结构图;FIG. 9 is a basic structural diagram of a third judging module in a terminal provided by an embodiment of the present invention;
图10为本发明实施例提供的一种可穿戴业务认证系统的基本结构图。Fig. 10 is a basic structural diagram of a wearable business authentication system provided by an embodiment of the present invention.
具体实施方式detailed description
本发明实施例中,云平台接收可穿戴设备或终端发送的携带认证信息的业务请求;云平台判断可穿戴设备或终端发送的认证信息是否合法,当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当终端发送的认证信息合法时,响应终端的业务请求。In the embodiment of the present invention, the cloud platform receives the service request carrying the authentication information sent by the wearable device or the terminal; the cloud platform judges whether the authentication information sent by the wearable device or the terminal is legal, and responds when the authentication information sent by the wearable device is legal. The service request of the wearable device; when the authentication information sent by the terminal is legal, respond to the service request of the terminal.
下面通过附图及具体实施例对本发明做进一步的详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
实施例一Embodiment one
本发明实施例一提供了一种可穿戴业务认证方法,如图1所示,该方法包括以下步骤:Embodiment 1 of the present invention provides a wearable service authentication method, as shown in Figure 1, the method includes the following steps:
步骤101:云平台接收可穿戴设备或终端发送的携带认证信息的业务请求;Step 101: The cloud platform receives a service request carrying authentication information sent by a wearable device or a terminal;
具体的,当所述可穿戴设备发送的认证信息仅为一个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:可穿戴设备产品形态标识(ID,IDentity)、可穿戴设备产品识别ID、可穿戴设备用户个人信息;进一步的,所述可穿戴设备发送的认证信息还可以包括:可穿戴设备用户行为ID;其中,所述可穿戴设备产品形态ID用于标识可穿戴设备的产品形态,可穿戴设备的产品形态可以为智能手表、智能手环等等;所述可穿戴设备产品识别ID为用于标识可穿戴设备的唯一标识;所述可穿戴设备的用户个人信息是指可穿戴设备的使用者的个人信息包括:姓名、性别、年龄等等个人信息;所述可穿戴设备的用户行为ID为标识可穿戴设备使用者的使用行为的ID,是通过对可穿戴设备使用者进行行为分析而由可穿戴设备所连接的终端动态产生的;Specifically, when the authentication information sent by the wearable device is only the authentication information of one wearable device, the authentication information sent by the wearable device includes: wearable device product form identification (ID, IDentity), wearable device Product identification ID, wearable device user personal information; further, the authentication information sent by the wearable device may also include: wearable device user behavior ID; wherein, the wearable device product form ID is used to identify the wearable device The product form of the wearable device can be a smart watch, a smart bracelet, etc.; the product identification ID of the wearable device is a unique identifier used to identify the wearable device; the personal information of the user of the wearable device is Refers to the personal information of the user of the wearable device, including personal information such as name, gender, age, etc.; the user behavior ID of the wearable device is an ID that identifies the user's usage behavior of the wearable device, which is obtained through the wearable device It is dynamically generated by the terminal connected to the wearable device through user behavior analysis;
当所述可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:由多个可穿戴设备产品形态ID、产品识别ID及可穿戴设备用户个人信息通过一定加权方式形成的第一可穿戴设备群组ID;还可以进一步包括对多个可穿戴设备用户行为ID进行加权获得的第一可穿戴设备群组用户行为ID;When the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the authentication information sent by the wearable device includes: a plurality of wearable device product form IDs, product identification IDs and wearable device user The first wearable device group ID formed by personal information in a certain weighted manner; it may further include the first wearable device group user behavior ID obtained by weighting multiple wearable device user behavior IDs;
进一步的,当可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述业务请求中还可以携带用于指示生成第一可穿戴设备群组ID、或生成第一可穿戴设备群组ID及第一可穿戴设备用户行为ID时所使用的加权算法的信息,接收到所述加权算法信息的云平台可以根据所指示的加权算法对本地信息进行加权;可穿戴设备和云平台之间也可以事先约定好第一可穿戴设备群组ID、或生成第一可穿戴设备群组ID及第一可穿戴设备用户行为ID所使用的加权算法。Further, when the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the service request may also carry an ID for indicating to generate the first wearable device group ID, or to generate the first wearable device group ID. The information of the weighting algorithm used when the group ID and the user behavior ID of the first wearable device, the cloud platform that receives the weighting algorithm information can weight the local information according to the indicated weighting algorithm; the wearable device and the cloud platform The first wearable device group ID, or the weighting algorithm used to generate the first wearable device group ID and the first wearable device user behavior ID may also be agreed in advance.
当所述终端发送的认证信息仅为一个终端的认证信息时,所述终端发送的认证信息包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;其中,终端识别信息ID是用于标识不同终端的唯一ID,终端用户个人信息ID为用于标识不同终端用户的唯一ID,所述可穿戴设备信息引擎是相互关联的可穿戴设备与终端建立连接时,由可穿戴设备发送给终端、并由终端存储于本地的信息;When the authentication information sent by the terminal is only the authentication information of one terminal, the authentication information sent by the terminal includes: the identification information ID of the terminal, the personal information ID of the terminal user and the wearable device information engine; wherein, the terminal identification information ID It is the unique ID used to identify different terminals, and the personal information ID of the terminal user is the unique ID used to identify different terminal users. The wearable device information engine is used by the wearable device Information sent to the terminal and stored locally by the terminal;
当所述终端发送的认证信息为多个终端的认证信息时,所述终端发送的认证信息包括:多个终端的识别信息ID、多个终端用户个人信息ID及可穿戴设备信息引擎经过加权处理后形成的第一终端群组ID;所述加权处理可以采用多种加权算法,这里不做限制;When the authentication information sent by the terminal is the authentication information of multiple terminals, the authentication information sent by the terminal includes: identification information IDs of multiple terminals, personal information IDs of multiple terminal users, and wearable device information engines after weighted processing The first terminal group ID formed later; the weighting process can adopt multiple weighting algorithms, which are not limited here;
进一步的,当终端发送的认证信息为多个终端的认证信息时,所述业务请求中还携带用于指示生成第一终端群组ID时所使用的加权算法的信息;终端和云平台之间也可以事先约定好生成第一终端群组ID所使用的加权算法。Further, when the authentication information sent by the terminal is the authentication information of multiple terminals, the service request also carries information indicating the weighting algorithm used when generating the first terminal group ID; between the terminal and the cloud platform The weighting algorithm used to generate the first terminal group ID may also be agreed in advance.
步骤102:云平台判断可穿戴设备或终端发送的认证信息是否合法,当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当终端发送的认证信息合法时,响应终端的业务请求。Step 102: The cloud platform judges whether the authentication information sent by the wearable device or the terminal is legal, and when the authentication information sent by the wearable device is legal, responds to the service request of the wearable device; when the authentication information sent by the terminal is legal, responds to the service request of the terminal ask.
云平台判断可穿戴设备发送的认证信息是否合法,包括:The cloud platform judges whether the authentication information sent by the wearable device is legal, including:
当接收到的认证信息仅为一个可穿戴设备的认证信息时,云平台判断本地存储的所述可穿戴设备的认证信息与可穿戴设备发送的认证信息是否相同,相同时,确定所述可穿戴设备发送的认证信息合法;不相同时,确定所述可穿戴设备发送的认证信息不合法;When the received authentication information is only the authentication information of one wearable device, the cloud platform judges whether the locally stored authentication information of the wearable device is the same as the authentication information sent by the wearable device. The authentication information sent by the device is legal; if it is different, it is determined that the authentication information sent by the wearable device is illegal;
当接收到的认证信息为多个可穿戴设备的认证信息时,云平台对所述认证信息进行解析,确定所述认证信息对应的可穿戴设备(即,判断所述认证信息是哪些可穿戴设备的认证信息);并在本地查找所述认证信息对应的各个可穿戴设备的认证信息,包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;对所述查找到的认证信息按照业务请求中所指示的生成第一可穿戴设备群组ID的加权算法、或按照事先约定的第一可穿戴设备群组ID的加权算法进行加权处理后生成第二可穿戴设备群组ID,将第一可穿戴设备群组ID(认证信息中携带)和第二可穿戴设备群组ID进行比对,若第一可穿戴设备群组ID与第二可穿戴设备群组ID相同,则确定所述可穿戴设备发送的认证信息合法;若不相同,则确定所述可穿戴设备发送的认证信息不合法;When the received authentication information is the authentication information of multiple wearable devices, the cloud platform analyzes the authentication information, and determines the wearable devices corresponding to the authentication information (that is, judges which wearable devices the authentication information is authentication information); and locally search for the authentication information of each wearable device corresponding to the authentication information, including: wearable device product form ID, wearable device product identification ID, wearable device user personal information; The received authentication information is weighted according to the weighting algorithm for generating the first wearable device group ID indicated in the service request, or according to the weighting algorithm for the first wearable device group ID agreed in advance to generate the second wearable device Group ID, compare the first wearable device group ID (carried in the authentication information) and the second wearable device group ID, if the first wearable device group ID and the second wearable device group ID If they are the same, it is determined that the authentication information sent by the wearable device is legal; if not, it is determined that the authentication information sent by the wearable device is illegal;
进一步的,当所述多个可穿戴设备发送的认证信息中还包括第一可穿戴设备群组用户行为ID时,云平台将本地存储的各个可穿戴设备的可穿戴设备用户行为ID按照业务请求中所指示的生成第一可穿戴设备群组用户行为ID的加权算法、或按照事先约定的第一可穿戴设备群组用户行为ID的加权算法进行加权处理,生成第二可穿戴设备群组用户行为ID,若第二可穿戴设备群组用户行为ID与第一可穿戴设备群组用户行为ID也相同,则确定可穿戴设备发送的认证信息合法;否则,确定可穿戴设备发送的认证信息不合法。Further, when the authentication information sent by the plurality of wearable devices also includes the user behavior ID of the first wearable device group, the cloud platform will store the wearable device user behavior ID of each wearable device locally according to the service request The weighting algorithm for generating the user behavior ID of the first wearable device group indicated in , or perform weighting processing according to the weighting algorithm for the user behavior ID of the first wearable device group agreed in advance, and generate the second wearable device group user Behavior ID, if the user behavior ID of the second wearable device group is the same as the user behavior ID of the first wearable device group, it is determined that the authentication information sent by the wearable device is legal; otherwise, it is determined that the authentication information sent by the wearable device is not legitimate.
云平台判断终端发送的认证信息是否合法,包括:The cloud platform judges whether the authentication information sent by the terminal is legal, including:
当接收到的认证信息仅为一个终端的认证信息时,云平台判断本地存储的所述终端的认证信息与终端发送的认证信息是否相同,相同时,确定所述终端发送的认证信息合法;不相同时,确定所述终端发送的认证信息不合法;When the received authentication information is only the authentication information of one terminal, the cloud platform judges whether the authentication information of the terminal stored locally is the same as the authentication information sent by the terminal, and if they are the same, determines that the authentication information sent by the terminal is legal; When they are the same, it is determined that the authentication information sent by the terminal is illegal;
当接收到的认证信息为多个终端的认证信息时,云平台对所述认证信息进行解析,确定所述认证信息对应的终端(即,判断所述认证信息是哪些终端的认证信息);并在本地查找所述认证信息对应的各个终端的认证信息,包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;对所述查找到的认证信息按照业务请求中所指示的生成第一终端群组ID的加权算法、或按照事先约定的生成第一终端群组ID加权算法进行加权处理后生成第二终端群组ID,将第一终端群组ID(认证信息中携带)和第二终端群组ID进行比对,若第一终端群组ID与第二终端群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法;When the received authentication information is the authentication information of a plurality of terminals, the cloud platform analyzes the authentication information to determine the terminals corresponding to the authentication information (that is, determine which terminals the authentication information is the authentication information); and Find the authentication information of each terminal corresponding to the authentication information locally, including: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device; Generate the weighting algorithm of the first terminal group ID, or perform weighting processing according to the weighting algorithm for generating the first terminal group ID agreed in advance to generate the second terminal group ID, and use the first terminal group ID (carried in the authentication information) Compared with the second terminal group ID, if the first terminal group ID is the same as the second terminal group ID, it is determined that the authentication information sent by the terminal is legal; if not the same, then it is determined that the authentication information sent by the terminal is legal. the information is illegal;
进一步的,本发明实施例一提供的方法还包括以下处理步骤:Further, the method provided in Embodiment 1 of the present invention also includes the following processing steps:
当云平台接收到多个终端各自发送的携带认证信息的业务请求时,确定有多个终端同时发起业务请求;云平台向所述多个终端返回响应消息以指示还有其它终端向自身发起业务请求,并指示最早发起业务请求的终端进行终端群组认证处理;接收到指示消息的终端向其它终端发起获得认证信息请求;其它终端将自身的认证信息发送给所述接收到指示消息的终端;所述接收到指示消息的终端对自身的认证信息以及接收到的其它终端的认证信息进行加权处理,生成第一终端群组ID之后,向云平台发起业务请求;所述业务请求中携带生成的第一终端群组ID;When the cloud platform receives service requests carrying authentication information sent by multiple terminals, it determines that multiple terminals initiate service requests at the same time; the cloud platform returns a response message to the multiple terminals to indicate that there are other terminals that initiate services to itself Request, and instruct the terminal that first initiated the service request to perform terminal group authentication processing; the terminal that received the indication message initiates a request for obtaining authentication information to other terminals; other terminals send their own authentication information to the terminal that received the indication message; The terminal receiving the indication message performs weighting processing on its own authentication information and the received authentication information of other terminals, and after generating the first terminal group ID, initiates a service request to the cloud platform; the service request carries the generated the first terminal group ID;
当云平台接收到多个可穿戴设备各自发送的携带认证信息的业务请求时,确定有多个可穿戴设备同时发起业务请求;云平台向所述多个可穿戴设备返回响应消息以指示还有其它可穿戴设备向自身发起业务请求,并指示最早发起业务请求的可穿戴设备进行可穿戴设备群组认证处理;接收到指示消息的可穿戴设备向其它可穿戴设备发起获得认证信息请求;其它可穿戴设备将自身的认证信息发送给所述接收到指示消息的可穿戴设备;所述接收到指示消息的可穿戴设备对自身的认证信息以及接收到的其它可穿戴设备的认证信息进行加权处理,生成第一可穿戴设备群组ID之后,向云平台发起业务请求,所述业务请求中携带生成的第一可穿戴设备群组ID;或,生成第一可穿戴设备群组ID和第一可穿戴设备群组用户行为ID之后,向云平台发起业务请求,所述业务请求中携带生成的第一可穿戴设备群组ID和第一可穿戴设备群组用户行为ID。When the cloud platform receives service requests carrying authentication information sent by multiple wearable devices, it determines that multiple wearable devices initiate service requests at the same time; the cloud platform returns a response message to the multiple wearable devices to indicate that there are still Other wearable devices initiate service requests to themselves, and instruct the wearable device that initiated the service request first to perform wearable device group authentication processing; the wearable device that receives the indication message initiates a request for obtaining authentication information to other wearable devices; other wearable devices can The wearable device sends its own authentication information to the wearable device that has received the indication message; the wearable device that has received the indication message performs weighting processing on its own authentication information and the received authentication information of other wearable devices, After the first wearable device group ID is generated, a service request is initiated to the cloud platform, and the service request carries the generated first wearable device group ID; or, the first wearable device group ID and the first wearable device group ID are generated; After the wearable device group user behavior ID, a service request is initiated to the cloud platform, and the service request carries the generated first wearable device group ID and the first wearable device group user behavior ID.
可见,本发明实施例一提供的方法不仅能够实现云平台对一个可穿戴设备或终端的认证,还能够实现云平台对多个可穿戴设备或多个终端的同时认证。It can be seen that the method provided by Embodiment 1 of the present invention can not only realize the cloud platform's authentication of one wearable device or terminal, but also realize the cloud platform's simultaneous authentication of multiple wearable devices or multiple terminals.
实施例二Embodiment two
本发明实施例二提供了一种可穿戴业务认证方法,如图2所示,该方法包括以下步骤:Embodiment 2 of the present invention provides a wearable service authentication method, as shown in Figure 2, the method includes the following steps:
步骤201:可穿戴设备接收云平台或终端发送的携带认证信息的业务请求;Step 201: The wearable device receives a service request carrying authentication information sent by the cloud platform or terminal;
具体的,当所述终端发送的认证信息仅为一个终端的认证信息时,所述终端发送的认证信息包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;其中,终端识别信息ID是用于标识不同终端的唯一ID,终端用户个人信息ID为用于标识不同终端用户的唯一ID,所述可穿戴设备信息引擎是相互关联的可穿戴设备与终端建立连接时,由可穿戴设备发送给终端、并由终端存储于本地的信息;Specifically, when the authentication information sent by the terminal is only the authentication information of one terminal, the authentication information sent by the terminal includes: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device; wherein, the terminal The identification information ID is a unique ID used to identify different terminals, and the personal information ID of a terminal user is a unique ID used to identify a different terminal user. The wearable device information engine is configured by Information sent by the wearable device to the terminal and stored locally by the terminal;
当所述终端发送的认证信息为多个终端的认证信息时,所述终端发送的认证信息包括:多个终端的识别信息ID、多个终端用户个人信息ID及可穿戴设备信息引擎经过加权处理后形成的第一终端群组ID;所述加权处理可以采用多种加权算法,这里不做限制;When the authentication information sent by the terminal is the authentication information of multiple terminals, the authentication information sent by the terminal includes: identification information IDs of multiple terminals, personal information IDs of multiple terminal users, and wearable device information engines after weighted processing The first terminal group ID formed later; the weighting process can adopt multiple weighting algorithms, which are not limited here;
进一步的,当终端发送的认证信息为多个终端的认证信息时,所述业务请求中还可以携带用于指示生成第一终端群组ID时所使用的加权算法的信息;或者,终端和可穿戴设备之间事先约定好生成第一终端群组ID时所使用的加权算法。Further, when the authentication information sent by the terminal is the authentication information of multiple terminals, the service request may also carry information indicating the weighting algorithm used when generating the first terminal group ID; or, the terminal and may The wearable devices agree in advance on the weighting algorithm used when generating the first terminal group ID.
当所述云平台发送的认证信息仅为一个云平台的认证信息时,所述云平台发送的认证信息包括:云平台的识别信息ID和可穿戴设备信息引擎;其中,所述云平台的识别信息ID为用于标识不同云平台的唯一ID,所述可穿戴设备信息引擎是相互关联的可穿戴设备和云平台建立连接时,由可穿戴设备发送给云平台、并由云平台保存于本地的信息;所述云平台发送的认证信息还可以包括可穿戴设备的业务相关信息,包括:业务类型、业务生成时间及最新更新的业务信息等,所述业务相关信息均指可穿戴设备向云平台请求、并由云平台记录在本地的信息。When the authentication information sent by the cloud platform is only the authentication information of one cloud platform, the authentication information sent by the cloud platform includes: the identification information ID of the cloud platform and the wearable device information engine; wherein, the identification information of the cloud platform The information ID is a unique ID used to identify different cloud platforms. The wearable device information engine is sent to the cloud platform by the wearable device when the interconnected wearable device and the cloud platform establish a connection, and is stored locally by the cloud platform. information; the authentication information sent by the cloud platform may also include business-related information of the wearable device, including: business type, business generation time, and the latest updated business information, etc. Information requested by the platform and recorded locally by the cloud platform.
当所述云平台发送的认证信息为多个云平台的认证信息时,所述云平台发送的认证信息包括:多个云平台的识别信息ID及多个云平台中的可穿戴设备引擎加权后形成的第一云平台群组ID;所述多个云平台发送的认证信息还可以包括可穿戴设备的业务相关信息,包括:业务类型、业务生成时间及最新更新的业务信息等;When the authentication information sent by the cloud platform is the authentication information of multiple cloud platforms, the authentication information sent by the cloud platform includes: the identification information ID of multiple cloud platforms and the weighted wearable device engine in multiple cloud platforms The first cloud platform group ID formed; the authentication information sent by the multiple cloud platforms can also include the business-related information of the wearable device, including: business type, business generation time and latest updated business information, etc.;
进一步的,当云平台发送的认证信息为多个云平台的认证信息时,所述业务请求中还携带用于指示生成第一云平台群组ID时所使用的加权算法的信息;或者,云平台和可穿戴设备之间事先约定好生成第一云平台群组ID所使用的加权算法。Further, when the authentication information sent by the cloud platform is the authentication information of multiple cloud platforms, the service request also carries information indicating the weighting algorithm used when generating the first cloud platform group ID; or, the cloud The weighting algorithm used to generate the group ID of the first cloud platform is agreed in advance between the platform and the wearable device.
步骤202:可穿戴设备判断终端或云平台发送的认证信息是否合法,当终端发送的认证信息合法时,响应终端的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。Step 202: The wearable device judges whether the authentication information sent by the terminal or the cloud platform is legal, and when the authentication information sent by the terminal is legal, responds to the service request of the terminal; when the authentication information sent by the cloud platform is legal, responds to the service request of the cloud platform.
可穿戴设备判断终端发送的认证信息是否合法,包括:The wearable device judges whether the authentication information sent by the terminal is legal, including:
当接收到的认证信息仅为一个终端的认证信息时,可穿戴设备判断本地存储的所述终端的认证信息与终端发送的认证信息是否相同,相同时,确定所述终端发送的认证信息合法;不相同时,确定所述终端发送的认证信息不合法;When the received authentication information is only the authentication information of one terminal, the wearable device judges whether the locally stored authentication information of the terminal is the same as the authentication information sent by the terminal, and if they are the same, determines that the authentication information sent by the terminal is legal; If they are different, it is determined that the authentication information sent by the terminal is illegal;
当接收到的认证信息为多个终端的认证信息时,可穿戴设备对所述认证信息进行解析,确定所述认证信息对应的终端(即,判断所述认证信息是哪些终端的认证信息);并在本地查找所述认证信息对应的各个终端的认证信息,包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;对所述查找到的认证信息按照业务请求中所指示的生成第一终端群组ID的加权算法、或按照事先约定的生成第一终端群组ID的加权算法进行加权处理后生成第二终端群组ID,将第一终端群组ID(认证信息中携带)和第二终端群组ID进行比对,若第一终端群组ID与第二终端群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法;When the received authentication information is the authentication information of multiple terminals, the wearable device analyzes the authentication information, and determines the terminal corresponding to the authentication information (that is, determines which terminals the authentication information is the authentication information of); And locally search the authentication information of each terminal corresponding to the authentication information, including: the identification information ID of the terminal, the personal information ID of the terminal user and the information engine of the wearable device; The weighting algorithm for generating the first terminal group ID, or the weighting algorithm for generating the first terminal group ID agreed in advance to generate the second terminal group ID after weighting, and the first terminal group ID (in the authentication information carry) and the second terminal group ID are compared, if the first terminal group ID is the same as the second terminal group ID, then it is determined that the authentication information sent by the terminal is legal; if not, it is determined that the terminal sent The authentication information is invalid;
可穿戴设备判断云平台发送的认证信息是否合法,包括:The wearable device judges whether the authentication information sent by the cloud platform is legal, including:
当接收到的认证信息仅为一个云平台的认证信息时,可穿戴设备判断本地存储的所述云平台的认证信息与云平台发送的认证信息是否相同,相同时,确定所述云平台发送的认证信息合法;不相同时,确定所述云平台发送的认证信息不合法;When the received authentication information is only the authentication information of a cloud platform, the wearable device judges whether the authentication information of the cloud platform stored locally is the same as the authentication information sent by the cloud platform, and if they are the same, determine the authentication information sent by the cloud platform. The authentication information is legal; if it is not the same, it is determined that the authentication information sent by the cloud platform is illegal;
当接收到的认证信息为多个云平台的认证信息时,可穿戴设备对所述认证信息进行解析,确定所述认证信息对应的云平台(即,判断所述认证信息是哪些云平台的认证信息);并在本地查找所述认证信息对应的各个云平台的认证信息,包括:云平台的识别信息ID和可穿戴设备信息引擎;对所述查找到的认证信息按照业务请求中所指示的生成第一云平台群组ID的加权算法、或按照事先约定的生成第一云平台群组ID的加权算法进行加权处理后生成第二云平台群组ID,将第一云平台群组ID(认证信息中携带)和第二云平台群组ID进行比对,若第一云平台群组ID与第二云平台群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法;When the received authentication information is the authentication information of multiple cloud platforms, the wearable device analyzes the authentication information, determines the cloud platform corresponding to the authentication information (that is, determines which cloud platforms the authentication information is information); and locally search for the authentication information of each cloud platform corresponding to the authentication information, including: the identification information ID of the cloud platform and the wearable device information engine; for the authentication information found according to the instructions indicated in the service request Generate the weighted algorithm of the first cloud platform group ID, or generate the second cloud platform group ID after the weighted algorithm according to the weighted algorithm agreed in advance to generate the first cloud platform group ID, and the first cloud platform group ID ( carried in the authentication information) and the second cloud platform group ID are compared, if the first cloud platform group ID is identical with the second cloud platform group ID, then determine that the authentication information sent by the terminal is legal; if not identical, Then it is determined that the authentication information sent by the terminal is illegal;
进一步的,当所述多个云平台发送的认证信息中还包括可穿戴设备的业务相关信息时,将各个云平台中该可穿戴设备的业务相关信息与可穿戴设备本地存储的、其在相应云平台上的业务相关信息进行比对,若各个云平台中该可穿戴设备的业务相关信息与可穿戴设备本地存储的、其在相应云平台上的业务相关信息均相同,则确定云平台发送的认证信息合法,否则,确定云平台发送的认证信息不合法。Further, when the authentication information sent by the plurality of cloud platforms also includes the service-related information of the wearable device, the service-related information of the wearable device in each cloud platform and the wearable device locally stored in the corresponding The business-related information on the cloud platform is compared. If the business-related information of the wearable device in each cloud platform is the same as the business-related information stored locally on the wearable device on the corresponding cloud platform, it is determined that the cloud platform sends If the authentication information is legal, otherwise, it is determined that the authentication information sent by the cloud platform is invalid.
进一步的,本发明实施例二提供的方法还包括以下处理步骤:Further, the method provided in Embodiment 2 of the present invention also includes the following processing steps:
当可穿戴设备接收到多个终端各自发送的携带认证信息的业务请求时,确定有多个终端同时发起业务请求;可穿戴设备向所述多个终端返回响应消息以指示还有其它终端向自身发起业务请求,并指示最早发起业务请求的终端进行终端群组认证处理;接收到指示消息的终端向其它终端发起获得认证信息请求;其它终端将自身的认证信息发送给所述接收到指示消息的终端;所述接收到指示消息的终端对自身的认证信息以及接收到的其它终端的认证信息进行加权处理,生成第一终端群组ID之后,向可穿戴设备发起业务请求;所述业务请求中携带生成的第一终端群组ID;When the wearable device receives service requests carrying authentication information sent by multiple terminals, it determines that multiple terminals initiate service requests at the same time; the wearable device returns a response message to the multiple terminals to indicate that there are other terminal Initiate a service request, and instruct the terminal that initiated the service request first to perform terminal group authentication processing; the terminal that receives the indication message initiates a request for obtaining authentication information to other terminals; other terminals send their own authentication information to the terminal that received the indication message The terminal; the terminal that receives the indication message performs weighting processing on its own authentication information and the received authentication information of other terminals, and after generating the first terminal group ID, initiates a service request to the wearable device; in the service request carrying the generated first terminal group ID;
当可穿戴设备接收到多个云平台各自发送的携带认证信息的业务请求时,确定有多个云平台同时发起业务请求;可穿戴设备向所述多个云平台返回响应消息以指示还有其它云平台向自身发起业务请求,并指示最早发起业务请求的云平台进行云平台群组认证处理;接收到指示消息的云平台向其它云平台发起获得认证信息请求;其它终端将自身的认证信息发送给所述接收到指示消息的终端;所述接收到指示消息的云平台对自身的认证信息以及接收到的其它云平台的认证信息进行加权处理,生成第一云平台群组ID之后,向可穿戴设备发起业务请求;所述业务请求中携带生成的第一云平台群组ID。When the wearable device receives service requests carrying authentication information sent by multiple cloud platforms, it is determined that multiple cloud platforms initiate service requests at the same time; the wearable device returns a response message to the multiple cloud platforms to indicate that there are other The cloud platform initiates a service request to itself, and instructs the cloud platform that initiated the service request first to perform cloud platform group authentication processing; the cloud platform that receives the instruction message initiates a request for obtaining authentication information to other cloud platforms; other terminals send their own authentication information to To the terminal that has received the indication message; the cloud platform that has received the indication message performs weighting processing on its own authentication information and other received authentication information of cloud platforms, and after generating the first cloud platform group ID, send The wearable device initiates a service request; the service request carries the generated first cloud platform group ID.
可见,本发明实施例二提供的方法不仅能够实现可穿戴设备对一个云平台或终端的认证,还能够实现可穿戴设备对多个云平台或多个终端的同时认证。It can be seen that the method provided by Embodiment 2 of the present invention can not only realize the authentication of a wearable device to one cloud platform or terminal, but also realize the simultaneous authentication of multiple cloud platforms or multiple terminals by the wearable device.
实施例三Embodiment Three
本发明实施例三提供了一种可穿戴业务认证方法,如图3所示,该方法包括以下步骤:Embodiment 3 of the present invention provides a wearable service authentication method, as shown in FIG. 3 , the method includes the following steps:
步骤301:终端接收可穿戴设备或云平台发送的携带认证信息的业务请求;Step 301: The terminal receives a service request carrying authentication information sent by the wearable device or the cloud platform;
具体的,当所述可穿戴设备发送的认证信息仅为一个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;进一步的,所述可穿戴设备发送的认证信息还可以包括:可穿戴设备用户行为ID;其中,所述可穿戴设备产品形态ID用于标识可穿戴设备的产品形态,可穿戴设备的产品形态可以为智能手表、智能手环等等;所述可穿戴设备产品识别ID为用于标识可穿戴设备的唯一标识;所述可穿戴设备的用户个人信息是指可穿戴设备的使用者的个人信息包括:姓名、性别、年龄等等个人信息;所述可穿戴设备的用户行为ID为标识可穿戴设备使用者的使用行为的ID,是通过对可穿戴设备使用者进行行为分析而由可穿戴设备所连接的终端动态产生的;Specifically, when the authentication information sent by the wearable device is only the authentication information of one wearable device, the authentication information sent by the wearable device includes: wearable device product form ID, wearable device product identification ID, Wearable device user personal information; further, the authentication information sent by the wearable device may also include: wearable device user behavior ID; wherein, the wearable device product form ID is used to identify the product form of the wearable device, which can be The product form of the wearable device can be a smart watch, a smart bracelet, etc.; the product identification ID of the wearable device is a unique identifier used to identify the wearable device; the personal information of the user of the wearable device refers to the wearable device The user's personal information includes: personal information such as name, gender, age, etc.; the user behavior ID of the wearable device is an ID that identifies the usage behavior of the wearable device user, and is determined by analyzing the behavior of the wearable device user It is dynamically generated by the terminal connected to the wearable device;
当所述可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:由多个可穿戴设备产品形态ID、产品识别ID及可穿戴设备用户个人信息通过一定加权方式形成的第一可穿戴设备群组ID;还可以进一步包括对多个可穿戴设备用户行为ID进行加权获得的第一可穿戴设备群组用户行为ID;When the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the authentication information sent by the wearable device includes: a plurality of wearable device product form IDs, product identification IDs and wearable device user The first wearable device group ID formed by personal information in a certain weighted manner; it may further include the first wearable device group user behavior ID obtained by weighting multiple wearable device user behavior IDs;
进一步的,当可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述业务请求中还携带用于指示生成第一可穿戴设备群组ID、或生成第一可穿戴设备群组ID及第一可穿戴设备用户行为ID时所使用的加权算法的信息;或者,可穿戴设备和终端之间事先约定好生成第一可穿戴设备群组ID、或生成第一可穿戴设备群组ID及第一可穿戴设备用户行为ID时所使用的加权算法。Further, when the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the service request also carries an ID for indicating to generate the first wearable device group ID, or to generate the first wearable device group ID. Information about the group ID and the weighting algorithm used for the user behavior ID of the first wearable device; or, the wearable device and the terminal have agreed in advance to generate the first wearable device group ID, or generate the first wearable device group ID The weighting algorithm used for the group ID and the user behavior ID of the first wearable device.
当所述云平台发送的认证信息仅为一个云平台的认证信息时,所述云平台发送的认证信息包括:云平台的识别信息ID和可穿戴设备信息引擎;其中,所述云平台的识别信息ID为用于标识不同云平台的唯一ID,所述可穿戴设备信息引擎是相互关联的可穿戴设备和云平台建立连接时,由可穿戴设备发送给云平台、并由云平台保存于本地的信息;所述云平台发送的认证信息还可以包括可穿戴设备的业务相关信息,包括:业务类型、业务生成时间及最新更新的业务信息等,所述业务相关信息均指可穿戴设备向云平台请求、并由云平台记录在本地的信息。When the authentication information sent by the cloud platform is only the authentication information of one cloud platform, the authentication information sent by the cloud platform includes: the identification information ID of the cloud platform and the wearable device information engine; wherein, the identification information of the cloud platform The information ID is a unique ID used to identify different cloud platforms. The wearable device information engine is sent to the cloud platform by the wearable device when the interconnected wearable device and the cloud platform establish a connection, and is stored locally by the cloud platform. information; the authentication information sent by the cloud platform may also include business-related information of the wearable device, including: business type, business generation time, and the latest updated business information, etc. Information requested by the platform and recorded locally by the cloud platform.
当所述云平台发送的认证信息为多个云平台的认证信息时,所述云平台发送的认证信息包括:多个云平台的识别信息及多个云平台中的可穿戴设备引擎加权后形成的第一云平台群组ID;所述多个云平台发送的认证信息还可以包括可穿戴设备的业务相关信息,包括:业务类型、业务生成时间及最新更新的业务信息等;When the authentication information sent by the cloud platform is the authentication information of a plurality of cloud platforms, the authentication information sent by the cloud platform includes: identification information of a plurality of cloud platforms and wearable device engines in a plurality of cloud platforms are weighted to form The first cloud platform group ID of the first cloud platform; the authentication information sent by the multiple cloud platforms can also include business-related information of the wearable device, including: business type, business generation time and latest updated business information, etc.;
进一步的,当云平台发送的认证信息为多个云平台的认证信息时,所述业务请求中还携带用于指示生成第一云平台群组ID时所使用的加权算法的信息;或,云平台和终端事先约定好生成第一云平台群组ID所使用的加权算法。Further, when the authentication information sent by the cloud platform is the authentication information of multiple cloud platforms, the service request also carries information indicating the weighting algorithm used when generating the first cloud platform group ID; or, the cloud The platform and the terminal agree in advance on the weighting algorithm used to generate the group ID of the first cloud platform.
步骤302:终端判断可穿戴设备或云平台发送的认证信息是否合法,当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。Step 302: The terminal judges whether the authentication information sent by the wearable device or the cloud platform is legal, and when the authentication information sent by the wearable device is legal, responds to the service request of the wearable device; when the authentication information sent by the cloud platform is legal, responds to the cloud platform business request.
终端判断可穿戴设备发送的认证信息是否合法,包括:The terminal judges whether the authentication information sent by the wearable device is legal, including:
当仅接收到一个可穿戴设备的认证信息时,终端判断本地存储的所述可穿戴设备的认证信息与可穿戴设备发送的认证信息是否相同,相同时,确定所述可穿戴设备发送的认证信息合法;不相同时,确定所述可穿戴设备发送的认证信息不合法;When only the authentication information of one wearable device is received, the terminal judges whether the locally stored authentication information of the wearable device is the same as the authentication information sent by the wearable device, and if they are the same, determine the authentication information sent by the wearable device legal; if not the same, it is determined that the authentication information sent by the wearable device is illegal;
当接收到多个可穿戴设备的认证信息时,终端对所述认证信息进行解析,确定所述认证信息对应的可穿戴设备(即,判断所述认证信息是哪些可穿戴设备的认证信息);并在本地查找所述认证信息对应的各个可穿戴设备的认证信息,包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;对所述查找到的认证信息按照业务请求中所指示的生成第一可穿戴设备群组ID的加权算法、或事先约定的生成第一可穿戴设备群组ID加权算法进行加权处理后生成第二可穿戴设备群组ID,将第一可穿戴设备群组ID(认证信息中携带)和第二可穿戴设备群组ID进行比对,若第一可穿戴设备群组ID与第二可穿戴设备群组ID相同,则确定所述可穿戴设备发送的认证信息合法;若不相同,则确定所述可穿戴设备发送的认证信息不合法;When receiving authentication information of multiple wearable devices, the terminal parses the authentication information, and determines the wearable device corresponding to the authentication information (that is, determines which wearable devices the authentication information is for); And locally search the authentication information of each wearable device corresponding to the authentication information, including: wearable device product form ID, wearable device product identification ID, wearable device user personal information; The weighting algorithm for generating the first wearable device group ID indicated in the service request, or the weighting algorithm agreed in advance for generating the first wearable device group ID is weighted to generate the second wearable device group ID, and the second wearable device group ID is generated. A wearable device group ID (carried in the authentication information) is compared with the second wearable device group ID, and if the first wearable device group ID is the same as the second wearable device group ID, then determine the The authentication information sent by the wearable device is legal; if not the same, it is determined that the authentication information sent by the wearable device is not legal;
进一步的,当所述多个可穿戴设备发送的认证信息中还包括第一可穿戴设备群组用户行为ID时,终端将本地存储的各个可穿戴设备的可穿戴设备用户行为ID进行加权,生成第二穿戴设备群组用户行为ID,若第二穿戴设备群组用户行为ID与第一穿戴设备群组用户行为ID相同,则确定可穿戴设备发送的认证信息合法;否则,确定可穿戴设备发送的认证信息不合法。Further, when the authentication information sent by the plurality of wearable devices also includes the user behavior ID of the first wearable device group, the terminal weights the wearable device user behavior IDs of the wearable devices stored locally to generate The user behavior ID of the second wearable device group, if the user behavior ID of the second wearable device group is the same as the user behavior ID of the first wearable device group, it is determined that the authentication information sent by the wearable device is legal; otherwise, it is determined that the wearable device sends The authentication information for is invalid.
终端判断云平台发送的认证信息是否合法,包括:The terminal judges whether the authentication information sent by the cloud platform is legal, including:
当仅接收到一个云平台的认证信息时,终端判断本地存储的所述云平台的认证信息与云平台发送的认证信息是否相同,相同时,确定所述云平台发送的认证信息合法;不相同时,确定所述云平台发送的认证信息不合法;When only the authentication information of one cloud platform is received, the terminal judges whether the authentication information of the cloud platform stored locally is the same as the authentication information sent by the cloud platform, and if they are the same, determines that the authentication information sent by the cloud platform is legal; At the same time, it is determined that the authentication information sent by the cloud platform is illegal;
当接收到多个云平台的认证信息时,终端对所述认证信息进行解析,确定所述认证信息对应的云平台(即,判断所述认证信息是哪些云平台的认证信息);并在本地查找所述认证信息对应的各个云平台的认证信息,包括:云平台的识别信息ID和可穿戴设备信息引擎;对所述查找到的认证信息按照业务请求中所指示的生成第一云平台群组ID的加权算法、或事先约定的生成第一云平台群组ID加权算法进行加权处理后生成第二云平台群组ID,将第一云平台群组ID(认证信息中携带)和第二云平台群组ID进行比对,若第一云平台群组ID与第二云平台群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法;When receiving authentication information of a plurality of cloud platforms, the terminal parses the authentication information to determine the cloud platform corresponding to the authentication information (that is, to determine which cloud platforms the authentication information is the authentication information); and locally Find the authentication information of each cloud platform corresponding to the authentication information, including: the identification information ID of the cloud platform and the wearable device information engine; generate the first cloud platform group according to the indicated authentication information in the service request for the authentication information found The weighting algorithm of the group ID, or the weighting algorithm agreed in advance to generate the first cloud platform group ID, performs weighting processing to generate the second cloud platform group ID, and the first cloud platform group ID (carried in the authentication information) and the second cloud platform group ID Cloud platform group ID is compared, if the first cloud platform group ID is identical with the second cloud platform group ID, then determine that the authentication information that described terminal sends is legal; If not identical, then determine that the authentication information that described terminal sends the information is illegal;
进一步的,当所述多个云平台发送的认证信息中还包括可穿戴设备的业务相关信息时,将云平台发送的可穿戴设备的业务相关信息与终端本地存储的该可穿戴设备的业务相关信息进行比对,若云平台发送的该可穿戴设备的业务相关信息与终端本地存储的该可穿戴设备的业务相关信息均相同,则确定云平台发送的认证信息合法,否则,确定云平台发送的认证信息不合法。Further, when the authentication information sent by the multiple cloud platforms also includes service-related information of the wearable device, correlate the service-related information of the wearable device sent by the cloud platform with the service of the wearable device locally stored in the terminal The information is compared. If the service-related information of the wearable device sent by the cloud platform is the same as the service-related information of the wearable device locally stored in the terminal, it is determined that the authentication information sent by the cloud platform is legal; otherwise, it is determined that the cloud platform sends The authentication information for is invalid.
进一步的,本发明实施例三提供的方法还包括以下处理步骤:Further, the method provided in Embodiment 3 of the present invention also includes the following processing steps:
当终端接收到多个云平台各自发送的携带认证信息的业务请求时,确定有多个云平台同时发起业务请求;终端向所述多个云平台返回响应消息以指示还有其它云平台向自身发起业务请求,并指示最早发起业务请求的云平台进行云平台群组认证处理;接收到指示消息的云平台向其它云平台发起获得认证信息请求;其它云平台将自身的认证信息发送给所述接收到指示消息的云平台;所述接收到指示消息的云平台对自身的认证信息以及接收到的其它云平台的认证信息进行加权处理,生成第一云平台群组ID之后,向终端发起业务请求;所述业务请求中携带生成的第一云平台群组ID。When the terminal receives service requests carrying authentication information sent by multiple cloud platforms, it is determined that multiple cloud platforms initiate service requests at the same time; the terminal returns a response message to the multiple cloud platforms to indicate that there are other cloud platforms to itself Initiate a service request, and instruct the cloud platform that initiated the service request the earliest to perform cloud platform group authentication processing; the cloud platform that receives the instruction message initiates a request for obtaining authentication information to other cloud platforms; other cloud platforms send their own authentication information to the The cloud platform that has received the instruction message; the cloud platform that has received the instruction message performs weighting processing on its own authentication information and other received authentication information of cloud platforms, and after generating the first cloud platform group ID, initiates business to the terminal Request; the service request carries the generated ID of the first cloud platform group.
当终端接收到多个可穿戴设备各自发送的携带认证信息的业务请求时,确定有多个可穿戴设备同时发起业务请求;终端向所述多个可穿戴设备返回响应消息以指示还有其它可穿戴设备向自身发起业务请求,并指示最早发起业务请求的可穿戴设备进行可穿戴设备群组认证处理;接收到指示消息的可穿戴设备向其它可穿戴设备发起获得认证信息请求;其它可穿戴设备将自身的认证信息发送给所述接收到指示消息的可穿戴设备;所述接收到指示消息的可穿戴设备对自身的认证信息以及接收到的其它可穿戴设备的认证信息进行加权处理,生成第一可穿戴设备群组ID之后,向云平台发起业务请求,所述业务请求中携带生成的第一可穿戴设备群组认证ID;或,生成第一可穿戴设备群组ID和第一可穿戴设备群组用户行为ID之后,向云平台发起业务请求,所述业务请求中携带生成的第一可穿戴设备群组ID和第一可穿戴设备群组用户行为ID。When the terminal receives service requests carrying authentication information sent by multiple wearable devices, it determines that multiple wearable devices initiate service requests at the same time; the terminal returns a response message to the multiple wearable devices to indicate that there are other possible service requests. The wearable device initiates a service request to itself, and instructs the wearable device that initiated the service request first to perform wearable device group authentication processing; the wearable device that receives the indication message initiates a request for obtaining authentication information to other wearable devices; other wearable devices Send its own authentication information to the wearable device that has received the indication message; the wearable device that has received the indication message performs weighting processing on its own authentication information and the received authentication information of other wearable devices to generate the first After a wearable device group ID, initiate a service request to the cloud platform, and the service request carries the generated first wearable device group authentication ID; or, generate the first wearable device group ID and the first wearable device group ID; After the device group user behavior ID, a service request is initiated to the cloud platform, and the service request carries the generated first wearable device group ID and the first wearable device group user behavior ID.
可见,本发明实施例三提供的方法不仅能够实现终端对一个云平台或可穿戴设备的认证,还能够实现终端对多个云平台或多个可穿戴设备的同时认证。It can be seen that the method provided by Embodiment 3 of the present invention can not only realize the authentication of a terminal to one cloud platform or wearable device, but also realize the simultaneous authentication of a terminal to multiple cloud platforms or multiple wearable devices.
实施例四Embodiment Four
本发明实施例四提供了一种云平台,如图4所示,所述云平台包括:第一请求接收模块41、第一判断模块42及第一响应模块43;其中,Embodiment 4 of the present invention provides a cloud platform. As shown in FIG. 4, the cloud platform includes: a first request receiving module 41, a first judgment module 42, and a first response module 43; wherein,
所述第一请求接收模块41,用于接收可穿戴设备或终端发送的携带认证信息的业务请求;The first request receiving module 41 is configured to receive a service request carrying authentication information sent by a wearable device or a terminal;
所述第一判断模块42,用于判断可穿戴设备或终端发送的认证信息是否合法;The first judging module 42 is configured to judge whether the authentication information sent by the wearable device or the terminal is legal;
所述第一响应模块43,用于当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;还用于当终端发送的认证信息合法时,响应终端的业务请求。The first response module 43 is configured to respond to the service request of the wearable device when the authentication information sent by the wearable device is legal; it is also used to respond to the service request of the terminal when the authentication information sent by the terminal is legal.
具体的,当所述可穿戴设备发送的认证信息仅为一个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID及可穿戴设备用户个人信息;Specifically, when the authentication information sent by the wearable device is only the authentication information of one wearable device, the authentication information sent by the wearable device includes: the product form ID of the wearable device, the product identification ID of the wearable device, and the Personal information of wearable device users;
当所述可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:由多个可穿戴设备产品形态ID、产品识别ID及可穿戴设备用户个人信息通过一定加权方式形成的第一可穿戴设备群组ID;When the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the authentication information sent by the wearable device includes: a plurality of wearable device product form IDs, product identification IDs and wearable device user The first wearable device group ID formed by personal information in a certain weighted way;
进一步的,当可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述业务请求中还携带用于指示生成第一可穿戴设备群组ID时所使用的加权算法的信息;或者,可穿戴设备和云平台之间也可以事先约定好第一可穿戴设备群组ID所使用的加权算法。Further, when the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the service request also carries information indicating the weighting algorithm used when generating the first wearable device group ID; Alternatively, the weighting algorithm used by the first wearable device group ID may also be agreed in advance between the wearable device and the cloud platform.
具体的,当所述终端发送的认证信息仅为一个终端的认证信息时,所述终端发送的认证信息包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;Specifically, when the authentication information sent by the terminal is only the authentication information of one terminal, the authentication information sent by the terminal includes: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device;
当所述终端发送的认证信息为多个终端的认证信息时,所述终端发送的认证信息包括:多个终端的识别信息ID、多个终端用户个人信息ID及可穿戴设备信息引擎经过加权处理后形成的第一终端群组ID;When the authentication information sent by the terminal is the authentication information of multiple terminals, the authentication information sent by the terminal includes: identification information IDs of multiple terminals, personal information IDs of multiple terminal users, and wearable device information engines after weighted processing The first terminal group ID formed later;
进一步的,当终端发送的认证信息为多个终端的认证信息时,所述业务请求中还携带用于指示生成第一终端群组ID时所使用的加权算法的信息;终端和云平台之间也可以事先约定好生成第一终端群组ID所使用的加权算法。Further, when the authentication information sent by the terminal is the authentication information of multiple terminals, the service request also carries information indicating the weighting algorithm used when generating the first terminal group ID; between the terminal and the cloud platform The weighting algorithm used to generate the first terminal group ID may also be agreed in advance.
具体的,所述第一判断模块42基本结构如图5所示,包括第一判断子模块421、第一解析子模块422、第一查找子模块423及第一加权处理子模块424;其中,Specifically, the basic structure of the first judging module 42 is as shown in Figure 5, including a first judging submodule 421, a first parsing submodule 422, a first searching submodule 423 and a first weighting processing submodule 424; wherein,
所述第一判断子模块421,用于当第一请求接收模块41接收到的认证信息仅为一个可穿戴设备的认证信息时,判断本地存储的所述可穿戴设备的认证信息与可穿戴设备发送的认证信息是否相同,相同时,确定所述可穿戴设备发送的认证信息合法;不相同时,确定所述可穿戴设备发送的认证信息不合法;The first judging submodule 421 is configured to judge whether the locally stored authentication information of the wearable device is the same as the wearable device authentication information when the authentication information received by the first request receiving module 41 is only the authentication information of one wearable device. Whether the authentication information sent is the same, if they are the same, determine that the authentication information sent by the wearable device is legal; if they are different, determine that the authentication information sent by the wearable device is illegal;
所述第一解析子模块422,用于当第一请求接收模块41接收到的认证信息为多个可穿戴设备的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的可穿戴设备;或者,业务请求中携带指示加权算法的信息时,确定业务请求中所指示的用于生成第一终端群组ID时所使用的加权算法的信息;The first parsing submodule 422 is configured to parse the authentication information when the authentication information received by the first request receiving module 41 is the authentication information of multiple wearable devices, and determine the available authentication information corresponding to the authentication information. A wearable device; or, when the service request carries information indicating a weighting algorithm, determine the information of the weighting algorithm used to generate the first terminal group ID indicated in the service request;
所述第一查找子模块423用于在本地查找所述多个可穿戴设备的认证信息对应的各个可穿戴设备的认证信息,包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;The first search submodule 423 is used to locally search for the authentication information of each wearable device corresponding to the authentication information of the plurality of wearable devices, including: wearable device product form ID, wearable device product identification ID, Personal information of wearable device users;
所述第一加权处理子模块424,用于对所述查找到的认证信息按照业务请求中所指示的生成第一可穿戴设备群组ID时所使用的加权算法、或事先约定的生成第一可穿戴设备群组ID加权算法进行加权处理后生成第二可穿戴设备群组ID;The first weighting processing sub-module 424 is used to generate the first wearable device group ID for the found authentication information according to the weighting algorithm indicated in the service request, or the first group ID agreed in advance. The wearable device group ID weighting algorithm generates the second wearable device group ID after weighting;
所述第一判断子模块421,还用于将第一可穿戴设备群组ID和第二可穿戴设备群组ID进行比对,若第一可穿戴设备群组ID与第二可穿戴设备群组ID相同,则确定所述可穿戴设备发送的认证信息合法;若不相同,则确定所述可穿戴设备发送的认证信息不合法。The first judging submodule 421 is also used to compare the first wearable device group ID with the second wearable device group ID, if the first wearable device group ID is the same as the second wearable device group ID If the group IDs are the same, it is determined that the authentication information sent by the wearable device is legal; if not, it is determined that the authentication information sent by the wearable device is not legal.
具体的,所述第一判断子模块421,还用于当第一请求接收模块41接收到的认证信息仅为一个终端的认证信息时,判断本地存储的所述终端的认证信息与终端发送的认证信息是否相同,相同时,确定所述终端发送的认证信息合法;不相同时,确定所述终端发送的认证信息不合法;Specifically, the first judging submodule 421 is also used to judge whether the authentication information of the terminal stored locally is different from the authentication information sent by the terminal when the authentication information received by the first request receiving module 41 is only the authentication information of one terminal. Whether the authentication information is the same, if identical, determine that the authentication information sent by the terminal is legal; when not identical, determine that the authentication information sent by the terminal is illegal;
所述第一解析子模块422,还用于当第一请求接收模块41接收到的认证信息为多个终端的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的终端;或者,当业务请求中携带指示加权算法的信息时,确定业务请求中所指示的生成第一终端群组ID时所使用的加权算法;The first parsing submodule 422 is further configured to parse the authentication information and determine the terminal corresponding to the authentication information when the authentication information received by the first request receiving module 41 is the authentication information of multiple terminals; Or, when the service request carries information indicating a weighting algorithm, determine the weighting algorithm used when generating the first terminal group ID indicated in the service request;
所述第一查找子模块423,还用于在本地查找所述多个终端的认证信息对应的各个终端的认证信息:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;The first search submodule 423 is also used to search locally the authentication information of each terminal corresponding to the authentication information of the plurality of terminals: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device;
所述第一加权处理子模块424,用于对所述查找到的认证信息按照业务请求中所指示的生成第一终端群组ID时所使用的加权算法、或事先约定的生成第一终端群组ID的加权算法进行加权处理后生成第二终端群组ID;The first weighting processing sub-module 424 is configured to generate the first terminal group ID according to the weighting algorithm used when generating the first terminal group ID indicated in the service request or the previously agreed upon authentication information. The weighting algorithm of the group ID performs weighting processing to generate the second terminal group ID;
所述第一判断子模块421,还用于将第一终端群组ID和第二终端群组ID进行比对,若第一终端群组ID与第二终端群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。The first judging sub-module 421 is also used to compare the first terminal group ID with the second terminal group ID, and if the first terminal group ID is the same as the second terminal group ID, then determine the The authentication information sent by the terminal is legal; if not the same, it is determined that the authentication information sent by the terminal is not legal.
实施例五Embodiment five
本发明实施例五提供了一种可穿戴设备,如图6所示,所述可穿戴设备包括:第二请求接收模块61、第二判断模块62及第二响应模块63;其中,Embodiment 5 of the present invention provides a wearable device. As shown in FIG. 6, the wearable device includes: a second request receiving module 61, a second judging module 62, and a second responding module 63; wherein,
所述第二请求接收模块61,用于接收云平台或终端发送的携带认证信息的业务请求;The second request receiving module 61 is configured to receive a service request carrying authentication information sent by a cloud platform or a terminal;
所述第二判断模块62,用于判断终端或云平台发送的认证信息是否合法;The second judging module 62 is used to judge whether the authentication information sent by the terminal or the cloud platform is legal;
所述第二响应模块63,用于当终端发送的认证信息合法时,响应终端的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。The second response module 63 is configured to respond to the service request of the terminal when the authentication information sent by the terminal is legal; to respond to the service request of the cloud platform when the authentication information sent by the cloud platform is legal.
具体的,当所述终端发送的认证信息仅为一个终端的认证信息时,所述终端发送的认证信息包括:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;Specifically, when the authentication information sent by the terminal is only the authentication information of one terminal, the authentication information sent by the terminal includes: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device;
当所述终端发送的认证信息为多个终端的认证信息时,所述终端发送的认证信息包括:多个终端的识别信息ID、多个终端用户个人信息ID及可穿戴设备信息引擎经过加权处理后形成的第一终端群组ID;When the authentication information sent by the terminal is the authentication information of multiple terminals, the authentication information sent by the terminal includes: identification information IDs of multiple terminals, personal information IDs of multiple terminal users, and wearable device information engines after weighted processing The first terminal group ID formed later;
进一步的,当终端发送的认证信息为多个终端的认证信息时,所述业务请求中还携带用于指示生成第一终端群组ID时所使用的加权算法的信息;或者终端和可穿戴设备之间事先约定好生成第一终端群组ID所使用的加权算法。Further, when the authentication information sent by the terminal is the authentication information of multiple terminals, the service request also carries information indicating the weighting algorithm used when generating the first terminal group ID; or the terminal and the wearable device The weighting algorithm used to generate the first terminal group ID is agreed in advance.
当所述云平台发送的认证信息仅为一个云平台的认证信息时,所述云平台发送的认证信息包括:云平台的识别信息ID和可穿戴设备信息引擎;When the authentication information sent by the cloud platform is only the authentication information of a cloud platform, the authentication information sent by the cloud platform includes: the identification information ID of the cloud platform and the wearable device information engine;
当所述云平台发送的认证信息为多个云平台的认证信息时,所述云平台发送的认证信息包括:多个云平台的识别信息及多个云平台中的可穿戴设备引擎加权后形成的第一云平台群组ID;When the authentication information sent by the cloud platform is the authentication information of a plurality of cloud platforms, the authentication information sent by the cloud platform includes: identification information of a plurality of cloud platforms and wearable device engines in a plurality of cloud platforms are weighted to form The first cloud platform group ID;
进一步的,当云平台发送的认证信息为多个云平台的认证信息时,所述业务请求中还携带用于指示生成第一云平台群组ID时所使用的加权算法的信息;或者云平台和可穿戴设备之间事先约定好生成第一云平台群组ID所使用的加权算法。Further, when the authentication information sent by the cloud platform is the authentication information of multiple cloud platforms, the service request also carries information indicating the weighting algorithm used when generating the first cloud platform group ID; or the cloud platform The weighting algorithm used to generate the first cloud platform group ID is agreed in advance with the wearable device.
具体的,所述第二判断模块62基本结构如图7所示,包括第二判断子模块621、第二解析子模块622、第二查找子模块623及第二加权处理子模块624;其中,Specifically, the basic structure of the second judging module 62 is shown in Figure 7, including a second judging submodule 621, a second parsing submodule 622, a second searching submodule 623 and a second weighting processing submodule 624; wherein,
第二判断子模块621,用于当第二请求接收模块61接收到的认证信息仅为一个终端的认证信息时,判断本地存储的所述终端的认证信息与终端发送的认证信息是否相同,相同时,确定所述终端发送的认证信息合法;不相同时,确定所述终端发送的认证信息不合法;The second judging submodule 621 is configured to judge whether the locally stored authentication information of the terminal is the same as the authentication information sent by the terminal when the authentication information received by the second request receiving module 61 is only the authentication information of one terminal. At the same time, it is determined that the authentication information sent by the terminal is legal; if it is not the same, it is determined that the authentication information sent by the terminal is illegal;
所述第二解析子模块622,用于当第二请求接收模块61接收到的认证信息为多个终端的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的终端;或者,当所述业务请求中携带指示加权算法的信息时,确定生成第一终端群组ID所使用的加权算法。The second parsing submodule 622 is configured to parse the authentication information and determine the terminal corresponding to the authentication information when the authentication information received by the second request receiving module 61 is the authentication information of multiple terminals; or , when the service request carries information indicating a weighting algorithm, determine a weighting algorithm used to generate the first terminal group ID.
所述第二查找子模块623,用于在本地查找所述认证信息对应的各个终端的认证信息:终端的识别信息ID、终端用户个人信息ID及可穿戴设备信息引擎;The second search sub-module 623 is used to search locally the authentication information of each terminal corresponding to the authentication information: the identification information ID of the terminal, the personal information ID of the terminal user, and the information engine of the wearable device;
所述第二加权处理子模块624,用于对按照业务请求中所指示的生成第一终端群组ID所使用的加权算法、或事先约定的生成第一终端群组ID的加权算法对所述查找到的认证信息进行加权处理后生成第二终端群组ID;The second weighting processing sub-module 624 is configured to apply the weighting algorithm used to generate the first terminal group ID indicated in the service request or the weighting algorithm agreed in advance to generate the first terminal group ID. The found authentication information is weighted and processed to generate a second terminal group ID;
所述第二判断子模块621,还用于将第一终端群组ID和第二终端群组ID进行比对,若第一终端群组ID与第二终端群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。The second judging sub-module 621 is also used to compare the first terminal group ID with the second terminal group ID, and if the first terminal group ID is the same as the second terminal group ID, then determine the The authentication information sent by the terminal is legal; if not the same, it is determined that the authentication information sent by the terminal is not legal.
具体的,所述第二判断子模块621,还用于当第二请求接收模块61接收到的认证信息仅为一个云平台的认证信息时,判断本地存储的所述云平台的认证信息与云平台发送的认证信息是否相同,相同时,确定所述云平台发送的认证信息合法;不相同时,确定所述云平台发送的认证信息不合法;Specifically, the second judging submodule 621 is also used to judge whether the authentication information of the cloud platform stored locally is different from the cloud platform authentication information when the authentication information received by the second request receiving module 61 is only the authentication information of one cloud platform. Whether the authentication information sent by the platform is the same, if identical, determine that the authentication information sent by the cloud platform is legal; when not identical, determine that the authentication information sent by the cloud platform is illegal;
所述第二解析模块622,还用于当第二请求接收模块61接收到的认证信息为多个云平台的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的云平台;或者,当业务请求中携带指示加权算法的信息时,确定生成第一云平台群组ID的加权算法;The second parsing module 622 is further configured to parse the authentication information and determine the cloud platform corresponding to the authentication information when the authentication information received by the second request receiving module 61 is the authentication information of multiple cloud platforms ; Or, when the service request carries information indicating a weighting algorithm, determine the weighting algorithm that generates the first cloud platform group ID;
所述第二查找子模块623,还用于在本地查找所述认证信息对应的各个云平台的认证信息:云平台的识别信息ID和可穿戴设备信息引擎;The second search submodule 623 is also used to locally search for the authentication information of each cloud platform corresponding to the authentication information: the identification information ID of the cloud platform and the information engine of the wearable device;
所述第二加权处理子模块624,还用于按照业务请求中所指示的生成第一云平台群组ID的加权算法、或事先约定的生成第一云平台群组ID的加权算法对所述查找到的认证信息进行加权处理后生成第二云平台群组ID;The second weighting processing sub-module 624 is also configured to perform the weighting algorithm for generating the first cloud platform group ID indicated in the service request or the weighting algorithm for generating the first cloud platform group ID agreed in advance. The found authentication information is weighted and processed to generate a second cloud platform group ID;
所述第二判断子模块621,还用于将第一云平台群组ID和第二云平台群组ID进行比对,若第一云平台群组ID与第二云平台群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。The second judging submodule 621 is also used to compare the first cloud platform group ID with the second cloud platform group ID, if the first cloud platform group ID is identical to the second cloud platform group ID, Then it is determined that the authentication information sent by the terminal is legal; if not the same, it is determined that the authentication information sent by the terminal is not legal.
实施例六Embodiment six
本发明实施例六提供了一种终端,如图8所示,所述终端包括:第三请求接收模块81、第三判断模块82及第三响应模块83;其中,Embodiment 6 of the present invention provides a terminal. As shown in FIG. 8 , the terminal includes: a third request receiving module 81, a third judging module 82, and a third responding module 83; wherein,
所述第三请求接收模块81,用于接收可穿戴设备或云平台发送的携带认证信息的业务请求;The third request receiving module 81 is configured to receive a service request carrying authentication information sent by a wearable device or a cloud platform;
所述第三判断模块82,用于判断可穿戴设备或云平台发送的认证信息是否合法;The third judging module 82 is used to judge whether the authentication information sent by the wearable device or the cloud platform is legal;
所述第三响应模块83,用于当可穿戴设备发送的认证信息合法时,响应可穿戴设备的业务请求;当云平台发送的认证信息合法时,响应云平台的业务请求。The third response module 83 is configured to respond to the service request of the wearable device when the authentication information sent by the wearable device is legal; and respond to the service request of the cloud platform when the authentication information sent by the cloud platform is legal.
具体的,当所述可穿戴设备发送的认证信息仅为一个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;Specifically, when the authentication information sent by the wearable device is only the authentication information of one wearable device, the authentication information sent by the wearable device includes: wearable device product form ID, wearable device product identification ID, Personal information of wearable device users;
当所述可穿戴设备发送的认证信息为多个可穿戴设备的认证信息时,所述可穿戴设备发送的认证信息包括:由多个可穿戴设备产品形态ID、产品识别ID及可穿戴设备用户个人信息通过一定加权方式形成的第一可穿戴设备群组ID。When the authentication information sent by the wearable device is the authentication information of multiple wearable devices, the authentication information sent by the wearable device includes: a plurality of wearable device product form IDs, product identification IDs and wearable device user The first wearable device group ID formed by personal information in a certain weighted manner.
当所述云平台发送的认证信息仅为一个云平台的认证信息时,所述云平台发送的认证信息包括:云平台的识别信息ID和可穿戴设备信息引擎;When the authentication information sent by the cloud platform is only the authentication information of a cloud platform, the authentication information sent by the cloud platform includes: the identification information ID of the cloud platform and the wearable device information engine;
当所述云平台发送的认证信息为多个云平台的认证信息时,所述云平台发送的认证信息包括:多个云平台的识别信息及多个云平台中的可穿戴设备引擎加权后形成的第一云平台群组ID。When the authentication information sent by the cloud platform is the authentication information of a plurality of cloud platforms, the authentication information sent by the cloud platform includes: identification information of a plurality of cloud platforms and wearable device engines in a plurality of cloud platforms are weighted to form The group ID of the first cloud platform.
具体的,所述第三判断模块82,如图9所示,包括第三判断子模块821、第三解析子模块822、第三查找子模块823及第三加权处理子模块824;其中,Specifically, the third judging module 82, as shown in FIG. 9 , includes a third judging submodule 821, a third parsing submodule 822, a third searching submodule 823, and a third weighting processing submodule 824; wherein,
所述第三判断子模块821,用于当第三请求接收模块81接收到一个可穿戴设备的认证信息时,判断本地存储的所述可穿戴设备的认证信息与可穿戴设备发送的认证信息是否相同,相同时,确定所述可穿戴设备发送的认证信息合法;不相同时,确定所述可穿戴设备发送的认证信息不合法;The third judging submodule 821 is configured to judge whether the locally stored authentication information of the wearable device and the authentication information sent by the wearable device are equal to each other when the third request receiving module 81 receives the authentication information of a wearable device. the same, if they are the same, it is determined that the authentication information sent by the wearable device is legal; when they are not the same, it is determined that the authentication information sent by the wearable device is illegal;
所述第三解析子模块822,用于当第三请求接收模块81接收到多个可穿戴设备的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的可穿戴设备;The third parsing submodule 822 is configured to parse the authentication information and determine the wearable device corresponding to the authentication information when the third request receiving module 81 receives authentication information of multiple wearable devices;
所述第三查找子模块823,用于在本地查找所述认证信息对应的各个可穿戴设备的认证信息:可穿戴设备产品形态ID、可穿戴设备产品识别ID、可穿戴设备用户个人信息;The third search submodule 823 is used to search locally the authentication information of each wearable device corresponding to the authentication information: wearable device product form ID, wearable device product identification ID, wearable device user personal information;
所述第三加权处理子模块824,用于对所述查找到的认证信息进行加权处理后生成第二可穿戴设备群组ID;The third weighted processing submodule 824 is configured to perform weighted processing on the found authentication information to generate a second wearable device group ID;
所述第三判断子模块821,还用于将第一可穿戴设备群组ID和第二可穿戴设备群组ID进行比对,若第一可穿戴设备群组ID与第二可穿戴设备群组ID相同,则确定所述可穿戴设备发送的认证信息合法;若不相同,则确定所述可穿戴设备发送的认证信息不合法。The third judging submodule 821 is also used to compare the first wearable device group ID with the second wearable device group ID, if the first wearable device group ID is the same as the second wearable device group ID If the group IDs are the same, it is determined that the authentication information sent by the wearable device is legal; if not, it is determined that the authentication information sent by the wearable device is not legal.
具体的,所述第三判断子模块821,还用于当第三请求接收模块81接收到一个云平台的认证信息时,判断本地存储的所述云平台的认证信息与云平台发送的认证信息是否相同,相同时,确定所述云平台发送的认证信息合法;不相同时,确定所述云平台发送的认证信息不合法;Specifically, the third judging submodule 821 is also used for judging the locally stored authentication information of the cloud platform and the authentication information sent by the cloud platform when the third request receiving module 81 receives the authentication information of a cloud platform. Whether they are the same, if they are the same, it is determined that the authentication information sent by the cloud platform is legal; when they are different, it is determined that the authentication information sent by the cloud platform is illegal;
所述第三解析子模块821,还用于当第三请求接收模块81接收到多个云平台的认证信息时,对所述认证信息进行解析,确定所述认证信息对应的云平台;The third parsing submodule 821 is further configured to parse the authentication information and determine the cloud platform corresponding to the authentication information when the third request receiving module 81 receives authentication information of multiple cloud platforms;
所述第三解析子模块822,还用于在本地查找所述认证信息对应的各个云平台的认证信息:云平台的识别信息ID和可穿戴设备信息引擎;The third parsing submodule 822 is also used to search locally the authentication information of each cloud platform corresponding to the authentication information: the identification information ID of the cloud platform and the information engine of the wearable device;
所述第三查找子模块823,还用于对所述查找到的认证信息进行加权处理后生成第二云平台群组ID;The third search submodule 823 is further configured to generate a second cloud platform group ID after weighting the found authentication information;
所述第三判断子模块824,还用于将第一云平台群组ID和第二云平台群组ID进行比对,若第一云平台群组ID与第二云平台群组ID相同,则确定所述终端发送的认证信息合法;若不相同,则确定所述终端发送的认证信息不合法。The third judging submodule 824 is also used to compare the first cloud platform group ID with the second cloud platform group ID, if the first cloud platform group ID is the same as the second cloud platform group ID, Then it is determined that the authentication information sent by the terminal is legal; if not the same, it is determined that the authentication information sent by the terminal is not legal.
实施例七Embodiment seven
本发明实施例七提供了一种可穿戴业务认证系统,如图10所示,所述可穿戴业务认证系统包括多个可穿戴设备(即,可穿戴设备1~可穿戴设备n)、多个终端(即,终端1~终端m)以及多个云平台(即,云平台1~云平台n);其中,Embodiment 7 of the present invention provides a wearable service authentication system. As shown in FIG. 10, the wearable service authentication system includes multiple wearable devices (that is, wearable devices 1 to wearable devices n), Terminal (namely, terminal 1~terminal m) and a plurality of cloud platforms (namely, cloud platform 1~cloud platform n); Wherein,
任意可穿戴设备或终端可以通过实施例一所述方法向任意云平台发起认证请求,多个可穿戴设备或多个终端也可以通过实施例一所述方法组成群组向云平台发起群组认证请求;Any wearable device or terminal can initiate an authentication request to any cloud platform through the method described in Embodiment 1, and multiple wearable devices or multiple terminals can also form a group through the method described in Embodiment 1 to initiate group authentication to the cloud platform ask;
任意云平台或终端可以通过实施例二所述方法向任意可穿戴设备发起认证请求,多个云平台或多个终端也可以通过实施例二所述方法组成群组向可穿戴设备发起群组认证请求;Any cloud platform or terminal can initiate an authentication request to any wearable device through the method described in Embodiment 2, and multiple cloud platforms or multiple terminals can also form a group to initiate group authentication to the wearable device through the method described in Embodiment 2 ask;
任意可穿戴设备或终端可以通过实施例三所述方法向任意云平台发起认证请求,多个可穿戴设备或多个终端也可以通过实施例三所述方法组成群组向云平台发起群组认证请求。Any wearable device or terminal can initiate an authentication request to any cloud platform through the method described in Embodiment 3, and multiple wearable devices or multiple terminals can also form a group to initiate group authentication to the cloud platform through the method described in Embodiment 3 ask.
在具体实施过程中,上述第一请求接收模块41、第一判断模块42、第一响应模块43、第一判断子模块421、第一解析子模块422、第一查找子模块423及第一加权处理子模块424可以由云平台内的中央处理器(CPU,CentralProcessingUnit)、微处理器(MPU,MicroProcessingUnit)、数字信号处理器(DSP,DigitalSignalProcessor)或可编程逻辑阵列(FPGA,Field-ProgrammableGateArray)来实现;上述第二请求接收模块61、第二判断模块62及第二响应模块63、第二判断子模块621、第二解析子模块622、第二查找子模块623及第二加权处理子模块624可以由可穿戴设备内的CPU、MPU、DSP或FPGA来实现;上述第三请求接收模块81、第三判断模块82、第三响应模块83、第三判断子模块821、第三解析子模块822、第三查找子模块823及第三加权处理子模块824可以由终端内的CPU、MPU、DSP或FPGA来实现。In the specific implementation process, the first request receiving module 41, the first judgment module 42, the first response module 43, the first judgment submodule 421, the first analysis submodule 422, the first search submodule 423 and the first weighted The processing sub-module 424 can be implemented by a central processing unit (CPU, Central Processing Unit), a microprocessor (MPU, Micro Processing Unit), a digital signal processor (DSP, Digital Signal Processor) or a programmable logic array (FPGA, Field-Programmable Gate Array) in the cloud platform. Realization; above-mentioned second request receiving module 61, second judging module 62 and second response module 63, second judging submodule 621, second parsing submodule 622, second searching submodule 623 and second weighting processing submodule 624 It can be realized by the CPU, MPU, DSP or FPGA in the wearable device; the above-mentioned third request receiving module 81, the third judging module 82, the third responding module 83, the third judging submodule 821, the third parsing submodule 822 , the third search submodule 823 and the third weight processing submodule 824 may be implemented by a CPU, MPU, DSP or FPGA in the terminal.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (30)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410855633.0A CN105812343A (en) | 2014-12-31 | 2014-12-31 | Wearable service authentication method, cloud platform, wearable device and terminal |
| PCT/CN2015/079657 WO2016107056A1 (en) | 2014-12-31 | 2015-05-25 | Wearable service verification method, cloud platform, wearable device and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410855633.0A CN105812343A (en) | 2014-12-31 | 2014-12-31 | Wearable service authentication method, cloud platform, wearable device and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105812343A true CN105812343A (en) | 2016-07-27 |
Family
ID=56284077
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410855633.0A Withdrawn CN105812343A (en) | 2014-12-31 | 2014-12-31 | Wearable service authentication method, cloud platform, wearable device and terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105812343A (en) |
| WO (1) | WO2016107056A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106302451A (en) * | 2016-08-15 | 2017-01-04 | 北京小米移动软件有限公司 | The method and device of resource acquisition |
| CN106656954A (en) * | 2016-09-23 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Wearable device authentication connection method and system |
| CN107241356A (en) * | 2017-07-24 | 2017-10-10 | 无锡江南计算技术研究所 | A kind of network equipment legality identification method |
| CN107295160A (en) * | 2017-05-09 | 2017-10-24 | 广东小天才科技有限公司 | Unlocking method and device of mobile equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103561383A (en) * | 2013-10-25 | 2014-02-05 | 北京奇虎科技有限公司 | Information processing method, device and system of portable positioning device |
| CN103593126A (en) * | 2013-11-22 | 2014-02-19 | 英华达(上海)科技有限公司 | Wearable devices and interaction method between wearable devices |
| CN103927651A (en) * | 2014-04-23 | 2014-07-16 | 百度在线网络技术(北京)有限公司 | Trading method, system and server |
| CN104207426A (en) * | 2014-09-05 | 2014-12-17 | 深圳奇沃智联科技有限公司 | Intelligent bracelet with target tracking function |
| US20140380445A1 (en) * | 2013-03-17 | 2014-12-25 | David Tunnell | Universal Authentication and Data Exchange Method, System and Service |
-
2014
- 2014-12-31 CN CN201410855633.0A patent/CN105812343A/en not_active Withdrawn
-
2015
- 2015-05-25 WO PCT/CN2015/079657 patent/WO2016107056A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140380445A1 (en) * | 2013-03-17 | 2014-12-25 | David Tunnell | Universal Authentication and Data Exchange Method, System and Service |
| CN103561383A (en) * | 2013-10-25 | 2014-02-05 | 北京奇虎科技有限公司 | Information processing method, device and system of portable positioning device |
| CN103593126A (en) * | 2013-11-22 | 2014-02-19 | 英华达(上海)科技有限公司 | Wearable devices and interaction method between wearable devices |
| CN103927651A (en) * | 2014-04-23 | 2014-07-16 | 百度在线网络技术(北京)有限公司 | Trading method, system and server |
| CN104207426A (en) * | 2014-09-05 | 2014-12-17 | 深圳奇沃智联科技有限公司 | Intelligent bracelet with target tracking function |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106302451A (en) * | 2016-08-15 | 2017-01-04 | 北京小米移动软件有限公司 | The method and device of resource acquisition |
| CN106656954A (en) * | 2016-09-23 | 2017-05-10 | 宇龙计算机通信科技(深圳)有限公司 | Wearable device authentication connection method and system |
| CN106656954B (en) * | 2016-09-23 | 2019-08-02 | 宇龙计算机通信科技(深圳)有限公司 | Wearable device authenticates connection method and system |
| CN107295160A (en) * | 2017-05-09 | 2017-10-24 | 广东小天才科技有限公司 | Unlocking method and device of mobile equipment |
| CN107241356A (en) * | 2017-07-24 | 2017-10-10 | 无锡江南计算技术研究所 | A kind of network equipment legality identification method |
| CN107241356B (en) * | 2017-07-24 | 2020-08-14 | 无锡江南计算技术研究所 | Network equipment validity verification method |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2016107056A1 (en) | 2016-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11563739B2 (en) | Authenticating a user device via a monitoring device | |
| CN113395159B (en) | Data processing method based on trusted execution environment and related device | |
| CN106850220B (en) | Data encryption method, data decryption method and device | |
| CN111600710B (en) | Key storage method, device, terminal, server and readable medium | |
| US20180077572A1 (en) | Dynamic beacon streaming network and associated systems and methods | |
| CN104901801B (en) | Auth method and device | |
| JP6603726B2 (en) | Method, apparatus and system for identity authentication | |
| CN104639498B (en) | Method, device and system for fingerprint matching | |
| CN105791246B (en) | Verification method, the apparatus and system of verification information | |
| CN107154935B (en) | Service request method and device | |
| TW201924300A (en) | Systems and methods for context-based device address generation | |
| CN106599698B (en) | A kind of method and apparatus for encrypting picture, decrypting picture | |
| US20210256126A1 (en) | Privacy-preserving content classification | |
| CN105812343A (en) | Wearable service authentication method, cloud platform, wearable device and terminal | |
| CN108306739A (en) | A kind of method, server and computer equipment for detecting subscriber identity information | |
| CN105306202A (en) | Identity verification method and device, server | |
| US20180011939A1 (en) | User Matching Method and Apparatus | |
| CN114423036B (en) | Wireless camera detection method, device, terminal equipment and storage medium | |
| CN104834906A (en) | Person identity verification method, apparatus and mobile terminal | |
| CN104023040A (en) | Method and device for information processing | |
| CN107959691B (en) | Method for detecting user identity information, server, computer-readable storage medium and computer equipment | |
| CN106658670A (en) | Wireless fidelity Wi-Fi scanning method and mobile terminal | |
| WO2015117467A1 (en) | Terminal, method for terminal to connect to wireless fidelity (wifi) hotspot, and storage medium | |
| CN111259452A (en) | Data management method based on block chain and related device | |
| CN110869910A (en) | Search resource recommendation method and related product |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160727 |
|
| WW01 | Invention patent application withdrawn after publication |