CN104954147A - Equipment-waking method, gateway equipment, and server - Google Patents
Equipment-waking method, gateway equipment, and server Download PDFInfo
- Publication number
- CN104954147A CN104954147A CN201410123522.0A CN201410123522A CN104954147A CN 104954147 A CN104954147 A CN 104954147A CN 201410123522 A CN201410123522 A CN 201410123522A CN 104954147 A CN104954147 A CN 104954147A
- Authority
- CN
- China
- Prior art keywords
- target device
- trigger
- target
- triggering
- gateway
- 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.)
- Pending
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
一种用于设备唤醒的方法,包括:当需要与目标设备进行数据交互时,如果本设备与所述目标设备之间的数据链路断开,则使用本设备或网络侧根据所述目标设备的触发能力信息确定的触发方式,触发所述目标设备重新建立与本设备之间的数据链路。本发明还公开了一种网关设备和服务器。本发明通过目标设备提供的触发能力信息确定触发方式,解决了未在服务器上注册的机器设备,无法在睡眠状态下恢复与网关设备的数据链路的问题。
A method for waking up a device, comprising: when data interaction with a target device is required, if the data link between the device and the target device is disconnected, using the device or the network side according to the target device The trigger mode determined by the trigger capability information triggers the target device to re-establish the data link with the device. The invention also discloses a gateway device and a server. The invention determines the trigger mode through the trigger capability information provided by the target device, and solves the problem that the machine device not registered on the server cannot restore the data link with the gateway device in a sleep state.
Description
技术领域technical field
本发明属于无线通信技术领域,尤其涉及一种用于设备唤醒的方法、网关设备及服务器。The invention belongs to the technical field of wireless communication, and in particular relates to a method for waking up a device, a gateway device and a server.
背景技术Background technique
目前,普遍的机器设备都具有节能环保的功能,机器设备在一段时间内如没有接收到控制命令,会自动进入睡眠状态,关闭其自身的所有功能或关闭其自身没有被使用的功能,以节约能源消耗。例如计算机、智能家电等设备。像一般的联网的机器设备通过网关设备与服务器连接,机器设备注册在网关设备上,网关设备注册在网络侧的服务器上,在机器设备睡眠的情况下,机器设备与网关设备之间的数据链路断开,导致服务器无法再通过网关设备向机器设备发送数据。对于机器设备的唤醒,目前采用的是机器设备在服务器上注册,服务器已知机器设备的地址信息及触发方式,当获知机器设备处于睡眠状态时,可通过已知的触发方式控制网关设备触发机器设备与网关设备之间重新建立数据链路,恢复通讯功能。但是对于未在服务器上进行注册的机器设备,服务器无法对机器设备进行唤醒操作,导致机器设备与网关设备的数据链路无法恢复,即无法进行数据通信。At present, common machinery and equipment have the function of energy saving and environmental protection. If the equipment does not receive a control command for a period of time, it will automatically enter the sleep state, turn off all its own functions or turn off its own unused functions to save energy. Energy consumption. Such as computers, smart home appliances and other equipment. Like a general networked machine device, it is connected to the server through a gateway device. The machine device is registered on the gateway device, and the gateway device is registered on the server on the network side. When the machine device is sleeping, the data link between the machine device and the gateway device The path is disconnected, so that the server can no longer send data to the machine device through the gateway device. For the wake-up of the machine equipment, the current method is that the machine equipment is registered on the server. The server knows the address information and trigger mode of the machine equipment. When it is known that the machine equipment is in a sleep state, it can control the gateway device to trigger the machine through the known trigger mode. The data link is re-established between the device and the gateway device, and the communication function is restored. However, for a machine device that has not been registered on the server, the server cannot wake up the machine device, so that the data link between the machine device and the gateway device cannot be restored, that is, data communication cannot be performed.
发明内容Contents of the invention
有鉴于此,本发明的一个目的是提出一种用于设备唤醒的方法,以解决现有技术中未在服务器上注册的机器设备,无法在睡眠状态下恢复与网关设备的数据链路的问题。In view of this, an object of the present invention is to propose a method for device wake-up, to solve the problem in the prior art that the machine device not registered on the server cannot restore the data link with the gateway device in the sleep state .
在一些说明性实施例中,所述用于设备唤醒的方法包括:当需要与目标设备进行数据交互时,如果本设备与所述目标设备之间的数据链路断开,则使用本设备或网络侧根据所述目标设备的触发能力信息确定的触发方式,触发所述目标设备重新建立与本设备之间的数据链路。In some demonstrative embodiments, the method for waking up the device includes: when data interaction with the target device is required, if the data link between the device and the target device is disconnected, using the device or The network side triggers the target device to re-establish the data link with the local device according to the trigger mode determined by the trigger capability information of the target device.
在一些说明性实施例中,所述用于设备唤醒的方法包括:在需要通过网关设备与目标设备进行数据交互时,若收到所述网关设备与所述目标设备的数据链路断开的通知,则通知所述网关设备对所述目标设备进行触发操作。In some demonstrative embodiments, the method for waking up the device includes: when data interaction between the gateway device and the target device is required, if receiving a notification that the data link between the gateway device and the target device is disconnected notification, then notify the gateway device to perform a trigger operation on the target device.
在一些说明性实施例中,所述用于设备唤醒的方法包括:在需要通过网关设备与目标设备进行数据交互时,若收到所述网关设备与所述目标设备之间的数据链路断开的通知,则根据预先获知的目标设备的触发能力信息确定触发方式;将确定的所述触发方式发送给所述网关设备,指示所述网关设备利用所述确定的触发方式触发所述目标设备重新建立与本设备之间的数据链路。In some demonstrative embodiments, the method for waking up the device includes: when it is necessary to perform data interaction with the target device through the gateway device, if it is received that the data link between the gateway device and the target device is broken, If the notification is enabled, determine the trigger mode according to the trigger capability information of the target device known in advance; send the determined trigger mode to the gateway device, and instruct the gateway device to use the determined trigger mode to trigger the target device Re-establish the data link with this device.
本发明的另一个目的是提供一种网关设备。Another object of the present invention is to provide a gateway device.
在一些说明性实施例中,所述网关设备包括:第一交互模块,用于当需要与目标设备进行数据交互时,查看本设备与所述目标设备之间的数据链路是否断开;以及,触发模块,用于在本设备与所述目标设备之间的数据链路断开时,使用本设备或网络侧根据所述目标设备的触发能力信息确定的触发方式,触发所述目标设备重新建立与本设备之间的数据链路。In some demonstrative embodiments, the gateway device includes: a first interaction module, configured to check whether the data link between the device and the target device is disconnected when data interaction with the target device is required; and , a triggering module, configured to trigger the target device to re-start using the trigger mode determined by the device or the network side according to the trigger capability information of the target device when the data link between the device and the target device is disconnected. Establish a data link with this device.
本发明的再一个目的是提供一种服务器。Another object of the present invention is to provide a server.
在一些说明性实施例中,所述服务器包括:第二交互模块,用于通过网关设备与目标设备进行数据交互;第三接收模块,用于在所述第二交互模块通过网关设备与目标设备进行数据交互时,等待接收所述网关设备与所述目标设备的数据链路断开的通知;以及,第二发送模块,用于在所述第三模块接收到所述通知后,通知所述网关设备对所述目标设备进行触发操作。In some demonstrative embodiments, the server includes: a second interaction module, configured to perform data interaction with the target device through a gateway device; a third receiving module, configured to communicate with the target device through the gateway device in the second interaction module When performing data interaction, waiting to receive a notification that the data link between the gateway device and the target device is disconnected; and, the second sending module is configured to notify the third module after receiving the notification. The gateway device performs a trigger operation on the target device.
在一些说明性实施例中,所述服务器包括:第三交互模块,用于通过网关设备与目标设备进行数据交互;选择模块,用于在到所述网关设备与所述目标设备之间的数据链路断开的通知,则根据预先获知的目标设备的触发能力信息确定触发方式;以及,第三发送模块,用于将确定的所述触发方式发送给所述网关设备,指示所述网关设备利用所述确定的触发方式触发所述目标设备重新建立与本设备之间的数据链路。In some demonstrative embodiments, the server includes: a third interaction module, configured to perform data interaction with a target device through a gateway device; a selection module, configured to transfer data between the gateway device and the target device For link disconnection notification, determine the trigger mode according to the trigger capability information of the target device known in advance; and, the third sending module is configured to send the determined trigger mode to the gateway device, and instruct the gateway device Using the determined trigger manner to trigger the target device to re-establish the data link with the local device.
与现有技术相比,本发明的说明性实施例包括以下优点:Illustrative embodiments of the present invention include the following advantages over the prior art:
网关设备或服务器能够得到目标设备的触发能力信息,在设备睡眠的状态下,自动通过网关设备执行唤醒操作,实现自动唤醒,恢复通信能力,设备不需要在服务器上进行注册,也可以达到被唤醒的目的,避免了繁琐的注册配置过程。The gateway device or server can obtain the trigger capability information of the target device. When the device is in a sleep state, it will automatically perform a wake-up operation through the gateway device to realize automatic wake-up and restore communication capabilities. The device does not need to be registered on the server, and it can also be awakened. The purpose of avoiding the cumbersome registration configuration process.
说明书附图Instructions attached
图1是按照本发明的说明性实施例的流程图;Figure 1 is a flow diagram according to an illustrative embodiment of the invention;
图2是按照本发明的说明性实施例的流程图;Figure 2 is a flow diagram according to an illustrative embodiment of the invention;
图3是按照本发明的说明性实施例的流程图;Figure 3 is a flow diagram according to an illustrative embodiment of the invention;
图4是按照本发明的说明性实施例的流程图;Figure 4 is a flow diagram according to an illustrative embodiment of the invention;
图5是按照本发明的说明性实施例的流程图;Figure 5 is a flow diagram according to an illustrative embodiment of the invention;
图6是按照本发明的说明性实施例的流程图;Figure 6 is a flow diagram according to an illustrative embodiment of the invention;
图7是按照本发明的说明性实施例网关设备的框图;Figure 7 is a block diagram of a gateway device in accordance with an illustrative embodiment of the invention;
图8是按照本发明的说明性实施例的服务器的框图;以及,Figure 8 is a block diagram of a server according to an illustrative embodiment of the invention; and,
图9是按照本发明的说明性实施例的服务器的框图。Figure 9 is a block diagram of a server in accordance with an illustrative embodiment of the invention.
具体实施方式Detailed ways
在以下详细描述中,提出大量特定细节,以便于提供对本发明的透彻理解。但是,本领域的技术人员会理解,即使没有这些特定细节也可实施本发明。在其它情况下,没有详细描述众所周知的方法、过程、组件和电路,以免影响对本发明的理解。In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention.
现在参照图1,图1示出了根据一些说明性实施例的用于设备唤醒的流程图。Reference is now made to FIG. 1 , which illustrates a flowchart for device wake-up, in accordance with some demonstrative embodiments.
如图1所示,在一些说明性实施例中,公开了一种用于设备唤醒的方法,应用于网关设备,包括:As shown in FIG. 1, in some illustrative embodiments, a method for device wake-up is disclosed, which is applied to a gateway device, including:
S11、当需要与目标设备进行数据交互时,查看本设备与目标设备之间的数据链路是否断开;S11. When data interaction with the target device is required, check whether the data link between the device and the target device is disconnected;
在一些说明性实施例中,网关设备与目标设备进行数据交互的情况包括:网关设备主动访问目标设备,或者是其他设备控制网关设备访问目标设备,例如其他设备需要通过网关设备将请求消息传递给目标设备;其他设备例如网络侧的服务器、其他网关设备,以及用户终端等。In some illustrative embodiments, the data interaction between the gateway device and the target device includes: the gateway device actively accesses the target device, or other devices control the gateway device to access the target device, for example, other devices need to pass the request message to the Target device; other devices such as servers on the network side, other gateway devices, and user terminals.
在一些说明性实施例中,网关设备可能只连接有一个设备,该设备即为目标设备,另外,网关设备还可能连接有多个设备,在网关设备主动访问某一个设备的情况下,网关设备自身确定目标设备;在其他设备通过网关设备将请求消息传递给某一设备时,该请求消息中还包含有该设备的设备标识,网关设备通过该设备标识确定目标设备。In some illustrative embodiments, the gateway device may only be connected to one device, which is the target device. In addition, the gateway device may also be connected to multiple devices. When the gateway device actively accesses a certain device, the gateway device Determine the target device by itself; when other devices pass the request message to a certain device through the gateway device, the request message also includes the device identifier of the device, and the gateway device determines the target device through the device identifier.
在一些说明性实施例中,查看本设备与目标设备之间的数据链路是否断开的方式可以包括,但不限制于以下任意一种方式:In some demonstrative embodiments, the way to check whether the data link between the current device and the target device is disconnected may include, but is not limited to any of the following ways:
1、网关设备接收网络侧发送给目标设备的请求消息,将请求消息按照在先与目标设备之间的数据链路进行发送,若发送失败,则判定本设备与目标设备之间的数据链路断开。1. The gateway device receives the request message sent from the network side to the target device, and sends the request message according to the data link between the previous device and the target device. If the transmission fails, it determines the data link between the device and the target device. disconnect.
2、在目标设备睡眠后,网关设备与目标设备之间的数据链路断开,网关设备已知与目标设备之间的数据链路为断开,在网关设备接收到网络侧发送给目标设备的请求消息时,直接确定无法进行数据传输,数据链路为断开。2. After the target device sleeps, the data link between the gateway device and the target device is disconnected. The gateway device knows that the data link between the target device and the target device is disconnected, and the gateway device receives the network side and sends it to the target device When the request message is sent, it is directly determined that data transmission cannot be performed, and the data link is disconnected.
3、在网关设备需要访问目标设备时,网关设备对与目标设备之间的数据链路进行检测,确定数据链路是否断开。3. When the gateway device needs to access the target device, the gateway device detects the data link with the target device to determine whether the data link is disconnected.
在一些说明性实施例中,网关设备与目标设备的数据链路,是二者之间唯一进行数据交互的数据通道,例如Wi-Fi(Wireless Fidelity,无线保真)网络的数据通道。In some illustrative embodiments, the data link between the gateway device and the target device is the only data channel for data interaction between the two, such as a data channel of a Wi-Fi (Wireless Fidelity, wireless fidelity) network.
S12、当数据链路断开时,使用本设备或所述网络侧根据所述目标设备的触发能力信息确定的触发方式,触发所述目标设备重新建立与网关设备之间的数据链路。S12. When the data link is disconnected, trigger the target device to re-establish the data link with the gateway device using a trigger mode determined by the device or the network side according to the trigger capability information of the target device.
在一些说明性实施例中,网关设备可以是预先接收目标设备上报的自身的触发能力信息,并进行存储,也可以是在网关设备上预先配置若干种设备的触发能力信息,在网关设备接收到目标设备的设备标识后,在若干种设备的触发能力信息中调取与上述设备标识对应的触发能力信息,作为目标设备的触发能力信息。In some illustrative embodiments, the gateway device may pre-receive and store its own trigger capability information reported by the target device, or pre-configure the trigger capability information of several types of devices on the gateway device, and the gateway device receives After the device identification of the target device, the trigger capability information corresponding to the above device identification is retrieved from the trigger capability information of several types of devices as the trigger capability information of the target device.
在一些说明性实施例中,触发能力信息中可以包含有目标设备支持的一种或多种触发方式,或者包含有目标设备支持的一种或多种支持的通信能力。其中,目标设备支持的触发方式包括:数据指令触发、语音指令触发、特定频率的声波信号触发、蓝牙指令触发、红外编码信号触发及振动触发中的任意一种或任意组合。目标设备支持的通信能力包括:声波通信(例如语音通信)、光信号通信(例如红外通信)、有线网络通信(例如光纤通信)、无线网络通信(例如Wi-Fi网络通信、蓝牙通信)、温度及震动传感通信中的任意一种或任意组合。In some demonstrative embodiments, the trigger capability information may include one or more trigger modes supported by the target device, or include one or more supported communication capabilities supported by the target device. Among them, the trigger mode supported by the target device includes any one or any combination of data command trigger, voice command trigger, specific frequency sound wave signal trigger, Bluetooth command trigger, infrared coded signal trigger and vibration trigger. The communication capabilities supported by the target device include: acoustic wave communication (such as voice communication), optical signal communication (such as infrared communication), wired network communication (such as optical fiber communication), wireless network communication (such as Wi-Fi network communication, Bluetooth communication), temperature Any one or any combination of shock sensor communication.
在一些说明性实施例中,在触发能力信息中包含有目标设备支持的一种或多种触发方式的情况下,网关设备直接在一种或多种触发方式中选择确定一个触发方式,触发目标设备重新建立与网关设备之间的数据链路。In some demonstrative embodiments, if the trigger capability information contains one or more trigger methods supported by the target device, the gateway device directly selects and determines one trigger method among the one or more trigger methods, and triggers the target The device re-establishes the data link with the gateway device.
在一些说明性实施例中,在触发能力信息中包含有目标设备支持的一种或多种通信能力的情况下,网关设备在目标设备支持的一种或多种支持的通信能力中选择一种通信能力,并确定出该通信能力所采用的触发方式。例如网关设备设置有红外发射器,目标设备设置有红外接收器,两者之间具有红外通信能力,网关设备触发目标设备的触发方式为向外发射携带有唤醒指令的红外编码信号。In some demonstrative embodiments, when the trigger capability information includes one or more communication capabilities supported by the target device, the gateway device selects one of the one or more supported communication capabilities supported by the target device Communication capability, and determine the trigger method adopted by the communication capability. For example, the gateway device is provided with an infrared transmitter, the target device is provided with an infrared receiver, and the two have infrared communication capabilities. The gateway device triggers the target device by sending out an infrared coded signal carrying a wake-up instruction.
在一些说明性实施例中,触发能力信息中包含有目标设备支持的一种或多种通信能力的情况下,对于每个通信能力,触发能力信息中还具有指示该通信能力是否支持触发的第一标识位;网关设备在通过通信能力选择确定触发方式时,在第一标识位指示支持触发的一种或多种通信能力中选择一种通信能力,并根据选择的通信能力确定出触发目标设备的触发方式。In some demonstrative embodiments, when the trigger capability information contains one or more communication capabilities supported by the target device, for each communication capability, the trigger capability information also includes a second parameter indicating whether the communication capability supports triggering. An identification bit; when the gateway device determines the trigger mode through communication capability selection, it selects a communication capability among one or more communication capabilities that the first identification bit indicates supports triggering, and determines the trigger target device according to the selected communication capability trigger method.
在一些说明性实施例中,网关设备接收到的目标设备的触发能力信息中还包含用于指示所述目标设备是否具有被触发的能力的第二标识位;例如第二标识位的值为0时,表示该目标设备不支持唤醒操作,不具有被触发的能力,当网关设备/网络侧在识别出该第二标识位的值为0后,不对目标设备进行唤醒操作。若第二标识位的值为1时,表示该目标设备支持唤醒操作,具有被触发的能力,当网关设备/网络侧在识别出该第二标识位的值为1后,认为该目标设备支持唤醒操作,当需要对睡眠状态下的该目标设备进行数据传输时,对该目标设备进行唤醒操作。In some demonstrative embodiments, the trigger capability information of the target device received by the gateway device further includes a second identification bit used to indicate whether the target device has the ability to be triggered; for example, the value of the second identification bit is 0 When , it means that the target device does not support the wake-up operation and does not have the ability to be triggered. When the gateway device/network side recognizes that the value of the second identification bit is 0, it will not perform the wake-up operation on the target device. If the value of the second identification bit is 1, it means that the target device supports the wake-up operation and has the ability to be triggered. When the gateway device/network side recognizes that the value of the second identification bit is 1, it is considered that the target device supports A wake-up operation is to perform a wake-up operation on the target device when data transmission needs to be performed on the target device in the sleeping state.
在一些说明性实施例中,网关设备将目标设备的触发能力信息发送至网络侧,当网关设备与目标设备之间的数据链路断开时,通知网络侧目前网关设备与目标设备之间的数据链路属于断开状态;网关设备在接收网络侧发送的用于指示触发目标设备恢复数据链路的通知时,再进行触发操作。In some illustrative embodiments, the gateway device sends the trigger capability information of the target device to the network side, and when the data link between the gateway device and the target device is disconnected, the network side is notified of the current connection between the gateway device and the target device The data link is disconnected; the gateway device performs the triggering operation after receiving the notification sent by the network side to instruct the triggering target device to restore the data link.
在一些说明性实施例中,网关设备采用接收来自网络侧根据触发能力信息选择确定的触发方式,触发目标设备恢复数据链路。其中,网关设备也可以是接收网络侧选择的目标设备的通信能力,根据该通信能力确定出相应的触发方式,对目标设备进行触发。In some illustrative embodiments, the gateway device triggers the target device to resume the data link by receiving a trigger mode selected and determined from the network side according to the trigger capability information. Wherein, the gateway device may also receive the communication capability of the target device selected by the network side, determine a corresponding trigger mode according to the communication capability, and trigger the target device.
在一些说明性实施例中,网关设备与目标设备进行数据交互的情况包括:网络侧将发送给目标设备的请求消息发送至网关设备,网关设备需要将请求消息再发送给目标设备,当网关设备与目标设备之间的数据链路为断开状态时,自动保存接收到的请求消息,在网关设备与目标设备之间的数据链路被重新建立后,将保存的请求消息以重新建立的数据链路发送给目标设备。In some illustrative embodiments, the data interaction between the gateway device and the target device includes: the network side sends the request message sent to the target device to the gateway device, and the gateway device needs to send the request message to the target device again, when the gateway device When the data link between the gateway device and the target device is disconnected, the received request message is automatically saved, and after the data link between the gateway device and the target device is re-established, the saved request message is replaced with the re-established data The link is sent to the target device.
在一些说明性实施例中,网关设备与目标设备进行数据交互的情况包括网络侧将发送给目标设备的请求消息发送至网关设备,网关设备需要将请求消息再发送给目标设备,当网关设备与目标设备之间的数据链路被重新建立后,网关设备通知网络侧目前本设备与目标设备之间的数据链路被重新建立,接收网络侧再次发送的请求消息,并将该请求消息通过重新建立的数据链路发送给目标设备。In some illustrative embodiments, the data interaction between the gateway device and the target device includes that the network side sends the request message sent to the target device to the gateway device, and the gateway device needs to send the request message to the target device again. When the gateway device communicates with After the data link between the target device is re-established, the gateway device notifies the network side that the current data link between the device and the target device is re-established, receives the request message sent again by the network side, and passes the request message through the re-establishment The established data link is sent to the target device.
在一些说明性实施例中,目标设备可以是网关设备。例如:第一网关设备作为目标设备与第二网关设备相互通信,第二网关设备与网络侧相互通信。In some demonstrative embodiments, the target device may be a gateway device. For example: as the target device, the first gateway device communicates with the second gateway device, and the second gateway device communicates with the network side.
现在参照图2,图2示出了根据一些说明性实施例中的用于设备唤醒的流程图。Reference is now made to FIG. 2 , which illustrates a flowchart for device wake-up in accordance with some demonstrative embodiments.
如图2所示,在一些说明性实施例中,公开了一种用于设备唤醒的方法,用于网络侧的服务器,包括:As shown in FIG. 2, in some illustrative embodiments, a method for device wake-up is disclosed, which is used for a server on the network side, including:
S21、在需要通过网关设备与目标设备进行数据交互时,接收网关设备与目标设备之间的数据链路断开的通知;S21. When it is necessary to perform data interaction with the target device through the gateway device, receive a notification that the data link between the gateway device and the target device is disconnected;
在一些说明性实施例中,需要通过网关设备与目标设备进行数据交互的情况包括服务器将发送给目标设备的请求消息发送至网关设备;其中,网关设备可能只连接有一个设备,该设备即目标设备;另外,网关设备还可能连接有多个设备,则发送的请求消息中还包含有目标设备的设备标识,以使网关设备确认出请求消息的发送对象。In some demonstrative embodiments, the situation that data interaction with the target device needs to be performed through the gateway device includes that the server sends a request message sent to the target device to the gateway device; wherein, the gateway device may only be connected to one device, and the device is the target device. In addition, the gateway device may be connected to multiple devices, and the request message sent also includes the device identifier of the target device, so that the gateway device can confirm the sender of the request message.
在一些说明性实施例中,目标设备为未在网络侧的进行注册的设备,网络侧无法得到目标设备在睡眠后的地址信息以及触发方式。In some illustrative embodiments, the target device is a device that is not registered on the network side, and the network side cannot obtain the address information and triggering mode of the target device after sleep.
S22、通知所述网关设备对所述目标设备进行触发操作,以使所述网关设备唤醒目标设备,重新建立网关设备与目标设备之间的数据链路。S22. Notify the gateway device to perform a trigger operation on the target device, so that the gateway device wakes up the target device, and re-establishes the data link between the gateway device and the target device.
在一些说明性实施例中,服务器还接收所述网关设备发送的包含有用于指示所述目标设备是否具有被触发的能力的第二标识位的触发能力信息;识别所述触发能力信息中的第二标识位的值,当所述第二标识位的值指示所述目标设备具有被触发的能力时,通知所述网关设备对所述目标设备进行所述触发操作。此时,服务器不需要对触发方式进行选择确定,仅向网关设备发送触发指示,告知网关设备目前需要对目标设备进行触发,网关设备通过自身选择确定的触发方式,触发目标设备重新建立与网关设备之间的数据链路。In some demonstrative embodiments, the server further receives the trigger capability information sent by the gateway device and includes the second identification bit used to indicate whether the target device has the capability to be triggered; and identifies the trigger capability information in the trigger capability information The value of the second identification bit, when the value of the second identification bit indicates that the target device has the ability to be triggered, notify the gateway device to perform the trigger operation on the target device. At this time, the server does not need to select and determine the trigger mode, but only sends a trigger indication to the gateway device, informing the gateway device that it needs to trigger the target device at present, and the gateway device triggers the target device to re-establish the connection with the gateway device through the trigger mode selected by itself. data link between.
现在参照图3,图3示出了根据一些说明性实施例中的用于设备唤醒的流程图。Reference is now made to FIG. 3 , which illustrates a flowchart for device wake-up in accordance with some demonstrative embodiments.
如图3所示,在一些说明性实施例中,公开了一种用于设备唤醒的方法,用于网络侧的服务器,包括:As shown in FIG. 3, in some illustrative embodiments, a method for device wake-up is disclosed, which is used for a server on the network side, including:
S31、在需要通过网关设备与目标设备进行数据交互时,接收网关设备与目标设备之间的数据链路断开的通知;S31. When it is necessary to perform data interaction with the target device through the gateway device, receive a notification that the data link between the gateway device and the target device is disconnected;
在一些说明性实施例中,需要通过网关设备与目标设备进行数据交互的情况包括服务器将发送给目标设备的请求消息发送至网关设备;其中,网关设备可能只连接有一个设备,该设备即目标设备,另外,网关设备还可能连接有多个设备,则发送的请求消息中还包含有目标设备的设备标识,以使网关设备确认出请求消息的发送对象。In some demonstrative embodiments, the situation that data interaction with the target device needs to be performed through the gateway device includes that the server sends a request message sent to the target device to the gateway device; wherein, the gateway device may only be connected to one device, and the device is the target device. In addition, the gateway device may be connected to multiple devices, and the request message sent also includes the device identifier of the target device, so that the gateway device can confirm the sender of the request message.
在一些说明性实施例中,目标设备为未在网络侧进行注册的设备,网络侧无法得到目标设备在睡眠后的地址信息以及触发方式。In some illustrative embodiments, the target device is a device that has not been registered on the network side, and the network side cannot obtain the address information and triggering mode of the target device after sleep.
S32、根据目标设备的触发能力信息确定触发方式;S32. Determine the trigger mode according to the trigger capability information of the target device;
在一些说明性实施例中,目标设备的触发能力信息是预先通过网关设备转发到服务器上的,服务器将接收到的触发能力信息进行存储。In some illustrative embodiments, the trigger capability information of the target device is forwarded to the server through the gateway device in advance, and the server stores the received trigger capability information.
在一些说明性实施例中,触发能力信息中可以包含有目标设备支持的一种或多种触发方式,或者包含有目标设备支持的一种或多种支持的通信能力。其中,目标设备支持的触发方式包括:数据指令触发、语音指令触发、特定频率的声波信号触发、蓝牙指令触发、红外编码信号触发及振动触发中的任意一种或任意组合。目标设备支持的通信能力包括:声波通信(例如语音通信)、光信号通信(例如红外通信)、有线网络通信(例如光纤通信)、无线网络通信(例如Wi-Fi网络通信、蓝牙通信)、温度及震动传感通信中的任意一种或任意组合。In some demonstrative embodiments, the trigger capability information may include one or more trigger modes supported by the target device, or include one or more supported communication capabilities supported by the target device. Among them, the trigger mode supported by the target device includes any one or any combination of data command trigger, voice command trigger, specific frequency sound wave signal trigger, Bluetooth command trigger, infrared coded signal trigger and vibration trigger. The communication capabilities supported by the target device include: acoustic wave communication (such as voice communication), optical signal communication (such as infrared communication), wired network communication (such as optical fiber communication), wireless network communication (such as Wi-Fi network communication, Bluetooth communication), temperature Any one or any combination of shock sensor communication.
在一些说明性实施例中,在触发能力信息中包含有目标设备支持的一种或多种触发方式的情况下,服务器直接在一种或多种触发方式中选择确定一个触发方式,用于触发目标设备恢复数据链路。In some demonstrative embodiments, when the trigger capability information includes one or more trigger methods supported by the target device, the server directly selects and determines one trigger method among the one or more trigger methods for triggering The target device restores the data link.
在一些说明性实施例中,在触发能力信息中包含有目标设备支持的一种或多种通信能力的情况下,服务器在目标设备支持的一种或多种通信能力中选择一种通信能力,并确定该通信能力采用的触发方式,用于触发目标设备恢复数据链路。例如网关设备设置有红外发射器,目标设备设置有红外接收器,两者之间具有红外通信能力,服务器选择红外编码信号触发,发送该触发方式至网关设备,网关设备直接利用接收到的红外编码信号触发方式,将携带有唤醒指令的红外编码信号发送给目标设备。In some demonstrative embodiments, when the trigger capability information includes one or more communication capabilities supported by the target device, the server selects one communication capability among the one or more communication capabilities supported by the target device, And determine the trigger mode adopted by the communication capability, which is used to trigger the target device to restore the data link. For example, the gateway device is equipped with an infrared transmitter, the target device is equipped with an infrared receiver, and the two have infrared communication capabilities. The server selects the infrared code signal to trigger and sends the trigger mode to the gateway device. The gateway device directly uses the received infrared code The signal trigger mode sends an infrared coded signal carrying a wake-up command to the target device.
在一些说明性实施例中,在接收到的触发能力信息中,对于每个通信能力,还包括指示该通信能力是否支持触发的第一标识位;在通过通信能力选择确定触发方式时,仅在第一标识位指示支持触发的一种或多种通信能力中选择确定出用于触发目标设备的触发方式。In some demonstrative embodiments, in the received trigger capability information, for each communication capability, a first identification bit indicating whether the communication capability supports triggering is also included; when the trigger mode is determined through communication capability selection, only when The first identification bit indicates a trigger mode selected and determined for triggering the target device among one or more communication capabilities that support triggering.
在一些说明性实施例中,目标设备的触发能力信息中还包含用于指示所述目标设备是否具有被触发的能力的第二标识位。在服务器接收到所述网关设备与所述目标设备的数据链路断开的通知后,根据第二标识位的指示,确定目标设备是否具有被触发的能力,当确定目标设备具有被触发的能力,则根据触发能力信息选择确定触发方式。In some demonstrative embodiments, the trigger capability information of the target device further includes a second identification bit for indicating whether the target device has the capability to be triggered. After the server receives the notification that the data link between the gateway device and the target device is disconnected, it determines whether the target device has the ability to be triggered according to the indication of the second identification bit. When it is determined that the target device has the ability to be triggered , select and determine the trigger mode according to the trigger capability information.
S33、服务器将选择确定的触发方式发送给所述网关设备,指示所述网关设备利用所述确定的触发方式触发所述目标设备重新建立与网关设备之间的数据链路。S33. The server sends the selected and determined trigger mode to the gateway device, instructing the gateway device to use the determined trigger mode to trigger the target device to re-establish the data link with the gateway device.
在一些说明性实施例中,服务器将触发方式发送至网关设备之后,若接收到网关设备发送的指示网关设备与目标设备之间的数据链路已恢复的通知,则向网关设备重新发送上述请求消息。In some illustrative embodiments, after the server sends the trigger method to the gateway device, if it receives a notification from the gateway device indicating that the data link between the gateway device and the target device has been restored, then resend the above request to the gateway device information.
在一些说明性实施例中,上述请求消息可以是控制指令、数据信息等。In some demonstrative embodiments, the foregoing request message may be a control instruction, data information, and the like.
在一些说明性实施例中,服务器可以是网络侧的业务平台,通过网关设备向目标设备发送请求消息,例如业务请求。In some demonstrative embodiments, the server may be a service platform on the network side, and sends a request message, such as a service request, to the target device through the gateway device.
现在参照图4所示,图4示出了根据一些说明性实施例中的用于设备唤醒的流程图。Reference is now made to FIG. 4 , which illustrates a flowchart for device wake-up in accordance with some demonstrative embodiments.
如图4所示,在一些说明性实施例中,公开了一种用于设备唤醒的方法,用于目标设备,包括:As shown in FIG. 4, in some demonstrative embodiments, a method for device wake-up is disclosed, for a target device, comprising:
S41、将自身的触发能力信息发送至网关设备;S41. Send its own trigger capability information to the gateway device;
其中,触发能力信息包含有一种或多个自身支持的触发方式或自身支持的一种或多种通信能力。Wherein, the trigger capability information includes one or more trigger modes supported by itself or one or more communication capabilities supported by itself.
其中,在触发能力信息中包含自身支持的一种或多种通信能力的情况下,针对每个通信能力,该触发能力信息中还包含指示该通信能力是否支持触发的第一标识位。Wherein, in the case that the triggering capability information includes one or more communication capabilities supported by itself, for each communication capability, the triggering capability information also includes a first identification bit indicating whether the communication capability supports triggering.
在一些说明性实施例中,触发能力信息还可以包含用于指示所述目标设备是否具有被触发的能力的第二标识位。In some demonstrative embodiments, the triggering capability information may further include a second identification bit used to indicate whether the target device has the capability of being triggered.
S42、目标设备处于睡眠的状态下,与网关设备之间的数据链路断开,之后在网关设备需要访问目标设备时被网关设备触发唤醒;S42. When the target device is in a sleep state, the data link with the gateway device is disconnected, and then the gateway device is triggered to wake up when the gateway device needs to access the target device;
在一些说明性实施例中,唤醒的具体过程包括:In some demonstrative embodiments, the specific process of waking up includes:
接收网关设备发送的触发信号后,触发其底层网络。After receiving the trigger signal sent by the gateway device, trigger its underlying network.
S43、恢复其与网关设备之间的数据链路;S43. Restoring the data link between it and the gateway device;
例如:网关设备具有红外发射器,目标设备具有红外接收器,在网关设备确定采用红外编码信号触发方式触发目标设备后,通过其红外发射器向外发射携带有唤醒指令的红外编码信号,目标设备通过红外接收器接收到网关设备发射的红外编码信号,根据其中的唤醒指令重启目标设备或者启动Wi-Fi通信功能,主动向网关设备发送连接请求,网关设备验证该连接请求后,重新建立与目标设备之间的数据链路。其中,红外编码信号中的唤醒指令可以是用于重启整个目标设备,也可以是用于直接启动目标设备的Wi-Fi模块。For example: the gateway device has an infrared transmitter, and the target device has an infrared receiver. After the gateway device determines that the target device is triggered by an infrared coded signal trigger, it transmits an infrared coded signal carrying a wake-up instruction through its infrared transmitter, and the target device Receive the infrared coded signal emitted by the gateway device through the infrared receiver, restart the target device according to the wake-up command or start the Wi-Fi communication function, and actively send a connection request to the gateway device. After the gateway device verifies the connection request, it will re-establish the connection with the target device. Data link between devices. Wherein, the wake-up instruction in the infrared coded signal may be used to restart the entire target device, or may be used to directly start the Wi-Fi module of the target device.
在一些说明性实施例中,目标设备接收网关设备通过重新建立的数据链路发送的请求消息。In some demonstrative embodiments, the target device receives the request message sent by the gateway device over the re-established data link.
现在参照图5所示,图5示出了根据一些说明性实施例中的用于设备唤醒的流程图。Reference is now made to FIG. 5 , which illustrates a flowchart for device wake-up in accordance with some demonstrative embodiments.
如图5所示,在一些说明性实施例中,公开了一种用于设备唤醒的方法,包括:As shown in FIG. 5, in some demonstrative embodiments, a method for device wake-up is disclosed, including:
S51、目标设备将其自身的触发能力信息发送给网关设备;S51. The target device sends its own trigger capability information to the gateway device;
其中,触发能力信息包含有目标设备支持的一种或多种触发方式,或者目标设备支持的一种或多种的通信能力。Wherein, the trigger capability information includes one or more trigger modes supported by the target device, or one or more communication capabilities supported by the target device.
在一些说明性实施例中,针对每个通信能力,该触发能力信息中还包含指示该通信能力是否支持触发的第一标识位。In some demonstrative embodiments, for each communication capability, the trigger capability information further includes a first identification bit indicating whether the communication capability supports triggering.
在一些说明性实施例中,触发能力信息中还可以包含用于指示所述目标设备是否具有被触发的能力的第二标识位。In some demonstrative embodiments, the triggering capability information may further include a second identification bit used to indicate whether the target device has the capability of being triggered.
S52、网络侧的服务器向网关设备发送请求消息;S52. The server on the network side sends a request message to the gateway device;
在一些说明性实施例中,请求消息可以是控制指令或数据信息,例如业务请求,更新数据包等。In some demonstrative embodiments, the request message may be a control instruction or data information, such as a service request, an update data packet, and the like.
在一些说明性实施例中,在发送请求消息的同时还可以向网关设备发送目标设备的设备标识,用于网关设备识别并找到相应的目标设备。In some illustrative embodiments, while sending the request message, the device identifier of the target device may also be sent to the gateway device, so that the gateway device can identify and find the corresponding target device.
S53、网关设备接收到该请求消息后,判断其与设备标识对应的目标设备之间的数据链路是否断开;S53. After receiving the request message, the gateway device judges whether the data link between it and the target device corresponding to the device identifier is disconnected;
S54、网关设备在判断出其与目标设备之间的数据链路断开时,将接收到的请求消息进行存储,并根据该目标设备的触发能力信息选择确定触发方式,并使用该触发方式对目标设备进行唤醒操作;S54. When the gateway device determines that the data link between it and the target device is disconnected, it stores the received request message, and selects and determines the trigger mode according to the trigger capability information of the target device, and uses the trigger mode to The target device performs a wake-up operation;
S55、目标设备被唤醒后,触发其底层网络;S55. After the target device is woken up, trigger its underlying network;
S56、目标设备的底层网络被触发后,重新建立目标设备与网关设备之间的数据链路;S56. After the underlying network of the target device is triggered, re-establish the data link between the target device and the gateway device;
S57、网关设备在检测到其与目标设备之间的数据链路恢复后,将存储的请求消息通过恢复的数据链路向目标设备进行发送。S57. After detecting that the data link between itself and the target device is restored, the gateway device sends the stored request message to the target device through the restored data link.
在一些说明性实施例中,目标设备支持的触发方式包括以语音命令、特定的声波信号、振动传感、发送蓝牙数据,以及发送红外编码信号触发等中的任意一种或任意组合。目标设备至少具有一种支持上述触发方式的通信能力及装置,例如接收语音命令的麦克风、红外信号接收器等。网关设备至少包含有一种与目标设备对应的通信能力及装置,例如发送语音命令及特定声波信号的扬声器、红外信号发射器。In some demonstrative embodiments, the triggering methods supported by the target device include any one or any combination of voice commands, specific sound wave signals, vibration sensing, sending Bluetooth data, and sending infrared coded signal triggers. The target device has at least one communication capability and device that supports the above-mentioned triggering method, such as a microphone for receiving voice commands, an infrared signal receiver, and the like. The gateway device includes at least one communication capability and device corresponding to the target device, such as a speaker and an infrared signal transmitter for sending voice commands and specific sound wave signals.
在一些说明性实施例中,目标设备可以是另外一台网关设备。In some demonstrative embodiments, the target device may be another gateway device.
现在参照图6,图6示出了根据一些说明性实施例中用于设备唤醒的流程图。Reference is now made to FIG. 6 , which illustrates a flowchart for device wake-up in accordance with some demonstrative embodiments.
如图6所示,在一些说明性实施例中,公开了一种用于设备唤醒的方法,包括;As shown in FIG. 6, in some demonstrative embodiments, a method for device wake-up is disclosed, comprising;
S61、目标设备将其自身的触发能力信息发送至网关设备;S61. The target device sends its own trigger capability information to the gateway device;
其中,触发能力信息包含有目标设备支持的一种或多种触发方式或目标设备支持的一种或多种的通信能力。Wherein, the trigger capability information includes one or more trigger modes supported by the target device or one or more communication capabilities supported by the target device.
在一些说明性实施例中,针对每个通信能力,该触发能力信息中还包含指示该通信能力是否支持触发的第一标识位。In some demonstrative embodiments, for each communication capability, the trigger capability information further includes a first identification bit indicating whether the communication capability supports triggering.
在一些说明性实施例中,触发能力信息中还可以包含有第二标识位,用于指示该目标设备是否具有被触发的能力。In some demonstrative embodiments, the triggering capability information may further include a second identification bit, which is used to indicate whether the target device has the capability of being triggered.
S62、网关设备将接收到触发能力信息发送至网络侧的服务器上进行存储;其中,网关设备发送给服务器的触发能力信息可以是主动发送,也可以是服务器访问目标设备失败后(即服务器获知目标设备与网关设备之间的数据链路断开),服务器主动向目标设备索取。S62. The gateway device sends the received trigger capability information to the server on the network side for storage; wherein, the trigger capability information sent by the gateway device to the server can be sent actively, or after the server fails to access the target device (that is, the server knows the target The data link between the device and the gateway device is disconnected), and the server actively asks for it from the target device.
S63、服务器将给目标设备的请求消息发送至网关设备;S63. The server sends the request message for the target device to the gateway device;
在一些说明性实施例中,请求消息可以是控制指令或数据信息,例如业务请求,更新数据包等。In some demonstrative embodiments, the request message may be a control instruction or data information, such as a service request, an update data packet, and the like.
在一些说明性实施例中,在发送请求消息的同时还可以向网关设备发送目标设备的设备标识,用于网关设备识别并找到相应的目标设备。In some illustrative embodiments, while sending the request message, the device identifier of the target device may also be sent to the gateway device, so that the gateway device can identify and find the corresponding target device.
S64、网关设备接收到请求消息后,判断其与目标设备之间的数据链路是否断开;S64. After receiving the request message, the gateway device judges whether the data link between it and the target device is disconnected;
S65、网关设备在判断出其与目标设备之间的数据链路断开时,通知服务器其与目标设备之间的数据链路断开;S65. When the gateway device determines that the data link between it and the target device is disconnected, it notifies the server that the data link between it and the target device is disconnected;
S66、服务器根据存储的目标设备的触发能力信息,选择确定触发方式发送至网关设备;S66. The server selects and determines the trigger mode and sends it to the gateway device according to the stored trigger capability information of the target device;
S67、网关设备以接收到的触发方式对目标设备进行唤醒操作;S67. The gateway device wakes up the target device in the received trigger mode;
S68、目标设备被唤醒后,触发其底层网络;S68. After the target device is woken up, trigger its underlying network;
S69、在目标设备的底层网络被触发后,恢复其与网关设备之间的数据链路;S69. After the underlying network of the target device is triggered, restore the data link between it and the gateway device;
S70、网关设备检查出其与目标设备之间的数据链路恢复后,通知服务器其与目标设备之间的数据链路已恢复;S70. After the gateway device checks that the data link between it and the target device is restored, it notifies the server that the data link between it and the target device has been restored;
S71、服务器接收到该信息后,再次发送请求消息至网关设备;S71. After receiving the information, the server sends the request message to the gateway device again;
S72、网关设备接收到服务器发送的请求消息后,通过恢复的数据链路向目标设备发送。S72. After receiving the request message sent by the server, the gateway device sends it to the target device through the recovered data link.
在一些说明性实施例中,目标设备支持的触发方式包括以语音命令、特定的声波信号、振动传感、发送蓝牙数据,以及发送红外编码信号触发等中的任意一种或任意组合。目标设备至少具有一种支持上述触发方式的通信能力及装置,接收语音命令的麦克风、红外信号接收器等。网关设备至少包含有一种与目标设备对应的通信能力及装置,例如发送语音命令及特定声波信号的扬声器、红外信号发射器。In some demonstrative embodiments, the triggering methods supported by the target device include any one or any combination of voice commands, specific sound wave signals, vibration sensing, sending Bluetooth data, and sending infrared coded signal triggers. The target device has at least one communication capability and device that supports the above-mentioned triggering methods, a microphone for receiving voice commands, an infrared signal receiver, etc. The gateway device includes at least one communication capability and device corresponding to the target device, such as a speaker and an infrared signal transmitter for sending voice commands and specific sound wave signals.
在一些说明性实施例中,目标设备可以是另外一台网关设备。In some demonstrative embodiments, the target device may be another gateway device.
现在参考图7,图7示出了根据一些说明性实施例中的用于设备唤醒的网关设备的框图。Reference is now made to FIG. 7 , which illustrates a block diagram of a gateway device for device wake-up, in accordance with some demonstrative embodiments.
如图7所示,在一些说明性实施例中,公开了一种网关设备(例如网关设备100),包括:As shown in FIG. 7, in some demonstrative embodiments, a gateway device (eg, gateway device 100) is disclosed, including:
用于当需要与目标设备进行数据交互时,查看本设备与所述目标设备之间的数据链路是否断开的第一交互模块(例如第一交互模块101);以及,A first interaction module (such as the first interaction module 101) for checking whether the data link between the device and the target device is disconnected when data interaction with the target device is required; and,
在本设备与所述目标设备之间的数据链路断开时,使用本设备或网络侧根据所述目标设备的触发能力信息确定的触发方式,触发所述目标设备重新建立与本设备之间的数据链路的触发模块(例如触发模块102)。When the data link between the device and the target device is disconnected, use the trigger mode determined by the device or the network side according to the trigger capability information of the target device to trigger the target device to re-establish a connection with the device The trigger module of the data link (such as the trigger module 102).
在一些说明性实施例中,所述网关设备还包括:In some demonstrative embodiments, the gateway device further includes:
接收所述网络侧发送的用于指示对所述目标设备进行触发操作的通知,控制所述触发模块触发所述目标设备重新建立与本设备之间的数据链路的第一接收模块(例如第一接收模块103)。receiving a notification sent by the network side for instructing to perform a trigger operation on the target device, and controlling the trigger module to trigger the target device to re-establish a data link with the first receiving module (such as the first receiving module) a receiving module 103).
在一些说明性实施例中,所述目标设备的触发能力信息包含有所述目标设备支持的一种或多种触发方式;所述触发模块用于直接在所述目标设备支持的一种或多种触发方式中选出所使用的触发方式。In some demonstrative embodiments, the trigger capability information of the target device includes one or more trigger modes supported by the target device; Select the trigger method to be used from the three trigger methods.
在一些说明性实施例中,所述目标设备的触发能力信息包含有所述目标设备支持的一种或多种通信能力;所述触发模块用于在所述目标设备支持的一种或多种通信能力中选择一种通信能力,并根据该通信能力确定出所使用的触发方式。In some demonstrative embodiments, the trigger capability information of the target device includes one or more communication capabilities supported by the target device; Select a communication capability from the communication capability, and determine the trigger mode to be used according to the communication capability.
在一些说明性实施例中,针对每个所述通信能力,所述目标设备的触发能力信息中还包含一个指示该通信能力是否支持触发的第一标识位;还包括:识别每个通信能力的第一标识位,控制所述触发模块在所述目标设备支持的、且所述第一标识位指示支持触发的一种或多种通信能力中选择一种通信能力,并根据该通信能力确定出所使用的触发方式的第一识别模块(例如第一识别模块104)。In some demonstrative embodiments, for each of the communication capabilities, the trigger capability information of the target device further includes a first identification bit indicating whether the communication capability supports triggering; it also includes: identifying each communication capability The first identification bit is used to control the triggering module to select a communication capability among one or more communication capabilities supported by the target device and the first identification bit indicates that triggering is supported, and determine the communication capability according to the communication capability The first identification module (for example, the first identification module 104 ) of the trigger mode used.
在一些说明性实施例中,所述网关设备还包括:接收所述网络侧选择确定的触发方式,并控制所述触发模块以接收的所述触发方式触发所述目标设备重新建立与本设备之间的数据链路的第二接收模块(例如第二接收模块105)。In some demonstrative embodiments, the gateway device further includes: receiving the trigger mode selected and determined by the network side, and controlling the trigger module to trigger the target device to re-establish the relationship with the local device in the received trigger mode The second receiving module (for example, the second receiving module 105 ) of the data link between them.
在一些说明性实施例中,所述网关设备还包括:将所述目标设备的所述触发能力信息发送至所述网络侧,以使所述网络侧根据所述触发能力信息选择确定出所述触发方式的第一发送模块(例如第一发送模块106)。In some demonstrative embodiments, the gateway device further includes: sending the trigger capability information of the target device to the network side, so that the network side selects and determines the trigger capability information according to the trigger capability information. A first sending module (for example, the first sending module 106 ) in a triggered manner.
在一些说明性实施例中,所述网关设备还包括:在本设备与所述目标设备之间的数据链路断开时,通知所述网络侧本设备与所述目标设备之间的数据链路断开,并控制所述第二接收模块等待接收所述网络侧根据所述目标设备的触发能力信息确定的触发方式的第一反馈模块(例如第一反馈模块107)。In some demonstrative embodiments, the gateway device further includes: when the data link between the device and the target device is disconnected, notifying the network side of the data link between the device and the target device The circuit is disconnected, and the second receiving module is controlled to wait for the first feedback module (such as the first feedback module 107 ) that receives the trigger mode determined by the network side according to the trigger capability information of the target device.
在一些说明性实施例中,所述网关设备还包括:在所述目标设备重新建立与本设备之间的数据链路后,通知所述网络侧本设备与所述目标设备之间的数据链路已恢复的第二反馈模块(例如第二反馈模块108)。In some demonstrative embodiments, the gateway device further includes: after the target device re-establishes the data link with the target device, notify the network side of the data link between the target device and the target device The second feedback module (such as the second feedback module 108) whose path has been restored.
在一些说明性实施例中,所述目标设备的所述触发能力信息中还包含有用于指示所述目标设备是否具有被触发的能力的第二标识位;所述网关设备还包括:识别所述触发能力信息中的第二标识位,确定所述目标设备是否具有被触发的能力;当所述第二标识位指示所述目标设备具有被触发的能力时,则控制所述触发模块使用本设备根据所述目标设备的触发能力信息确定的触发方式,触发所述目标设备重新建立与本设备之间的数据链路的第二识别模块(例如第二识别模块109)。In some demonstrative embodiments, the triggering capability information of the target device further includes a second identification bit for indicating whether the target device has the capability of being triggered; the gateway device further includes: identifying the Trigger the second identification bit in the capability information to determine whether the target device has the ability to be triggered; when the second identification bit indicates that the target device has the ability to be triggered, then control the trigger module to use this device According to the trigger mode determined by the trigger capability information of the target device, trigger the target device to re-establish a second identification module (for example, the second identification module 109 ) of the data link with the own device.
在一些说明性实施例中,所述第一交互模块中包括:In some demonstrative embodiments, the first interaction module includes:
接收到所述网络侧发送给目标设备的请求消息的第一交互子模块(例如第一交互子模块110);所述网关设备还包括:在所述第一交互子模块接收到所述请求消息后,存储所述请求消息;在重新建立数据链路后,将存储的所述请求消息通过重新建立的数据链路发送给所述目标设备;或者,用于在重新建立数据链路后,接收所述网络侧再次发送的所述请求消息,并将所述请求消息通过重新建立的数据链路发送给所述目标设备的第二交互子模块(例如第二交互子模块111)。The first interaction submodule (such as the first interaction submodule 110) that receives the request message sent from the network side to the target device; the gateway device further includes: receiving the request message at the first interaction submodule After that, store the request message; after re-establishing the data link, send the stored request message to the target device through the re-established data link; or, after re-establishing the data link, receive The network side sends the request message again, and sends the request message to the second interaction submodule (for example, the second interaction submodule 111 ) of the target device through the re-established data link.
现在参照图8,图8示出了根据一些说明性实施例中的服务器的框图。Reference is now made to FIG. 8 , which shows a block diagram of a server in accordance with some demonstrative embodiments.
如图8所示,在一些说明性实施例中,公开了一种服务器(例如服务器200),包括:通过网关设备与目标设备进行数据交互的第二交互模块(例如第二交互模块201);以及,在所述第二交互模块通过网关设备与目标设备进行数据交互时,等待接收所述网关设备与所述目标设备的数据链路断开的通知的第三接收模块(例如第三接收模块202);以及,在所述第三模块接收到所述通知后,通知所述网关设备对所述目标设备进行触发操作的第二发送模块(例如第二发送模块203)。As shown in FIG. 8 , in some demonstrative embodiments, a server (for example, server 200 ) is disclosed, including: a second interaction module (for example, second interaction module 201 ) for performing data interaction with a target device through a gateway device; And, when the second interaction module performs data interaction with the target device through the gateway device, the third receiving module (such as the third receiving module) waiting to receive a notification that the data link between the gateway device and the target device is disconnected 202); and, after the third module receives the notification, notify the gateway device to a second sending module (for example, the second sending module 203 ) that triggers an operation on the target device.
在一些说明性实施例中,所述服务器还包括:接收所述网关设备发送的所述目标设备的包含有用于指示所述目标设备是否具有被触发的能力的第二标识位的触发能力信息的第四接收模块(例如第四接收模块204);以及,识别所述触发能力信息中的第二标识位,确定所述目标设备是否具有被触发的能力;当所述第二标识位指示的所述目标设备具有被触发的能力时,控制所述第二发送模块通知所述网关设备对所述目标设备进行所述触发操作的第三识别模块(例如第三识别模块205)。In some demonstrative embodiments, the server further includes: receiving the trigger capability information of the target device sent by the gateway device and including the second identification bit used to indicate whether the target device has the capability to be triggered The fourth receiving module (for example, the fourth receiving module 204); and, identifying the second identification bit in the trigger capability information, and determining whether the target device has the ability to be triggered; when the second identification bit indicates the When the target device has the capability of being triggered, control the second sending module to notify the gateway device to a third identification module (for example, the third identification module 205 ) that performs the trigger operation on the target device.
在一些说明性实施例中,所述第二交互模块包括:将发送给目标设备的请求消息发送至所述网关设备的第三交互子模块(例如第三交互子模块206);以及在通知所述网关设备对所述目标设备进行触发操作之后,接收所述网关设备发送的用于指示所述网关设备与所述目标设备的数据链路已恢复的通知;控制所述第三交互子模块再次发送所述请求消息至所述网关设备的第五接收模块(例如第五接收模块207)。In some demonstrative embodiments, the second interaction module includes: a third interaction submodule (such as the third interaction submodule 206) that sends the request message sent to the target device to the gateway device; After the gateway device performs a trigger operation on the target device, it receives a notification sent by the gateway device indicating that the data link between the gateway device and the target device has been restored; and controls the third interaction submodule again Send the request message to a fifth receiving module (for example, the fifth receiving module 207 ) of the gateway device.
现在参照图9,图9示出了根据一些说明性实施例中的服务器的框图。Reference is now made to FIG. 9 , which shows a block diagram of a server in accordance with some demonstrative embodiments.
如图9所示,在一些说明性实施例中,公开了一种服务器(例如服务器300),其特征在于,包括:As shown in FIG. 9, in some illustrative embodiments, a server (such as server 300) is disclosed, which is characterized in that it includes:
通过网关设备与目标设备进行数据交互的第三交互模块(例如第三交互模块301);以及在收到所述网关设备与所述目标设备之间的数据链路断开的通知,则根据预先获知的目标设备的触发能力信息确定触发方式的选择模块(例如选择模块302);以及,将所述选择模块确定的所述触发方式发送给所述网关设备,指示所述网关设备利用所述确定的触发方式触发所述目标设备重新建立与本设备之间的数据链路的第三发送模块(例如第三发送模块303)。The third interaction module (such as the third interaction module 301) that performs data interaction with the target device through the gateway device; and upon receiving the notification that the data link between the gateway device and the target device is disconnected, according A selection module (for example, selection module 302) for determining a trigger mode based on the acquired trigger capability information of the target device; and, sending the trigger mode determined by the selection module to the gateway device, instructing the gateway device to use the determined trigger mode; The third sending module (for example, the third sending module 303 ) that triggers the target device to re-establish the data link with the local device in a triggering manner.
在一些说明性实施例中,所述预先获知的目标设备的触发能力信息通过接收所述网关设备转发接收到的所述触发能力信息获得的。In some demonstrative embodiments, the pre-acquired trigger capability information of the target device is obtained by receiving the trigger capability information forwarded by the gateway device.
在一些说明性实施例中,所述目标设备的触发能力信息包含有所述目标设备支持的一种或多种触发方式;所述选择模块用于直接在所述目标设备支持的一种或多种触发方式中选择确定所使用的触发方式。In some demonstrative embodiments, the trigger capability information of the target device includes one or more trigger modes supported by the target device; the selection module is used to directly select one or more trigger modes supported by the target device Select one of the trigger methods to determine the trigger method used.
在一些说明性实施例中,所述目标设备的触发能力信息包含有所述目标设备支持的一种或多种通信能力;所述选择模块用于在所述目标设备支持的一种或多种通信能力选择一种通信能力,并根据该通信能力确定出所使用的触发方式。In some demonstrative embodiments, the trigger capability information of the target device includes one or more communication capabilities supported by the target device; Communication capability Select a communication capability, and determine the trigger mode to be used according to the communication capability.
在一些说明性实施例中,针对每个所述通信能力,所述目标设备的触发能力信息中还包含一个指示该通信能力是否支持触发的第一标识位;所述服务器还包括:识别每个通信能力的所述第一标识位;控制所述选择模块在所述目标设备支持的、且所述第一标识位指示支持触发的一种或多种通信能力中选择一种通信能力,并根据该通信能力确定出所使用的触发方式的第四识别模块(例如第四识别模块304)。In some demonstrative embodiments, for each of the communication capabilities, the trigger capability information of the target device further includes a first identification bit indicating whether the communication capability supports triggering; the server further includes: identifying each The first identification bit of the communication capability; controlling the selection module to select a communication capability among one or more communication capabilities supported by the target device and the first identification bit indicates support for triggering, and according to The communication capability determines the fourth identification module (for example, the fourth identification module 304 ) of the trigger mode used.
在一些说明性实施例中,所述目标设备的触发能力信息中还包含有用于指示所述目标设备是否具有被触发的能力的第二标识位;所述服务器还包括:识别所述触发能力信息中的第二标识位,确定所述目标设备是否具有被触发的能力的第五识别模块(例如第五识别模块305);当所述第二标识位指示所述目标设备具有触发能力时,则控制所述选择模块根据所述目标设备的触发能力信息确定触发方式。In some demonstrative embodiments, the trigger capability information of the target device further includes a second identification bit for indicating whether the target device has the capability to be triggered; the server further includes: identifying the trigger capability information The second identification bit in the fifth identification module (such as the fifth identification module 305) that determines whether the target device has the ability to be triggered; when the second identification bit indicates that the target device has the ability to be triggered, then The selection module is controlled to determine a trigger mode according to the trigger capability information of the target device.
在一些说明性实施例中,所述第三交互模块中包括:In some demonstrative embodiments, the third interaction module includes:
将发送给目标设备的请求消息发送至网关设备的第四交互子模块(例如第四交互子模块306);以及,将所述触发方式发送给所述网关设备之后,接收所述网关设备发送的用于指示所述网关设备与所述目标设备的数据链路已恢复的通知的第六接收模块(例如第六接收模块307),并控制所述第四交互子模块再次发送所述请求消息至所述网关设备。Send the request message sent to the target device to the fourth interaction submodule (such as the fourth interaction submodule 306) of the gateway device; and, after sending the trigger mode to the gateway device, receive the message sent by the gateway device A sixth receiving module (for example, the sixth receiving module 307 ) for indicating that the data link between the gateway device and the target device has been restored, and controlling the fourth interaction submodule to send the request message to The gateway device.
本领域技术人员还应当理解,结合本文的实施例描述的各种说明性的逻辑框、模块、电路和算法步骤均可以实现成电子硬件、计算机软件或其组合。为了清楚地说明硬件和软件之间的可交换性,上面对各种说明性的部件、框、模块、电路和步骤均围绕其功能进行了一般地描述。至于这种功能是实现成硬件还是实现成软件,取决于特定的应用和对整个系统所施加的设计约束条件。熟练的技术人员可以针对每个特定应用,以变通的方式实现所描述的功能,但是,这种实现决策不应解释为背离本公开的保护范围。Those skilled in the art should also understand that various illustrative logical blocks, modules, circuits and algorithm steps described in conjunction with the embodiments herein may be implemented as electronic hardware, computer software or a combination thereof. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Claims (42)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410123522.0A CN104954147A (en) | 2014-03-28 | 2014-03-28 | Equipment-waking method, gateway equipment, and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410123522.0A CN104954147A (en) | 2014-03-28 | 2014-03-28 | Equipment-waking method, gateway equipment, and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104954147A true CN104954147A (en) | 2015-09-30 |
Family
ID=54168524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410123522.0A Pending CN104954147A (en) | 2014-03-28 | 2014-03-28 | Equipment-waking method, gateway equipment, and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104954147A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107037801A (en) * | 2015-10-30 | 2017-08-11 | 法拉第未来公司 | The system and method communicated for vehicle data |
CN112584409A (en) * | 2019-09-30 | 2021-03-30 | 上海华为技术有限公司 | Site management method and related equipment applied to communication system |
CN113727465A (en) * | 2021-09-30 | 2021-11-30 | 联想(北京)有限公司 | Control method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060063517A1 (en) * | 2004-09-22 | 2006-03-23 | Yeonjoo Oh | Intelligent system for identifying visitor and providing communication service using mobile terminal and method thereof |
WO2007069241A2 (en) * | 2005-12-12 | 2007-06-21 | Distantec Ltd. | Active ip control device |
CN101426184A (en) * | 2008-11-28 | 2009-05-06 | 深圳华为通信技术有限公司 | Processing method for rich media communication service, terminal equipment and communication system |
CN201312348Y (en) * | 2008-12-23 | 2009-09-16 | 徐勇 | Digital home intelligent terminal device based on ZigBee |
CN103095535A (en) * | 2011-11-02 | 2013-05-08 | 中国移动通信集团公司 | Operation demand treatment method, home network system and device |
US20140086124A1 (en) * | 2012-09-26 | 2014-03-27 | Imagination Technologies Limited | Method and system for wirelessly transmitting data |
-
2014
- 2014-03-28 CN CN201410123522.0A patent/CN104954147A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060063517A1 (en) * | 2004-09-22 | 2006-03-23 | Yeonjoo Oh | Intelligent system for identifying visitor and providing communication service using mobile terminal and method thereof |
WO2007069241A2 (en) * | 2005-12-12 | 2007-06-21 | Distantec Ltd. | Active ip control device |
CN101426184A (en) * | 2008-11-28 | 2009-05-06 | 深圳华为通信技术有限公司 | Processing method for rich media communication service, terminal equipment and communication system |
CN201312348Y (en) * | 2008-12-23 | 2009-09-16 | 徐勇 | Digital home intelligent terminal device based on ZigBee |
CN103095535A (en) * | 2011-11-02 | 2013-05-08 | 中国移动通信集团公司 | Operation demand treatment method, home network system and device |
US20140086124A1 (en) * | 2012-09-26 | 2014-03-27 | Imagination Technologies Limited | Method and system for wirelessly transmitting data |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107037801A (en) * | 2015-10-30 | 2017-08-11 | 法拉第未来公司 | The system and method communicated for vehicle data |
CN112584409A (en) * | 2019-09-30 | 2021-03-30 | 上海华为技术有限公司 | Site management method and related equipment applied to communication system |
WO2021063251A1 (en) * | 2019-09-30 | 2021-04-08 | 华为技术有限公司 | Site management method applied to communication system and related device |
CN113727465A (en) * | 2021-09-30 | 2021-11-30 | 联想(北京)有限公司 | Control method and device |
CN113727465B (en) * | 2021-09-30 | 2024-05-28 | 联想(北京)有限公司 | Control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111800837A (en) | Relay reselection method, equipment and medium | |
JP5539510B2 (en) | Sleep mode operation update method and apparatus | |
KR20210064317A (en) | Sidelink link failure checking method and terminal | |
JP6608204B2 (en) | Information distribution device | |
CN114375597B (en) | Signal receiving method, signal sending method and related equipment | |
AU2021269599B2 (en) | Information transmission method and apparatus, and electronic device | |
TWI672056B (en) | IoT system and method for controlling electronic device | |
WO2020057361A1 (en) | Information reporting method, information receiving method, terminal, and network device | |
KR102722044B1 (en) | Sidelink connection control method, terminal and network side device | |
CN110958691B (en) | Resource pool configuration method, use method, configuration equipment and terminal | |
JP2019193259A (en) | Bluetooth subcircuit in multi-component bluetooth device | |
WO2019134644A1 (en) | Data transmission method and user terminal | |
JP5853789B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD | |
KR20190047598A (en) | Method and device of transmitting data | |
TWI648999B (en) | Network device and wps connection method thereof | |
JPWO2022071572A5 (en) | ||
CN104954147A (en) | Equipment-waking method, gateway equipment, and server | |
JP2004282756A (en) | Power control method for wireless access node in wireless lan system | |
US20150195650A1 (en) | Method for audio receiver to select audio source from multiple transmitters | |
EP3082376B1 (en) | Network device discovery method and network device discovery system | |
CN104954148A (en) | Control method and device of node equipment and router | |
US11954996B2 (en) | System and method for improving network connection reliability of IoT tracking and emergency response devices | |
JP6503973B2 (en) | Audio device connection method and audio device | |
JP6301766B2 (en) | Communication control device and communication control system | |
CN113329322A (en) | Data transmission method, device, terminal and network side equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20170214 Address after: 266101 Haier Industrial Park, Haier Road, Laoshan District, Shandong, Qingdao, China Applicant after: haier group corporation Applicant after: Qingdao Haier Intelligent Home Appliance Technology Co., Ltd. Applicant after: Haier smart technology (Beijing) Co., Ltd. Address before: 266101 Haier Industrial Park, Haier Road, Laoshan District, Shandong, Qingdao, China Applicant before: haier group corporation Applicant before: Qingdao Haier Intelligent Home Appliance Technology Co., Ltd. Applicant before: Beijing Haier Guangke Digital Techn Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150930 |
|
RJ01 | Rejection of invention patent application after publication |