CN106773797A - A kind of information processing method, system and management platform - Google Patents
A kind of information processing method, system and management platform Download PDFInfo
- Publication number
- CN106773797A CN106773797A CN201510802110.4A CN201510802110A CN106773797A CN 106773797 A CN106773797 A CN 106773797A CN 201510802110 A CN201510802110 A CN 201510802110A CN 106773797 A CN106773797 A CN 106773797A
- Authority
- CN
- China
- Prior art keywords
- client
- smart device
- request information
- management platform
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 31
- 238000003672 processing method Methods 0.000 title claims abstract description 23
- 230000004044 response Effects 0.000 claims abstract description 58
- 238000000034 method Methods 0.000 claims abstract description 30
- 230000008859 change Effects 0.000 claims description 37
- 238000004891 communication Methods 0.000 claims description 34
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 13
- 238000012795 verification Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 230000007246 mechanism Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明实施例公开了一种信息处理方法、系统及管理平台。所述方法包括:管理平台接收第一客户端发送的第一请求信息,所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识;获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识;接收到所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系。
The embodiment of the invention discloses an information processing method, system and management platform. The method includes: the management platform receives the first request information sent by the first client, and the first request information is used for associating the smart device; the first request information includes the identification of the smart device; and the first request information is obtained. The identifier of the smart device in the request information is queried based on the identifier of the smart device, and when it is determined that the smart device has been associated with the second client, the second request information is sent to the second client, and the second request The information includes: the identifier of the first client and the identifier of the smart device; after receiving the consent response information corresponding to the second request information from the second client, establish the first client and the The association relationship of the smart device, sending a first result to the first client, where the first result indicates that the first client has established an association relationship with the smart device.
Description
技术领域technical field
本发明涉及信息处理技术,具体涉及一种信息处理方法、系统及管理平台。The present invention relates to information processing technology, in particular to an information processing method, system and management platform.
背景技术Background technique
现有技术中,用户可通过终端设备与智能设备建立连接,由终端设备对智能设备进行控制,例如,用户通过智能手机控制灯的开关、家用电器的开关等等。具体实现过程包括:设置管理平台,所有智能设备在此管理平台完成注册并且建立连接。用户需要在管理平台申请个人账户并在个人账户中绑定想要关联的所有智能设备;用户通过终端设备中的客户端(如APP应用)连接到管理平台,通过客户端管理和控制关联的所有智能设备。In the prior art, a user can establish a connection with a smart device through a terminal device, and the terminal device controls the smart device. For example, the user controls a switch of a light, a switch of a household appliance, and the like through a smart phone. The specific implementation process includes: setting up a management platform, where all smart devices complete registration and establish connections. Users need to apply for a personal account on the management platform and bind all the smart devices they want to associate with the personal account; users connect to the management platform through the client (such as APP application) in the terminal device, and manage and control all associated smart devices through the client. smart device.
但在现有的处理流程中,需要智能设备和多个个人账户进行绑定(如智能家居中的智能设备,多个家庭成员均需要通过手机等终端设备管理和控制智能设备)时,与上述绑定过程同理,每个用户均需要在管理平台申请个人账户,并在个人账户中绑定关联的智能设备。该处理流程中缺少相关的验证机制,即,现有技术只需要终端设备输入智能设备的序列号标识,便可与该智能设备进行绑定,智能设备控制的安全性较差,且不利于用户的操作体验。However, in the existing processing flow, when it is necessary to bind a smart device with multiple personal accounts (such as a smart device in a smart home, multiple family members need to manage and control the smart device through a terminal device such as a mobile phone), and the above-mentioned The binding process is the same, each user needs to apply for a personal account on the management platform, and bind the associated smart device in the personal account. There is no relevant verification mechanism in this processing flow, that is, the existing technology only needs the terminal device to enter the serial number identification of the smart device to bind with the smart device, the security of smart device control is poor, and it is not conducive to users operating experience.
发明内容Contents of the invention
为解决现有存在的技术问题,本发明实施例提供了一种信息处理方法、系统及管理平台,能够提升智能设备控制的安全性,提升用户体验。In order to solve existing technical problems, embodiments of the present invention provide an information processing method, system, and management platform, which can improve the security of smart device control and improve user experience.
为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present invention is achieved in this way:
本发明实施例提供了一种信息处理方法,所述方法包括:An embodiment of the present invention provides an information processing method, the method comprising:
管理平台接收第一客户端发送的第一请求信息,所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识;The management platform receives the first request information sent by the first client, and the first request information is used to associate the smart device; the first request information includes the identification of the smart device;
所述管理平台获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识;The management platform obtains the ID of the smart device in the first request information, performs a query based on the ID of the smart device, and when it is determined that the smart device has been associated with the second client, sends the second client to the second client. Two request information, the second request information includes: the identification of the first client and the identification of the smart device;
所述管理平台接收到所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系。After receiving the consent response information corresponding to the second request information from the second client, the management platform establishes an association relationship between the first client and the smart device, and sends to the first client A first result, where the first result indicates that the first client has established an association relationship with the smart device.
上述方案中,所述管理平台接收到所述第二客户端的对应于所述第二请求信息的拒绝响应信息后,所述方法还包括:In the above solution, after the management platform receives the rejection response information corresponding to the second request information from the second client, the method further includes:
所述管理平台向所述第一客户端发送第二结果,所述第二结果表征终止与所述第一客户端建立关联关系。The management platform sends a second result to the first client, and the second result indicates that the association relationship with the first client is terminated.
上述方案中,当与所述智能设备关联的客户端为多个时,所述建立所述第一客户端和所述智能设备的关联关系之后,所述方法还包括:In the above solution, when there are multiple clients associated with the smart device, after establishing the association relationship between the first client and the smart device, the method further includes:
向与所述智能设备关联的所有客户端发送通知信息,所述通知信息表征所述第一客户端已与所述智能设备关联。sending notification information to all clients associated with the smart device, where the notification information indicates that the first client has been associated with the smart device.
上述方案中,所述方法还包括:所述管理平台基于第一客户端的控制请求控制所述智能设备的状态的改变;In the above solution, the method further includes: the management platform controls the change of the state of the smart device based on the control request of the first client;
所述管理平台更新所述智能设备的状态控制信息,将更新后的状态控制信息发送至与所述智能设备关联的第二客户端;所述第二客户端为与所述智能设备建立关联关系的除所述第一客户端以外的所有客户端。The management platform updates the state control information of the smart device, and sends the updated state control information to a second client associated with the smart device; the second client establishes an association relationship with the smart device All clients except the first client.
上述方案中,所述管理平台基于所述第一客户端的控制请求控制所述智能设备的状态的改变,包括:所述管理平台接收到第一客户端的控制请求信息,所述控制请求信息用于改变所述智能设备的状态;In the above solution, the management platform controls the change of the state of the smart device based on the control request of the first client, including: the management platform receives the control request information of the first client, and the control request information is used for changing the state of the smart device;
所述管理平台基于所述控制请求信息生成控制指令,发送所述控制指令至所述智能设备,以控制所述智能设备基于所述控制指令改变状态;The management platform generates a control instruction based on the control request information, and sends the control instruction to the smart device, so as to control the smart device to change the state based on the control instruction;
所述管理平台接收所述智能设备发送的对应于所述控制指令的控制应答消息。The management platform receives a control response message corresponding to the control instruction sent by the smart device.
本发明实施例还提供了一种管理平台,所述管理平台包括:通讯单元、确定单元和关联单元;其中,The embodiment of the present invention also provides a management platform, the management platform includes: a communication unit, a determination unit and an association unit; wherein,
所述通讯单元,用于接收第一客户端发送的第一请求信息,所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识;还用于接收所述第二客户端的对应于所述第二请求信息的同意响应信息;还用于所述关联单元建立所述第一客户端和所述智能设备的关联关系后,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系;The communication unit is configured to receive the first request information sent by the first client, the first request information is used to associate the smart device; the first request information includes the identification of the smart device; and is also used to receive the The consent response information corresponding to the second request information of the second client; it is also used for the association unit to send the first client to the first client after establishing the association relationship between the first client and the smart device A first result, the first result indicates that the first client has established an association relationship with the smart device;
所述确定单元,用于获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,使能所述通讯单元向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识;The determining unit is configured to obtain the identifier of the smart device in the first request information, perform an inquiry based on the identifier of the smart device, and enable the communication unit when it is determined that the smart device has been associated with the second client Sending second request information to the second client, where the second request information includes: the identifier of the first client and the identifier of the smart device;
所述关联单元,用于所述通讯单元接收所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系。The associating unit is configured to establish an association relationship between the first client and the smart device after the communication unit receives the consent response information corresponding to the second request information from the second client.
上述方案中,所述通讯单元,还用于接收到所述第二客户端的对应于所述第二请求信息的拒绝响应信息;还用于向所述第一客户端发送第二结果,所述第二结果表征终止与所述第一客户端建立关联关系。In the above solution, the communication unit is further configured to receive the rejection response information corresponding to the second request information from the second client; and to send a second result to the first client, the The second result indicates that the establishment of the association relationship with the first client is terminated.
上述方案中,当与所述智能设备关联的客户端为多个时,所述通讯单元,还用于所述关联单元建立所述第一客户端和所述智能设备的关联关系后,向与所述智能设备关联的所有客户端发送通知信息,所述通知信息表征所述第一客户端已与所述智能设备关联。In the above solution, when there are multiple clients associated with the smart device, the communication unit is also used for the association unit to establish an association relationship between the first client and the smart device, and send All clients associated with the smart device send notification information, where the notification information indicates that the first client has been associated with the smart device.
上述方案中,所述管理平台还包括状态控制单元;In the above solution, the management platform further includes a state control unit;
所述通讯单元,还用于接收第一客户端的控制请求;还用于将所述状态控制单元更新后的状态控制信息发送至与所述智能设备关联的第二客户端;所述第二客户端为与所述智能设备建立关联关系的除所述第一客户端以外的所有客户端;The communication unit is also used to receive a control request from the first client; it is also used to send the state control information updated by the state control unit to a second client associated with the smart device; the second client The end is all clients except the first client that have established an association relationship with the smart device;
所述状态控制单元,用于基于所述通讯单元获得的所述第一客户端的控制请求控制所述智能设备的状态的改变;还用于更新所述智能设备的状态控制信息。The state control unit is used for controlling the change of the state of the smart device based on the control request of the first client obtained by the communication unit; and for updating the state control information of the smart device.
上述方案中,所述通讯单元,用于接收到第一客户端的控制请求信息,所述控制请求信息用于改变所述智能设备的状态;还用于发送所述状态控制单元生成的控制指令至所述智能设备,以控制所述智能设备基于所述控制指令改变状态;还用于接收所述智能设备发送的对应于所述控制指令的控制应答消息;In the above solution, the communication unit is used to receive the control request information from the first client, the control request information is used to change the state of the smart device; it is also used to send the control command generated by the state control unit to The smart device is configured to control the smart device to change the state based on the control instruction; it is also used to receive a control response message corresponding to the control instruction sent by the smart device;
所述状态控制单元,用于基于所述通讯单元获得的控制请求信息生成控制指令。The state control unit is configured to generate a control instruction based on the control request information obtained by the communication unit.
本发明实施例还提供了一种信息处理系统,所述系统包括:第一客户端、管理平台和第二客户端;其中,An embodiment of the present invention also provides an information processing system, the system includes: a first client, a management platform, and a second client; wherein,
所述第一客户端,用于向所述管理平台发送第一请求信息,所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识;The first client is configured to send first request information to the management platform, where the first request information is used to associate a smart device; the first request information includes an identifier of the smart device;
所述管理平台,用于获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识;还用于接收到所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系;The management platform is configured to obtain the identifier of the smart device in the first request information, perform an inquiry based on the identifier of the smart device, and send a message to the second client when it is determined that the smart device has been associated with the second client The terminal sends the second request information, and the second request information includes: the identification of the first client and the identification of the smart device; it is also used to receive the information corresponding to the second request information from the second client After agreeing to the response information, establishing an association relationship between the first client and the smart device, and sending a first result to the first client, the first result representing the relationship between the first client and the smart device A relationship has been established;
所述第二客户端,用于向所述管理平台发送对应于所述第二请求信息的同意响应信息。The second client terminal is configured to send consent response information corresponding to the second request information to the management platform.
上述方案中,所述管理平台,还用于接收到所述第二客户端的对应于所述第二请求信息的拒绝响应信息后,向所述第一客户端发送第二结果,所述第二结果表征终止与所述第一客户端建立关联关系。In the above solution, the management platform is further configured to send a second result to the first client after receiving the rejection response information corresponding to the second request information from the second client, and the second The result indicates that the establishment of the association relationship with the first client is terminated.
上述方案中,当与所述智能设备关联的客户端为多个时,所述管理平台,还用于向与所述智能设备关联的所有客户端发送通知信息,所述通知信息表征所述第一客户端已与所述智能设备关联。In the above solution, when there are multiple clients associated with the smart device, the management platform is further configured to send notification information to all clients associated with the smart device, the notification information representing the first A client has been associated with the smart device.
上述方案中,所述管理平台,还用于基于第一客户端的控制请求控制所述智能设备的状态的改变;更新所述智能设备的状态控制信息,将更新后的状态控制信息发送至与所述智能设备关联的第二客户端;所述第二客户端为与所述智能设备建立关联关系的除所述第一客户端以外的所有客户端。In the above solution, the management platform is further configured to control the change of the state of the smart device based on the control request of the first client; update the state control information of the smart device, and send the updated state control information to the The second client associated with the smart device; the second client is all clients other than the first client that have established an association relationship with the smart device.
上述方案中,所述第一客户端,用于向所述管理平台发送控制请求信息,所述控制请求信息用于改变所述智能设备的状态;In the above solution, the first client is configured to send control request information to the management platform, and the control request information is used to change the state of the smart device;
所述管理平台,用于基于所述控制请求信息生成控制指令,发送所述控制指令至所述智能设备,以控制所述智能设备基于所述控制指令改变状态;还用于接收所述智能设备发送的对应于所述控制指令的控制应答消息。The management platform is configured to generate a control instruction based on the control request information, and send the control instruction to the smart device to control the smart device to change state based on the control instruction; and is also used to receive the smart device The sent control response message corresponding to the control instruction.
本发明实施例提供的信息处理方法、系统及管理平台,所述方法包括:管理平台接收第一客户端发送的第一请求信息,所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识;所述管理平台获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识;所述管理平台接收到所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系。如此,采用本发明实施例的技术方案,当第一客户端发送与智能设备建立关联关系的关联请求(第一请求信息)时,管理平台向主客户端(第二客户端)发送请求信息(第二请求信息),以使主客户端(第二客户端)进行权限验证,在所述主客户端(第二客户端)验证通过后,所述管理平台建立所述第一客户端和所述智能设备的关联关系,从而大大提升了智能设备控制的安全性,也提升了用户的体验。The information processing method, system and management platform provided by the embodiments of the present invention, the method includes: the management platform receives the first request information sent by the first client, and the first request information is used to associate the smart device; the first The request information includes the identifier of the smart device; the management platform obtains the identifier of the smart device in the first request information, performs a query based on the identifier of the smart device, and determines that the smart device has been associated with the second client , sending second request information to the second client, where the second request information includes: the identifier of the first client and the identifier of the smart device; the management platform receives the corresponding After the consent response information of the second request information, establish an association relationship between the first client and the smart device, and send a first result to the first client, the first result representing the first A client has established an association relationship with the smart device. In this way, using the technical solution of the embodiment of the present invention, when the first client sends an association request (first request information) to establish an association relationship with the smart device, the management platform sends the request information ( second request information), so that the main client (second client) performs authority verification, and after the main client (second client) passes the verification, the management platform establishes the first client and the The association relationship of smart devices is described, thereby greatly improving the security of smart device control and improving user experience.
附图说明Description of drawings
图1为本发明实施例的信息处理方法进行信息交互的应用架构示意图;FIG. 1 is a schematic diagram of an application architecture for information interaction by an information processing method according to an embodiment of the present invention;
图2为本发明实施例一的信息处理方法的流程示意图;FIG. 2 is a schematic flowchart of an information processing method according to Embodiment 1 of the present invention;
图3为本发明实施例二的信息处理方法的流程示意图;3 is a schematic flowchart of an information processing method according to Embodiment 2 of the present invention;
图4为本发明实施例三的信息处理方法的流程示意图;FIG. 4 is a schematic flowchart of an information processing method according to Embodiment 3 of the present invention;
图5为本发明实施例三中管理平台基于第一客户端的控制请求控制所述智能设备的状态的改变的方法流程示意图;FIG. 5 is a schematic flowchart of a method for the management platform to control the state change of the smart device based on the control request of the first client in Embodiment 3 of the present invention;
图6为本发明实施例的信息处理系统的组成结构示意图;6 is a schematic diagram of the composition and structure of an information processing system according to an embodiment of the present invention;
图7为本发明实施例的管理平台的第一种组成结构示意图;FIG. 7 is a schematic diagram of the first composition structure of the management platform of the embodiment of the present invention;
图8为本发明实施例的管理平台的第二种组成结构示意图。FIG. 8 is a schematic diagram of the second composition structure of the management platform according to the embodiment of the present invention.
具体实施方式detailed description
下面结合附图及具体实施例对本发明作进一步详细的说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.
图1为本发明实施例的信息处理方法进行信息交互的应用架构示意图;如图1所示,所述应用架构包括:客户端12、管理平台11和智能设备13;所述客户端12和所述管理平台11之间,以及所述智能设备13与所述管理平台11之间可通过无线网络或有限网络建立连接。所述客户端11具体可以为智能手机、平板电脑、智能遥控器等终端设备;所述智能设备13具体可以为智能灯座、智能插座、智能摄像头等智能设备,也可以为具有传输功能和控制功能的热水器、空调等家用电器。所述管理平台11具体可以通过服务器、云服务器实现,也可以通过家用电脑等实现。FIG. 1 is a schematic diagram of an application architecture for information interaction by an information processing method according to an embodiment of the present invention; as shown in FIG. 1 , the application architecture includes: a client 12, a management platform 11, and a smart device 13; Between the management platforms 11, and between the smart device 13 and the management platform 11, a connection can be established through a wireless network or a limited network. The client 11 can specifically be a terminal device such as a smart phone, a tablet computer, and a smart remote control; the smart device 13 can specifically be a smart device such as a smart lamp holder, a smart socket, or a smart camera, or can be a Functional water heaters, air conditioners and other household appliances. Specifically, the management platform 11 can be implemented through a server, a cloud server, or a home computer.
上述图1的例子只是实现本发明实施例的一个应用架构实例,本发明实施例并不限于上述图1所述的应用结构。基于该应用架构,提出本发明各个实施例。The above example in FIG. 1 is only an example of an application architecture for implementing the embodiment of the present invention, and the embodiment of the present invention is not limited to the application structure described in FIG. 1 above. Based on the application framework, various embodiments of the present invention are proposed.
实施例一Embodiment one
本发明实施例提供了一种信息处理方法。图2为本发明实施例一的信息处理方法的流程示意图;如图2所示,所述信息处理方法包括:An embodiment of the present invention provides an information processing method. Fig. 2 is a schematic flow chart of an information processing method according to Embodiment 1 of the present invention; as shown in Fig. 2 , the information processing method includes:
步骤201:管理平台接收第一客户端发送的第一请求信息,获得所述第一请求信息中的智能设备的标识;所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识。Step 201: The management platform receives the first request information sent by the first client, and obtains the identification of the smart device in the first request information; the first request information is used to associate the smart device; the first request information includes The ID of the smart device.
这里,所述管理平台接收第一客户端发送的第一请求信息之前,所述第一客户端首先在所述管理平台完成注册操作,即设置个人账号名称、登录密码等注册操作;注册完成后,所述第一客户端可通过所述个人账号名称和登录密码登录个人账号,并在所述个人账号中完成对智能设备的关联、控制等操作。Here, before the management platform receives the first request information sent by the first client, the first client first completes the registration operation on the management platform, that is, setting the personal account name, login password and other registration operations; , the first client can log into the personal account through the personal account name and login password, and complete operations such as associating and controlling smart devices in the personal account.
本实施例中,所述管理平台接收到所述第一请求信息时,获得对应的所述第一客户端的标识;所述管理平台首先判断所述第一客户端的标识是否合法有效,即判断所述第一客户端的标识是否已注册,注册的个人账户是否处于正常状态;确定所述第一客户端的标识已注册且处于正常状态后,进一步执行后续操作。In this embodiment, when the management platform receives the first request information, it obtains the corresponding identifier of the first client; the management platform first judges whether the identifier of the first client is legal and valid, that is, judges Whether the identity of the first client has been registered, and whether the registered personal account is in a normal state; after determining that the identity of the first client has been registered and is in a normal state, further follow-up operations are performed.
本实施例中,所述智能设备的标识具体可以为所述智能设备的序列号。具体的,用户可通过手动输入所述智能设备的序列号,所述第一客户端获得输入的序列号;或者,用户可通过所述第一客户端的扫描功能扫描所述智能设备的二维码,识别所述二维码获得所述智能设备的标识。进一步地,所述第一客户端向所述管理平台发送第一请求信息,所述第一请求信息中包括一智能设备的标识,用于关联所述智能设备。In this embodiment, the identifier of the smart device may specifically be a serial number of the smart device. Specifically, the user can manually input the serial number of the smart device, and the first client can obtain the input serial number; or, the user can scan the two-dimensional code of the smart device through the scanning function of the first client , identifying the two-dimensional code to obtain the identification of the smart device. Further, the first client sends first request information to the management platform, and the first request information includes an identifier of a smart device for associating the smart device.
步骤202:所述管理平台基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识。Step 202: The management platform performs an inquiry based on the identifier of the smart device, and when determining that the smart device has been associated with a second client, sends a second request message to the second client, the second request message includes : the identifier of the first client and the identifier of the smart device.
本实施例中,所述管理平台记录每一个接收到的用于关联智能设备的请求信息中关联的智能设备及其对应的客户端,可以理解为,所述管理平台中设置有关联记录,所述关联记录中包括至少一组智能设备标识与客户端标识的对应关系。则当所述管理平台获得所述第一请求信息时,获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识查询所述关联记录,判断所述关联记录中是否存在所述智能设备的标识的对应关系;当判断结果为所述关联记录中存在所述智能设备的标识时,则表明所述智能设备已关联客户端。In this embodiment, the management platform records the associated smart device and its corresponding client in each received request information for associating the smart device. It can be understood that the management platform is provided with an associated record, so The association record includes at least one set of correspondence between smart device identifiers and client identifiers. Then, when the management platform obtains the first request information, it obtains the identifier of the smart device in the first request information, queries the associated record based on the identifier of the smart device, and determines whether the associated record exists The correspondence between the smart device IDs; when the judging result is that the smart device ID exists in the association record, it indicates that the smart device has been associated with the client.
本实施例中,本实施例中,所述第二客户端为主客户端,所述主客户端对在后请求关联所述智能设备的客户端具有验证权限,即允许或拒绝在后的客户端的关联请求。作为一种实施方式,当所述智能设备已关联一个客户端时,所述客户端作为所述第二客户端,可以理解为,所述第二客户端为主客户端。作为另一种实施方式,当所述智能设备已关联至少两个客户端时,按预设规则配置其中一个客户端作为第二客户端,可以理解为,所述第二客户端为主客户端。其中,所述预设规则可以为:最先与所述智能设备关联的客户端为所述第二客户端。或者,人工配置所述至少两个客户端中的一个客户端作为所述第二客户端。进一步地,所述管理平台向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识,所述第二请求信息用于通知所述第二客户端,当前所述第一客户端请求关联所述智能设备。In this embodiment, in this embodiment, the second client is the main client, and the main client has verification authority for the subsequent client requesting to associate the smart device, that is, to allow or deny the subsequent client end association request. As an implementation manner, when the smart device is associated with a client, the client serves as the second client, which can be understood as the second client is the primary client. As another implementation, when the smart device has been associated with at least two clients, one of the clients is configured as the second client according to preset rules, which can be understood as the main client . Wherein, the preset rule may be: the first client associated with the smart device is the second client. Or, manually configure one of the at least two clients as the second client. Further, the management platform sends second request information to the second client, the second request information includes: the identifier of the first client and the identifier of the smart device, and the second request information uses To notify the second client that the first client currently requests to associate with the smart device.
步骤203:所述管理平台接收到所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系。Step 203: After the management platform receives the consent response information corresponding to the second request information from the second client, it establishes an association relationship between the first client and the smart device, and sends a request to the first client. The client sends a first result, where the first result indicates that the first client has established an association relationship with the smart device.
这里,所述第二客户端接收到所述第二请求信息后,由人工确认是否允许所述第一客户端关联所述智能设备;当所述第二客户端触发表征同意关联的输入操作时,即生成对应于所述第二请求信息的同意响应信息,向所述管理平台发送所述对应于所述第二请求信息的同意响应信息。所述管理平台接收到所述对应于所述第二请求信息的同意响应信息后,建立所述智能设备和所述第一客户端的关联关系,并更新关联记录,更新后的关联记录中新增加所述智能设备的标识和所述第一客户端的标识的对应关系。进一步地,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系。Here, after the second client receives the second request information, it is manually confirmed whether the first client is allowed to associate with the smart device; , that is, generate consent response information corresponding to the second request information, and send the consent response information corresponding to the second request information to the management platform. After the management platform receives the consent response information corresponding to the second request information, it establishes an association relationship between the smart device and the first client, and updates the association record, and the updated association record newly adds A correspondence between the identifier of the smart device and the identifier of the first client. Further, a first result is sent to the first client, where the first result indicates that the first client has established an association relationship with the smart device.
作为另一种实施方式,当所述第二客户端触发表征不同意的输入操作时,即生成对应于所述第二请求信息的拒绝响应信息,向所述管理平台发送所述对应于所述第二请求信息的拒绝响应信息。所述管理平台接收到所述对应于所述第二请求信息的拒绝响应信息后,所述方法还包括:所述管理平台向所述第一客户端发送第二结果,所述第二结果表征终止与所述第一客户端建立关联关系;可以理解为,所述管理平台向所述第一客户端发送提示信息,所述提示信息表明对应于所述第一请求信息的关联请求失败。As another implementation manner, when the second client triggers an input operation representing disapproval, it generates rejection response information corresponding to the second request information, and sends the information corresponding to the Rejection response information of the second request information. After the management platform receives the rejection response information corresponding to the second request information, the method further includes: the management platform sends a second result to the first client, and the second result represents Terminate establishing an association relationship with the first client; it can be understood that the management platform sends prompt information to the first client, and the prompt information indicates that the association request corresponding to the first request information fails.
采用本发明实施例的技术方案,当第一客户端发送与智能设备建立关联关系的关联请求(第一请求信息)时,管理平台向主客户端(第二客户端)发送请求信息(第二请求信息),以使主客户端(第二客户端)进行权限验证,在所述主客户端(第二客户端)验证通过后,所述管理平台建立所述第一客户端和所述智能设备的关联关系,从而大大提升了智能设备控制的安全性,也提升了用户的体验。Adopting the technical scheme of the embodiment of the present invention, when the first client sends an association request (first request information) to establish an association relationship with the smart device, the management platform sends the request information (second request information) to the main client (second client). request information), so that the main client (second client) performs authority verification, and after the main client (second client) is verified, the management platform establishes the first client and the smart The association relationship between devices greatly improves the security of smart device control and improves the user experience.
实施例二Embodiment two
本发明实施例还提供了一种信息处理方法。图3为本发明实施例二的信息处理方法的流程示意图;如图3所示,所述信息处理方法包括:The embodiment of the present invention also provides an information processing method. Fig. 3 is a schematic flowchart of an information processing method according to Embodiment 2 of the present invention; as shown in Fig. 3 , the information processing method includes:
步骤301:管理平台接收第一客户端发送的第一请求信息,获得所述第一请求信息中的智能设备的标识;所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识。Step 301: The management platform receives the first request information sent by the first client, and obtains the identification of the smart device in the first request information; the first request information is used to associate the smart device; the first request information includes The ID of the smart device.
这里,所述管理平台接收第一客户端发送的第一请求信息之前,所述第一客户端首先在所述管理平台完成注册操作,即设置个人账号名称、登录密码等注册操作;注册完成后,所述第一客户端可通过所述个人账号名称和登录密码登录个人账号,并在所述个人账号中完成对智能设备的关联、控制等操作。Here, before the management platform receives the first request information sent by the first client, the first client first completes the registration operation on the management platform, that is, setting the personal account name, login password and other registration operations; , the first client can log into the personal account through the personal account name and login password, and complete operations such as associating and controlling smart devices in the personal account.
本实施例中,所述管理平台接收到所述第一请求信息时,获得对应的所述第一客户端的标识;所述管理平台首先判断所述第一客户端的标识是否合法有效,即判断所述第一客户端的标识是否已注册,注册的个人账户是否处于正常状态;确定所述第一客户端的标识已注册且处于正常状态后,进一步执行后续操作。In this embodiment, when the management platform receives the first request information, it obtains the corresponding identifier of the first client; the management platform first judges whether the identifier of the first client is legal and valid, that is, judges Whether the identity of the first client has been registered, and whether the registered personal account is in a normal state; after determining that the identity of the first client has been registered and is in a normal state, further follow-up operations are performed.
本实施例中,所述智能设备的标识具体可以为所述智能设备的序列号。具体的,用户可通过手动输入所述智能设备的序列号,所述第一客户端获得输入的序列号;或者,用户可通过所述第一客户端的扫描功能扫描所述智能设备的二维码,识别所述二维码获得所述智能设备的标识。进一步地,所述第一客户端向所述管理平台发送第一请求信息,所述第一请求信息中包括一智能设备的标识,用于关联所述智能设备。In this embodiment, the identifier of the smart device may specifically be a serial number of the smart device. Specifically, the user can manually input the serial number of the smart device, and the first client can obtain the input serial number; or, the user can scan the two-dimensional code of the smart device through the scanning function of the first client , identifying the two-dimensional code to obtain the identification of the smart device. Further, the first client sends first request information to the management platform, and the first request information includes an identifier of a smart device for associating the smart device.
步骤302:所述管理平台基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识。Step 302: The management platform performs a query based on the identifier of the smart device, and when determining that the smart device has been associated with a second client, sends a second request message to the second client, the second request message includes : the identifier of the first client and the identifier of the smart device.
本实施例中,所述管理平台记录每一个接收到的用于关联智能设备的请求信息中关联的智能设备及其对应的客户端,可以理解为,所述管理平台中设置有关联记录,所述关联记录中包括至少一组智能设备标识与客户端标识的对应关系。则当所述管理平台获得所述第一请求信息时,获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识查询所述关联记录,判断所述关联记录中是否存在所述智能设备的标识的对应关系;当判断结果为所述关联记录中存在所述智能设备的标识时,则表明所述智能设备已关联客户端。In this embodiment, the management platform records the associated smart device and its corresponding client in each received request information for associating the smart device. It can be understood that the management platform is provided with an associated record, so The association record includes at least one set of correspondence between smart device identifiers and client identifiers. Then, when the management platform obtains the first request information, it obtains the identifier of the smart device in the first request information, queries the associated record based on the identifier of the smart device, and determines whether the associated record exists The correspondence between the smart device IDs; when the judging result is that the smart device ID exists in the association record, it indicates that the smart device has been associated with the client.
本实施例中,本实施例中,所述第二客户端为主客户端,所述主客户端对在后请求关联所述智能设备的客户端具有验证权限,即允许或拒绝在后的客户端的关联请求。作为一种实施方式,当所述智能设备已关联一个客户端时,所述客户端作为所述第二客户端,可以理解为,所述第二客户端为主客户端。作为另一种实施方式,当所述智能设备已关联至少两个客户端时,按预设规则配置其中一个客户端作为第二客户端,可以理解为,所述第二客户端为主客户端。其中,所述预设规则可以为:最先与所述智能设备关联的客户端为所述第二客户端。或者,人工配置所述至少两个客户端中的一个客户端作为所述第二客户端。进一步地,所述管理平台向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识,所述第二请求信息用于通知所述第二客户端,当前所述第一客户端请求关联所述智能设备。In this embodiment, in this embodiment, the second client is the main client, and the main client has verification authority for the subsequent client requesting to associate the smart device, that is, to allow or deny the subsequent client end association request. As an implementation manner, when the smart device is associated with a client, the client serves as the second client, which can be understood as the second client is the primary client. As another implementation, when the smart device has been associated with at least two clients, one of the clients is configured as the second client according to preset rules, which can be understood as the main client . Wherein, the preset rule may be: the first client associated with the smart device is the second client. Or, manually configure one of the at least two clients as the second client. Further, the management platform sends second request information to the second client, the second request information includes: the identifier of the first client and the identifier of the smart device, and the second request information uses To notify the second client that the first client currently requests to associate with the smart device.
步骤303:所述管理平台接收到所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系;以及,向与所述智能设备关联的所有客户端发送通知信息,所述通知信息表征所述第一客户端已与所述智能设备关联。Step 303: After the management platform receives the consent response information corresponding to the second request information from the second client, it establishes an association relationship between the first client and the smart device, and sends a request to the first client. The client sends a first result, the first result indicates that the first client has established an association relationship with the smart device; and, sending notification information to all clients associated with the smart device, the notification information It indicates that the first client has been associated with the smart device.
这里,所述第二客户端接收到所述第二请求信息后,由人工确认是否允许所述第一客户端关联所述智能设备;当所述第二客户端触发表征同意关联的输入操作时,即生成对应于所述第二请求信息的同意响应信息,向所述管理平台发送所述对应于所述第二请求信息的同意响应信息。所述管理平台接收到所述对应于所述第二请求信息的同意响应信息后,建立所述智能设备和所述第一客户端的关联关系,并更新关联记录,更新后的关联记录中新增加所述智能设备的标识和所述第一客户端的标识的对应关系。进一步地,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系。Here, after the second client receives the second request information, it is manually confirmed whether the first client is allowed to associate with the smart device; , that is, generate consent response information corresponding to the second request information, and send the consent response information corresponding to the second request information to the management platform. After the management platform receives the consent response information corresponding to the second request information, it establishes an association relationship between the smart device and the first client, and updates the association record, and the updated association record newly adds A correspondence between the identifier of the smart device and the identifier of the first client. Further, a first result is sent to the first client, where the first result indicates that the first client has established an association relationship with the smart device.
本实施例中,所述管理平台建立所述第一客户端和所述智能设备的关联关系后,向与所述智能设备关联的所有客户端发送通知消息,以通知所有客户端当前有新客户端(所述第一客户端)与所述智能设备建立关联关系,便于与所述智能设备关联的所有客户端获知所述智能设备的关联情况。In this embodiment, after the management platform establishes the association relationship between the first client and the smart device, it sends a notification message to all clients associated with the smart device to notify all clients that there is a new client The terminal (the first client) establishes an association relationship with the smart device, so that all clients associated with the smart device know the association of the smart device.
采用本发明实施例的技术方案,一方面,当第一客户端发送与智能设备建立关联关系的关联请求(第一请求信息)时,管理平台向主客户端(第二客户端)发送请求信息(第二请求信息),以使主客户端(第二客户端)进行权限验证,在所述主客户端(第二客户端)验证通过后,所述管理平台建立所述第一客户端和所述智能设备的关联关系,从而大大提升了智能设备控制的安全性;另一方面,本实施例新增加了智能设备控制流程中的通知机制,即当有新客户端与所述智能设备建立关联关系后,所述管理平台向与所述智能设备建立关联关系的所有客户端(可以为除所述第一客户端以外的所有客户端)发送通知消息,以便使所述所有客户端的用户获知有新客户端建立关联关系,同时也大大提升了用户的体验。Adopting the technical solution of the embodiment of the present invention, on the one hand, when the first client sends an association request (first request information) to establish an association relationship with the smart device, the management platform sends the request information to the main client (second client) (second request information), so that the main client (second client) performs authority verification, and after the main client (second client) is verified, the management platform establishes the first client and The association relationship between the smart devices greatly improves the security of smart device control; on the other hand, this embodiment newly adds a notification mechanism in the smart device control process, that is, when a new client establishes an After the association relationship, the management platform sends a notification message to all clients (all clients except the first client) that have established an association relationship with the smart device, so that the users of all the clients know There are new clients to establish an association relationship, which also greatly improves the user experience.
实施例三Embodiment Three
本发明实施例还提供了一种信息处理方法。图4为本发明实施例三的信息处理方法的流程示意图;如图4所示,所述信息处理方法包括:The embodiment of the present invention also provides an information processing method. FIG. 4 is a schematic flowchart of an information processing method according to Embodiment 3 of the present invention; as shown in FIG. 4 , the information processing method includes:
步骤401:管理平台接收第一客户端发送的第一请求信息,获得所述第一请求信息中的智能设备的标识;所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识。Step 401: The management platform receives the first request information sent by the first client, and obtains the identification of the smart device in the first request information; the first request information is used to associate the smart device; the first request information includes The ID of the smart device.
这里,所述管理平台接收第一客户端发送的第一请求信息之前,所述第一客户端首先在所述管理平台完成注册操作,即设置个人账号名称、登录密码等注册操作;注册完成后,所述第一客户端可通过所述个人账号名称和登录密码登录个人账号,并在所述个人账号中完成对智能设备的关联、控制等操作。Here, before the management platform receives the first request information sent by the first client, the first client first completes the registration operation on the management platform, that is, setting the personal account name, login password and other registration operations; , the first client can log into the personal account through the personal account name and login password, and complete operations such as associating and controlling smart devices in the personal account.
本实施例中,所述管理平台接收到所述第一请求信息时,获得对应的所述第一客户端的标识;所述管理平台首先判断所述第一客户端的标识是否合法有效,即判断所述第一客户端的标识是否已注册,注册的个人账户是否处于正常状态;确定所述第一客户端的标识已注册且处于正常状态后,进一步执行后续操作。In this embodiment, when the management platform receives the first request information, it obtains the corresponding identifier of the first client; the management platform first judges whether the identifier of the first client is legal and valid, that is, judges Whether the identity of the first client has been registered, and whether the registered personal account is in a normal state; after determining that the identity of the first client has been registered and is in a normal state, further follow-up operations are performed.
本实施例中,所述智能设备的标识具体可以为所述智能设备的序列号。具体的,用户可通过手动输入所述智能设备的序列号,所述第一客户端获得输入的序列号;或者,用户可通过所述第一客户端的扫描功能扫描所述智能设备的二维码,识别所述二维码获得所述智能设备的标识。进一步地,所述第一客户端向所述管理平台发送第一请求信息,所述第一请求信息中包括一智能设备的标识,用于关联所述智能设备。In this embodiment, the identifier of the smart device may specifically be a serial number of the smart device. Specifically, the user can manually input the serial number of the smart device, and the first client can obtain the input serial number; or, the user can scan the two-dimensional code of the smart device through the scanning function of the first client , identifying the two-dimensional code to obtain the identification of the smart device. Further, the first client sends first request information to the management platform, and the first request information includes an identifier of a smart device for associating the smart device.
步骤402:所述管理平台基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识。Step 402: The management platform performs a query based on the identifier of the smart device, and when determining that the smart device has been associated with a second client, sends a second request message to the second client, the second request message includes : the identifier of the first client and the identifier of the smart device.
本实施例中,所述管理平台记录每一个接收到的用于关联智能设备的请求信息中关联的智能设备及其对应的客户端,可以理解为,所述管理平台中设置有关联记录,所述关联记录中包括至少一组智能设备标识与客户端标识的对应关系。则当所述管理平台获得所述第一请求信息时,获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识查询所述关联记录,判断所述关联记录中是否存在所述智能设备的标识的对应关系;当判断结果为所述关联记录中存在所述智能设备的标识时,则表明所述智能设备已关联客户端。In this embodiment, the management platform records the associated smart device and its corresponding client in each received request information for associating the smart device. It can be understood that the management platform is provided with an associated record, so The association record includes at least one set of correspondence between smart device identifiers and client identifiers. Then, when the management platform obtains the first request information, it obtains the identifier of the smart device in the first request information, queries the associated record based on the identifier of the smart device, and determines whether the associated record exists The correspondence between the smart device IDs; when the judging result is that the smart device ID exists in the association record, it indicates that the smart device has been associated with the client.
本实施例中,本实施例中,所述第二客户端为主客户端,所述主客户端对在后请求关联所述智能设备的客户端具有验证权限,即允许或拒绝在后的客户端的关联请求。作为一种实施方式,当所述智能设备已关联一个客户端时,所述客户端作为所述第二客户端,可以理解为,所述第二客户端为主客户端。作为另一种实施方式,当所述智能设备已关联至少两个客户端时,按预设规则配置其中一个客户端作为第二客户端,可以理解为,所述第二客户端为主客户端。其中,所述预设规则可以为:最先与所述智能设备关联的客户端为所述第二客户端。或者,人工配置所述至少两个客户端中的一个客户端作为所述第二客户端。进一步地,所述管理平台向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识,所述第二请求信息用于通知所述第二客户端,当前所述第一客户端请求关联所述智能设备。In this embodiment, in this embodiment, the second client is the main client, and the main client has verification authority for the subsequent client requesting to associate the smart device, that is, to allow or deny the subsequent client end association request. As an implementation manner, when the smart device is associated with a client, the client serves as the second client, which can be understood as the second client is the primary client. As another implementation, when the smart device has been associated with at least two clients, one of the clients is configured as the second client according to preset rules, which can be understood as the main client . Wherein, the preset rule may be: the first client associated with the smart device is the second client. Or, manually configure one of the at least two clients as the second client. Further, the management platform sends second request information to the second client, the second request information includes: the identifier of the first client and the identifier of the smart device, and the second request information uses To notify the second client that the first client currently requests to associate with the smart device.
步骤403:所述管理平台接收到所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系;以及,向与所述智能设备关联的所有客户端发送通知信息,所述通知信息表征所述第一客户端已与所述智能设备关联。Step 403: After the management platform receives the consent response information corresponding to the second request information from the second client, it establishes an association relationship between the first client and the smart device, and sends a request to the first client. The client sends a first result, the first result indicates that the first client has established an association relationship with the smart device; and, sending notification information to all clients associated with the smart device, the notification information It indicates that the first client has been associated with the smart device.
这里,所述第二客户端接收到所述第二请求信息后,由人工确认是否允许所述第一客户端关联所述智能设备;当所述第二客户端触发表征同意关联的输入操作时,即生成对应于所述第二请求信息的同意响应信息,向所述管理平台发送所述对应于所述第二请求信息的同意响应信息。所述管理平台接收到所述对应于所述第二请求信息的同意响应信息后,建立所述智能设备和所述第一客户端的关联关系,并更新关联记录,更新后的关联记录中新增加所述智能设备的标识和所述第一客户端的标识的对应关系。进一步地,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系。Here, after the second client receives the second request information, it is manually confirmed whether the first client is allowed to associate with the smart device; , that is, generate consent response information corresponding to the second request information, and send the consent response information corresponding to the second request information to the management platform. After the management platform receives the consent response information corresponding to the second request information, it establishes an association relationship between the smart device and the first client, and updates the association record, and the updated association record newly adds A correspondence between the identifier of the smart device and the identifier of the first client. Further, a first result is sent to the first client, where the first result indicates that the first client has established an association relationship with the smart device.
本实施例中,所述管理平台建立所述第一客户端和所述智能设备的关联关系后,向与所述智能设备关联的所有客户端发送通知消息,以通知所有客户端当前有新客户端(所述第一客户端)与所述智能设备建立关联关系,便于与所述智能设备关联的所有客户端获知所述智能设备的关联情况。In this embodiment, after the management platform establishes the association relationship between the first client and the smart device, it sends a notification message to all clients associated with the smart device to notify all clients that there is a new client The terminal (the first client) establishes an association relationship with the smart device, so that all clients associated with the smart device know the association of the smart device.
步骤404:所述管理平台基于第一客户端的控制请求控制所述智能设备的状态的改变。Step 404: The management platform controls the change of the state of the smart device based on the control request of the first client.
步骤405:所述管理平台更新所述智能设备的状态控制信息,将更新后的状态控制信息发送至与所述智能设备关联的第二客户端;所述第二客户端为与所述智能设备建立关联关系的除所述第一客户端以外的所有客户端。Step 405: The management platform updates the state control information of the smart device, and sends the updated state control information to a second client associated with the smart device; All clients except the first client that have established an association relationship.
本实施例中,所述管理平台中设置有对应于关联记录中每个智能设备对应的状态控制记录,所述状态控制记录中记录有每个智能设备的状态信息。当所述智能设备执行控制指令改变自身状态后,所述管理平台更新所述状态控制信记录,更新所述智能设备对应的状态控制信息。另外,所述管理平台向与所述智能设备关联的除所述第一客户端以外的所有客户端发送状态更新消息,所述状态更新消息中包括所述智能设备更新后的状态控制信息,以通知与所述智能设备关联的除所述第一客户端以外的所有客户端,所述智能设备当前状态已发生改变。In this embodiment, the management platform is provided with a state control record corresponding to each smart device in the associated record, and the state control record records state information of each smart device. After the smart device executes the control instruction to change its own state, the management platform updates the state control letter record, and updates the state control information corresponding to the smart device. In addition, the management platform sends a status update message to all clients associated with the smart device except the first client, and the status update message includes the updated status control information of the smart device, so as to Notifying all clients associated with the smart device except the first client that the current state of the smart device has changed.
图5为本发明实施例三中管理平台基于第一客户端的控制请求控制所述智能设备的状态的改变的方法流程示意图;步骤404的处理过程参照图5所示,包括:FIG. 5 is a schematic flow diagram of a method in which the management platform controls the state change of the smart device based on the control request of the first client in Embodiment 3 of the present invention; the process of step 404 is shown in FIG. 5 , including:
步骤4041:所述管理平台接收到第一客户端的控制请求信息,所述控制请求信息用于改变所述智能设备的状态。Step 4041: The management platform receives control request information from the first client, where the control request information is used to change the state of the smart device.
步骤4042:所述管理平台基于所述控制请求信息生成控制指令,发送所述控制指令至所述智能设备,以控制所述智能设备基于所述控制指令改变状态。Step 4042: The management platform generates a control instruction based on the control request information, and sends the control instruction to the smart device, so as to control the smart device to change state based on the control instruction.
步骤4043:所述管理平台接收所述智能设备发送的对应于所述控制指令的控制应答消息。Step 4043: The management platform receives a control reply message corresponding to the control instruction sent by the smart device.
在本实施例中,所述第一客户端可以为步骤401至步骤403中所述的智能设备新关联的客户端,当然,所述第一客户端也可以为与所述智能设备关联的所有客户端中的任一客户端。以下均同。则所述第一客户端向所述管理平台发送控制请求信息,所述控制请求信息用于改变所述智能设备的状态,例如控制所述智能设备开/关的状态;其中,所述控制请求信息包括:智能设备标识、状态控制位标识等等;所述状态控制位标识表征改变后的所述智能设备的状态。所述管理平台接收到所述控制请求信息后,生成控制指令,向所述智能设备发送所述控制指令。所述智能设备接收到所述控制指令后,执行所述控制指令改变自身的状态,向所述管理平台返回对应于所述控制指令的控制应答消息,所述控制应答消息表征所述智能设备已基于所述控制指令改变自身状态。In this embodiment, the first client may be the client newly associated with the smart device described in step 401 to step 403, of course, the first client may also be all the smart devices associated Any of the clients. The following are the same. Then the first client sends control request information to the management platform, and the control request information is used to change the status of the smart device, for example, to control the on/off status of the smart device; wherein, the control request The information includes: a smart device identifier, a status control bit identifier, etc.; the status control bit identifier represents the changed status of the smart device. After receiving the control request information, the management platform generates a control instruction, and sends the control instruction to the smart device. After the smart device receives the control command, it executes the control command to change its own state, and returns a control response message corresponding to the control command to the management platform, and the control response message indicates that the smart device has Change its own state based on the control instruction.
采用本发明实施例的技术方案,一方面,当第一客户端发送与智能设备建立关联关系的关联请求(第一请求信息)时,管理平台向主客户端(第二客户端)发送请求信息(第二请求信息),以使主客户端(第二客户端)进行权限验证,在所述主客户端(第二客户端)验证通过后,所述管理平台建立所述第一客户端和所述智能设备的关联关系,从而大大提升了智能设备控制的安全性;另一方面,本实施例新增加了智能设备控制流程中的通知机制,即当有新客户端与所述智能设备建立关联关系后,所述管理平台向与所述智能设备建立关联关系的所有客户端(可以为除所述第一客户端以外的所有客户端)发送通知消息,以便使所述所有客户端的用户获知有新客户端建立关联关系;或者,当有客户端控制所述智能设备的状态发生改变时,也通知与所述智能设备相关联的所有客户端,以便使所述所有客户端的用户获知所述智能设备的状态发生改变,避免用户在不知情的情况下以为系统出现异常的情况,同时也大大提升了用户的体验。Adopting the technical solution of the embodiment of the present invention, on the one hand, when the first client sends an association request (first request information) to establish an association relationship with the smart device, the management platform sends the request information to the main client (second client) (second request information), so that the main client (second client) performs authority verification, and after the main client (second client) is verified, the management platform establishes the first client and The association relationship between the smart devices greatly improves the security of smart device control; on the other hand, this embodiment newly adds a notification mechanism in the smart device control process, that is, when a new client establishes an After the association relationship, the management platform sends a notification message to all clients (all clients except the first client) that have established an association relationship with the smart device, so that the users of all the clients know There is a new client to establish an association relationship; or, when there is a change in the status of the client controlling the smart device, all clients associated with the smart device are also notified, so that the users of the all clients are informed of the The state of the smart device changes, preventing the user from thinking that the system is abnormal without knowing it, and also greatly improving the user experience.
实施例四Embodiment four
本发明实施例还提供了一种信息处理系统。图6为本发明实施例的信息处理系统的组成结构示意图;如图6所示,所述信息处理系统包括:第一客户端51、管理平台52和第二客户端53;其中,The embodiment of the present invention also provides an information processing system. FIG. 6 is a schematic diagram of the composition and structure of an information processing system according to an embodiment of the present invention; as shown in FIG. 6 , the information processing system includes: a first client 51, a management platform 52, and a second client 53; wherein,
所述第一客户端51,用于向所述管理平台52发送第一请求信息,所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识;The first client 51 is configured to send first request information to the management platform 52, the first request information is used to associate the smart device; the first request information includes the identification of the smart device;
所述管理平台52,用于获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端53时,向所述第二客户端53发送第二请求信息,所述第二请求信息包括:所述第一客户端51的标识和所述智能设备的标识;还用于接收到所述第二客户端53的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端51和所述智能设备的关联关系,向所述第一客户端51发送第一结果,所述第一结果表征所述第一客户端51与所述智能设备已建立关联关系;The management platform 52 is configured to obtain the identifier of the smart device in the first request information, perform an inquiry based on the identifier of the smart device, and when it is determined that the smart device has been associated with the second client 53, send a request to the second client 53. The second client 53 sends the second request information, and the second request information includes: the identification of the first client 51 and the identification of the smart device; After the consent response information of the second request information, the association relationship between the first client 51 and the smart device is established, and a first result is sent to the first client 51, and the first result represents the The first client 51 has established an association relationship with the smart device;
所述第二客户端53,用于向所述管理平台52发送对应于所述第二请求信息的同意响应信息。The second client 53 is configured to send consent response information corresponding to the second request information to the management platform 52 .
这里,所述管理平台52接收第一客户端51发送的第一请求信息之前,所述第一客户端51首先在所述管理平台52完成注册操作,即设置个人账号名称、登录密码等注册操作;注册完成后,所述第一客户端51可通过所述个人账号名称和登录密码登录个人账号,并在所述个人账号中完成对智能设备的关联、控制等操作。Here, before the management platform 52 receives the first request information sent by the first client 51, the first client 51 first completes the registration operation on the management platform 52, that is, setting the personal account name, login password and other registration operations. After the registration is completed, the first client 51 can log into the personal account through the personal account name and login password, and complete operations such as associating and controlling smart devices in the personal account.
本实施例中,所述管理平台52接收到所述第一请求信息时,获得对应的所述第一客户端51的标识;所述管理平台52首先判断所述第一客户端51的标识是否合法有效,即判断所述第一客户端51的标识是否已注册,注册的个人账户是否处于正常状态;确定所述第一客户端51的标识已注册且处于正常状态后,进一步执行后续操作。In this embodiment, when the management platform 52 receives the first request information, it obtains the identification of the corresponding first client 51; the management platform 52 first determines whether the identification of the first client 51 is Legal and valid, that is to judge whether the logo of the first client 51 has been registered, and whether the registered personal account is in a normal state; after confirming that the logo of the first client 51 has been registered and in a normal state, further follow-up operations are performed.
本实施例中,所述智能设备的标识具体可以为所述智能设备的序列号。具体的,用户可通过手动输入所述智能设备的序列号,所述第一客户端51获得输入的序列号;或者,用户可通过所述第一客户端51的扫描功能扫描所述智能设备的二维码,识别所述二维码获得所述智能设备的标识。进一步地,所述第一客户端51向所述管理平台52发送第一请求信息,所述第一请求信息中包括一智能设备的标识,用于关联所述智能设备。In this embodiment, the identifier of the smart device may specifically be a serial number of the smart device. Specifically, the user can manually input the serial number of the smart device, and the first client 51 obtains the input serial number; or, the user can scan the smart device through the scanning function of the first client 51. A two-dimensional code, identifying the two-dimensional code to obtain the identification of the smart device. Further, the first client 51 sends first request information to the management platform 52, and the first request information includes an identifier of a smart device for associating the smart device.
本实施例中,所述管理平台52记录每一个接收到的用于关联智能设备的请求信息中关联的智能设备及其对应的客户端,可以理解为,所述管理平台52中设置有关联记录,所述关联记录中包括至少一组智能设备标识与客户端标识的对应关系。则当所述管理平台52获得所述第一请求信息时,获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识查询所述关联记录,判断所述关联记录中是否存在所述智能设备的标识的对应关系;当判断结果为所述关联记录中存在所述智能设备的标识时,则表明所述智能设备已关联客户端。In this embodiment, the management platform 52 records the associated smart devices and their corresponding clients in each received request information for associating smart devices. It can be understood that the management platform 52 is provided with associated records , the association record includes at least one set of correspondences between smart device identifiers and client identifiers. Then, when the management platform 52 obtains the first request information, it obtains the identifier of the smart device in the first request information, queries the associated record based on the identifier of the smart device, and determines whether the associated record contains There is a correspondence between the identifiers of the smart devices; when the judging result is that the identifier of the smart device exists in the association record, it indicates that the smart device has been associated with the client.
本实施例中,本实施例中,所述第二客户端53为主客户端,所述主客户端对在后请求关联所述智能设备的客户端具有验证权限,即允许或拒绝在后的客户端的关联请求。作为一种实施方式,当所述智能设备已关联一个客户端时,所述客户端作为所述第二客户端53,可以理解为,所述第二客户端53为主客户端。作为另一种实施方式,当所述智能设备已关联至少两个客户端时,按预设规则配置其中一个客户端作为第二客户端53,可以理解为,所述第二客户端53为主客户端。其中,所述预设规则可以为:最先与所述智能设备关联的客户端为所述第二客户端53。或者,人工配置所述至少两个客户端中的一个客户端作为所述第二客户端53。进一步地,所述管理平台52向所述第二客户端53发送第二请求信息,所述第二请求信息包括:所述第一客户端51的标识和所述智能设备的标识,所述第二请求信息用于通知所述第二客户端53,当前所述第一客户端51请求关联所述智能设备。In this embodiment, in this embodiment, the second client 53 is the main client, and the main client has verification authority for the subsequent client requesting to associate the smart device, that is, to allow or deny the following Client's association request. As an implementation manner, when the smart device is associated with a client, the client is used as the second client 53, which can be understood as the second client 53 is the main client. As another implementation, when the smart device has been associated with at least two clients, one of the clients is configured as the second client 53 according to preset rules. It can be understood that the second client 53 is the master client. Wherein, the preset rule may be: the first client associated with the smart device is the second client 53 . Alternatively, one of the at least two clients is manually configured as the second client 53 . Further, the management platform 52 sends second request information to the second client 53, the second request information includes: the identifier of the first client 51 and the identifier of the smart device, the second The second request information is used to notify the second client 53 that the first client 51 currently requests to associate with the smart device.
这里,所述第二客户端53接收到所述第二请求信息后,由人工确认是否允许所述第一客户端51关联所述智能设备;当所述第二客户端53触发表征同意关联的输入操作时,即生成对应于所述第二请求信息的同意响应信息,向所述管理平台52发送所述对应于所述第二请求信息的同意响应信息。所述管理平台52接收到所述对应于所述第二请求信息的同意响应信息后,建立所述智能设备和所述第一客户端51的关联关系,并更新关联记录,更新后的关联记录中新增加所述智能设备的标识和所述第一客户端51的标识的对应关系。进一步地,向所述第一客户端51发送第一结果,所述第一结果表征所述第一客户端51与所述智能设备已建立关联关系。Here, after the second client 53 receives the second request information, it is manually confirmed whether the first client 51 is allowed to associate with the smart device; When the operation is input, the consent response information corresponding to the second request information is generated, and the consent response information corresponding to the second request information is sent to the management platform 52 . After the management platform 52 receives the consent response information corresponding to the second request information, it establishes an association relationship between the smart device and the first client 51, and updates an association record. The updated association record The corresponding relationship between the identifier of the smart device and the identifier of the first client 51 is newly added in the middle. Further, a first result is sent to the first client 51, and the first result indicates that the first client 51 has established an association relationship with the smart device.
作为另一种实施方式,所述管理平台52,还用于接收到所述第二客户端53的对应于所述第二请求信息的拒绝响应信息后,向所述第一客户端51发送第二结果,所述第二结果表征终止与所述第一客户端51建立关联关系。As another implementation manner, the management platform 52 is further configured to send the first client 51 to the first client 51 after receiving the rejection response information of the second client 53 Two results, the second result indicates that the establishment of the association relationship with the first client 51 is terminated.
这里,当所述第二客户端53触发表征不同意的输入操作时,即生成对应于所述第二请求信息的拒绝响应信息,向所述管理平台52发送所述对应于所述第二请求信息的拒绝响应信息。所述管理平台52接收到所述对应于所述第二请求信息的拒绝响应信息后,所述方法还包括:所述管理平台52向所述第一客户端51发送第二结果,所述第二结果表征终止与所述第一客户端51建立关联关系;可以理解为,所述管理平台52向所述第一客户端51发送提示信息,所述提示信息表明对应于所述第一请求信息的关联请求失败。Here, when the second client 53 triggers an input operation representing disapproval, it generates rejection response information corresponding to the second request information, and sends the information corresponding to the second request to the management platform 52. Rejection response message for information. After the management platform 52 receives the rejection response information corresponding to the second request information, the method further includes: the management platform 52 sends a second result to the first client 51, and the first client 51 The second result indicates that the establishment of the association relationship with the first client 51 is terminated; it can be understood that the management platform 52 sends prompt information to the first client 51, and the prompt information indicates that it corresponds to the first request information The association request for failed.
作为另一种实施方式,当与所述智能设备关联的客户端为多个时,所述管理平台52,还用于向与所述智能设备关联的所有客户端发送通知信息,所述通知信息表征所述第一客户端51已与所述智能设备关联。As another implementation manner, when there are multiple clients associated with the smart device, the management platform 52 is further configured to send notification information to all clients associated with the smart device, the notification information It indicates that the first client 51 has been associated with the smart device.
这里,所述管理平台52建立所述第一客户端51和所述智能设备的关联关系后,向与所述智能设备关联的所有客户端发送通知消息,以通知所有客户端当前有新客户端(所述第一客户端51)与所述智能设备建立关联关系,便于与所述智能设备关联的所有客户端获知所述智能设备的关联情况。Here, after the management platform 52 establishes the association relationship between the first client 51 and the smart device, it sends a notification message to all clients associated with the smart device to notify all clients that there is a new client (The first client 51) establishes an association relationship with the smart device, so that all clients associated with the smart device know the association situation of the smart device.
作为另一种实施方式,所述管理平台52,还用于基于第一客户端51的控制请求控制所述智能设备的状态的改变;更新所述智能设备的状态控制信息,将更新后的状态控制信息发送至与所述智能设备关联的第二客户端53;所述第二客户端53为与所述智能设备建立关联关系的除所述第一客户端51以外的所有客户端。As another implementation, the management platform 52 is also used to control the change of the status of the smart device based on the control request of the first client 51; update the status control information of the smart device, and update the updated status The control information is sent to the second client 53 associated with the smart device; the second client 53 is all clients except the first client 51 that have established an association relationship with the smart device.
具体的,所述第一客户端51,用于向所述管理平台52发送控制请求信息,所述控制请求信息用于改变所述智能设备的状态;Specifically, the first client 51 is configured to send control request information to the management platform 52, and the control request information is used to change the state of the smart device;
所述管理平台52,用于基于所述控制请求信息生成控制指令,发送所述控制指令至所述智能设备,以控制所述智能设备基于所述控制指令改变状态;还用于接收所述智能设备发送的对应于所述控制指令的控制应答消息。The management platform 52 is configured to generate a control instruction based on the control request information, and send the control instruction to the smart device to control the smart device to change the state based on the control instruction; it is also used to receive the smart device A control response message sent by the device corresponding to the control instruction.
在本实施例中,所述第一客户端51可以为上述的智能设备新关联的客户端,当然,所述第一客户端51也可以为与所述智能设备关联的所有客户端中的任一客户端。以下均同。则所述第一客户端51向所述管理平台52发送控制请求信息,所述控制请求信息用于改变所述智能设备的状态,例如控制所述智能设备开/关的状态;其中,所述控制请求信息包括:智能设备标识、状态控制位标识等等;所述状态控制位标识表征改变后的所述智能设备的状态。所述管理平台52接收到所述控制请求信息后,生成控制指令,向所述智能设备发送所述控制指令。所述智能设备接收到所述控制指令后,执行所述控制指令改变自身的状态,向所述管理平台52返回对应于所述控制指令的控制应答消息,所述控制应答消息表征所述智能设备已基于所述控制指令改变自身状态。In this embodiment, the first client 51 may be a newly associated client of the above-mentioned smart device, of course, the first client 51 may also be any of all clients associated with the smart device a client. The following are the same. Then the first client 51 sends control request information to the management platform 52, and the control request information is used to change the status of the smart device, for example, to control the on/off status of the smart device; wherein, the The control request information includes: an intelligent device identifier, a status control bit identifier, etc.; the status control bit identifier represents the changed status of the smart device. After receiving the control request information, the management platform 52 generates a control instruction, and sends the control instruction to the smart device. After the smart device receives the control command, it executes the control command to change its own state, and returns a control response message corresponding to the control command to the management platform 52, the control response message representing the smart device has changed its own state based on the control instruction.
实施例五Embodiment five
基于实施例四的信息处理系统,本发明实施例还提供了一种管理平台。图7为本发明实施例的管理平台的第一种组成结构示意图;如图7所示,所述管理平台包括:通讯单元521、确定单元522和关联单元523;其中,Based on the information processing system of Embodiment 4, the embodiment of the present invention also provides a management platform. Fig. 7 is a schematic diagram of the first composition structure of the management platform of the embodiment of the present invention; as shown in Fig. 7, the management platform includes: a communication unit 521, a determination unit 522 and an association unit 523; wherein,
所述通讯单元521,用于接收第一客户端发送的第一请求信息,所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识;还用于接收所述第二客户端的对应于所述第二请求信息的同意响应信息;还用于所述关联单元523建立所述第一客户端和所述智能设备的关联关系后,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系;The communication unit 521 is configured to receive the first request information sent by the first client, the first request information is used to associate the smart device; the first request information includes the identification of the smart device; and is also used to receive The consent response information corresponding to the second request information of the second client; it is also used for the association unit 523 to send the first client to the first client after establishing the association relationship between the first client and the smart device The terminal sends a first result, and the first result indicates that the first client has established an association relationship with the smart device;
所述确定单元522,用于获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,使能所述通讯单元521向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识;The determining unit 522 is configured to obtain the identifier of the smart device in the first request information, perform a query based on the identifier of the smart device, and enable the communication when it is determined that the smart device has been associated with the second client Unit 521 sends second request information to the second client, where the second request information includes: the identifier of the first client and the identifier of the smart device;
所述关联单元523,用于所述通讯单元521接收所述第二客户端的对应于所述第二请求信息的同意响应信息后,建立所述第一客户端和所述智能设备的关联关系。The association unit 523 is configured to establish an association relationship between the first client and the smart device after the communication unit 521 receives the consent response information corresponding to the second request information from the second client.
作为另一种实施方式,所述通讯单元521,还用于接收到所述第二客户端的对应于所述第二请求信息的拒绝响应信息;还用于向所述第一客户端发送第二结果,所述第二结果表征终止与所述第一客户端建立关联关系。As another implementation manner, the communication unit 521 is further configured to receive the rejection response information corresponding to the second request information from the second client; and to send the second request information to the first client As a result, the second result indicates that the establishment of the association relationship with the first client is terminated.
作为一种实施方式,当与所述智能设备关联的客户端为多个时,所述通讯单元521,还用于所述关联单元523建立所述第一客户端和所述智能设备的关联关系后,向与所述智能设备关联的所有客户端发送通知信息,所述通知信息表征所述第一客户端已与所述智能设备关联。As an implementation manner, when there are multiple clients associated with the smart device, the communication unit 521 is also used for the association unit 523 to establish an association relationship between the first client and the smart device Afterwards, sending notification information to all clients associated with the smart device, where the notification information indicates that the first client has been associated with the smart device.
本领域技术人员应当理解,本发明实施例的管理平台中各处理单元的功能,可参照前述信息处理方法的相关描述而理解,本发明实施例的管理平台中各处理单元,可通过实现本发明实施例所述的功能的模拟电路而实现,也可以通过执行本发明实施例所述的功能的软件在智能终端上的运行而实现。Those skilled in the art should understand that the functions of each processing unit in the management platform of the embodiment of the present invention can be understood by referring to the relevant description of the aforementioned information processing method, and that each processing unit in the management platform of the embodiment of the present invention can realize the The functions described in the embodiments can be realized by an analog circuit, or can also be realized by running software executing the functions described in the embodiments of the present invention on an intelligent terminal.
实施例六Embodiment six
本发明实施例还提供了一种管理平台。图8为本发明实施例的管理平台的第二种组成结构示意图;如图8所示,所述管理平台包括:通讯单元521、确定单元522、关联单元523和状态控制单元524;其中,The embodiment of the invention also provides a management platform. Figure 8 is a schematic diagram of the second composition structure of the management platform of the embodiment of the present invention; as shown in Figure 8, the management platform includes: a communication unit 521, a determination unit 522, an association unit 523 and a state control unit 524; wherein,
所述通讯单元521,用于接收第一客户端发送的第一请求信息,所述第一请求信息用于关联智能设备;所述第一请求信息包括所述智能设备的标识;还用于接收到所述第二客户端的对应于所述第二请求信息的同意响应信息后,使能所述关联单元523;还用于所述关联单元523建立所述第一客户端和所述智能设备的关联关系后,向所述第一客户端发送第一结果,所述第一结果表征所述第一客户端与所述智能设备已建立关联关系;The communication unit 521 is configured to receive the first request information sent by the first client, the first request information is used to associate the smart device; the first request information includes the identification of the smart device; and is also used to receive After receiving the consent response information corresponding to the second request information from the second client, the association unit 523 is enabled; it is also used for the association unit 523 to establish the relationship between the first client and the smart device After the association relationship, sending a first result to the first client, the first result indicates that the first client has established an association relationship with the smart device;
所述确定单元522,用于获得所述第一请求信息中的智能设备的标识,基于所述智能设备的标识进行查询,确定所述智能设备已关联第二客户端时,使能所述通讯单元521向所述第二客户端发送第二请求信息,所述第二请求信息包括:所述第一客户端的标识和所述智能设备的标识;The determining unit 522 is configured to obtain the identifier of the smart device in the first request information, perform a query based on the identifier of the smart device, and enable the communication when it is determined that the smart device has been associated with the second client Unit 521 sends second request information to the second client, where the second request information includes: the identifier of the first client and the identifier of the smart device;
所述关联单元523,用于建立所述第一客户端和所述智能设备的关联关系;The association unit 523 is configured to establish an association relationship between the first client and the smart device;
所述通讯单元521,还用于接收第一客户端的控制请求;还用于将所述状态控制单元524更新后的状态控制信息发送至与所述智能设备关联的第二客户端;所述第二客户端为与所述智能设备建立关联关系的除所述第一客户端以外的所有客户端;The communication unit 521 is further configured to receive a control request from the first client; and also configured to send the state control information updated by the state control unit 524 to a second client associated with the smart device; the second The second client is all clients except the first client that have established an association relationship with the smart device;
所述状态控制单元524,用于基于所述通讯单元521获得的所述第一客户端的控制请求控制所述智能设备的状态的改变;还用于更新所述智能设备的状态控制信息。The state control unit 524 is configured to control the change of the state of the smart device based on the control request of the first client obtained by the communication unit 521 ; and to update the state control information of the smart device.
具体的,所述通讯单元521,用于接收到第一客户端的控制请求信息,所述控制请求信息用于改变所述智能设备的状态;还用于发送所述状态控制单元524生成的控制指令至所述智能设备,以控制所述智能设备基于所述控制指令改变状态;还用于接收所述智能设备发送的对应于所述控制指令的控制应答消息;Specifically, the communication unit 521 is configured to receive control request information from the first client, and the control request information is used to change the status of the smart device; and is also configured to send the control command generated by the status control unit 524 to the smart device, to control the smart device to change the state based on the control instruction; and to receive a control response message corresponding to the control instruction sent by the smart device;
所述状态控制单元524,用于基于所述通讯单元521获得的控制请求信息生成控制指令。The state control unit 524 is configured to generate a control instruction based on the control request information obtained by the communication unit 521 .
本领域技术人员应当理解,本发明实施例的管理平台中各处理单元的功能,可参照前述信息处理方法的相关描述而理解,本发明实施例的管理平台中各处理单元,可通过实现本发明实施例所述的功能的模拟电路而实现,也可以通过执行本发明实施例所述的功能的软件在智能终端上的运行而实现。Those skilled in the art should understand that the functions of each processing unit in the management platform of the embodiment of the present invention can be understood by referring to the relevant description of the aforementioned information processing method, and that each processing unit in the management platform of the embodiment of the present invention can realize the The functions described in the embodiments can be realized by an analog circuit, or can also be realized by running software executing the functions described in the embodiments of the present invention on an intelligent terminal.
在本发明实施例五和实施例六中,所述管理平台中的确定单元522和关联单元523和状态控制单元524,在实际应用中均可由所述管理平台中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital SignalProcessor)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述管理平台中的通讯单元521,在实际应用中可由所述管理平台中的收发天线或收发机实现。In Embodiment 5 and Embodiment 6 of the present invention, the determination unit 522, the association unit 523 and the state control unit 524 in the management platform can all be controlled by the central processing unit (CPU, Central Unit) in the management platform in practical applications. Processing Unit), digital signal processor (DSP, Digital Signal Processor) or programmable gate array (FPGA, Field-Programmable Gate Array); the communication unit 521 in the management platform can be implemented by the management platform in practical applications Transceiver antenna or transceiver implementation.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。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, 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 (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510802110.4A CN106773797B (en) | 2015-11-19 | 2015-11-19 | An information processing method, system and management platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510802110.4A CN106773797B (en) | 2015-11-19 | 2015-11-19 | An information processing method, system and management platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106773797A true CN106773797A (en) | 2017-05-31 |
CN106773797B CN106773797B (en) | 2019-06-14 |
Family
ID=58914526
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510802110.4A Active CN106773797B (en) | 2015-11-19 | 2015-11-19 | An information processing method, system and management platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106773797B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109946980A (en) * | 2017-12-20 | 2019-06-28 | 中国电信股份有限公司 | Intelligent device management method, platform, system and computer readable storage medium |
CN112291290A (en) * | 2019-07-25 | 2021-01-29 | 京东方科技集团股份有限公司 | Equipment association establishing method and device and electronic equipment |
CN112954770A (en) * | 2021-01-27 | 2021-06-11 | 青岛海尔科技有限公司 | Device binding method and device, storage medium and electronic device |
CN115174292A (en) * | 2022-05-25 | 2022-10-11 | 青岛海尔科技有限公司 | Equipment data management platform |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104079543A (en) * | 2013-03-29 | 2014-10-01 | 珠海格力电器股份有限公司 | Method, device and system for acquiring monitoring authority of intelligent home system |
CN104243250A (en) * | 2014-08-18 | 2014-12-24 | 小米科技有限责任公司 | Access authorization method, device and equipment based on intelligent housing system |
CN104283745A (en) * | 2014-09-12 | 2015-01-14 | 小米科技有限责任公司 | Method, device and system for controlling intelligent household equipment |
CN104426750A (en) * | 2013-09-11 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Method, equipment and system for instant messaging |
CN104460365A (en) * | 2014-10-29 | 2015-03-25 | 小米科技有限责任公司 | Equipment control method and device |
CN104735057A (en) * | 2015-02-13 | 2015-06-24 | 小米科技有限责任公司 | Sharing device control right method and device |
CN104836791A (en) * | 2015-03-30 | 2015-08-12 | 广东美的制冷设备有限公司 | Terminal control authority sharing method and terminal control authority sharing device |
CN104917762A (en) * | 2015-06-08 | 2015-09-16 | 联想(北京)有限公司 | Permission assignment method, first electronic equipment and system |
CN104950838A (en) * | 2015-04-23 | 2015-09-30 | 小米科技有限责任公司 | Network account binding method and device |
US20150281961A1 (en) * | 2014-03-26 | 2015-10-01 | Samsung Electronics Co. , Ltd. | Apparatus and method for authentication in wireless communication system |
-
2015
- 2015-11-19 CN CN201510802110.4A patent/CN106773797B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104079543A (en) * | 2013-03-29 | 2014-10-01 | 珠海格力电器股份有限公司 | Method, device and system for acquiring monitoring authority of intelligent home system |
CN104426750A (en) * | 2013-09-11 | 2015-03-18 | 腾讯科技(深圳)有限公司 | Method, equipment and system for instant messaging |
US20150281961A1 (en) * | 2014-03-26 | 2015-10-01 | Samsung Electronics Co. , Ltd. | Apparatus and method for authentication in wireless communication system |
CN104243250A (en) * | 2014-08-18 | 2014-12-24 | 小米科技有限责任公司 | Access authorization method, device and equipment based on intelligent housing system |
CN104283745A (en) * | 2014-09-12 | 2015-01-14 | 小米科技有限责任公司 | Method, device and system for controlling intelligent household equipment |
CN104460365A (en) * | 2014-10-29 | 2015-03-25 | 小米科技有限责任公司 | Equipment control method and device |
CN104735057A (en) * | 2015-02-13 | 2015-06-24 | 小米科技有限责任公司 | Sharing device control right method and device |
CN104836791A (en) * | 2015-03-30 | 2015-08-12 | 广东美的制冷设备有限公司 | Terminal control authority sharing method and terminal control authority sharing device |
CN104950838A (en) * | 2015-04-23 | 2015-09-30 | 小米科技有限责任公司 | Network account binding method and device |
CN104917762A (en) * | 2015-06-08 | 2015-09-16 | 联想(北京)有限公司 | Permission assignment method, first electronic equipment and system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109946980A (en) * | 2017-12-20 | 2019-06-28 | 中国电信股份有限公司 | Intelligent device management method, platform, system and computer readable storage medium |
CN109946980B (en) * | 2017-12-20 | 2022-05-13 | 中国电信股份有限公司 | Intelligent device management method, platform, system and computer readable storage medium |
CN112291290A (en) * | 2019-07-25 | 2021-01-29 | 京东方科技集团股份有限公司 | Equipment association establishing method and device and electronic equipment |
CN112954770A (en) * | 2021-01-27 | 2021-06-11 | 青岛海尔科技有限公司 | Device binding method and device, storage medium and electronic device |
CN115174292A (en) * | 2022-05-25 | 2022-10-11 | 青岛海尔科技有限公司 | Equipment data management platform |
CN115174292B (en) * | 2022-05-25 | 2024-03-22 | 青岛海尔科技有限公司 | Equipment data management platform |
Also Published As
Publication number | Publication date |
---|---|
CN106773797B (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10785216B2 (en) | Method for accessing network by internet of things device, apparatus, and system | |
CN105471686B (en) | Terminal control method, device and system | |
CN109525540B (en) | A smart device binding method and device | |
CN106302448B (en) | Remote access control method and device | |
EP3675543B1 (en) | Device control method and apparatus | |
CN112165712B (en) | Method, device, system and storage medium for intelligent device to access wireless network | |
CN102833817B (en) | Network access method and system based on home gateway and home gateway | |
CN103763327A (en) | Account number logging-in method and system | |
EP2658207A1 (en) | Authorization method and terminal device | |
CN105471897A (en) | Embedded device cloud service access method and system | |
CN102801800B (en) | Method and system for performing resource sharing processing among plurality of wireless terminals | |
JP2017535122A (en) | Sensor code verification processing method, apparatus, network platform device, and Internet gateway of things | |
CN104852990A (en) | Information processing method and intelligent household control system | |
CN102695194B (en) | Element management system and method and system for self-configuration of eNodeBs | |
CN106664112A (en) | Data updating method and apparatus, and embedded universal integrated circuit card | |
WO2015127889A1 (en) | Profile association management method and device | |
CN108540433A (en) | User identity method of calibration and device | |
CN111353141A (en) | Intelligent device authority control method, server, user side device and electronic device | |
CN106375442B (en) | Method and device for cross-platform management of equipment information | |
CN105100279A (en) | Control method and device for household appliance | |
CN106773797B (en) | An information processing method, system and management platform | |
WO2021134562A1 (en) | Configuration device replacement method and apparatus, device, and storage medium | |
WO2021248963A1 (en) | Home appliance, networking method therefor, control terminal, and computer storage medium | |
CN110139274A (en) | A kind of method for authenticating of bluetooth equipment, electronic equipment and can storage medium | |
CN102685726B (en) | Adaptive management entity, base station self-configuring method and base station self-configuring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |