WO2018133718A1 - 一种智能设备的控制方法及装置 - Google Patents

一种智能设备的控制方法及装置 Download PDF

Info

Publication number
WO2018133718A1
WO2018133718A1 PCT/CN2018/072053 CN2018072053W WO2018133718A1 WO 2018133718 A1 WO2018133718 A1 WO 2018133718A1 CN 2018072053 W CN2018072053 W CN 2018072053W WO 2018133718 A1 WO2018133718 A1 WO 2018133718A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
identifier
user
server
controller
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.)
Ceased
Application number
PCT/CN2018/072053
Other languages
English (en)
French (fr)
Inventor
李艳军
顾燕
冯菲
黄宇舟
谭靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to JP2019539230A priority Critical patent/JP2020510898A/ja
Priority to KR1020197020494A priority patent/KR20190103198A/ko
Publication of WO2018133718A1 publication Critical patent/WO2018133718A1/zh
Priority to US16/517,213 priority patent/US20190342112A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/281Exchanging configuration information on appliance services in a home automation network indicating a format for calling an appliance service function in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2818Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2821Avoiding conflicts related to the use of home appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present application relates to the field of Internet of Things technologies, and in particular, to a method and an apparatus for controlling a smart device.
  • IoT service providers use integrated wiring technology, network communication technology, automatic control technology, audio and video technology, etc. to transform the space. It makes the equipment in the space intelligent and becomes a smart device that can be remotely controlled by users (such as the residents or passengers in the house or the hotel) through the Internet, and becomes a new trend of development. For example, the user can use the mobile phone to control the door lock of the house to be automatically opened through the Internet, the chandelier of the kitchen in the house is automatically turned off, and the air conditioner of the bedroom in the house is adjusted to a specific temperature.
  • FIG. 1 is a schematic diagram of a control method of a conventional smart device.
  • the Internet of Things service provider's approach to space transformation is to install smart device controllers (such as smart door lock controllers, smart air conditioner controllers, TV boxes) in the space, and users also need to use the Internet of Things service providers to provide Client.
  • the user sends a control request to the control server of the Internet service provider by using the client, and the control server determines the smart device to be controlled by the user according to the control request, and then sends a control instruction to the controller corresponding to the smart device, which is implemented by the controller. Control of the smart device.
  • control server of the Internet of Things service provider the controller installed by the Internet of Things service provider, and the client provided by the Internet of Things service provider are the only ones, the controllers and customers provided by different IoT service providers are installed.
  • the terminal is also different.
  • the client provided by an IoT service provider only supports sending control requests to the IoT server's control server. Therefore, if the user replaces the damaged controller with another IoT server's controller or If you use more than two IoT server controllers, you must also replace the new client or use more than two clients at the same time, which will reduce the convenience of users using the IoT to control smart devices.
  • the embodiments of the present application provide a method and an apparatus for controlling a smart device to improve convenience of a user to control an intelligent device using the Internet of Things.
  • a method for controlling a smart device, which is applied to a gateway platform includes:
  • a method for controlling a smart device, which is applied to a gateway platform includes:
  • control information input by the user where the control information includes a device identifier of the smart device to be controlled and first device execution information;
  • the gateway platform determines, according to the device identifier, a control server corresponding to the device identifier from each control server that establishes a cooperative relationship with the gateway platform, and forwards the control request And determining, by the control server, the determined control server to generate a control instruction, and sending the control instruction to the corresponding controller for control of the corresponding smart device.
  • a method for controlling a smart device, which is applied to a gateway platform includes:
  • control request carries a room identifier assigned to the user, a device identifier of the smart device to be controlled, and first device execution information
  • the confirmation check-in information is generated by the hotel management system after checking in for the user, and the confirmation check-in information includes a room allocated by the hotel management system to the user Identification
  • control page And sending, by the control page, a control request to the network platform, where the control request carries a room identifier allocated to the user, a device identifier of the smart device to be controlled, and first device execution information, so that the network platform is configured according to the control request. Controlling the smart device to be controlled.
  • the receiving module receives a control request sent by the client, where the control request carries the device identifier of the smart device to be controlled and the first device execution information;
  • a determining module determining, from each control server that establishes a cooperative relationship with the control device, a control server corresponding to the device identifier, where the control device stores device identifiers and controls of different smart devices The mapping relationship between the server identifiers of the control servers of the smart device;
  • the forwarding module forwards the control request to the determined control server, so that the determined control server generates a control instruction according to the first device execution information, and sends the control command to the device identifier And a controller that causes the controller to control the smart device.
  • the receiving module receives control information input by the user, where the control information includes a device identifier of the smart device to be controlled and first device execution information;
  • the sending module sends a control request to the gateway platform, so that the gateway platform determines, according to the device identifier, a control server corresponding to the device identifier from each control server that establishes a cooperative relationship with the gateway platform, and the The control request is forwarded to the determined control server, and the determined control server generates a control command, and sends the control command to the corresponding controller for control of the corresponding smart device.
  • the first receiving module receives a control request sent by the user, where the control request carries a room identifier allocated to the user, a device identifier of the smart device to be controlled, and first device execution information;
  • the first determining module determines, according to the room identifier and the user identifier of the user, that the user controls the control authority of the smart device in the room corresponding to the room identifier;
  • a second determining module when the determined control authority allows to control the smart device to be controlled, determining the device identifier from each control server that establishes a cooperative relationship with the control device according to the device identifier Corresponding control server;
  • the forwarding module forwards the control request to the determined control server, so that the determined control server generates a control instruction according to the first device execution information, and sends the control command to the device identifier And a controller that causes the controller to control the smart device.
  • Receiving module receiving confirmation confirmation information sent by the hotel management system, the confirmation check-in information is generated by the hotel management system after checking in for the user, the confirmation check-in information includes the hotel management system assigning the User's room ID;
  • the sending module sends a control request to the network platform based on the control page, where the control request carries a room identifier assigned to the user, a device identifier of the smart device to be controlled, and first device execution information, so that the network platform is configured according to the The control request controls the smart device to be controlled.
  • the first receiving module receives a control request sent by the hotel management system, where the control request carries the device identifier of the smart device to be controlled and the first device execution information;
  • a determining module determine, from each control server that establishes a cooperative relationship with the gateway platform, a control server corresponding to the device identifier;
  • the forwarding module forwards the control request to the determined control server, so that the determined control server generates a control instruction according to the first device execution information, and sends the control command to the device identifier And a controller that causes the controller to control the smart device.
  • the embodiment of the present application can register the control servers of the Internet of Things service providers on the gateway platform, so that the gateway platform can be adapted to the control servers of the Internet of Things service providers, thereby registering Each control server indirectly controls each controller.
  • the client corresponding to the gateway platform can be provided to each hotel side, so that the hotel side can use the controller of each IoT service provider to control the smart device through the gateway platform without installing the client provided by each IoT service provider. .
  • the hotel replaces the damaged controller with the controller of other IoT service providers or uses the controllers of two or more IoT providers at the same time, it is not necessary to replace the new client or use both at the same time.
  • the above client enhances the convenience of users using the Internet of Things to control smart devices.
  • FIG. 1 is a schematic diagram of a control method of a conventional smart device
  • FIG. 2a is a schematic diagram of a method for controlling a smart device according to an embodiment of the present application
  • FIG. 2b is a schematic diagram of a method for controlling a hotel smart device according to an embodiment of the present application
  • FIG. 3 is a flowchart of a method for controlling a smart device according to an embodiment of the present application
  • FIG. 4 is a flowchart of a method for controlling a smart device according to an embodiment of the present application
  • FIG. 5 is a flowchart of a method for controlling a smart device in a hotel scenario according to an embodiment of the present application
  • FIG. 6 is a schematic diagram of a control device of a smart device according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a control device of a smart device according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a control device of a smart device according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a control device of a smart device according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a control device of a smart device according to an embodiment of the present application.
  • the embodiment of the present application provides a method and an apparatus for controlling a smart device.
  • the execution body of the method may be a gateway platform, a smart cloud gateway, and a client.
  • the smart cloud gateway or the gateway platform is a platform-level device with a routing function, and is configured to send a control request to a control server corresponding to the control request.
  • the client is a client installed on a client/hotel management system installed on the user's terminal device and interacting with the gateway platform to interact with the gateway platform.
  • IoT service providers to provide users with intelligent device control services in the Internet of Things.
  • Each IoT service provider has developed its own controller and client, if the user installs The controller of an IoT service provider must also use this IoT service provider to provide the client.
  • users need to replace or add controllers of other IoT service providers in their own Internet of Things, they must also replace or add other IoT service providers' clients, which reduces users' use of IoT control intelligence. The convenience of the device.
  • the application scenario of the embodiment of the present application may be that the household of the residence is a user, the household equipment in the residence is a smart device, or the management party of the hotel and the passengers received by the user are the users, and the door lock, air conditioner, television, and the like of each room of the hotel.
  • the management party of the hotel and the passengers received by the user are the users, and the door lock, air conditioner, television, and the like of each room of the hotel.
  • smart devices For the convenience of description, the following is only an example of the application scenario of the hotel.
  • the existing smart device control method is that a control request sent by a user through a client must be processed by a control server of an Internet of Things service provider, and the control server sends a control to a controller corresponding to the smart device to be controlled by the user. After the command, the user can control the smart device that he wants to control. That is to say, the control server of the Internet of Things service provider directly controls the main body of the smart device, and the user can only send a control request to the control server, thereby indirectly controlling the smart device.
  • the controller may receive the control command through its own wireless signal interface, or may receive the control command through a wired network connected to itself. Since the network environment in which the controller is located is a local area network in the hotel, the control server sends a control command to the controller in the local area network of the hotel through the Internet outside the hotel, and the gateway is required to realize the connection between the Internet and the local area network. Therefore, the gateway can be pre-installed in the hotel. For the convenience of description, the following is not mentioned in the gateway.
  • the control server sends a control command to the controller and is received by the controller, that is, the interface between the Internet and the local area network has been realized through the gateway.
  • the control request sent by the client may carry the device identifier of the smart device to be controlled and the first device execution information, where the first device execution information may be, for example, open, close, 25 degree, mid-range, 45 channel, etc., the user wants to control the smart The content of the device execution.
  • the device identifier and the first device execution information may be control information input by the user at the client, and the client generates the control request according to the control information input by the user.
  • the user can select the device identifier of the smart device to be controlled in the user interface of the client and the content that the smart device wants to perform. For example, the user may select the device identification of the "Oriental Hotel-407-corridor light" and the device execution information of "open", and the client generates a control request carrying the above information according to the user's selection and sends it to the control server, and the control server according to The control request generates a control command to control a controller corresponding to the corridor light in the room of Room 407 of the Oriental Hotel, so that the corridor light is turned on.
  • the existing smart device control method not only reduces the management convenience of the hotel side in the hotel scene, but also has lower convenience for the passengers staying in the hotel.
  • the passenger can choose from three ways: 1. Get up and control the smart device manually; 2. Install the guest on his terminal (computer or mobile phone). The client (service software) of the hotel's Internet of Things service provider, and then enter the control information; Third, the request must be made to the hotel first, and then the hotel side enters the control information requested by the passenger in the client.
  • the above three ways are not convenient for the passenger.
  • the existing IoT service mode shown in FIG. 1 has the advantages of minimizing the control cost of the user, the client, the controller, and the control.
  • the maintenance of the server is the responsibility of the IoT service provider, and the user only needs to use the client to send a control request.
  • each IoT service provider can only provide intelligent device control services independently. There is no information sharing between them.
  • the device execution information carried by the control request sent by the user provides a relatively simple intelligent device control service, but can not further provide personalized service for the user, that is, further improve the convenience of using the Internet of Things to control the smart device for each user's user characteristics. Service.
  • the hotel wants to provide better service to the passengers.
  • the client After confirming that the passenger's upcoming room number is 206, the client sends a message to the control server through the client.
  • the control server controls the air conditioner in the room to open and sets a problem of 20 degrees according to the control request, but unfortunately, the passenger is very afraid. Cold, cold after entering the room.
  • Another example is that a passenger who wants to watch a TV show after sleeping in a hotel room, and the passenger actually likes to watch a youth idol drama, the passenger operates the client (mobile phone), and the selected device is identified as "Oriental Hotel”. -206-TV", the device execution information is "Open and switch to channel 25". Since the Internet of Things service provider does not know the passenger's preference, it only supports the passenger to choose to open a certain channel of the TV. The passenger then needs Manually search for youth idol dramas on dozens of TV channels.
  • one of the embodiments of the present application can also solve the problem of insufficient personalized service provided by the user, that is, setting up a smart device control system of “gateway platform-client”, which is set up between the user and the Internet of Things service provider.
  • the user identifiers registered by the client on the gateway platform are supported, thereby presetting the historical user behavior data corresponding to each user identifier.
  • the user sends a control request to the gateway platform through the client.
  • the user identifier of the user is also carried, and the gateway platform analyzes the preference of the user according to the historical user behavior data corresponding to the user identifier, so that the control command sent by the control server is more suitable for the user's preference, so as to implement intelligent device control. Personalization of the service.
  • the passenger is registered with the user identifier on the gateway platform, and the passenger subscribes to the hotel room through the gateway platform.
  • the hotel party determines the room number that the passenger wants to stay in.
  • a control request carrying the following content is sent to the gateway platform: "User 221 - Turns the air conditioner of the room 206 on and sets the temperature to 20 degrees”, and the gateway platform selects the historical user corresponding to the user ID "User 221" of the user.
  • the behavior data analyzes that the passenger is very cold.
  • the gateway platform can intelligently send the second device execution information to the control server, "Set the air conditioning temperature of the room 206 to 28 degrees", the control server preferentially uses the second device to execute information, and controls the air conditioner temperature to be set to 28 degrees, so that the passenger does not feel cold after entering the room.
  • FIG. 2 is a schematic diagram of a control method of a smart device according to an embodiment of the present application. As shown in FIG. 2a, compared with the existing control method shown in FIG. 1, the architecture of the gateway platform is added, and the client is a universal end corresponding to the gateway platform (suiting for different types of users and compatible with various Internet of Things services) Business service).
  • FIG. 2b is a schematic diagram of a method for controlling a hotel smart device according to an embodiment of the present application.
  • the gateway platform may forward the service request to the hotel management system, and after the hotel party is informed, the hotel management system may return a reply to the service request to the gateway platform, such as "Please wait a moment", the gateway platform can forward the reply to the passenger's client.
  • the gateway platform may send a repair request to the control server corresponding to the controller selected by the hotel, and after receiving the repair request, the control server may return the home repair time and other information to the gateway.
  • the gateway platform is then forwarded by the gateway platform to the client of the hotel.
  • the hotel management system may be a system provided by the gateway platform to the hotel side, or may be a system designated by the hotel itself.
  • the gateway platform can provide the hotel version of the hotel version client installed on the hotel management system to realize the docking of the gateway platform and the hotel management system.
  • the scalability of the Internet of Things function is strong, and can be applied to various application scenarios in the system architecture.
  • technical features that are easily conceivable by those skilled in the art are added, and the present application does not limit this.
  • FIG. 3 is a flowchart of a method for controlling a smart device according to an embodiment of the present application, including the following steps:
  • S301 Receive a control request sent by the client.
  • the execution body of the method may be a gateway platform.
  • the gateway platform may be a server or a cloud server with data storage and data processing functions, and provides a gateway control protocol for sending a control request to a control server corresponding to the control request.
  • Each IoT service provider only needs to comply with the gateway control protocol and connect the control server to the gateway platform.
  • the first device execution information may be content that the user wants the smart device corresponding to the device identifier to perform, such as “on,” “off,” “channel 25,” “second file,” and the like;
  • the second device execution information may be an operation performed by the smart device to satisfy the user's personality, such as the air conditioner temperature being set at 26 degrees that the user likes.
  • the client is a universal terminal corresponding to the gateway platform, that is, on the one hand, the client and the passenger can use the client (a hotel client and a guest client), on the other hand,
  • the client is also compatible with the services of various IoT providers.
  • the hotel party can install the service software on the terminal for hotel management, and the passenger can install the service software on the terminal.
  • the client refers to a client used by a user (passenger), and the hotel management system may refer to a hotel version client.
  • the client is the universal end corresponding to the gateway platform, it is not the dedicated end of the IoT service provider, so the hotel is replacing or adding controllers of other IoT service providers. After that, you don't have to make any adjustments to the client.
  • the hotel side optional IoT service provider should be an Internet of Things service provider registered on the gateway platform.
  • the client can have different versions (hotel version and passenger version).
  • the user interface of the hotel version client can provide a list of optional IoT service providers for the hotel.
  • the gateway is provided to the gateway.
  • the platform sends a signing request to sign the contract with the Internet of Things service provider;
  • the passenger version client can support the passenger to book the hotel on the client, and can also provide other personalized services such as room payment, ticket reservation, route planning and the like.
  • the passenger can install the client on the terminal, so that the passenger can use the same client to realize the smart device in the hotel room regardless of the hotel. control.
  • the user can register on the gateway platform to obtain the user identifier.
  • the gateway platform can record and collect historical user behavior data corresponding to each user identifier, and establish a user behavior database. Collecting device execution data and/or user service data sent by the user identifier for different user identifiers, and collecting the collected device execution data and/or user service data as historical user behavior data, and the user identifier and The historical user behavior data is stored in the user behavior database.
  • the first device execution information that is sent by the user identifier in the history may be recorded in advance as the historical user behavior data corresponding to the user identifier, such as the device that has been sent by the user identifier in the history.
  • the information "television channel 25" then uses the device execution information as historical user behavior data. Further, the historical user behavior data corresponding to the user identifier may be sorted according to the number of occurrences of the different first device execution information sent by the same user identifier.
  • the gateway platform may also receive and store data generated by each client on the client by using each user identifier as historical user behavior data. For example, when the client also provides a service such as a predetermined ticket, taxi, map, etc., the data such as the destination of the user's taxi on the client is recorded by the client and sent to the gateway platform as the history of the user identification. User behavior data.
  • the gateway platform When the gateway platform is associated with a user identifier (such as an IP address, a mac address, a general-purpose software, or a general-purpose website account) that the user has registered on the Internet, the big data generated on the Internet by the user identifier may also be collected as the user. Identifies the corresponding historical user behavior data.
  • the gateway platform can associate the user identifier of the user on the e-commerce platform, and the user can log in to the client by using the user identifier that has been registered on the e-commerce platform, so that the gateway platform cooperates with the e-commerce platform.
  • Obtain big data (such as shopping records, harvest addresses, etc.) generated by the user on the e-commerce platform as historical user behavior data.
  • the control request carries the device identifier selected by the user and the first device execution information, and the user may select the device identifier and the device to perform in the device identifier and the first device execution information listed in the user interface of the client.
  • Information you can also enter keywords in the user interface, select device identification and device execution information in the returned results interface.
  • the device identifier may not include the controller identifier of the controller and the server identifier of the control server, such as “Oriental Hotel-205-Air Conditioning”, which only indicates the air conditioner of Room 205 of the Oriental Hotel; may also include the control of the controller.
  • the server identifier of the device identification and control server such as "Oriental Hotel-205-Air Conditioning-Controller 110-Server 8" also indicates that the controller identifier of the controller that controls the air conditioner is 110, and the command to send the command to the controller
  • the server's server ID is 8.
  • S302 Determine, according to the device identifier, a control server corresponding to the device identifier from each control server that establishes a cooperative relationship with the gateway platform.
  • the control servers of the Internet of Things service providers are registered on the gateway platform. That is, the gateway platform stores a mapping relationship between a device identifier of a different smart device and a server identifier of a control server that controls the smart device.
  • mapping relationship between a device identifier of a different smart device and a server identifier of a control server that controls the smart device may be established in the following manner:
  • mapping table between the device identifiers of different smart devices provided by the various Internet of Things service providers and the server identifiers of the control servers controlling the smart devices.
  • the gateway platform may determine, according to the device identifier carried in the control request, the server identifier corresponding to the device identifier in the server identifier of each control server that is pre-registered; the determined server identifier
  • the corresponding control server serves as a control server corresponding to the device identifier.
  • the mapping relationship between the device identifier of the different smart device, the controller identifier of the controller that controls the smart device, and the server identifier of the control server that controls the controller of the smart device may be determined.
  • the server identifier corresponding to the device identifier carried in the control request is used; the control server corresponding to the determined server identifier is used as the control server corresponding to the device identifier.
  • the gateway platform forwards the received control request to the control server, and the control server generates a control command according to the control request, and then sends the control command.
  • the controller corresponding to the device identifier is controlled by the controller according to the control instruction to control the smart device corresponding to the device identifier.
  • control command is "open the door lock after 5 minutes”
  • the timing unit in the controller is activated, and after 5 minutes, the timing unit triggers the controller to open the door lock.
  • control information, the control request, and the control instruction all carry the device identifier and device execution information selected by the user.
  • control request may be encapsulated according to a set gateway control protocol, and the encapsulated control request is sent to the determined control server, so that the determined control server is determined.
  • Parsing the device identifier to be controlled and the first device execution information from the encapsulated control request, and generating a control instruction according to the first device execution information, and sending the control command to the device identifier A corresponding controller causes the controller to control the smart device.
  • the gateway control protocol may be a rule that the gateway platform or the intelligent cloud gateway interacts with each control server.
  • the reason why the interaction between the gateway platform and each control server is based on the gateway control protocol is to ensure that each control server can accurately analyze the control request when receiving the control request forwarded by the gateway platform, and acquire the device of the smart device to be controlled.
  • the gateway platform or the smart cloud gateway may write the device identifier of the smart device to be controlled and the device execution information into a specified field of the set gateway control protocol, so that the control server receives the gateway platform or the smart cloud gateway.
  • the control request is sent according to the set gateway control protocol, the device identifier of the smart device to be controlled and the device execution information can be parsed, thereby implementing control on the smart device.
  • the embodiment of the present application may further implement generating second device execution information according to the historical user behavior data of the user, so that the control server sends the control instruction to the controller in a finer manner according to the second device execution information, thereby implementing the smart device.
  • Personalized control may be implemented according to the historical user behavior data of the user, so that the control server sends the control instruction to the controller in a finer manner according to the second device execution information, thereby implementing the smart device.
  • the gateway platform may determine the control server corresponding to the device identifier in each of the pre-registered control servers, and perform the following steps: according to the user identifier. Searching for the historical user behavior data corresponding to the user identifier from the user behavior database, where the user behavior database includes a mapping relationship between the user identifier and the historical user behavior data; and according to the device identifier and the historical user behavior Data, generating second device execution information; transmitting the second device execution information to the determined control server, so that the control server sends the second device execution information to a controller corresponding to the device identifier And causing the controller to control the smart device according to the control instruction and the second device execution information.
  • the execution timing of the above steps may be any time before the controller controls the corresponding smart device after determining the control server corresponding to the device identifier.
  • the execution timing of the foregoing step may be after determining the control server corresponding to the device identifier, before the control server generates the control instruction, so that the control server corresponding to the device identifier may add the received second device execution information to the control instruction. In the middle, it is sent to the controller corresponding to the device identifier.
  • the user behavior database may be determined by collecting device execution data and/or user service data sent by the user identifier for different user identifiers, and collecting the collected device execution data and/or user service data. As historical user behavior data, the user identification and the historical user behavior data are stored into the user behavior database.
  • the gateway platform stores the big data generated by the user A on the Internet.
  • the gateway platform stores the big data generated by the user A on the Internet.
  • the hotel wants to turn on the air conditioner in advance, then when the gateway platform receives the hotel and sends it through the client.
  • the gateway platform determines that the device type is an air conditioner according to the device identifier carried in the control request, and determines the historical user behavior data corresponding to A according to the user identifier A of the user A carried in the control request, and then the historical user behavior corresponding to A
  • the data is filtered out of historical user behavior data related to air conditioning (for example, once bought a cotton jacket in the summer), and then based on the historical user behavior data selected, it is determined that user A’s user characteristics are “fear of cold”, so
  • the air conditioner's equipment parameter is set to "28 degrees" (or other warmer temperature), and finally the second device execution information "turn on the air conditioner, set the temperature 28 degrees" is generated.
  • the passenger in the hotel scene, can complete the reservation of the hotel room through the client in advance, and when the passenger arrives at the hotel, the hotel can verify the identity information of the passenger through the client, for example, the hotel side.
  • the passenger can be required to present the verification code issued by the gateway platform.
  • the hotel side After verifying the identity of the passenger, the hotel side synchronizes the passenger's check-in information (the passenger's user identification, the guest's room number), and the gateway platform according to the received check-in.
  • the information intelligently generates the second device execution information and sends it to the corresponding control server, thereby implementing personalized control of the smart device in the room where the passenger is staying, thereby providing a convenient accommodation experience for the passenger in advance, such as opening the air conditioner in advance Adjust to the appropriate temperature, turn on the TV in advance and tune to the user's favorite channel, play the user's favorite music in advance.
  • the hotel side and the passenger can also send control requests to the gateway platform through the client at any time to realize the control of the smart device.
  • the hotel determines the room to be checked in by the hotel, it sends a permission opening request to the gateway platform to open the control permission of the smart device in the room where he will be staying. It can also be received at the gateway platform. After the hotel's synchronized passenger check-in information, the gateway platform automatically opens the right to control the smart device in the corresponding room for the passenger.
  • the gateway platform can be adapted to the control servers of the IoT service providers, thereby indirectly controlling the controllers through the registered control servers.
  • the client corresponding to the gateway platform can be provided to each hotel side, so that the hotel side can use the controller of each IoT service provider to control the smart device through the gateway platform without installing the client provided by each IoT service provider. .
  • the hotel replaces the damaged controller with the controller of other IoT service providers or uses the controllers of two or more IoT providers at the same time, it is not necessary to replace the new client or use both at the same time.
  • the above client enhances the convenience of users using the Internet of Things to control smart devices.
  • FIG. 4 is a flowchart of a method for controlling a smart device according to an embodiment of the present application, including the following steps:
  • S401 Receive control information input by a user.
  • the main body of the method is the client used by the user.
  • S402 Generate a control request carrying the control information according to the control information.
  • control information includes a device identifier selected by the user and device execution information.
  • the control request generated by the client may also be carried.
  • User's user ID if the user obtains the user identifier by registering on the gateway platform by the client, or the gateway platform associates the user identifier that the user has registered on the Internet, the control request generated by the client may also be carried. User's user ID.
  • the embodiment of the present application further provides a control device for the smart device.
  • FIG. 5 is a flowchart of a smart device control method in a hotel scenario provided by an embodiment of the present application, including the following steps:
  • S501 The gateway platform receives the order data sent by the client.
  • the order data includes a hotel identifier selected by the user.
  • the user operates in the client interface, selects the hotel logo of the hotel that he or she wants to stay in, and the client sends the generated order data to the gateway platform.
  • the order data may also include data such as the time the user is expected to stay at the hotel, the type of room selected by the user, and the like.
  • S502 The gateway platform sends the order data to the hotel management system.
  • the gateway platform may send the order data to the hotel management system, so that the hotel management system knows that the user has reserved a room.
  • S503 The hotel management system allocates a room for the user to the user according to the order data, and sends the response data to the gateway platform.
  • the hotel management system allocates the room to the user according to the time of the user's stay, the type of room to be occupied, and the like, and sends the response data to the gateway platform, informing the gateway platform that the order has been received, and the room is reserved for the user.
  • the response data may include a room identifier of the room allocated to the user and the hotel identifier.
  • the gateway platform establishes, according to the received response data, a mapping relationship between the user identifier, the hotel identifier, and the room identifier, and assigns a control authority to the user.
  • the gateway platform After receiving the response data, the gateway platform needs to allocate the control authority of the smart device according to the expected time of the user's stay, the hotel identifier of the hotel where the user is going to stay, and the room identifier of the room of the hotel where the user is going to stay. That is to say, the gateway platform controls the rights of the smart devices in the room in the characteristic room of the specific hotel for the specific time period according to the room reservation condition feedbacked by the hotel management system.
  • S505 The hotel management system sends the check-in information to the gateway platform.
  • This step begins when the user goes to the hotel to check in on the day of check-in.
  • the user may present the verification code, QR code or other electronic certificate displayed on the client to the hotel.
  • the hotel management system verifies the error, the user agrees to check in, and then sends the check-in information to the gateway platform.
  • the check-in information includes a room identifier and a check-in time allocated by the hotel management system to the user.
  • the gateway platform determines that the user controls the control authority of the smart device in the room corresponding to the room identifier.
  • the gateway platform may also assign control rights to the user according to the check-in time and the room identifier included in the check-in information, that is, establish a mapping between the user identifier, the room identifier, and the control authority. relationship.
  • the hotel management system sends confirmation confirmation information to the gateway platform, so that the gateway platform opens the control authority of the smart device in the room corresponding to the user identifier, and the client obtains control when receiving the confirmation check-in information. page.
  • the confirmation check-in information is generated by the hotel management system after checking in for the user.
  • step S507 the gateway platform has determined the control authority of the user, and when the gateway platform further receives the confirmation check-in information sent by the hotel management system, the control authority can be opened for the user.
  • the client used by the user will also receive confirmation check information sent by the hotel management system and will obtain a control page.
  • the control page may be a control page of a client used by the user as shown in FIG. 2b.
  • the gateway platform When receiving the control request sent by the hotel management system, the gateway platform forwards the control request to the determined control server to perform control of the corresponding smart device.
  • the hotel party may send a control request to the gateway platform after completing the check-in procedure for the user, where the control request carries the device identifier of the smart device to be controlled.
  • Execute information with the first device That is to say, before the user enters the room, the hotel first controls the smart device in the room, and the first device execution information may be, for example, the air conditioner is adjusted to a suitable temperature, the door lock is automatically opened, the curtain is closed, and the like.
  • the gateway platform may further search for historical user behavior data corresponding to the user identifier from the user behavior database according to the user identifier.
  • the user behavior database includes a mapping relationship between the user identifier and the historical user behavior data.
  • the second device execution information is generated according to the device identifier and the historical user behavior data.
  • the device executes the information generation control instruction, and sends the control instruction to the controller corresponding to the device identifier, so that the controller controls the smart device. In this way, the user can be provided with a personalized service.
  • the hotel management system receives the control result sent by the control server, and sends the control result to the hotel management system.
  • the gateway platform After the gateway platform sends the control request to the corresponding control server, and then controls the corresponding smart device, the control server feeds back the control result to the gateway platform, and the control result is used to represent the controller according to the control instruction. Controlling the results of the smart device. Then, the gateway platform sends the control result to the hotel management system to prompt the hotel management system to control the smart device.
  • the hotel management system has already checked in for the user, and has properly controlled the smart devices in the room that the user will enter, providing personalized services for the users. After that, the user enters the room and can send a control request to the gateway platform through the client installed in the terminal to control the smart device in the room where he lives.
  • the hotel management system can send a control request to the gateway platform to control the smart devices in each room for the purpose of managing the smart devices in each room.
  • the gateway platform receives a control request sent by the client.
  • step S508 after receiving the confirmation check-in request, the client acquires the control page.
  • the user may send a control request to the network platform by clicking an option in the control page, where the control request carries the room identifier assigned to the user, the device identifier of the smart device to be controlled, and the first device to perform And causing the network platform to control the smart device to be controlled according to the control request.
  • the gateway platform determines, according to the room identifier and the user identifier of the user, that the user controls the control authority of the smart device in the room corresponding to the room identifier.
  • the gateway platform After receiving the control request sent by the user, the gateway platform firstly determines whether the user has the right to control the smart device corresponding to the device identifier.
  • the gateway platform may feed back the result to the client, so that the control authority is displayed in the control page.
  • the gateway platform sends a prompt message to the client to remind the user that the control fails.
  • the gateway platform can also control the corresponding smart device according to the historical user behavior characteristics of the user, and details are not described herein.
  • FIG. 6 is a schematic diagram of a control device of a smart device according to an embodiment of the present application, including:
  • the receiving module 601 receives a control request sent by the client, where the control request carries the device identifier of the smart device to be controlled and the first device execution information.
  • the determining module 602 is configured to determine, according to the device identifier, a control server corresponding to the device identifier from each control server that establishes a cooperative relationship with the control device, where the control device stores a device identifier and a control device of different smart devices. a mapping relationship between server identifiers of the control server of the smart device;
  • the forwarding module 603 forwards the control request to the determined control server, so that the determined control server generates a control instruction according to the first device execution information, and sends the control command to the device identifier.
  • a corresponding controller causes the controller to control the smart device.
  • Establishing a mapping relationship between a device identifier of a different smart device and a server identifier of a control server controlling the smart device by: receiving and storing a control server of each Internet of Things service provider that establishes a cooperative relationship with the control device a server identifier, a controller identifier of a controller installed by each Internet of Things service provider, and a device identifier of each smart device; for each device identifier, determining a controller identifier of a controller that controls the smart device corresponding to the device identifier, and establishing the device Determining a first correspondence between the determined controller identifier of the controller; and determining, for each server identifier, a controller identifier of a controller installed by the Internet of Things service provider corresponding to the server identifier, establishing the server identifier Corresponding to a second correspondence between the controller identifiers of the controllers; obtaining, according to the first correspondence relationship and the second correspondence relationship, device identifiers of different smart devices, and controlling the control of the
  • the determining module 602 determines, according to a mapping relationship between a device identifier of a different smart device, a controller identifier of a controller that controls the smart device, and a server identifier of a control server that controls the controller of the smart device.
  • the forwarding module 603 encapsulates the control request according to the set gateway control protocol, and sends the encapsulated control request to the determined control server, so that the determined control server is encapsulated And determining, by the control request, the device identifier to be controlled and the first device execution information, and generating a control instruction according to the first device execution information, and sending the control command to the device identifier a controller that causes the controller to control the smart device.
  • the control request further carries a user identifier of the user
  • the device further includes: a searching module 604, after determining the control server corresponding to the device identifier, searching historical user behavior data corresponding to the user identifier from the user behavior database according to the user identifier, the user behavior
  • the database includes a mapping relationship between the user identifier and the historical user behavior data; generating second device execution information according to the device identifier and the historical user behavior data; and sending the second device execution information to the determined Controlling the server, so that the control server sends the second device execution information to the controller corresponding to the device identifier, so that the controller controls the smart according to the control instruction and the second device execution information device.
  • the determining module 604 according to the device identifier, determining a device type of the smart device corresponding to the device identifier, and determining, according to the device type, the historical user behavior data corresponding to the user identifier, And determining, according to the historical user behavior data, a user behavior corresponding to the user identifier to control a user behavior characteristic of the smart device; and generating, according to the user behavior feature, the second device execution information.
  • Obtaining the user behavior database in the following manner, including: collecting device execution data and/or user service data sent by the user identifier for different user identifiers, and executing the collected device execution data and/or user service
  • the data is used as historical user behavior data, and the user identification and the historical user behavior data are stored in the user behavior database.
  • FIG. 7 is a device for controlling a smart device according to an embodiment of the present application, which is applied to a gateway platform, where the device includes:
  • the receiving module 701 receives control information input by the user, where the control information includes a device identifier of the smart device to be controlled and first device execution information;
  • the generating module 702 is configured to generate, according to the control information, a control request that carries the control information;
  • the sending module 703 sends a control request to the gateway platform, so that the gateway platform determines, according to the device identifier, a control server corresponding to the device identifier from each control server that establishes a cooperative relationship with the gateway platform, and The control request is forwarded to the determined control server, and the determined control server generates a control command, and sends the control command to the corresponding controller for control of the corresponding smart device.
  • the generating module 703 is configured to generate, according to the control information, a control request that carries the control information and the user identifier of the user, so that the gateway platform that receives the control request is used from the user behavior database according to the user identifier. Searching historical user behavior data corresponding to the user identifier, and then performing control of the corresponding smart device according to the historical user behavior data.
  • FIG. 8 is a device for controlling a smart device according to an embodiment of the present application, including:
  • the first receiving module 801 receives a control request sent by the user, where the control request carries a room identifier allocated to the user, a device identifier of the smart device to be controlled, and first device execution information.
  • the first determining module 802 determines, according to the room identifier and the user identifier of the user, that the user controls the control authority of the smart device in the room corresponding to the room identifier;
  • the forwarding module 804 forwards the control request to the determined control server, so that the determined control server generates a control instruction according to the first device execution information, and sends the control command to the device identifier.
  • a corresponding controller causes the controller to control the smart device.
  • the device further includes: a sending module 805, when the determined control right refuses to control the smart device to be controlled, sending a prompt message to remind the user that the control fails.
  • the device further includes: a second receiving module 806, before receiving the control request sent by the user, receiving the check-in information sent by the hotel management system, where the check-in information is generated by the hotel management system after receiving the user confirming the stay at the hotel
  • the check-in information includes a room identifier and a check-in time allocated by the hotel management system to the user; determining, according to the check-in time, that the user controls the control authority of the smart device in the room corresponding to the room identifier, and establishing a mapping relationship between the user identifier, the room identifier, and the control authority.
  • the device further includes: a third receiving module 807, which receives the user to send the order data, where the order data includes the hotel identifier selected by the user; and sends the order data to the hotel management system corresponding to the hotel identifier, so that The hotel management system allocates a room for the user to the user according to the order data; and receives response data sent by the hotel management system, where the response data includes a room identifier of the room allocated to the user and the hotel And establishing a mapping relationship between the user identifier, the hotel identifier, and the room identifier.
  • a third receiving module 807 which receives the user to send the order data, where the order data includes the hotel identifier selected by the user; and sends the order data to the hotel management system corresponding to the hotel identifier, so that The hotel management system allocates a room for the user to the user according to the order data; and receives response data sent by the hotel management system, where the response data includes a room identifier of the room allocated to the user and the hotel And
  • the device further includes: an allocating module 808, when receiving the response data sent by the hotel management system, according to the time that the user included in the order data is in the hotel corresponding to the hotel identifier, And assigning the user to control the control authority of the smart device in the room corresponding to the room identifier.
  • the device further includes: a fourth receiving module 809, receiving confirmation check information sent by the hotel system, the confirmation check-in information is generated by the hotel management system after checking in for the user; receiving the confirmation When the information is checked in, the user is controlled to control the control authority of the smart device in the room corresponding to the room identifier.
  • the device further includes: a searching module 810, after determining the control server corresponding to the device identifier, searching for historical user behavior data corresponding to the user identifier from the user behavior database according to the user identifier, the user behavior
  • the mapping relationship between the user identifier and the historical user behavior data is included in the database; and the second device execution information is generated according to the device identifier and the historical user behavior data;
  • the forwarding module 804 sends the control request and the second device execution information to the determined control server, so that the control server performs the information according to the second device and the control request.
  • the first device executes an information generation control instruction, and sends the control instruction to a controller corresponding to the device identifier, so that the controller controls the smart device.
  • FIG. 9 is a device for controlling a smart device according to an embodiment of the present application, including:
  • the receiving module 901 receives the confirmation check-in information sent by the hotel management system, and the confirmation check-in information is generated by the hotel management system after checking in for the user, where the confirmation check-in information includes the hotel management system assigned to the hotel The user's room identification;
  • the obtaining module 902 is configured to obtain, according to the confirmed check-in information, a control page of the smart device of the room corresponding to the room identifier of the user;
  • the sending module 903 sends a control request to the network platform based on the control page, where the control request carries a room identifier assigned to the user, a device identifier of the smart device to be controlled, and first device execution information, so that the network platform is configured according to the network platform.
  • the control request controls the smart device to be controlled.
  • the device further includes: a display module 904, determining, according to the confirming the check-in information, that the user controls the control authority of the smart device in the room corresponding to the room identifier; and displaying the control authority in the control page.
  • FIG. 10 is a schematic diagram of a smart device control apparatus according to an embodiment of the present application, including:
  • the first receiving module 1001 receives a control request sent by the hotel management system, where the control request carries the device identifier of the smart device to be controlled and the first device execution information;
  • the determining module 1002 is configured to determine, according to the device identifier, a control server corresponding to the device identifier from each control server that establishes a cooperative relationship with the gateway platform;
  • the forwarding module 1003 forwards the control request to the determined control server, so that the determined control server generates a control instruction according to the first device execution information, and sends the control command to the device identifier.
  • a corresponding controller causes the controller to control the smart device.
  • the control request further carries a sending time of the control instruction
  • the forwarding module 1003 forwards the control request to the determined control server according to the sending time.
  • the device further includes: a second receiving module 1004, before receiving the control request sent by the hotel management system, receiving confirmation check information sent by the hotel system, the confirming check-in information is that the hotel management system is checking in for the user Generated after the formalities;
  • the forwarding module 1003 forwards the control request to the determined control server according to the check-in time included in the confirmation check-in information.
  • the device further includes: a third receiving module 1005, receiving a control result sent by the control server, where the control result is used to represent a result of the controller controlling the smart device according to the control instruction; The result is sent to the hotel management system to prompt the hotel management system for control results for the smart device.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • computer readable program code eg, software or firmware
  • examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the application can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Primary Health Care (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Medical Informatics (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

本申请实施例公开了一种智能设备的控制方法及装置。通过在网关平台上预先注册各物联网服务商的控制服务器,使得客户端与物联网服务商的控制服务器解耦,客户端成为与网关平台对应的通用端,物联网服务商的控制服务器和物联网服务商安装的控制器这二者与客户端不再是唯一对应的,用户通过客户端和网关平台可以向不同的物联网服务商的控制服务器发送控制请求。如此以来,用户倘若将损坏的控制器更换为其他物联网服务商的控制器或同时使用两家以上的物联网服务商的控制器,则不必相应地更换新的客户端或同时使用两种以上的客户端,提升了用户使用物联网控制智能设备的便利性。

Description

一种智能设备的控制方法及装置
本申请要求2017年01月20日递交的申请号为201710041288.0、发明名称为“一种智能设备的控制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及物联网技术领域,尤其涉及一种智能设备的控制方法及装置。
背景技术
随着物联网技术的热潮,以一定的空间(如住宅内或酒店内)为平台,由物联网服务商利用综合布线技术、网络通信技术、自动控制技术、音视频技术等,对该空间进行改造,使该空间内的设备智能化,成为可被用户(如,住宅内的住户或酒店的管理者与旅客)通过互联网远程实时控制的智能设备,成为发展新趋势。例如,用户可以用手机通过互联网控制住宅的门锁自动打开、住宅内厨房的吊灯自动关闭、将住宅内卧室的空调调到特定温度等。
图1是现有的智能设备的控制方法示意图。物联网服务商对空间的改造方法是,在该空间内安装智能设备的控制器(如智能门锁控制器、智能空调控制器、电视盒子),同时,用户还需要使用物联网服务商提供的客户端。这样以来,用户使用该客户端向互联网服务商的控制服务器发送控制请求,控制服务器根据控制请求,确定用户所要控制的智能设备后,向该智能设备对应的控制器发送控制指令,由控制器实现对该智能设备的控制。
但是,由于物联网服务商的控制服务器、物联网服务商安装的控制器、物联网服务商提供的客户端三者是唯一对应的,不同的物联网服务商所安装的控制器和提供的客户端也是不同的,某个物联网服务商提供的客户端仅支持向该物联网服务商的控制服务器发送控制请求,因此用户倘若将损坏的控制器更换为其他物联网服务商的控制器或同时使用两家以上的物联网服务商的控制器,那么也必须相应地更换新的客户端或同时使用两种以上的客户端,这会降低用户使用物联网控制智能设备的便利性。
发明内容
本申请实施例提供一种智能设备的控制方法及装置,以提高用户使用物联网控制智 能设备的便利性。
为解决上述技术问题,本申请实施例是这样实现的:
本申请实施例提供的一种智能设备的控制方法,应用在网关平台中,包括:
接收客户端发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,所述网关平台中存储不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系;
将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
本申请实施例提供的一种智能设备的控制方法,应用在网关平台中,包括:
接收用户输入的控制信息,所述控制信息包括待控制的智能设备的设备标识和第一设备执行信息;
根据所述控制信息生成携带有所述控制信息的控制请求;
向网关平台发送控制请求,以使所述网关平台根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,并将所述控制请求转发给确定的所述控制服务器,使确定的所述控制服务器生成控制指令,并将所述控制指令发送给相应的控制器进行相应智能设备的控制。
本申请实施例提供的一种智能设备的控制方法,应用在网关平台中,包括:
接收用户发送的控制请求,所述控制请求中携带分配给所述用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息;
根据所述房间标识和所述用户的用户标识,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限;
当确定的所述控制权限允许对所述待控制的智能设备进行控制时,根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
本申请实施例提供的一种智能设备的控制方法,包括:
接收酒店管理系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的,所述确认入住信息中包含所述酒店管理系统分配给所述用户的房间标识;
根据所述确认入住信息,获取所述用户控制所述房间标识对应的房间的智能设备的控制页面;
基于所述控制页面向网络平台发送控制请求,所述控制请求中携带分配给用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息,使所述网络平台根据所述控制请求对所述待控制的智能设备进行控制。
本申请实施例提供的一种智能设备的控制方法,包括:
接收酒店管理系统发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
本申请实施例提供的一种智能设备的控制装置,包括:
接收模块,接收客户端发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
确定模块,根据所述设备标识,从与所述控制装置建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,所述控制装置中存储不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系;
转发模块,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
本申请实施例提供的一种智能设备的控制装置,包括:
接收模块,接收用户输入的控制信息,所述控制信息包括待控制的智能设备的设备标识和第一设备执行信息;
生成模块,根据所述控制信息生成携带有所述控制信息的控制请求;
发送模块,向网关平台发送控制请求,以使所述网关平台根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,并将所述控制请求转发给确定的所述控制服务器,使确定的所述控制服务器生成控制指令,并将所述控制指令发送给相应的控制器进行相应智能设备的控制。
本申请实施例提供的一种智能设备的控制装置,包括:
第一接收模块,接收用户发送的控制请求,所述控制请求中携带分配给所述用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息;
第一确定模块,根据所述房间标识和所述用户的用户标识,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限;
第二确定模块,当确定的所述控制权限允许对所述待控制的智能设备进行控制时,根据所述设备标识,从与所述控制装置建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
转发模块,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
本申请实施例提供的一种智能设备的控制装置,包括:
接收模块,接收酒店管理系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的,所述确认入住信息中包含所述酒店管理系统分配给所述用户的房间标识;
获取模块,根据所述确认入住信息,获取所述用户控制所述房间标识对应的房间的智能设备的控制页面;
发送模块,基于所述控制页面向网络平台发送控制请求,所述控制请求中携带分配给用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息,使所述网络平台根据所述控制请求对所述待控制的智能设备进行控制。
本申请实施例提供的一种智能设备的控制装置,包括:
第一接收模块,接收酒店管理系统发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
确定模块,根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
转发模块,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服 务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
由以上本申请实施例提供的技术方案可见,本申请实施例通过在网关平台上注册各物联网服务商的控制服务器,使得网关平台可以适配各物联网服务商的控制服务器,从而通过注册的各控制服务器间接控制各控制器。同时,可以向各酒店方提供网关平台对应的客户端,使得酒店方无需安装各物联网服务商提供的客户端,就可以通过网关平台使用各物联网服务商的控制器来进行智能设备的控制。如此以来,酒店方倘若将损坏的控制器更换为其他物联网服务商的控制器或同时使用两家以上的物联网服务商的控制器,则不必相应地更换新的客户端或同时使用两种以上的客户端,提升了用户使用物联网控制智能设备的便利性。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是现有的智能设备的控制方法示意图;
图2a是本申请实施例提供的一种智能设备的控制方法的示意图;
图2b是本申请实施例提供的一种酒店智能设备的控制方法的示意图;
图3是本申请实施例提供的一种智能设备的控制方法流程图;
图4是本申请实施例提供的一种智能设备的控制方法流程图;
图5是本申请实施例提供的一种酒店场景下的智能设备的控制方法流程图;
图6是本申请实施例提供的一种智能设备的控制装置示意图;
图7是本申请实施例提供的一种智能设备的控制装置示意图;
图8是本申请实施例提供的一种智能设备的控制装置示意图;
图9是本申请实施例提供的一种智能设备的控制装置示意图;
图10是本申请实施例提供的一种智能设备的控制装置示意图。
具体实施方式
本申请实施例提供一种智能设备的控制方法及装置。
本方法的执行主体可以是网关平台、智能云网关、客户端。其中,所述智能云网关或网关平台是具有路由功能平台级设备,用于将控制请求发送给该控制请求对应的控制服务器。所述客户端是用户的终端设备的上安装的与所述网关平台进行交互的客户端/酒店管理系统上安装的与所述网关平台进行交互的客户端。
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
如前所述,在物联网技术领域,存在多家物联网服务商为用户提供物联网内的智能设备控制服务,各家物联网服务商都开发了自己的控制器和客户端,倘若用户安装了某一家物联网服务商的控制器,也必须使用这家物联网服务商提供客户端。如此以来,用户倘若需要在自己的物联网内更换或添加其他物联网服务商的控制器,那么也必须相应地更换或添加其他物联网服务商的客户端,这降低了用户使用物联网控制智能设备的便利性。
本申请实施例的应用场景可以是住宅的住户为用户,住宅内的家居设备为智能设备,也可以是酒店的管理方和接待的旅客为用户,酒店各个房间的门锁、空调、电视等设备为智能设备。为了描述的方便,下文仅以酒店的应用场景为例说明。
如图1所示,现有的智能设备控制方法是,用户通过客户端发送的控制请求必须经由物联网服务商的控制服务器处理,由控制服务器向用户所要控制的智能设备对应的控制器发送控制指令后,用户才能实现对其所要控制的智能设备的控制。也就是说,物联网服务商的控制服务器才是直接控制智能设备的主体,用户只能向控制服务器发送控制请求,从而间接地实现对智能设备的控制。
其中,所述控制器可以通过自身的无线信号接口接收所述控制指令,也可以通过自身连接的有线网路接收所述控制指令。由于所述控制器所处的网络环境是酒店内的局域网,控制服务器通过酒店外的互联网向酒店内局域网中的控制器发送控制指令,需要经过网关器实现互联网与局域网的对接。因此,可以在酒店内预先安装网关器。为了描述的方便,下文对网关器不做提及,控制服务器向控制器发送控制指令,并被控制器所接收,即说明已经通过网关器实现了互联网与局域网的对接。
客户端发送的控制请求可以携带有待控制的智能设备的设备标识和第一设备执行信 息,其中,第一设备执行信息可以是例如打开、关闭、25度、中档、45频道等用户想要控制智能设备执行的内容。并且,所述设备标识和所述第一设备执行信息可以是用户在客户端输入的控制信息,客户端根据用户输入的控制信息生成所述控制请求。
用户可以在客户端的用户界面中选择想要控制智能设备的设备标识以及想要该智能设备执行的内容。例如,用户可以选择“东方酒店-407-走廊灯”的设备标识和“打开”的设备执行信息,客户端根据用户的选择,生成携带有上述信息的控制请求并发送给控制服务器,控制服务器根据所述控制请求,生成控制指令,控制东方酒店407号房间内的走廊灯对应的控制器,使该走廊灯打开。
此外,现有的智能设备的控制方法,在酒店的场景下,不仅降低了酒店方的管理便利性,对入住酒店的旅客而言,便利性也是较低的。
在酒店的场景下,如果入住酒店房间的旅客想要控制智能设备,该旅客有三种方式可以选择:一、起身手动控制智能设备;二、在自己的终端(电脑或手机)上安装其所入住的酒店的物联网服务商的客户端(服务软件),然后输入控制信息;三、需要先向酒店方提出要求,再由酒店方在客户端内输入该旅客要求的控制信息。以上三种方式对该旅客而言,都是不够方便的。
由以上对现有的智能设备控制方法的介绍可知,一方面,图1所示的现有的物联网服务模式的好处在于,最大化地降低了用户的控制成本,客户端、控制器、控制服务器的维护都由物联网服务商负责,用户只需要使用客户端发送控制请求即可。
另一方面,也正因为如此,各家物联网服务商的控制服务器、控制器以及客户端都耦合度较高,这除了导致用户使用物联网的便利性较低的问题外,还存在以下不足:由于各家物联网服务商的控制服务器、控制器以及客户端的耦合度较高导致了各家物联网服务商只能各自独立地提供智能设备控制服务,彼此之间没有信息共享,只能根据用户发送的控制请求携带的设备执行信息提供较为单一的智能设备控制服务,却不能进一步为用户提供个性化服务,即针对每个用户的用户特征,进一步提升其使用物联网控制智能设备的便利性的服务。
例如,夏天的晚上,某个旅客来到酒店前台办理入住,酒店方想要为旅客提供更好的服务,在确定该旅客即将入住的房间号为206之后,通过客户端向控制服务器发送了“将房间206的空调打开并将温度设定为20度”的控制请求,控制服务器根据该控制请求,控制房间内的空调开启,并设定20度的问题,但遗憾的是,该旅客非常怕冷,进入房间后受凉感冒了。
又如,某个旅客在酒店房间内睡觉苏醒后,想要看电视节目,而该旅客实际上是喜欢看青春偶像剧的,该旅客操作客户端(手机),选择的设备标识为“东方酒店-206-电视机”,设备执行信息为“打开并切换到25频道”,由于物联网服务商并不知晓该旅客的偏好,仅支持旅客选择打开电视机的某个频道,该旅客随后还需要手动在数十个电视频道中搜寻青春偶像剧。
可见,为物联网的用户提供个性化的服务,是现有的物联网内的智能设备的控制方法所缺失的。
为此,本申请实施例之一也可以解决为用户提供的个性化服务不足的问题,即架设“网关平台-客户端”的智能设备控制系统,该智能控制系统架设于用户与物联网服务商的控制服务器之间,支持用户通过客户端在网关平台上注册的用户标识,从而预设各用户标识对应的历史用户行为数据,在实际应用中,用户通过客户端向网关平台发送的控制请求中还携带有该用户的用户标识,网关平台根据该用户标识对应的历史用户行为数据,分析出该用户的偏好,进而使控制服务器发出的控制指令更贴合该用户的偏好,以实现智能设备控制服务的个性化。
例如,在上述的举例中,旅客在网关平台上注册有用户标识,该旅客通过网关平台预定了酒店房间,当该旅客来到酒店前台登记入住时,酒店方在确定该旅客要入住的房间号之后,向网关平台发送了携带有如下内容的控制请求“用户221-将房间206的空调打开并将温度设定为20度”,网关平台根据该用户的用户标识“用户221”对应的历史用户行为数据,分析出该旅客非常怕冷,因此,网关平台除了将该控制请求转发给控制服务器外,还可以智能化地向控制服务器发送第二设备执行信息“将房间206的空调温度设定为28度”,控制服务器优先采用第二设备执行信息,控制空调温度设定为28度,从而使该旅客进入房间后不会感觉到冷。
图2a是本申请实施例提供的一种智能设备的控制方法示意图。如图2a所示,相比于图1所示的现有的控制方法,增设了网关平台的架构,且客户端为网关平台对应的通用端(适配不同类型的用户和兼容各物联网服务商的服务)。
图2b是本申请实施例提供的一种酒店智能设备的控制方法的示意图。如图2b所示,当旅客(用户)选择服务请求时,网关平台可以向酒店管理系统转发该服务请求,酒店方获知后,可以通过酒店管理系统向网关平台返回对该服务请求的回复,如“请稍等”,网关平台可以将该回复再转发给旅客的客户端。又如,当酒店方选择报修某个控制器时,网关平台可以向酒店方选择报修的控制器对应的控制服务器发送报修请求,控制服务器 收到该报修请求后,可以返回上门维修时间等信息给网关平台,再由网关平台转发给酒店方的客户端。其中,酒店管理系统可以是网关平台提供给酒店方使用的系统,也可以是酒店方自己指定的系统。当酒店管理系统是酒店方自己指定的系统时,网关平台可以向酒店方提供安装于酒店管理系统之上的酒店版客户端,以实现网关平台与酒店管理系统的对接。
总之,在本申请提供的“网关平台-客户端(通用)”的系统架构下,物联网功能的可扩展性较强,可以针对本系统架构下的各种应用场景,在本申请实施例技术方案的基础上,增加本领域技术人员容易想到的技术特征,本申请对此不做限制。
以下结合附图,详细说明本申请各实施例提供的技术方案。
图3是本申请实施例提供的一种智能设备的控制方法流程图,包括以下步骤:
S301:接收客户端发送的控制请求。
本方法的执行主体可以是网关平台。所述网关平台可以是具有数据存储和数据处理功能的服务器或云服务器,且对外提供网关控制协议,用于将控制请求发送给该控制请求对应的控制服务器。各物联网服务商只需要遵照网关控制协议,将控制服务器与网关平台对接即可。
在本申请实施例中,所述第一设备执行信息可以是用户想要设备标识对应的智能设备执行的内容,如“开启”、“关闭”、“频道25”、“二档”等;所述第二设备执行信息可以是智能设备满足用户个性所执行的操作,如空调温度设定在用户喜欢的26度。
在本申请实施例中,所述客户端是网关平台对应的通用端,即一方面,酒店方和旅客都可以使用所述客户端(酒店版客户端和旅客版客户端),另一方面,客户端也能兼容各物联网服务商的服务。当所述客户端是网关平台提供的服务软件时,酒店方可以在用于酒店管理的终端上安装该服务软件,旅客可以在自己的终端上安装该服务软件。在本申请实施例中,为了描述的方便,所述客户端指用户(旅客)使用的客户端,所述酒店管理系统可以指代酒店版客户端。
如此以来,对酒店方而言,由于客户端是网关平台对应的通用端,不是物联网服务商提供的耦合度较高的专用端,因此酒店方在更换或增设其他物联网服务商的控制器后,不必对客户端做任何调整。
值得说明的是,酒店方可选地物联网服务商应为网关平台上注册的物联网服务商。客户端可以有不同的版本(酒店版和旅客版),酒店版客户端的用户界面上可以为酒店方提供可选的物联网服务商的列表,酒店方选择某个物联网服务商后,向网关平台发送 签约请求,与该物联网服务商签约;旅客版客户端可以支持旅客在客户端上预定酒店,还可以提供其他诸如房款垫付、车票预定、路线规划等个性化服务。
对旅客而言,由于与网关平台对接的酒店的数量较多,因此旅客可以在终端上安装该客户端,这样旅客无论入住哪家酒店,都可以使用同一客户端实现对酒店房间内的智能设备的控制。
用户可以通过客户端在网关平台上注册,获取用户标识,同时,网关平台可以记录和采集各用户标识对应的历史用户行为数据,成立用户行为数据库。针对不同的用户标识,采集通过该用户标识发送的设备执行数据和/或用户业务数据,将采集到的所述设备执行数据和/或用户业务数据作为历史用户行为数据,并将该用户标识和所述历史用户行为数据存储至所述用户行为数据库中。
具体而言,可以预先针对每个用户标识,记录在历史上通过该用户标识发送的第一设备执行信息,作为该用户标识对应的历史用户行为数据,如历史上通过该用户标识发送过设备执行信息“电视频道25”,则将该设备执行信息作为历史用户行为数据。进一步地,可以根据通过同一用户标识发送的不同的第一设备执行信息的出现次数,对该用户标识对应的历史用户行为数据作参考价值排序。
在本申请实施例中,网关平台也可以接收并存储各客户端发送的通过各用户标识在客户端上产生的数据,作为历史用户行为数据。例如,当客户端还提供了预定车票、打车、地图等服务时,通过用户标识在客户端打车所前往的目的地等数据被客户端记录下来并发送给网关平台,以作为该用户标识的历史用户行为数据。
当网关平台关联有用户在互联网上已注册的用户标识(如IP地址、mac地址、通用软件或通用网站的账号)时,还可以采集通过该用户标识在互联网上产生的大数据,作为该用户标识对应的历史用户行为数据。例如,网关平台可以关联用户在电商平台上的用户标识,用户使用其已在电商平台上注册的用户标识同样可以登录所述客户端,这样以来,网关平台与该电商平台合作,可以获取该用户在该电商平台上产生的大数据(如购物记录、收获地址等),作为历史用户行为数据。
在本申请实施例中,所述控制请求携带有用户选择的设备标识和第一设备执行信息,用户可以在客户端的用户界面所罗列的设备标识和第一设备执行信息中选择设备标识和设备执行信息,也可以在用户界面中输入关键字,在返回的结果界面中选择设备标识和设备执行信息。
具体地,设备标识可以不包含控制器的控制器标识和控制服务器的服务器标识,如 “东方酒店-205-空调”,仅表明了是东方酒店205号房间的空调;也可以包含控制器的控制器标识和控制服务器的服务器标识,如“东方酒店-205-空调-控制器110-服务器8”,还表明了控制该空调的控制器的控制器标识是110,向该控制器发送指令的控制服务器的服务器标识是8。
S302:根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器。
在本申请实施例中,为了使各控制服务器与客户端解耦,在网关平台上注册各物联网服务商的控制服务器。也就是说,所述网关平台中存储不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系。
具体地,可以通过以下方式建立不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系:
接收并存储与所述网关平台建立合作关系的各物联网服务商的控制服务器的服务器标识、各物联网服务商安装的控制器的控制器标识以及各智能设备的设备标识;针对每个设备标识,确定控制该设备标识对应的智能设备的控制器的控制器标识,建立该设备标识与确定的所述控制器的控制器标识之间的第一对应关系;以及针对每个服务器标识,确定该服务器标识对应的物联网服务商安装的控制器的控制器标识,建立该服务器标识与确定的所述控制器的控制器标识之间的第二对应关系;根据所述第一对应关系和所述第二对应关系,得到不同的智能设备的设备标识、控制所述智能设备的控制器的控制器标识以及控制所述智能设备的控制器的控制服务器的服务器标识之间的映射关系。
也可以直接接收各物联网服务商提供的不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射表。
在本申请实施例中,网关平台可以根据所述控制请求携带的所述设备标识,在预先注册的各控制服务器的服务器标识中,确定所述设备标识对应的服务器标识;将确定出的服务器标识所对应的控制服务器作为所述设备标识对应的控制服务器。
具体而言,可以根据不同的智能设备的设备标识、控制所述智能设备的控制器的控制器标识以及控制所述智能设备的控制器的控制服务器的服务器标识之间的映射关系,确定与所述控制请求中携带的所述设备标识对应的服务器标识;将确定出的服务器标识所对应的控制服务器作为所述设备标识对应的控制服务器。
S303:将所述控制请求转发给确定的所述控制服务器。
在本申请实施例中,网关平台在确定出所述设备标识对应的控制服务器后,将接收 到的控制请求转发给该控制服务器,由该控制服务器根据控制请求生成控制指令,进而将控制指令发送给设备标识对应的控制器,由该控制器根据控制指令控制设备标识对应的智能设备。
例如,倘若控制指令是“5分钟后打开门锁”,则控制器接收到该控制指令后,控制器内的计时单元启动,5分钟后,所述计时单元触发控制器打开门锁。
在本申请各实施例中,所述控制信息、控制请求、控制指令都携带有用户选择的设备标识和设备执行信息。
在本申请实施例中,可以根据设定的网关控制协议,对所述控制请求进行封装,并将封装后的所述控制请求发送给确定的所述控制服务器,以使确定的所述控制服务器从封装后的所述控制请求中解析得到待控制的设备标识和所述第一设备执行信息,并根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
其中,所述网关控制协议可以是网关平台或智能云网关与各控制服务器进行交互的规则。网关平台与各控制服务器的交互之所以要依据网关控制协议,是为了确保各控制服务器在接收到网关平台转发的控制请求时,能够准确对该控制请求进行解析,获取需要控制的智能设备的设备标识以及第一设备执行信息、第二设备执行信息等。
具体而言,网关平台或智能云网关可以将需要控制的智能设备的设备标识以及设备执行信息写入设定的网关控制协议的指定字段中,这样,控制服务器在接收到网关平台或智能云网关按照设定的网关控制协议发送的控制请求时,能够解析得到待控制的智能设备的设备标识以及设备执行信息,进而实现对智能设备的控制。
此外,本申请实施例还可以实现根据用户的历史用户行为数据,生成第二设备执行信息,以使控制服务器根据第二设备执行信息,更精细地向控制器发送控制指令,从而实现对智能设备的个性化控制。
在本申请实施例中,当控制请求还携带有用户的用户标识时,网关平台可以在预先注册的各控制服务器中确定所述设备标识对应的控制服务器之后,执行如下步骤:根据所述用户标识,从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,所述用户行为数据库中包含用户标识与历史用户行为数据之间的映射关系;根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息;将所述第二设备执行信息发送给确定的所述控制服务器,以使所述控制服务器将所述第二设备执行信息发送给所述设备标识对应的控制器,使所述控制器根据所述控制指令和所述第二设备执行信息控制所 述智能设备。
上述步骤的执行时机可以是确定出设备标识对应的控制服务器之后,控制器控制相应的智能设备之前的任何时候。优选地,上述步骤的执行时机可以是确定出设备标识对应的控制服务器之后,控制服务器生成控制指令之前,这样以来,设备标识对应的控制服务器可以将接收到的第二设备执行信息添加到控制指令中,一并发送给设备标识对应的控制器。
具体地,根据所述设备标识,确定所述设备标识对应的智能设备的设备类型;根据所述设备类型,从所述用户标识对应的所述历史用户行为数据中,确定与所述设备类型相关的历史用户行为数据;根据所述历史用户行为数据,确定所述用户标识对应的用户控制所述智能设备的用户行为特征;根据所述用户行为特征,生成所述第二设备执行信息。
而所述用户行为数据库可以通过以下方式确定:针对不同的用户标识,采集通过该用户标识发送的设备执行数据和/或用户业务数据,将采集到的所述设备执行数据和/或用户业务数据作为历史用户行为数据,并将该用户标识和所述历史用户行为数据存储至所述用户行为数据库中。
例如,网关平台上存储有用户A在互联网上产生的大数据,作为历史用户行为数据,某日用户A入住酒店,酒店方想要提前打开空调,那么当网关平台接收到酒店方通过客户端发送的控制请求时,网关平台根据控制请求携带的设备标识确定设备类型是空调,并且根据控制请求携带的用户A的用户标识A确定了A对应的历史用户行为数据,然后再A对应的历史用户行为数据中筛选出与空调相关的历史用户行为数据(如,曾经在夏天上网买了一件棉袄),随后根据筛选出的历史用户行为数据,确定用户A的用户特征是“怕冷”,因此将空调的设备参数设置为“28度”(或其他较为温暖的温度),最后生成第二设备执行信息“打开空调,设定温度28度”。
在本申请实施例中,酒店场景下,旅客可以预先通过客户端完成酒店房间的预定,待旅客来到酒店入住时,酒店方可以通过客户端对该旅客的身份信息进行验证,例如,酒店方可以要求改旅客出示网关平台下发的验证码,酒店方验证该旅客身份后,向网关平台同步该旅客的入住信息(旅客的用户标识、旅客入住的房间号),网关平台根据接收到的入住信息,智能地生成第二设备执行信息并发送给相应的控制服务器,进而实现对该旅客所入住的房间内的智能设备的个性化控制,为旅客提前营造便利的入住体验,如提前打开空调并调到适宜的温度、提前打开电视并调到用户喜爱的频道、提前播放用 户喜爱的音乐等。当然,酒店方和旅客也可以随时通过客户端向网关平台发送控制请求,实现对智能设备的控制。
最后值得强调的是,在旅客使用旅客版客户端控制房间内的智能设备的应用场景下,出于酒店管理方的安全考虑,避免未入住该房间的旅客滥用控制权限,可以在旅客来到酒店前台登记入住时,由酒店在确定该旅客要入住的房间后,向网关平台发送一个权限开通请求,为该旅客开通他将要入住的房间内的智能设备的控制权限;也可以在网关平台收到酒店方同步的旅客入住信息后,由网关平台自动为该旅客开通控制相应房间内的智能设备的权限。
通过图3所示的方法,通过在网关平台上注册各物联网服务商的控制服务器,使得网关平台可以适配各物联网服务商的控制服务器,从而通过注册的各控制服务器间接控制各控制器。同时,可以向各酒店方提供网关平台对应的客户端,使得酒店方无需安装各物联网服务商提供的客户端,就可以通过网关平台使用各物联网服务商的控制器来进行智能设备的控制。如此以来,酒店方倘若将损坏的控制器更换为其他物联网服务商的控制器或同时使用两家以上的物联网服务商的控制器,则不必相应地更换新的客户端或同时使用两种以上的客户端,提升了用户使用物联网控制智能设备的便利性。
图4是本申请实施例提供的一种智能设备的控制方法流程图,包括以下步骤:
S401:接收用户输入的控制信息。
本方法的执行主体是用户使用的客户端。
S402:根据所述控制信息生成携带有所述控制信息的控制请求。
在本申请实施例中,所述控制信息包括所述用户选择的设备标识和设备执行信息。
在本申请实施例中,如果用户通过客户端在网关平台上注册,获得了用户标识,或网关平台关联了用户已经在互联网上注册的用户标识,则客户端生成的控制请求,还可以携带有用户的用户标识。
S403:向网关平台发送控制请求。
由于图4所示的方法与图3所示的方法是基于同一发明构思的技术方案,对图4所示方法的详细说明在本说明书中已有记载,不再赘述。
基于上述的智能设备的控制方法,本申请实施例还对应提供了智能设备的控制装置。
图5是本申请实施例提供,酒店场景下的智能设备控制方法流程图,包括以下步骤:
S501:网关平台接收客户端发送的订单数据。
在本申请实施例中,所述订单数据中包含所述用户选择的酒店标识。用户在客户端 的界面中进行操作,选择想要入住的酒店的酒店标识,客户端就将生成的订单数据发送给网关平台。值得说明的是,所述订单数据还可以包含预计用户入住酒店的时间、用户选择的房型等数据。
S502:网关平台将所述订单数据发送给酒店管理系统。
在本申请实施例中,网关平台可以将所述订单数据发送给酒店管理系统,以使酒店管理系统获知所述用户预定了房间。
S503:酒店管理系统根据所述订单数据为所述用户分配入住的房间,并向网关平台发送响应数据。
酒店管理系统根据用户入住的时间、想要入住的房型等数据,为用户分配入住的房间,并向网关平台发送响应数据,告知网关平台自己已经接单,为所述用户预留了房间。其中,所述响应数据中可以包含为所述用户分配的房间的房间标识和所述酒店标识。
S504:网关平台根据接收到的响应数据,建立所述用户标识、所述酒店标识和所述房间标识之间的映射关系,以及为所述用户分配控制权限。
网关平台接收到所述响应数据之后,就需要根据用户入住的预期时间、用户将要入住的酒店的酒店标识、用户将要入住的酒店的房间的房间标识,来为所述用户分配智能设备的控制权限,也就是说,网关平台会根据酒店管理系统反馈的房间预定情况,为所述用户开通特定时间段在特定酒店的特点房间内控制该房间内的智能设备的权限。
至此,所述用户预定酒店的房间成功,截止所述用户在入住当天前往酒店办理入住之前的准备工作已经完成。
S505:酒店管理系统向网关平台发送入住信息。
本步骤于所述用户在入住当天前往酒店办理入住时开始执行。所述用户可以向酒店方出示客户端上显示的验证码、二维码或其他电子凭证,酒店管理系统验证无误后,同意办理入住,然后向网关平台发送入住信息。
其中,所述入住信息包含所述酒店管理系统分配给所述用户的房间标识和入住时间。
S506:网关平台确定所述用户控制所述房间标识对应的房间中智能设备的控制权限。
在本申请实施例中,如果网关平台之前没有接收到酒店管理系统发送的响应数据,也就无法为所述用户分配控制权限,那么此时用户办理入住时,网关平台也会接收到酒店管理系统发送的入住信息,网关平台也可以根据入住信息包含的所述入住时间和房间标识,为所述用户分配控制权限,即建立所述用户标识、所述房间标识与所述控制权限之间的映射关系。
S507:酒店管理系统向网关平台发送确认入住信息,使网关平台开通所述用户控制所述房间标识对应的房间中智能设备的控制权限;以及客户端在接收到所述确认入住信息时,获取控制页面。
在本申请实施例中,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的。
在步骤S507中,网关平台已经确定了所述用户的控制权限,那么当网关平台进一步接收到酒店管理系统发送的确认入住信息,就可以为所述用户开通控制权限。
与此同时,所述用户使用的客户端也会接收到酒店管理系统发送的确认入住信息,并会获取控制页面。所述控制页面可以是如图2b所示的用户使用的客户端的控制页面。
S508:网关平台当接收到酒店管理系统发送的控制请求时,将所述控制请求转发给确定的所述控制服务器,进行相应智能设备的控制。
在本申请实施例中,酒店方为了更好的向所述用户提供服务,可以在为用户办理完入住手续之后,向网关平台发送控制请求,所述控制请求携带有待控制的智能设备的设备标识和第一设备执行信息。也就是说,在所述用户进入房间之前,酒店方先行控制该房间内的智能设备,所述第一设备执行信息可以是如空调调到适宜的温度、门锁自动打开、窗帘关闭等。
进一步地,如之前对图3所示的智能设备的控制方法的说明中所述的,网关平台还可以根据所述用户标识,从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,所述用户行为数据库中包含用户标识与历史用户行为数据之间的映射关系;根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息。
然后,将所述控制请求和所述第二设备执行信息一并发送给确定的所述控制服务器,使所述控制服务器根据所述第二设备执行信息和所述控制请求中的所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。如此以来,就可以为所述用户提供个性化的服务。
S509:酒店管理系统接收所述控制服务器发送的控制结果,并将所述控制结果发送至所述酒店管理系统。
当网关平台将所述控制请求发送给相应的控制服务器,并进而控制相应的智能设备后,控制服务器会向网关平台反馈控制结果,所述控制结果用于表征所述控制器按照所述控制指令控制所述智能设备的结果。然后,网关平台会将所述控制结果发送至所述酒店管理系统,以提示所述酒店管理系统对所述智能设备的控制结果。
至此,酒店管理系统已经为所述用户办理了入住手续,并适当控制了所述用户将要进入的房间内的智能设备,为用户提供了个性化服务。之后,用户进入房间,可以通过自己终端中安装的客户端,向网关平台发送控制请求,来控制自己入住的房间内的智能设备。
此外,即使没有用户需要入住,酒店管理系统也可以出于管理各房间内的智能设备的需要,向网关平台发送控制请求,来统一控制各房间内的智能设备。
S510:网关平台接收客户端发送的控制请求。
如前所述,在步骤S508中,客户端接收到确认入住请求后,获取了所述控制页面。在本步骤中,用户可以通过点击所述控制页面中的选项,向网络平台发送控制请求,所述控制请求中携带分配给用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息,使所述网络平台根据所述控制请求对所述待控制的智能设备进行控制。
S511:网关平台根据所述房间标识和所述用户的用户标识,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限。
网关平台接收到用户发送的控制请求后,要首选确定用户是否有控制所述设备标识对应的智能设备的权限。
S512:当确定的所述控制权限允许对所述待控制的智能设备进行控制时,根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,并将所述控制请求转发给确定的所述控制服务器。
当确定所述用户有权限控制所述设备标识对应的智能设备时,网关平台可以向客户端反馈结果,使得在所述控制页面中展示所述控制权限。
当确定的所述控制权限拒绝对所述待控制的智能设备进行控制时,网关平台向客户端发送提示消息,以提醒所述用户控制失败。
同样的,网关平台也可以根据所述用户的历史用户行为特征控制相应的智能设备,不再赘述。
图6是本申请实施例提供的一种智能设备的控制装置示意图,包括:
接收模块601,接收客户端发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
确定模块602,根据所述设备标识,从与所述控制装置建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,所述控制装置中存储不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系;
转发模块603,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
通过以下方式建立不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系:接收并存储与所述控制装置建立合作关系的各物联网服务商的控制服务器的服务器标识、各物联网服务商安装的控制器的控制器标识以及各智能设备的设备标识;针对每个设备标识,确定控制该设备标识对应的智能设备的控制器的控制器标识,建立该设备标识与确定的所述控制器的控制器标识之间的第一对应关系;以及针对每个服务器标识,确定该服务器标识对应的物联网服务商安装的控制器的控制器标识,建立该服务器标识与确定的所述控制器的控制器标识之间的第二对应关系;根据所述第一对应关系和所述第二对应关系,得到不同的智能设备的设备标识、控制所述智能设备的控制器的控制器标识以及控制所述智能设备的控制器的控制服务器的服务器标识之间的映射关系。
所述确定模块602,根据不同的智能设备的设备标识、控制所述智能设备的控制器的控制器标识以及控制所述智能设备的控制器的控制服务器的服务器标识之间的映射关系,确定与所述控制请求中携带的所述设备标识对应的服务器标识;将确定出的服务器标识所对应的控制服务器作为所述设备标识对应的控制服务器。
所述转发模块603,根据设定的网关控制协议,对所述控制请求进行封装,并将封装后的所述控制请求发送给确定的所述控制服务器,以使确定的所述控制服务器从封装后的所述控制请求中解析得到待控制的设备标识和所述第一设备执行信息,并根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
所述控制请求中还携带所述用户的用户标识;
所述装置还包括:查找模块604,在确定所述设备标识对应的控制服务器之后,根据所述用户标识,从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,所述用户行为数据库中包含用户标识与历史用户行为数据之间的映射关系;根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息;将所述第二设备执行信息发送给确定的所述控制服务器,以使所述控制服务器将所述第二设备执行信息发送给所述设备标识对应的控制器,使所述控制器根据所述控制指令和所述第二设备执行信息控制所述智能设备。
所述查找模块604,根据所述设备标识,确定所述设备标识对应的智能设备的设备类型;根据所述设备类型,从所述用户标识对应的所述历史用户行为数据中,确定与所述设备类型相关的历史用户行为数据;根据所述历史用户行为数据,确定所述用户标识对应的用户控制所述智能设备的用户行为特征;根据所述用户行为特征,生成所述第二设备执行信息。
通过以下方式得到所述用户行为数据库,具体包括:针对不同的用户标识,采集通过该用户标识发送的设备执行数据和/或用户业务数据,将采集到的所述设备执行数据和/或用户业务数据作为历史用户行为数据,并将该用户标识和所述历史用户行为数据存储至所述用户行为数据库中。
图7是本申请实施例提供的一种智能设备的控制装置,应用在网关平台中,所述装置包括:
接收模块701,接收用户输入的控制信息,所述控制信息包括待控制的智能设备的设备标识和第一设备执行信息;
生成模块702,根据所述控制信息生成携带有所述控制信息的控制请求;
发送模块703,向网关平台发送控制请求,以使所述网关平台根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,并将所述控制请求转发给确定的所述控制服务器,使确定的所述控制服务器生成控制指令,并将所述控制指令发送给相应的控制器进行相应智能设备的控制。
所述生成模块703,根据所述控制信息生成携带有所述控制信息和所述用户的用户标识的控制请求,以使接收到所述控制请求的网关平台根据所述用户标识从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,进而根据所述历史用户行为数据进行相应智能设备的控制。
图8是本申请实施例提供的一种智能设备的控制装置,包括:
第一接收模块801,接收用户发送的控制请求,所述控制请求中携带分配给所述用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息;
第一确定模块802,根据所述房间标识和所述用户的用户标识,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限;
第二确定模块803,当确定的所述控制权限允许对所述待控制的智能设备进行控制时,根据所述设备标识,从与所述控制装置建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
转发模块804,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
所述装置还包括:发送模块805,当确定的所述控制权限拒绝对所述待控制的智能设备进行控制时,发送提示消息,以提醒所述用户控制失败。
所述装置还包括:第二接收模块806,在接收用户发送的控制请求之前,接收酒店管理系统发送的入住信息,所述入住信息是所述酒店管理系统在接收到用户确认入住酒店后生成的,所述入住信息中包含所述酒店管理系统分配给所述用户的房间标识和入住时间;根据所述入住时间,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限,建立所述用户标识、所述房间标识与所述控制权限之间的映射关系。
所述装置还包括:第三接收模块807,接收用户发送订单数据,所述订单数据中包含所述用户选择的酒店标识;将所述订单数据发送给所述酒店标识对应的酒店管理系统,使所述酒店管理系统根据所述订单数据为所述用户分配入住的房间;接收所述酒店管理系统发送的响应数据,所述响应数据中包含为所述用户分配的房间的房间标识和所述酒店标识;建立所述用户标识、所述酒店标识和所述房间标识之间的映射关系。
所述装置还包括:分配模块808,在接收到所述酒店管理系统发送的响应数据时,根据所述订单数据中包含的所述用户入住所述酒店标识对应的酒店的时间,为所述用户分配所述用户控制所述房间标识对应的房间中智能设备的控制权限。
所述装置还包括:第四接收模块809,接收所述酒店系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的;在接收到所述确认入住信息时,开通所述用户控制所述房间标识对应的房间中智能设备的控制权限。
所述装置还包括:查找模块810,在确定所述设备标识对应的控制服务器后,根据所述用户标识,从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,所述用户行为数据库中包含用户标识与历史用户行为数据之间的映射关系;根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息;
所述转发模块804,将所述控制请求和所述第二设备执行信息一并发送给确定的所述控制服务器,使所述控制服务器根据所述第二设备执行信息和所述控制请求中的所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
图9是本申请实施例提供的一种智能设备的控制装置,包括:
接收模块901,接收酒店管理系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的,所述确认入住信息中包含所述酒店管理系统分配给所述用户的房间标识;
获取模块902,根据所述确认入住信息,获取所述用户控制所述房间标识对应的房间的智能设备的控制页面;
发送模块903,基于所述控制页面向网络平台发送控制请求,所述控制请求中携带分配给用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息,使所述网络平台根据所述控制请求对所述待控制的智能设备进行控制。
所述装置还包括:展示模块904,根据所述确认入住信息,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限;在所述控制页面中展示所述控制权限。
图10是本申请实施例提供的一种智能设备的控制装置,包括:
第一接收模块1001,接收酒店管理系统发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
确定模块1002,根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
转发模块1003,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
所述控制请求中还携带控制指令的发送时间;
所述转发模块1003,根据所述发送时间,将所述控制请求转发给确定的所述控制服务器。
所述装置还包括:第二接收模块1004,在接收酒店管理系统发送的控制请求之前,接收所述酒店系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的;
所述转发模块1003,根据所述确认入住信息中包含的入住时间,将所述控制请求转发给确定的所述控制服务器。
所述装置还包括:第三接收模块1005,接收所述控制服务器发送的控制结果,所述控制结果用于表征所述控制器按照所述控制指令控制所述智能设备的结果;将所述控制结果发送至所述酒店管理系统,以提示所述酒店管理系统对所述智能设备的控制结果。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如, 对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现, 或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的 示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来 说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (44)

  1. 一种智能设备的控制方法,其特征在于,应用在网关平台中,所述方法包括:
    接收客户端发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
    根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,所述网关平台中存储不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系;
    将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  2. 根据权利要求1所述的控制方法,其特征在于,通过以下方式建立不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系:
    接收并存储与所述网关平台建立合作关系的各物联网服务商的控制服务器的服务器标识、各物联网服务商安装的控制器的控制器标识以及各智能设备的设备标识;
    针对每个设备标识,确定控制该设备标识对应的智能设备的控制器的控制器标识,建立该设备标识与确定的所述控制器的控制器标识之间的第一对应关系;以及针对每个服务器标识,确定该服务器标识对应的物联网服务商安装的控制器的控制器标识,建立该服务器标识与确定的所述控制器的控制器标识之间的第二对应关系;
    根据所述第一对应关系和所述第二对应关系,得到不同的智能设备的设备标识、控制所述智能设备的控制器的控制器标识以及控制所述智能设备的控制器的控制服务器的服务器标识之间的映射关系。
  3. 根据权利要求2所述的控制方法,其特征在于,根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,具体包括:
    根据不同的智能设备的设备标识、控制所述智能设备的控制器的控制器标识以及控制所述智能设备的控制器的控制服务器的服务器标识之间的映射关系,确定与所述控制请求中携带的所述设备标识对应的服务器标识;
    将确定出的服务器标识所对应的控制服务器作为所述设备标识对应的控制服务器。
  4. 根据权利要求3所述的控制方法,其特征在于,将所述控制请求转发给确定的所述控制服务器,具体包括:
    根据设定的网关控制协议,对所述控制请求进行封装,并将封装后的所述控制请求发送给确定的所述控制服务器,以使确定的所述控制服务器从封装后的所述控制请求中解析得到待控制的设备标识和所述第一设备执行信息,并根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  5. 根据权利要求1~4任一项所述的控制方法,其特征在于,所述控制请求中还携带用户的用户标识;
    在确定所述设备标识对应的控制服务器之后,所述方法还包括:
    根据所述用户标识,从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,所述用户行为数据库中包含用户标识与历史用户行为数据之间的映射关系;
    根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息;
    将所述第二设备执行信息发送给确定的所述控制服务器,以使所述控制服务器将所述第二设备执行信息发送给所述设备标识对应的控制器,使所述控制器根据所述控制指令和所述第二设备执行信息控制所述智能设备。
  6. 根据权利要求5所述的控制方法,其特征在于,根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息,具体包括:
    根据所述设备标识,确定所述设备标识对应的智能设备的设备类型;
    根据所述设备类型,从所述用户标识对应的所述历史用户行为数据中,确定与所述设备类型相关的历史用户行为数据;
    根据所述历史用户行为数据,确定所述用户标识对应的用户控制所述智能设备的用户行为特征;
    根据所述用户行为特征,生成所述第二设备执行信息。
  7. 根据权利要求6所述的控制方法,其特征在于,通过以下方式得到所述用户行为数据库,具体包括:
    针对不同的用户标识,采集通过该用户标识发送的设备执行数据和/或用户业务数据,将采集到的所述设备执行数据和/或用户业务数据作为历史用户行为数据,并将该用户标识和所述历史用户行为数据存储至所述用户行为数据库中。
  8. 一种智能设备的控制方法,其特征在于,应用在网关平台中,所述方法包括:
    接收用户输入的控制信息,所述控制信息包括待控制的智能设备的设备标识和第一设备执行信息;
    根据所述控制信息生成携带有所述控制信息的控制请求;
    向网关平台发送控制请求,以使所述网关平台根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,并将所述控制请求转发给确定的所述控制服务器,使确定的所述控制服务器生成控制指令,并将所述控制指令发送给相应的控制器进行相应智能设备的控制。
  9. 根据权利要求8所述的控制方法,其特征在于,根据所述控制信息生成携带有所述控制信息的控制请求,具体包括:
    根据所述控制信息生成携带有所述控制信息和所述用户的用户标识的控制请求,以使接收到所述控制请求的网关平台根据所述用户标识从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,进而根据所述历史用户行为数据进行相应智能设备的控制。
  10. 一种智能设备的控制方法,其特征在于,应用在网关平台中,所述方法包括:
    接收用户发送的控制请求,所述控制请求中携带分配给所述用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息;
    根据所述房间标识和所述用户的用户标识,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限;
    当确定的所述控制权限允许对所述待控制的智能设备进行控制时,根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
    将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  11. 根据权利要求10所述的控制方法,其特征在于,所述方法还包括:
    当确定的所述控制权限拒绝对所述待控制的智能设备进行控制时,发送提示消息,以提醒所述用户控制失败。
  12. 根据权利要求10或11所述的控制方法,其特征在于,在接收用户发送的控制请求之前,所述方法还包括:
    接收酒店管理系统发送的入住信息,所述入住信息是所述酒店管理系统在接收到用户确认入住酒店后生成的,所述入住信息中包含所述酒店管理系统分配给所述用户的房间标识和入住时间;
    根据所述入住时间,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限,建立所述用户标识、所述房间标识与所述控制权限之间的映射关系。
  13. 根据权利要求10或11所述的控制方法,其特征在于,所述方法还包括:
    接收用户发送订单数据,所述订单数据中包含所述用户选择的酒店标识;
    将所述订单数据发送给所述酒店标识对应的酒店管理系统,使所述酒店管理系统根据所述订单数据为所述用户分配入住的房间;
    接收所述酒店管理系统发送的响应数据,所述响应数据中包含为所述用户分配的房间的房间标识和所述酒店标识;
    建立所述用户标识、所述酒店标识和所述房间标识之间的映射关系。
  14. 根据权利要求13所述的控制方法,其特征在于,在接收到所述酒店管理系统发送的响应数据时,所述方法还包括:
    根据所述订单数据中包含的所述用户入住所述酒店标识对应的酒店的时间,为所述用户分配所述用户控制所述房间标识对应的房间中智能设备的控制权限。
  15. 根据权利要求13或14所述的控制方法,其特征在于,所述方法还包括:
    接收所述酒店系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的;
    在接收到所述确认入住信息时,开通所述用户控制所述房间标识对应的房间中智能设备的控制权限。
  16. 根据权利要求10所述的控制方法,其特征在于,在确定所述设备标识对应的控制服务器后,所述方法还包括:
    根据所述用户标识,从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,所述用户行为数据库中包含用户标识与历史用户行为数据之间的映射关系;
    根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息;
    将所述控制请求转发给确定的所述控制服务器,包括:
    将所述控制请求和所述第二设备执行信息一并发送给确定的所述控制服务器,使所述控制服务器根据所述第二设备执行信息和所述控制请求中的所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  17. 一种智能设备的控制方法,其特征在于,包括:
    接收酒店管理系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在 为用户办理入住手续后生成的,所述确认入住信息中包含所述酒店管理系统分配给所述用户的房间标识;
    根据所述确认入住信息,获取所述用户控制所述房间标识对应的房间的智能设备的控制页面;
    基于所述控制页面向网络平台发送控制请求,所述控制请求中携带分配给用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息,使所述网络平台根据所述控制请求对所述待控制的智能设备进行控制。
  18. 根据权利要求17所述的控制方法,其特征在于,所述方法还包括:
    根据所述确认入住信息,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限;
    在所述控制页面中展示所述控制权限。
  19. 一种智能设备的控制方法,其特征在于,包括:
    接收酒店管理系统发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
    根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
    将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  20. 根据权利要求19所述的控制方法,其特征在于,所述控制请求中还携带控制指令的发送时间;
    将所述控制请求转发给确定的所述控制服务器,包括:
    根据所述发送时间,将所述控制请求转发给确定的所述控制服务器。
  21. 根据权利要求19所述的控制方法,其特征在于,在接收酒店管理系统发送的控制请求之前,所述方法还包括:
    接收所述酒店系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的;
    将所述控制请求转发给确定的所述控制服务器,包括:
    根据所述确认入住信息中包含的入住时间,将所述控制请求转发给确定的所述控制服务器。
  22. 根据权利要求19所述的控制方法,其特征在于,所述方法还包括:
    接收所述控制服务器发送的控制结果,所述控制结果用于表征所述控制器按照所述控制指令控制所述智能设备的结果;
    将所述控制结果发送至所述酒店管理系统,以提示所述酒店管理系统对所述智能设备的控制结果。
  23. 一种智能设备的控制装置,其特征在于,包括:
    接收模块,接收客户端发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
    确定模块,根据所述设备标识,从与所述控制装置建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,所述控制装置中存储不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系;
    转发模块,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  24. 根据权利要求23所述的控制装置,其特征在于,通过以下方式建立不同的智能设备的设备标识与控制所述智能设备的控制服务器的服务器标识之间的映射关系:
    接收并存储与所述控制装置建立合作关系的各物联网服务商的控制服务器的服务器标识、各物联网服务商安装的控制器的控制器标识以及各智能设备的设备标识;
    针对每个设备标识,确定控制该设备标识对应的智能设备的控制器的控制器标识,建立该设备标识与确定的所述控制器的控制器标识之间的第一对应关系;以及针对每个服务器标识,确定该服务器标识对应的物联网服务商安装的控制器的控制器标识,建立该服务器标识与确定的所述控制器的控制器标识之间的第二对应关系;
    根据所述第一对应关系和所述第二对应关系,得到不同的智能设备的设备标识、控制所述智能设备的控制器的控制器标识以及控制所述智能设备的控制器的控制服务器的服务器标识之间的映射关系。
  25. 根据权利要求24所述的控制装置,其特征在于,所述确定模块,根据不同的智能设备的设备标识、控制所述智能设备的控制器的控制器标识以及控制所述智能设备的控制器的控制服务器的服务器标识之间的映射关系,确定与所述控制请求中携带的所述设备标识对应的服务器标识;将确定出的服务器标识所对应的控制服务器作为所述设备标识对应的控制服务器。
  26. 根据权利要求25所述的控制装置,其特征在于,所述转发模块,根据设定的网关控制协议,对所述控制请求进行封装,并将封装后的所述控制请求发送给确定的所述控制服务器,以使确定的所述控制服务器从封装后的所述控制请求中解析得到待控制的设备标识和所述第一设备执行信息,并根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  27. 根据权利要求23~26任一项所述的控制装置,其特征在于,所述控制请求中还携带所述用户的用户标识;
    所述装置还包括:查找模块,在确定所述设备标识对应的控制服务器之后,根据所述用户标识,从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,所述用户行为数据库中包含用户标识与历史用户行为数据之间的映射关系;根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息;将所述第二设备执行信息发送给确定的所述控制服务器,以使所述控制服务器将所述第二设备执行信息发送给所述设备标识对应的控制器,使所述控制器根据所述控制指令和所述第二设备执行信息控制所述智能设备。
  28. 根据权利要求27所述的控制装置,其特征在于,所述查找模块,根据所述设备标识,确定所述设备标识对应的智能设备的设备类型;根据所述设备类型,从所述用户标识对应的所述历史用户行为数据中,确定与所述设备类型相关的历史用户行为数据;根据所述历史用户行为数据,确定所述用户标识对应的用户控制所述智能设备的用户行为特征;根据所述用户行为特征,生成所述第二设备执行信息。
  29. 根据权利要求28所述的控制装置,其特征在于,通过以下方式得到所述用户行为数据库,具体包括:
    针对不同的用户标识,采集通过该用户标识发送的设备执行数据和/或用户业务数据,将采集到的所述设备执行数据和/或用户业务数据作为历史用户行为数据,并将该用户标识和所述历史用户行为数据存储至所述用户行为数据库中。
  30. 一种智能设备的控制装置,其特征在于,应用在网关平台中,所述装置包括:
    接收模块,接收用户输入的控制信息,所述控制信息包括待控制的智能设备的设备标识和第一设备执行信息;
    生成模块,根据所述控制信息生成携带有所述控制信息的控制请求;
    发送模块,向网关平台发送控制请求,以使所述网关平台根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器,并 将所述控制请求转发给确定的所述控制服务器,使确定的所述控制服务器生成控制指令,并将所述控制指令发送给相应的控制器进行相应智能设备的控制。
  31. 根据权利要求30所述的控制装置,其特征在于,所述生成模块,根据所述控制信息生成携带有所述控制信息和所述用户的用户标识的控制请求,以使接收到所述控制请求的网关平台根据所述用户标识从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,进而根据所述历史用户行为数据进行相应智能设备的控制。
  32. 一种智能设备的控制装置,其特征在于,所述装置包括:
    第一接收模块,接收用户发送的控制请求,所述控制请求中携带分配给所述用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息;
    第一确定模块,根据所述房间标识和所述用户的用户标识,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限;
    第二确定模块,当确定的所述控制权限允许对所述待控制的智能设备进行控制时,根据所述设备标识,从与所述控制装置建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
    转发模块,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  33. 根据权利要求32所述的控制装置,其特征在于,所述装置还包括:
    发送模块,当确定的所述控制权限拒绝对所述待控制的智能设备进行控制时,发送提示消息,以提醒所述用户控制失败。
  34. 根据权利要求32或33所述的控制装置,其特征在于,所述装置还包括:第二接收模块,在接收用户发送的控制请求之前,接收酒店管理系统发送的入住信息,所述入住信息是所述酒店管理系统在接收到用户确认入住酒店后生成的,所述入住信息中包含所述酒店管理系统分配给所述用户的房间标识和入住时间;根据所述入住时间,确定所述用户控制所述房间标识对应的房间中智能设备的控制权限,建立所述用户标识、所述房间标识与所述控制权限之间的映射关系。
  35. 根据权利要求32或33所述的控制装置,其特征在于,所述装置还包括:第三接收模块,接收用户发送订单数据,所述订单数据中包含所述用户选择的酒店标识;将所述订单数据发送给所述酒店标识对应的酒店管理系统,使所述酒店管理系统根据所述订单数据为所述用户分配入住的房间;接收所述酒店管理系统发送的响应数据,所述响应 数据中包含为所述用户分配的房间的房间标识和所述酒店标识;建立所述用户标识、所述酒店标识和所述房间标识之间的映射关系。
  36. 根据权利要求35所述的控制装置,其特征在于,所述装置还包括:分配模块,在接收到所述酒店管理系统发送的响应数据时,根据所述订单数据中包含的所述用户入住所述酒店标识对应的酒店的时间,为所述用户分配所述用户控制所述房间标识对应的房间中智能设备的控制权限。
  37. 根据权利要求35或36所述的控制装置,其特征在于,所述装置还包括:第四接收模块,接收所述酒店系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的;在接收到所述确认入住信息时,开通所述用户控制所述房间标识对应的房间中智能设备的控制权限。
  38. 根据权利要求32所述的控制装置,其特征在于,所述装置还包括:查找模块,在确定所述设备标识对应的控制服务器后,根据所述用户标识,从用户行为数据库中查找与所述用户标识对应的历史用户行为数据,所述用户行为数据库中包含用户标识与历史用户行为数据之间的映射关系;根据所述设备标识和所述历史用户行为数据,生成第二设备执行信息;
    所述转发模块,将所述控制请求和所述第二设备执行信息一并发送给确定的所述控制服务器,使所述控制服务器根据所述第二设备执行信息和所述控制请求中的所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  39. 一种智能设备的控制装置,其特征在于,包括:
    接收模块,接收酒店管理系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的,所述确认入住信息中包含所述酒店管理系统分配给所述用户的房间标识;
    获取模块,根据所述确认入住信息,获取所述用户控制所述房间标识对应的房间的智能设备的控制页面;
    发送模块,基于所述控制页面向网络平台发送控制请求,所述控制请求中携带分配给用户的房间标识、待控制的智能设备的设备标识和第一设备执行信息,使所述网络平台根据所述控制请求对所述待控制的智能设备进行控制。
  40. 根据权利要求39所述的控制装置,其特征在于,所述装置还包括:
    展示模块,根据所述确认入住信息,确定所述用户控制所述房间标识对应的房间中 智能设备的控制权限;在所述控制页面中展示所述控制权限。
  41. 一种智能设备的控制装置,其特征在于,包括:
    第一接收模块,接收酒店管理系统发送的控制请求,所述控制请求中携带待控制的智能设备的设备标识和第一设备执行信息;
    确定模块,根据所述设备标识,从与所述网关平台建立合作关系的各控制服务器中确定所述设备标识对应的控制服务器;
    转发模块,将所述控制请求转发给确定的所述控制服务器,以使确定的所述控制服务器根据所述第一设备执行信息生成控制指令,并将所述控制指令发送给所述设备标识对应的控制器,使所述控制器控制所述智能设备。
  42. 根据权利要求41所述的控制装置,其特征在于,所述控制请求中还携带控制指令的发送时间;
    所述转发模块,根据所述发送时间,将所述控制请求转发给确定的所述控制服务器。
  43. 根据权利要求41所述的控制装置,其特征在于,所述装置还包括:第二接收模块,在接收酒店管理系统发送的控制请求之前,接收所述酒店系统发送的确认入住信息,所述确认入住信息是所述酒店管理系统在为用户办理入住手续后生成的;
    所述转发模块,根据所述确认入住信息中包含的入住时间,将所述控制请求转发给确定的所述控制服务器。
  44. 根据权利要求41所述的控制装置,其特征在于,所述装置还包括:第三接收模块,接收所述控制服务器发送的控制结果,所述控制结果用于表征所述控制器按照所述控制指令控制所述智能设备的结果;将所述控制结果发送至所述酒店管理系统,以提示所述酒店管理系统对所述智能设备的控制结果。
PCT/CN2018/072053 2017-01-20 2018-01-10 一种智能设备的控制方法及装置 Ceased WO2018133718A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2019539230A JP2020510898A (ja) 2017-01-20 2018-01-10 スマートデバイスを制御するための方法及び装置
KR1020197020494A KR20190103198A (ko) 2017-01-20 2018-01-10 스마트 디바이스 제어 방법 및 장치
US16/517,213 US20190342112A1 (en) 2017-01-20 2019-07-19 Method and apparatus for controlling smart device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710041288.0 2017-01-20
CN201710041288.0A CN108337279B (zh) 2017-01-20 2017-01-20 一种智能设备的控制方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/517,213 Continuation US20190342112A1 (en) 2017-01-20 2019-07-19 Method and apparatus for controlling smart device

Publications (1)

Publication Number Publication Date
WO2018133718A1 true WO2018133718A1 (zh) 2018-07-26

Family

ID=62908357

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/072053 Ceased WO2018133718A1 (zh) 2017-01-20 2018-01-10 一种智能设备的控制方法及装置

Country Status (6)

Country Link
US (1) US20190342112A1 (zh)
JP (1) JP2020510898A (zh)
KR (1) KR20190103198A (zh)
CN (1) CN108337279B (zh)
TW (1) TW201828219A (zh)
WO (1) WO2018133718A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10681207B1 (en) 2019-01-22 2020-06-09 International Business Machines Corporation Caller identity verification based on unique multi-device signatures
JP2020150507A (ja) * 2019-03-15 2020-09-17 ダイキン工業株式会社 機器管理システム、および、機器管理サービスの提供方法
CN113162966A (zh) * 2021-01-13 2021-07-23 广东智能调试科技有限公司 一种电力控制保护项目施工智能安措系统

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11700401B2 (en) 2014-02-05 2023-07-11 Enseo, Llc Geolocationing system and method for use of same
US11641490B2 (en) 2014-02-05 2023-05-02 Enseo, Llc Geolocationing system and method for use of same
US11700400B2 (en) 2014-02-05 2023-07-11 Enseo, Llc Geolocationing system and method for use of same
US11641489B2 (en) 2014-02-05 2023-05-02 Enseo, Llc Geolocationing system and method for use of same
US11700399B2 (en) 2014-02-05 2023-07-11 Enseo, Llc Geolocationing system and method for use of same
US11683534B2 (en) 2014-02-05 2023-06-20 Enseo, Llc Geolocationing system and method for use of same
US11553214B2 (en) * 2014-02-05 2023-01-10 Enseo, Llc Thermostat and system and method for use of same
US12199791B2 (en) 2017-09-08 2025-01-14 Enseo, Llc Hospitality property management tool and system and method for use of same
US12237941B2 (en) 2017-09-08 2025-02-25 Enseo, Llc Hospitality property management tool and system and method for use of same
US12052459B2 (en) 2017-09-22 2024-07-30 Enseo, Llc Thermostat with interactive features and system and method for use of same
WO2019061254A1 (en) * 2017-09-29 2019-04-04 Interdigital Ce Patent Holdings INTELLIGENT CONSTRUCTION SOLUTION AT LOW COST ACTIVATED BY AN INTELLIGENT GATEWAY
US10489338B1 (en) * 2018-09-05 2019-11-26 Quanta Computer Inc. Method and system for streamlined server design
CN111182013B (zh) * 2018-11-09 2022-06-21 阿里巴巴集团控股有限公司 空间数字化平台系统及构建方法、交互方法、装置及设备
US10992498B2 (en) * 2018-12-31 2021-04-27 Enseo, Llc Gateway device and system and method for use of same
US11521483B2 (en) * 2018-12-31 2022-12-06 Enseo, Llc Thermostat and system and method for use of same
US11507116B2 (en) * 2018-12-31 2022-11-22 Enseo, Llc Thermostat and system and method for use of same
US11132649B2 (en) 2019-01-18 2021-09-28 Johnson Controls Tyco IP Holdings LLP Smart parking lot system
CN111508483B (zh) * 2019-01-31 2023-04-18 北京小米智能科技有限公司 设备控制方法及装置
WO2020168568A1 (zh) * 2019-02-22 2020-08-27 深圳市欢太科技有限公司 数据处理方法、装置、电子设备及可读存储介质
WO2020194059A1 (en) * 2019-03-25 2020-10-01 The Hotel Communication Network, Inc. Managing hotel guest housekeeping within an automated guest satisfaction and services scheduling system
CN113348725B (zh) * 2019-05-16 2023-07-14 深圳市欢太科技有限公司 设备操作方法、装置、网关、电子设备及计算机可读介质
US10841121B1 (en) * 2019-09-30 2020-11-17 Hilton International Holding Llc Hospitality system and method of using the same
US11004284B2 (en) * 2019-11-09 2021-05-11 Azure Katherine Zilka Smart home system, method, and computer program
US11538356B2 (en) 2019-11-15 2022-12-27 Samsung Electronics Co., Ltd. Adaptable presentation for network-connected electronic devices
CN111750493B (zh) * 2020-06-24 2021-08-13 珠海格力电器股份有限公司 控制方法、控制装置和云端控制系统
US11564194B1 (en) * 2020-06-29 2023-01-24 Amazon Technologies, Inc. Device communication
CN111741136A (zh) * 2020-08-25 2020-10-02 翱捷科技(深圳)有限公司 自动配网方法及系统和服务器
CN112071320B (zh) * 2020-09-01 2024-11-01 合肥飞尔智能科技有限公司 一种智能设备语音控制系统及方法
US12219287B2 (en) * 2020-09-25 2025-02-04 Arris Enterprises Llc System and method for dynamically configuring the output of a device
CN112261096B (zh) * 2020-10-12 2023-04-18 Oppo(重庆)智能科技有限公司 物联网设备的控制方法、装置、物联网设备及存储介质
CN113194139A (zh) * 2021-04-28 2021-07-30 支付宝(杭州)信息技术有限公司 车辆远程控制方法、装置、系统、电子设备及存储介质
CN113380245B (zh) * 2021-06-01 2022-12-23 青岛海尔空调器有限总公司 一种信息处理方法、装置及系统
CN113810486B (zh) * 2021-09-13 2022-12-20 珠海格力电器股份有限公司 物联网平台对接方法、装置、电子设备及存储介质
CN114501361A (zh) * 2021-12-30 2022-05-13 浙江猫精人工智能科技有限公司 配网方法、用户设置方法、服务器、控制终端及存储介质
CN116708513A (zh) * 2023-07-20 2023-09-05 北京电信规划设计院有限公司 智能共享设备管理方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685467A (zh) * 2013-11-15 2014-03-26 伏治军 一种物联网互联互通平台及其通信方法
CN105306676A (zh) * 2015-09-14 2016-02-03 北京奇虎科技有限公司 接入智能设备的方法、装置及系统
CN106210017A (zh) * 2016-07-05 2016-12-07 Tcl集团股份有限公司 一种基于微信平台的智能设备控制方法及其系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521615B (zh) * 2009-03-31 2013-03-13 深圳创维数字技术股份有限公司 一种异种网络之间的通信方法及智能设备的互联网络
CN103685775B (zh) * 2012-09-06 2016-06-22 中兴通讯股份有限公司 基于呼叫中心的智能家居系统及其实现方法
CN105743841A (zh) * 2014-12-08 2016-07-06 丰唐物联技术(深圳)有限公司 智能酒店的房间设备控制权限分配方法、客户端及系统
CN204695088U (zh) * 2015-05-12 2015-10-07 广州远云网络科技有限公司 一种家用电器智能控制系统
CN105388777B (zh) * 2015-12-16 2019-04-05 江苏惠通集团有限责任公司 智能家居控制系统
CN105759625A (zh) * 2016-03-29 2016-07-13 快住智能科技(苏州)有限公司 一种智慧酒店的物联网系统及物联网方法
CN106292327A (zh) * 2016-10-13 2017-01-04 严智勇 居室中央控制管理系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685467A (zh) * 2013-11-15 2014-03-26 伏治军 一种物联网互联互通平台及其通信方法
CN105306676A (zh) * 2015-09-14 2016-02-03 北京奇虎科技有限公司 接入智能设备的方法、装置及系统
CN106210017A (zh) * 2016-07-05 2016-12-07 Tcl集团股份有限公司 一种基于微信平台的智能设备控制方法及其系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10681207B1 (en) 2019-01-22 2020-06-09 International Business Machines Corporation Caller identity verification based on unique multi-device signatures
JP2020150507A (ja) * 2019-03-15 2020-09-17 ダイキン工業株式会社 機器管理システム、および、機器管理サービスの提供方法
WO2020189378A1 (ja) * 2019-03-15 2020-09-24 ダイキン工業株式会社 機器管理システム、及び機器管理サービスの提供方法
US12031739B2 (en) 2019-03-15 2024-07-09 Daikin Industries, Ltd. Device management system and device management service providing method
CN113162966A (zh) * 2021-01-13 2021-07-23 广东智能调试科技有限公司 一种电力控制保护项目施工智能安措系统

Also Published As

Publication number Publication date
JP2020510898A (ja) 2020-04-09
TW201828219A (zh) 2018-08-01
CN108337279A (zh) 2018-07-27
KR20190103198A (ko) 2019-09-04
CN108337279B (zh) 2021-01-29
US20190342112A1 (en) 2019-11-07

Similar Documents

Publication Publication Date Title
WO2018133718A1 (zh) 一种智能设备的控制方法及装置
US11652821B2 (en) One step security system in a network storage system
CN112925647B (zh) 云边协同系统、集群资源的控制方法及装置
US10185534B2 (en) Control method, controller, and recording medium
JP6700344B2 (ja) 情報交換方法、装置、オーディオ端末、コンピュータ可読記憶媒体及びプログラム
AU2015292985B2 (en) Subscriber identification module management method and electronic device supporting the same
US20110314497A1 (en) Method of integrating content on guest device with hospitality media system, and hospitality media system thereof
JP6978529B2 (ja) 情報管理方法
CN107948231B (zh) 基于场景的服务提供方法、系统和操作系统
CN111641645A (zh) 动态创建用于媒体控制的热点的方法和系统
WO2017192936A1 (en) Triggered queue transformation
TWI738832B (zh) 基於場景的應用操作方法、裝置、終端設備和操作系統
US20200349272A1 (en) Prioritized link establishment for data transfer using task scheduling
CN110531634B (zh) 一种住宿管理系统、方法、装置及电子设备
US10462254B2 (en) Data sharing method and electronic device thereof
US10627789B2 (en) User device, driving method of user device, apparatus for providing service and driving method of apparatus for providing service
HK1258488A1 (zh) 一种智能设备的控制方法及装置
HK1258488B (zh) 一种智能设备的控制方法及装置
CN113886724B (zh) 一种房间智能设备的远程认证及展示方法、信息展示方法
JP7819527B2 (ja) 利用対象管理装置、利用対象管理システム、利用対象管理方法及びプログラム
CN116437303A (zh) 车辆的服务处理方法及装置
CN116628640A (zh) 用户数据资产的管理方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18742034

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20197020494

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2019539230

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18742034

Country of ref document: EP

Kind code of ref document: A1