CN115190335A - Internet of things home interaction method, system, electronic device and storage medium - Google Patents
Internet of things home interaction method, system, electronic device and storage medium Download PDFInfo
- Publication number
- CN115190335A CN115190335A CN202210366674.8A CN202210366674A CN115190335A CN 115190335 A CN115190335 A CN 115190335A CN 202210366674 A CN202210366674 A CN 202210366674A CN 115190335 A CN115190335 A CN 115190335A
- Authority
- CN
- China
- Prior art keywords
- top box
- user
- multimedia data
- set top
- server
- 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
- 230000003993 interaction Effects 0.000 title claims abstract description 123
- 238000000034 method Methods 0.000 title claims abstract description 82
- 230000002452 interceptive effect Effects 0.000 claims abstract description 137
- 230000015654 memory Effects 0.000 claims description 50
- 238000004590 computer program Methods 0.000 claims description 20
- 239000000779 smoke Substances 0.000 claims description 13
- 238000012790 confirmation Methods 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 claims description 6
- 238000004891 communication Methods 0.000 abstract description 11
- 230000004044 response Effects 0.000 abstract description 9
- 238000012545 processing Methods 0.000 description 16
- 238000012795 verification Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000012544 monitoring process Methods 0.000 description 6
- 230000004927 fusion Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 206010011469 Crying Diseases 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000000586 desensitisation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/27—Server based end-user applications
- H04N21/274—Storing end-user multimedia data in response to end-user request, e.g. network recorder
- H04N21/2743—Video hosting of uploaded data from client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/437—Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种物联网家庭互动方法、系统、电子设备及存储介质。其中,所述方法包括:接收服务器发送的互动请求指令;响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据;将所述第一多媒体数据发送至所述服务器。本发明解决了相关技术中不能通过机顶盒进行互动交流的技术问题。
The invention discloses an Internet of Things home interaction method, system, electronic equipment and storage medium. The method includes: receiving an interaction request instruction sent by a server; in response to the interaction request instruction, invoking a multimedia collection device configured on the set-top box to collect first multimedia data of the environment where the set-top box is located; The first multimedia data is sent to the server. The invention solves the technical problem in the related art that the interactive communication cannot be performed through the set-top box.
Description
技术领域technical field
本发明涉及信息处理技术领域,具体而言,涉及一种物联网家庭互动方法、系统、电子设备及存储介质。The present invention relates to the technical field of information processing, and in particular, to an Internet of Things home interaction method, system, electronic device and storage medium.
背景技术Background technique
随着智能手机、智能电视和家庭宽带网络的普及,以及城市化水平的提高,人们对手机的依赖性较强,通常情况下与异地的亲戚、朋友、家人之间主要靠手机电话或微信等进行交流;然而由于手机屏幕太小,往往看不到全貌,而且不能一起互动,而且目前的智能电视一般只能用于观看电视节目,不能用于家庭成员之间的交流互动,用户体验不佳。With the popularization of smart phones, smart TVs and home broadband networks, as well as the improvement of urbanization, people are more dependent on mobile phones. Usually, they mainly rely on mobile phone calls or WeChat to communicate with relatives, friends and family members in different places. However, because the screen of the mobile phone is too small, it is often impossible to see the whole picture and cannot interact with each other, and the current smart TV can only be used for watching TV programs, not for communication and interaction between family members, and the user experience is not good. .
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种物联网家庭互动方法、系统、电子设备及存储介质,以至少解决相关技术中不能通过机顶盒进行互动交流的技术问题。Embodiments of the present invention provide an Internet of Things home interaction method, system, electronic device, and storage medium, so as to at least solve the technical problem in the related art that interactive communication cannot be performed through a set-top box.
根据本发明实施例的一个方面,提供了一种物联网家庭互动方法,应用于机顶盒,包括:接收服务器发送的互动请求指令;响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据;将所述第一多媒体数据发送至所述服务器。According to an aspect of the embodiments of the present invention, there is provided an IoT home interaction method, applied to a set-top box, comprising: receiving an interaction request instruction sent by a server; in response to the interaction request instruction, invoking a multimedia system configured on the set-top box The collection device collects the first multimedia data of the environment where the set-top box is located; and sends the first multimedia data to the server.
根据本发明实施例的另一个方面,提供了一种物联网家庭互动方法,应用于服务器,包括:接收客户端发送的互动服务请求指令,所述互动服务请求指令中携带有登录所述客户端的用户信息;在确定所述用户信息对应的用户拥有互动应用服务权限时,发送互动请求指令至目标机顶盒,以使所述目标机顶盒采集所述机顶盒周边的第一多媒体数据;其中,所述目标机顶盒为与所述用户具有绑定关系的机顶盒;接收所述目标机顶盒发送的所述第一多媒体数据。According to another aspect of the embodiments of the present invention, there is provided an Internet of Things home interaction method, applied to a server, comprising: receiving an interactive service request instruction sent by a client, wherein the interactive service request instruction carries a log in to the client user information; when it is determined that the user corresponding to the user information has interactive application service authority, send an interactive request instruction to the target set-top box, so that the target set-top box collects the first multimedia data around the set-top box; wherein, the The target set-top box is a set-top box that has a binding relationship with the user; the first multimedia data sent by the target set-top box is received.
根据本发明实施例的又一个方面,提供了一种物联网家庭互动方法,应用于客户端,包括:发送互动服务请求指令至服务器,以使所述服务器获取第一多媒体数据;其中,所述互动服务请求指令中携带有登录所述客户端的用户信息,第一多媒体数据为与所述客户端具有绑定关系的机顶盒采集到的多媒体数据;接收所述服务器发送的所述第一多媒体数据。According to yet another aspect of the embodiments of the present invention, there is provided an Internet of Things home interaction method, applied to a client, comprising: sending an interactive service request instruction to a server, so that the server obtains first multimedia data; wherein, The interactive service request instruction carries user information for logging in to the client, and the first multimedia data is multimedia data collected by a set-top box that has a binding relationship with the client; the first multimedia data sent by the server is received. a multimedia data.
根据本发明实施例的另一方面,还提供了一种物联网家庭互动系统,包括上述实施例中的机顶盒、服务器和客户端。According to another aspect of the embodiments of the present invention, an Internet of Things home interaction system is also provided, including the set-top box, the server and the client in the above-mentioned embodiments.
根据本发明实施例的又一方面,还提供了一种电子设备,包括存储器和处理器,上述存储器中存储有计算机程序,上述处理器被设置为通过上述计算机程序执行上述的物联网家庭互动方法。According to another aspect of the embodiments of the present invention, an electronic device is also provided, including a memory and a processor, the memory stores a computer program, and the processor is configured to execute the above-mentioned Internet of Things home interaction method through the above-mentioned computer program .
根据本发明实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述物联网家庭互动方法。According to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the above-mentioned Internet of Things home when running. interactive method.
在本发明实施例中,采用了接收服务器发送的互动请求指令;响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据;将所述第一多媒体数据发送至所述服务器的方法,在上述方法中,由于采用调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据,并将第一多媒体数据发送至所述服务器,不仅解决了可以通过机顶盒与移动终端进行互动,而且可以通过不同的机顶盒直接进行互动交流,进而解决了相关技术中不能通过机顶盒进行互动交流的技术问题。In the embodiment of the present invention, the interaction request instruction sent by the receiving server is adopted; in response to the interaction request instruction, the multimedia collection device configured on the set-top box is invoked to collect the first multimedia data of the environment where the set-top box is located. The method for sending the first multimedia data to the server, in the above-mentioned method, the first multimedia data of the environment in which the set-top box is located is collected by invoking a multimedia acquisition device configured on the set-top box. , and send the first multimedia data to the server, which not only solves the problem of interacting with the mobile terminal through the set-top box, but also directly interacts with the mobile terminal through different set-top boxes, thereby solving the problem that in the related art, the interactive communication cannot be conducted through the set-top box. technical issues.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide further understanding of the present invention and constitute a part of the present application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the attached image:
图1是根据本发明实施例的一种可选的物联网家庭互动方法的应用环境的示意图;1 is a schematic diagram of an application environment of an optional IoT home interaction method according to an embodiment of the present invention;
图2是根据本发明实施例的另一种可选的物联网家庭互动方法的应用环境的示意图;FIG. 2 is a schematic diagram of an application environment of another optional IoT home interaction method according to an embodiment of the present invention;
图3是根据本发明实施例的一种可选的物联网家庭互动的流程示意图;3 is a schematic flowchart of an optional Internet of Things home interaction according to an embodiment of the present invention;
图4是根据本发明实施例的一种可选的物联网家庭互动系统的示意图;4 is a schematic diagram of an optional Internet of Things home interaction system according to an embodiment of the present invention;
图5是根据本发明实施例的一种可选的物联网家庭互动方法中不同功能模块的示意图;5 is a schematic diagram of different functional modules in an optional IoT home interaction method according to an embodiment of the present invention;
图6是根据本发明实施例的另一种可选的物联网家庭互动方法的流程示意图;6 is a schematic flowchart of another optional IoT home interaction method according to an embodiment of the present invention;
图7是根据本发明实施例的另一种可选的物联网家庭互动方法的流程示意图;7 is a schematic flowchart of another optional IoT home interaction method according to an embodiment of the present invention;
图8是根据本发明实施例的一种可选的物联网家庭互动装置的结构示意图;8 is a schematic structural diagram of an optional IoT home interaction device according to an embodiment of the present invention;
图9是根据本发明实施例的一种可选的电子设备的结构示意图;9 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention;
图10是根据本发明实施例的一种可选的物联网家庭互动装置的结构示意图;10 is a schematic structural diagram of an optional IoT home interaction device according to an embodiment of the present invention;
图11是根据本发明实施例的一种可选的电子设备的结构示意图;11 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention;
图12是根据本发明实施例的一种可选的物联网家庭互动装置的结构示意图;12 is a schematic structural diagram of an optional IoT home interaction device according to an embodiment of the present invention;
图13是根据本发明实施例的一种可选的电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an optional electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Embodiments are part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.
根据本发明实施例的一个方面,提供了一种物联网家庭互动方法,可选地,作为一种可选地实施方式,上述物联网家庭互动方法可以但不限于应用于如图1所示的应用环境中。该应用环境中包括:与用户进行人机交互的终端设备102、网络104、服务器106。用户108与终端设备102之间可以进行人机交互,终端设备102中运行有物联网家庭互动应用程序。上述终端设备102中包括人机交互屏幕1022,处理器1024及存储器1026。人机交互屏幕1022用于显示多媒体数据;处理器1024用于发送互动服务请求指令至服务器,以使所述服务器获取第一多媒体数据;其中,所述互动服务请求指令中携带有登录所述客户端的用户信息,第一多媒体数据为与所述客户端具有绑定关系的机顶盒采集到的多媒体数据;接收所述服务器发送的所述第一多媒体数据。存储器1026用于存储上述多媒体数据。According to an aspect of the embodiments of the present invention, an Internet of Things home interaction method is provided. Optionally, as an optional implementation manner, the above-mentioned Internet of Things home interaction method may be applied, but not limited to, the method shown in FIG. 1 . in the application environment. The application environment includes: a terminal device 102 for man-machine interaction with a user, a network 104, and a server 106. Human-computer interaction can be performed between the
此外,服务器106中包括数据库1062及处理引擎1064,数据库1062中用于存储上述多媒体数据。处理引擎1064用于接收客户端发送的互动服务请求指令,所述互动服务请求指令中携带有登录所述客户端的用户信息;在确定所述用户信息对应的用户拥有互动应用服务权限时,发送互动请求指令至目标机顶盒,以使所述目标机顶盒采集所述机顶盒周边的多媒体数据;其中,所述目标机顶盒为与所述用户具有绑定关系的机顶盒;接收所述目标机顶盒发送的多媒体数据。In addition, the server 106 includes a database 1062 and a processing engine 1064, and the database 1062 is used to store the above-mentioned multimedia data. The processing engine 1064 is configured to receive an interactive service request instruction sent by the client, and the interactive service request instruction carries the user information logging in to the client; when it is determined that the user corresponding to the user information has the interactive application service authority, send an interactive service request. A request instruction is sent to the target set-top box, so that the target set-top box collects multimedia data around the set-top box; wherein, the target set-top box is a set-top box with a binding relationship with the user; and the multimedia data sent by the target set-top box is received.
机顶盒108中包括处理器1082及存储器1084;处理器1082用于接收服务器发送的互动请求指令;响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的多媒体数据;将所述多媒体数据发送至所述服务器。存储器1084用于存储上述多媒体数据。The set-
在一个或多个实施例中,本申请上述物联网家庭互动方法可以应用于图2所示的应用环境中。如图2所示,用户202与用户设备204之间可以进行人机交互。用户设备204中包含有存储器206和处理器208。本实施例中用户设备204可以但不限于参考执行上述终端设备102所执行的操作,以获取多媒体数据。In one or more embodiments, the above-mentioned IoT home interaction method of the present application may be applied to the application environment shown in FIG. 2 . As shown in FIG. 2 , human-computer interaction may be performed between the
可选地,上述终端设备102和用户设备204包括但不限于为手机、机顶盒、电视、平板电脑、笔记本电脑、PC机,车载电子设备,可穿戴设备等终端,上述网络104可以包括但不限于无线网络或有线网络。其中,该无线网络包括:WIFI及其他实现无线通信的网络。上述有线网络可以包括但不限于:广域网、城域网、局域网。上述服务器106可以包括但不限于任何可以进行计算的硬件设备。上述服务器可以是单一服务器,也可以是由多个服务器组成的服务器集群,或者是云服务器。上述仅是一种示例,本实施例中对此不作任何限定。Optionally, the above-mentioned terminal equipment 102 and user equipment 204 include but are not limited to terminals such as mobile phones, set-top boxes, televisions, tablet computers, notebook computers, PCs, in-vehicle electronic equipment, wearable devices, etc. The above-mentioned network 104 may include but not limited to Wi-Fi or wired network. Wherein, the wireless network includes: WIFI and other networks that realize wireless communication. The above wired network may include, but is not limited to, a wide area network, a metropolitan area network, and a local area network. The above-mentioned server 106 may include, but is not limited to, any hardware device that can perform computing. The above server may be a single server, a server cluster composed of multiple servers, or a cloud server. The above is only an example, which is not limited in this embodiment.
作为一种可选地实施方式,如图3所示,本发明实施例提供了一种物联网家庭互动方法,应用于机顶盒,包括如下步骤:As an optional implementation manner, as shown in FIG. 3 , an embodiment of the present invention provides an IoT home interaction method, applied to a set-top box, including the following steps:
S302,机顶盒接收服务器发送的互动请求指令。S302, the set-top box receives the interaction request instruction sent by the server.
在本发明实施例中,上述互动请求指令包括但不限于语音对话请求指令,视频会话请求指令,图像文字互动请求指令,或游戏互动请求指令。In this embodiment of the present invention, the above interaction request instruction includes but is not limited to a voice dialogue request instruction, a video session request instruction, an image text interaction request instruction, or a game interaction request instruction.
S304,机顶盒响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据。S304: In response to the interaction request instruction, the set-top box invokes a multimedia collection device configured on the set-top box to collect first multimedia data of the environment where the set-top box is located.
具体地,机顶盒在接收到上述互动请求指令后,通过配置在机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据;这里,上述多媒体采集设备包括但不限于摄像头,麦克风等设备;上述第一多媒体数据包括但不限于图像数据、视频数据或语音数据。Specifically, after receiving the above interaction request instruction, the set-top box collects the first multimedia data of the environment where the set-top box is located through the multimedia collection device configured on the set-top box; and other equipment; the above-mentioned first multimedia data includes but is not limited to image data, video data or voice data.
S306,将所述第一多媒体数据发送至所述服务器。S306: Send the first multimedia data to the server.
在本发明实施例中,采用了基于机顶盒接收服务器发送的互动请求指令;响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据;将所述第一多媒体数据发送至所述服务器的方法,在上述方法中,由于采用调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据,并将第一多媒体数据发送至所述服务器,不仅解决了可以通过机顶盒与移动终端进行互动,而且可以通过不同的机顶盒直接进行互动交流,进而解决了相关技术中不能通过机顶盒进行互动交流的技术问题。In the embodiment of the present invention, a set-top box is used to receive an interactive request instruction sent by a server; in response to the interactive request instruction, a multimedia collection device configured on the set-top box is invoked to collect the first multimedia information of the environment where the set-top box is located. volume data; a method for sending the first multimedia data to the server, in the above method, since the multimedia collection device configured on the set-top box is used to collect the first multimedia data of the environment where the set-top box is located volume data, and send the first multimedia data to the server, which not only solves the problem of interacting with the mobile terminal through the set-top box, but also directly interacts with the mobile terminal through different set-top boxes, thus solving the problem that in the related art Technical issues of interactive communication.
在一个或多个实施例中,所述物联网家庭互动还包括:In one or more embodiments, the IoT home interaction further includes:
接收服务器发送的第二多媒体数据,所述第二多媒体数据为另一机顶盒或移动终端发送至所述服务器的数据;receiving second multimedia data sent by the server, where the second multimedia data is data sent by another set-top box or mobile terminal to the server;
确定与所述机顶盒关联的显示终端是否处于开启状态;determining whether the display terminal associated with the set-top box is in an open state;
如果是,将所述第二多媒体数据发送至所述显示终端进行展示;If yes, send the second multimedia data to the display terminal for display;
如果否,向所述显示终端发送开启指令,并在所述显示终端开启后将所述第二多媒体数据发送至所述显示终端进行展示。If not, send an opening instruction to the display terminal, and after the display terminal is turned on, send the second multimedia data to the display terminal for display.
具体地,以显示终端为与机顶盒相连的电视为例,机顶盒接收到服务器发送的第二多媒体数据后,确定与所述机顶盒关联的电视是否处于开启状态;如果是开启状态,将所述第二多媒体数据发送至所述显示终端进行展示;如果处于关机状态,通过配置在机顶盒中的红外发射器向电视发送开启指令,并在电视开启后将所述第二多媒体数据发送至所述显示终端进行展示。Specifically, taking the display terminal as a TV connected to the set-top box as an example, after the set-top box receives the second multimedia data sent by the server, it determines whether the TV associated with the set-top box is in an on state; The second multimedia data is sent to the display terminal for display; if it is in a shutdown state, a turn-on instruction is sent to the TV through the infrared transmitter configured in the set-top box, and the second multimedia data is sent after the TV is turned on to the display terminal for presentation.
在一个或多个实施例中,所述互动请求指令为游戏互动请求指令,所述方法还包括:In one or more embodiments, the interaction request instruction is a game interaction request instruction, and the method further includes:
确定所述显示终端处于开启状态,将互动游戏场景输出至所述显示终端进行展示;其中,所述互动游戏场景包括互动游戏参与者的动态人像和/或音频,所述动态人像和/或音频为从所述第一多媒体文件和所述第二多媒体数据中提取到的数据。It is determined that the display terminal is in an open state, and the interactive game scene is output to the display terminal for display; wherein the interactive game scene includes dynamic portraits and/or audios of interactive game participants, and the dynamic portraits and/or audios is the data extracted from the first multimedia file and the second multimedia data.
具体地,机顶盒接收服务器发送的游戏互动请求指令后,确定所述显示终端处于开启状态后,通过多媒体采集设备采集互动游戏参与者的动态人像和/或音频,然后将上述动态人像和/或音频发送至服务器,服务器将上述动态人像和/或音频融入到互动游戏场景中然后将互动游戏场景发送到机顶盒,机顶盒将互动游戏场景输出至所述显示终端进行展示。Specifically, after receiving the game interaction request instruction sent by the server, the set-top box determines that the display terminal is in an open state, collects dynamic portraits and/or audios of interactive game participants through a multimedia collection device, and then records the dynamic portraits and/or audios. Send to the server, the server integrates the dynamic portrait and/or audio into the interactive game scene and then sends the interactive game scene to the set-top box, and the set-top box outputs the interactive game scene to the display terminal for display.
在一个或多个实施例中,所述物联网家庭互动还包括:In one or more embodiments, the IoT home interaction further includes:
通过配置在所述机顶盒中的传感器采集所述机顶盒所处环境的参数信息,所述参数信息包括温度、湿度、烟雾、空气质量、声音强度中的一种或多种;将所述参数信息发送至所述服务器。The parameter information of the environment where the set-top box is located is collected by the sensor configured in the set-top box, the parameter information includes one or more of temperature, humidity, smoke, air quality, and sound intensity; the parameter information is sent to the server.
具体地,通过配置在机顶盒上述的温度传感器采集的室内温度、湿度传感器采集的室内湿度、烟雾探测器采集的烟雾探测数据、空气质量传感器采集的室内空气质量数据,麦克风采集的声音强度分贝数据,摄像头采集的实时抓拍图片数据,机顶盒将上述采集到的参数信息发送至服务器,服务器的设备管理模块接收机顶盒上报数据,转发给规则引擎模块,规则引擎模块根据配置规则分析处理,识别烟雾、火灾、有害气体、燃气泄漏、儿童哭声、撞击声等异常情况并自动告警通知家庭成员,发送告警消息到用户移动终端的APP,可选地,也可将告警消息给用户发送短信或发送到用户的第三方APP,如钉钉、微信等。Specifically, the indoor temperature collected by the above-mentioned temperature sensor configured on the set-top box, the indoor humidity collected by the humidity sensor, the smoke detection data collected by the smoke detector, the indoor air quality data collected by the air quality sensor, and the sound intensity decibel data collected by the microphone, The real-time snapshot picture data collected by the camera, the set-top box sends the collected parameter information to the server, the equipment management module of the server receives the set-top box to report the data, and forwards it to the rule engine module. The rule engine module analyzes and processes according to the configuration rules to identify smoke, fire, Abnormal conditions such as harmful gas, gas leakage, children's crying, impact sound, etc., and automatically alarm to notify family members, and send an alarm message to the APP of the user's mobile terminal. Third-party apps, such as DingTalk, WeChat, etc.
作为一种可选地实施方式,如图6所示,本发明实施例提供了一种物联网家庭互动方法,应用于服务器,包括如下步骤:As an optional implementation manner, as shown in FIG. 6 , an embodiment of the present invention provides an IoT home interaction method, which is applied to a server and includes the following steps:
S602,接收客户端发送的互动服务请求指令,所述互动服务请求指令中携带有登录所述客户端的用户信息;S602, receiving an interactive service request instruction sent by a client, where the interactive service request instruction carries user information logging in to the client;
S604,在确定所述用户信息对应的用户拥有互动应用服务权限时,然后发送互动请求指令至目标机顶盒,以使所述目标机顶盒采集所述机顶盒周边的第一多媒体数据;其中,所述目标机顶盒为与所述用户具有绑定关系的机顶盒;S604, when it is determined that the user corresponding to the user information has the interactive application service authority, then send an interactive request instruction to the target set-top box, so that the target set-top box collects the first multimedia data around the set-top box; wherein, the The target set-top box is a set-top box that has a binding relationship with the user;
S606,接收所述目标机顶盒发送的所述第一多媒体数据。S606: Receive the first multimedia data sent by the target set-top box.
具体地,服务器接收到客户端发送的携带有登录所述客户端的用户信息的互动服务请求指令,以互动服务请求指令为视频聊天指令为例,在确定所述用户信息对应的用户拥有视频互动服务权限时,然后发送视频互动请求指令至目标机顶盒,以使所述目标机顶盒采集所述机顶盒周边的实时视频信息;其中,所述目标机顶盒为与所述用户具有绑定关系的机顶盒。Specifically, the server receives an interactive service request instruction sent by the client and carries the user information logging in to the client. Taking the interactive service request instruction as a video chat instruction as an example, after determining that the user corresponding to the user information has the video interactive service When the permission is granted, a video interaction request instruction is sent to the target set-top box, so that the target set-top box collects real-time video information around the set-top box; wherein, the target set-top box is a set-top box that has a binding relationship with the user.
在本发明实施例中,采用了接收客户端发送的互动服务请求指令,所述互动服务请求指令中携带有登录所述客户端的用户信息;在确定所述用户信息对应的用户拥有互动应用服务权限时,然后发送互动请求指令至目标机顶盒,以使所述目标机顶盒采集所述机顶盒周边的第一多媒体数据;其中,所述目标机顶盒为与所述用户具有绑定关系的机顶盒;接收所述目标机顶盒发送的所述第一多媒体数据的方法,在上述方法中,由于采用调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据,并将第一多媒体数据发送至所述服务器,不仅解决了可以通过机顶盒与移动终端进行互动,而且可以通过不同的机顶盒直接进行互动交流,进而解决了相关技术中不能通过机顶盒进行互动交流的技术问题。In the embodiment of the present invention, an interactive service request instruction sent by the client is received, and the interactive service request instruction carries the user information logging in the client; after it is determined that the user corresponding to the user information has the interactive application service authority , then send an interactive request instruction to the target set-top box, so that the target set-top box collects the first multimedia data around the set-top box; wherein, the target set-top box is a set-top box that has a binding relationship with the user; The method for the first multimedia data sent by the target set-top box, in the above-mentioned method, since the first multimedia data of the environment in which the set-top box is located is collected by invoking the multimedia acquisition device configured on the set-top box, and Sending the first multimedia data to the server not only solves the problem of interacting with the mobile terminal through the set-top box, but also directly interacts with the mobile terminal through different set-top boxes, thereby solving the technology in the related art that the interactive communication cannot be conducted through the set-top box. question.
在一个或多个实施例中,所述物联网家庭互动方法还包括:In one or more embodiments, the IoT home interaction method further includes:
接收所述客户端发送的第一用户的互动服务请求,所述互动服务请求中携带有待互动的第二用户的用户信息;receiving the interactive service request of the first user sent by the client, where the interactive service request carries the user information of the second user to be interacted with;
在确定所述第一用户和第二用户均具备互动应用服务权限的情况下,发送互动连接请求至所述第二用户的客户端或机顶盒;Sending an interactive connection request to the second user's client or set-top box when it is determined that both the first user and the second user have the interactive application service authority;
在本发明实施例中,上述第一用户和第二用户为均具有互动权限的好友。In the embodiment of the present invention, the above-mentioned first user and second user are friends who both have interaction rights.
在接收到所述第二用户的客户端或机顶盒的确认消息时,接收第一机顶盒发送的第二多媒体数据和第二机顶盒发送的第三多媒体数据;其中,第一机顶盒为所述第一用户绑定的机顶盒,第二机顶盒为所述第二用户绑定的机顶盒;When receiving the confirmation message from the client terminal of the second user or the set-top box, receive the second multimedia data sent by the first set-top box and the third multimedia data sent by the second set-top box; wherein the first set-top box is the the set-top box bound by the first user, and the second set-top box is the set-top box bound by the second user;
将所述第二多媒体数据和所述第三多媒体数据进行融合,得到目标流媒体数据;Fusion of the second multimedia data and the third multimedia data to obtain target streaming media data;
将所述目标流媒体数据发送至所述第一机顶盒和所述第二机顶盒,以在所述第一机顶盒关联的第一显示终端及所述第二机顶盒关联的第二显示终端均展示所述目标流媒体数据。sending the target streaming media data to the first set-top box and the second set-top box, so that the first display terminal associated with the first set-top box and the second display terminal associated with the second set-top box both display the Target streaming data.
在一个或多个实施例中,所述互动服务请求包括互动游戏请求,相应地,所述第二多媒体数据包括所述第一用户的动态人像和/或音频,所述第三多媒体数据包括所述第二用户的动态人像和/或音频;In one or more embodiments, the interactive service request includes an interactive game request, and accordingly, the second multimedia data includes a dynamic portrait and/or audio of the first user, the third multimedia data the volume data includes a dynamic portrait and/or audio of the second user;
所述将所述第二多媒体数据和所述第三多媒体数据进行融合,得到目标流媒体数据,包括:The fusion of the second multimedia data and the third multimedia data to obtain target streaming media data includes:
将所述第一用户的动态人像和/或音频、所述第二用户的动态人像和/或音频与当前互动游戏的场景进行融合,得到所述目标流媒体数据。The target streaming media data is obtained by merging the dynamic portrait and/or audio of the first user and the dynamic portrait and/or audio of the second user with the scene of the current interactive game.
在一个或多个实施例中,所述物联网家庭互动方法还包括:In one or more embodiments, the IoT home interaction method further includes:
接收所述目标机顶盒中的传感器采集所述机顶盒所处环境的参数信息,所述参数信息包括温度、湿度、烟雾、空气质量、声音强度中的一种或多种;receiving the sensor in the target set-top box to collect parameter information of the environment in which the set-top box is located, the parameter information including one or more of temperature, humidity, smoke, air quality, and sound intensity;
基于预设的预警规则判断所述参数信息处于异常阈值范围时,发送报警信息至所述目标机顶盒或客户端。When it is judged that the parameter information is in the abnormal threshold range based on the preset early warning rules, alarm information is sent to the target set-top box or client.
作为一种可选地实施方式,如图7所示,本发明实施例提供了一种物联网家庭互动方法,应用于客户端,包括如下步骤:As an optional implementation manner, as shown in FIG. 7 , an embodiment of the present invention provides an IoT home interaction method, which is applied to a client and includes the following steps:
S702,发送互动服务请求指令至服务器,以使所述服务器获取第一多媒体数据;其中,所述互动服务请求指令中携带有登录所述客户端的用户信息,第一多媒体数据为与所述客户端具有绑定关系的机顶盒采集到的多媒体数据;S702: Send an interactive service request instruction to a server, so that the server obtains first multimedia data; wherein, the interactive service request instruction carries user information logging in to the client, and the first multimedia data is related to The multimedia data collected by the set-top box of which the client has a binding relationship;
S704,接收所述服务器发送的所述第一多媒体数据。S704: Receive the first multimedia data sent by the server.
在一个或多个实施例中,所述物联网家庭互动方法还包括:In one or more embodiments, the IoT home interaction method further includes:
发送第一用户的互动服务请求至服务器,所述互动服务请求中携带有待互动的第二用户的用户信息;其中,所述第一用户为登录在当前客户端中的用户;Send the interactive service request of the first user to the server, where the interactive service request carries the user information of the second user to be interacted with; wherein, the first user is a user logged in the current client;
在确定所述第一用户和第二用户均具备互动应用服务权限的情况下,接收服务器发送的所述第二用户的确认消息。In the case that it is determined that both the first user and the second user have the permission of the interactive application service, a confirmation message of the second user sent by the server is received.
在本发明实施例中,系统为每个用户的家庭分配了一个系统唯一的家庭编号,用户需要设置自己的家庭名称,可选地可以设置家庭备注,添加友好家庭时,可以直接输入对方家庭编号进行添加,或者通过家庭名称搜索家庭,系统在用户客户端界面上展示搜索到的家庭列表,包括家庭名称、家庭编号、家庭备注,用户选择自己想要添加的家庭进行添加,添加时可以输入验证信息以便对方理解验证,用户添加友好家庭后需要对方验证授权才能正式添加成功;发起添加请求后处于待验证状态,等待对方授权验证。用户接收到添加友好家庭的验证请求,可以看到对方家庭信息,对方的家庭信息包括家庭名称、家庭编号,家庭备注,家庭成员名称,家庭成员手机号码。In this embodiment of the present invention, the system assigns a system-unique family number to each user's family. Users need to set their own family name, and optionally can set family remarks. When adding a friendly family, they can directly input the other party's family number. Add, or search for a family by family name, the system displays the searched family list on the user client interface, including family name, family ID, family remarks, the user selects the family they want to add to add, and can enter verification when adding The information is so that the other party can understand the verification. After the user adds a friendly family, the other party needs to verify and authorize the official addition. When a user receives a verification request for adding a friendly family, he can see the other party's family information. The other party's family information includes family name, family number, family remarks, family member name, and family member mobile phone number.
基于上述实施例,如图4所示,在一应用实施例中,上述的物联网家庭互动系统还包括:Based on the foregoing embodiment, as shown in FIG. 4 , in an application embodiment, the foregoing IoT home interaction system further includes:
电视机,与智能机顶盒连接,用于接收智能机顶盒的视频输出信息和音频输出信息,显示视频图像和播放声音。并能通过红外接收器接收智能机顶盒发送的红外遥控指令。The TV is connected to the smart set-top box, and is used for receiving video output information and audio output information of the smart set-top box, displaying video images and playing sound. And can receive the infrared remote control command sent by the smart set-top box through the infrared receiver.
智能机顶盒,与电视机连接,通过视频接口和音频接口向电视机输出视频信息和音频信息,通过红外发射器向电视机发送红外遥控指令用于远程遥控电视机,可发送开机、关机、确定、返回、方向控制等指令;与服务器通过互联网连接,将摄像头、麦克风采集的音视频数据通过网络上传给服务器;将摄像头实时抓拍图片上传给服务器;将采集到的室内温度、室内湿度、烟雾探测数据、空气质量数据、声音强度分贝数据上报给服务器。The smart set-top box is connected to the TV, outputs video information and audio information to the TV through the video interface and audio interface, and sends infrared remote control commands to the TV through the infrared transmitter to remotely control the TV. Return, direction control and other commands; connect with the server through the Internet, upload the audio and video data collected by the camera and microphone to the server through the network; upload the real-time captured pictures of the camera to the server; upload the collected indoor temperature, indoor humidity, and smoke detection data , air quality data and sound intensity decibel data are reported to the server.
服务器,部署物联网家庭互动系统软件,与智能机顶盒通过互联网连接,接收智能机顶盒上报数据,管理智能机顶盒设备在线状态,向智能机顶盒下发服务指令请求,包括调取智能机顶盒摄像头实时视频图像、实时音频采集数据,通过智能机顶盒远程开启电视机,并远程遥控电视机,与家人进行视频互动交流,也可以远程遥控关闭电视机。The server deploys the IoT home interactive system software, connects with the smart set-top box through the Internet, receives the data reported by the smart set-top box, manages the online status of the smart set-top box, and sends service instruction requests to the smart set-top box, including calling the smart set-top box camera real-time video images, real-time Collect audio data, turn on the TV remotely through the smart set-top box, and remotely control the TV, conduct video interaction with family members, and remotely turn off the TV.
手机,安装家庭互动管理系统APP软件,与服务器通过互联网连接,用于登录家庭互动管理系统系统,管理家庭设备和家庭成员,发起互动服务请求,与家庭成员互动交流,接收系统告警消息。Mobile phone, install the APP software of the family interaction management system, and connect with the server through the Internet to log in to the family interaction management system system, manage family equipment and family members, initiate interactive service requests, interact with family members, and receive system alarm messages.
基于上述实施例,如图5所示,在一应用实施例中,上述的物联网家庭互动系统还包括:设备管理模块、用户管理模块、家庭管理模块、应用管理模块、规则引擎模块、互动管理模块。Based on the above embodiment, as shown in FIG. 5 , in an application embodiment, the above-mentioned IoT home interaction system further includes: a device management module, a user management module, a family management module, an application management module, a rule engine module, an interaction management module module.
此外,用户通过手机APP或电脑Web浏览器登录家庭互动管理系统(上述的物联网家庭互动系统),由用户管理模块进行登录鉴权和安全验证处理,登录成功后,用户可以发起远程监控指令服务请求。由应用管理模块处理远程监控指令服务请求,检查用户是否拥有远程监控应用服务权限,然后向设备管理模块下发指令请求,设备管理模块检查机顶盒设备是否在线,如果在线则生成的流媒体协议播放地址,通过用户客户端(手机APP或电脑Web浏览器)的流媒体播放器播放智能机顶盒采集的实时监控视频(多媒体数据)。In addition, the user logs in to the home interaction management system (the above-mentioned Internet of Things home interaction system) through the mobile phone APP or computer web browser, and the user management module performs login authentication and security verification processing. After the login is successful, the user can initiate a remote monitoring command service. ask. The application management module processes the remote monitoring command service request, checks whether the user has the remote monitoring application service authority, and then sends the command request to the device management module. The device management module checks whether the set-top box device is online, and if it is online, the generated streaming media protocol playback address , and play the real-time monitoring video (multimedia data) collected by the smart set-top box through the streaming media player of the user client (mobile phone APP or computer web browser).
在另一实施例中,用户通过手机APP或电脑Web浏览器登录家庭互动管理系统,由用户管理模块进行登录鉴权和安全验证处理,登录成功后,用户可以发起家庭内部互动指令服务请求。由应用管理模块处理家庭内部互动服务请求,检查用户是否拥有家庭内部互动应用服务权限,然后向设备管理模块下发指令请求,设备管理模块检查机顶盒设备是否在线,如果在线则生成的流媒体协议播放地址,通过用户客户端(手机APP或电脑Web浏览器)的流媒体播放器播放智能机顶盒采集的实时监控视频,同时向智能机顶盒下发家庭内部互动指令,智能机顶盒收到指令后通过红外发射器向电视机红外接收器发送开机指令,并且通过红外指令控制电视机展示和播放智能机顶盒输出的实时视频和音频数据,此视频和音频数据来源于远程端用户手机或电脑的摄像头和麦克风采集的视频和音频数据,从而实现家庭内部互动流量场景服务。In another embodiment, the user logs in to the home interaction management system through a mobile phone APP or a computer web browser, and the user management module performs login authentication and security verification processing. After the login is successful, the user can initiate a service request for home interaction instructions. The application management module processes the request for interactive services within the home, checks whether the user has the right to interact with the application within the home, and then sends an instruction request to the device management module. The device management module checks whether the set-top box device is online. Address, play the real-time monitoring video collected by the smart set-top box through the streaming media player of the user client (mobile phone APP or computer web browser), and at the same time send the home interactive instructions to the smart set-top box, after the smart set-top box receives the instruction, the infrared transmitter transmits Send the power-on command to the infrared receiver of the TV, and control the TV to display and play the real-time video and audio data output by the smart set-top box through the infrared command. The video and audio data come from the video collected by the camera and microphone of the remote user's mobile phone or computer and audio data, so as to realize the interactive traffic scene service within the home.
在一实施例中,用户通过手机APP或电脑Web浏览器登录家庭互动管理系统,可选地,可以通过智能机顶盒APP登录家庭互动管理系统,由用户管理模块进行登录鉴权和安全验证处理,登录成功后,用户可以通过家庭管理模块添加、删除友好家庭。添加友好家庭的具体实现方式为:系统为每个家庭分配了一个系统唯一的家庭编号,用户需要设置自己的家庭名称,可选地可以设置家庭备注,添加友好家庭时,可以直接输入对方家庭编号进行添加,或者通过家庭名称搜索家庭,系统在用户客户端界面上展示搜索到的家庭列表,包括家庭名称、家庭编号、家庭备注,用户选择自己想要添加的家庭进行添加,添加时可以输入验证信息以便对方理解验证,用户添加友好家庭后需要对方验证授权才能正式添加成功,发起添加请求后处于待验证状态,等待对方授权验证。用户接收到添加友好家庭的验证请求,可以看到对方家庭的信息,包括家庭名称、家庭编号,家庭备注,家庭成员名称,家庭成员手机号码(如脱敏展示,即只展示前3位和后3位,中间5位用星号隐藏),添加验证信息,确认验证通过,则双方互为友好家庭,可以进行友好家庭互动。In one embodiment, the user logs in to the home interaction management system through a mobile phone APP or a computer web browser. Optionally, the user may log in to the home interaction management system through a smart set-top box APP. After success, users can add and delete friendly families through the family management module. The specific implementation method of adding a friendly family is as follows: the system assigns a unique family ID to each family. Users need to set their own family name and optionally set family notes. When adding a friendly family, they can directly input the other party's family ID. Add, or search for a family by family name, the system displays the searched family list on the user client interface, including family name, family ID, family remarks, the user selects the family they want to add to add, and can enter verification when adding The information is so that the other party can understand the verification. After the user adds a friendly family, the other party needs to verify and authorize the official addition. After the addition request is initiated, it is in the pending verification state, waiting for the other party's authorization and verification. After receiving the verification request to add a friendly family, the user can see the information of the other's family, including family name, family number, family remarks, family member's name, and family member's mobile phone number (such as desensitization display, that is, only the first three digits and the last three digits are displayed. 3 digits, the middle 5 digits are hidden with asterisks), add verification information, and confirm that the verification is passed, then the two parties are each other's friendly families and can conduct friendly family interactions.
删除友好家庭的具体实现方式为:用户在友好家庭列表页面,在需要删除的友好家庭后面点击“删除”按钮,系统弹出删除确认页面,在确认页面点击“确定”按钮后删除友好家庭,删除后系统会在对方登录系统时提示对方已删除友好家庭,删除后看不到对方家庭且与对方家庭之间不能进行互动。The specific implementation method of deleting a friendly family is as follows: the user clicks the "Delete" button after the friendly family that needs to be deleted on the friendly family list page, and the system pops up a deletion confirmation page. After clicking the "OK" button on the confirmation page, the friendly family is deleted. When the other party logs in to the system, the system will prompt the other party that the friendly family has been deleted. After the deletion, the other party's family cannot be seen and cannot be interacted with the other party's family.
在一实施例中,友好家庭互动的具体实现方式为:用户在友好家庭列表选择友好家庭,发起友好互动服务请求,由应用管理模块处理友好家庭互动服务请求,检查用户是否拥有友好家庭互动应用服务权限,然后将家庭互动请求转发给互动管理模块进行处理,互动管理模块查找双方家庭的智能机顶盒设备,并向对方家庭管理员用户发送互动请求,对方家庭管理员用户接受互动请求后,建立互动连接,互动管理模块向设备管理模块下发互动指令请求,设备管理模块检查双方智能机顶盒设备是否在线,如果都在线,则向双方智能机顶盒下发互动指令,由智能机顶盒检查电视机是否打开,如果未打开则通过红外发射器向电视机红外接收器发送开机指令,然后通过红外指令控制电视机展示和播放智能机顶盒输出的实时视频和音频数据,电视机展示和播放的是对方智能机顶盒上的摄像头和麦克风采集的实时视频和音频数据,从而实现友好家庭之间的互动交流。In one embodiment, the specific implementation of the friendly family interaction is as follows: the user selects a friendly family in the friendly family list, initiates a friendly interaction service request, the application management module processes the friendly family interaction service request, and checks whether the user has the friendly family interaction application service permission, and then forwards the family interaction request to the interaction management module for processing. The interaction management module searches for the smart set-top box devices of both families, and sends the interaction request to the other party's family administrator user. After the other party's family administrator user accepts the interaction request, an interactive connection is established. , the interactive management module sends an interactive command request to the device management module, the device management module checks whether the smart set-top boxes of both parties are online, and if both are online, it sends an interactive command to the smart set-top boxes of both parties, and the smart set-top box checks whether the TV is turned on. When turned on, send a power-on command to the infrared receiver of the TV through the infrared transmitter, and then control the TV to display and play the real-time video and audio data output by the smart set-top box through the infrared command. Real-time video and audio data collected by microphones, enabling interactive communication between friendly families.
在一实施例中,用户通过手机APP或电脑Web浏览器登录家庭互动管理系统,可选地,可以通过智能机顶盒APP登录家庭互动管理系统,由用户管理模块进行登录鉴权和安全验证处理。登录成功后,如果用户未添加友好家庭,可以按照上述实施例提供的的方式添加友好家庭。用户可以与友好家庭进行游戏互动。In one embodiment, the user logs in to the home interaction management system through a mobile phone APP or a computer web browser. Optionally, the user may log in to the home interaction management system through a smart set-top box APP, and the user management module performs login authentication and security verification processing. After the login is successful, if the user has not added a friendly family, the friendly family can be added in the manner provided in the above embodiment. Users can interact with the game with friendly families.
在一实施例中,友好家庭游戏互动的具体实现方式为:游戏软件通过应用管理模块管理,在游戏互动前用户通过机顶盒APP软件下载到机顶盒安装和存储,所述游戏包括但不限于为体感互动游戏,也可由游戏手柄或其它采集终端采集操纵的游戏。用户在友好家庭列表选择友好家庭,发起游戏互动服务请求,由应用管理模块处理游戏互动服务请求,检查用户是否拥有与友好家庭游戏互动应用服务权限,然后将游戏互动请求转发给互动管理模块进行处理,互动管理模块查找双方家庭的智能机顶盒设备,并向对方家庭管理员用户发送游戏互动请求,对方家庭管理员用户接受互动请求后,建立互动连接,互动管理模块向设备管理模块下发游戏互动指令请求,设备管理模块检查双方智能机顶盒设备是否在线,如果都在线,则向双方智能机顶盒下发游戏互动指令,由智能机顶盒检查电视机是否打开,如果未打开则通过红外发射器向电视机红外接收器发送开机指令,然后通过红外指令控制电视机展示和播放智能机顶盒输出的实时视频和音频数据,智能机顶盒输出的实时视频和音频数据为3D游戏场景,游戏场景中嵌入双方智能机顶盒摄像头采集的游戏参与者的动态人像,以及对方智能机顶盒麦克风采集的音频数据,从而实现友好家庭之间的游戏互动。In one embodiment, the specific implementation of the friendly family game interaction is: the game software is managed by the application management module, and the user downloads the set-top box APP software to the set-top box for installation and storage before the game interaction. The game includes but is not limited to somatosensory interaction. Games can also be collected and manipulated by gamepads or other collection terminals. The user selects a friendly family in the friendly family list, initiates a game interaction service request, and the application management module processes the game interaction service request, checks whether the user has the application service permission to interact with the friendly family game, and then forwards the game interaction request to the interaction management module for processing. , the interaction management module searches for the smart set-top box devices of the families of both parties, and sends a game interaction request to the administrator user of the other party. After the administrator user of the other party accepts the interaction request, an interactive connection is established, and the interaction management module sends the game interaction instruction to the device management module. Request, the device management module checks whether the smart set-top boxes of both parties are online, and if both are online, it will send game interaction instructions to the smart set-top boxes of both parties, and the smart set-top boxes will check whether the TV is turned on. The device sends a power-on command, and then controls the TV to display and play the real-time video and audio data output by the smart set-top box through infrared commands. The real-time video and audio data output by the smart set-top box is a 3D game scene. The dynamic portraits of the participants and the audio data collected by the microphones of the other party's smart set-top boxes enable game interaction between friendly families.
在一实施例中,智能机顶盒设备通过家庭宽带和互联网定时向服务器上报设备采集的数据,采集数据包括:温度传感器采集的室内温度、湿度传感器采集的室内湿度、烟雾探测器采集的烟雾探测数据、空气质量传感器采集的室内空气质量数据,麦克风采集的声音强度分贝数据,摄像头采集的实时抓拍图片数据。设备管理模块接收设备上报数据,转发给规则引擎模块,规则引擎模块根据配置规则分析处理,识别烟雾、火灾、有害气体、燃气泄漏、儿童哭声、撞击声等异常情况并自动告警通知家庭成员,发送告警消息到用户手机APP,可选地也可将告警消息给用户发送短信或发送到用户的第三方APP,如钉钉、微信,用户收到告警消息后可以远程监控家庭情况,也可以与家庭成员进行家庭内部互动确认详细情况,或通过其它方式处理告警。In one embodiment, the smart set-top box device periodically reports data collected by the device to the server through the home broadband and the Internet, and the collected data includes: indoor temperature collected by a temperature sensor, indoor humidity collected by a humidity sensor, smoke detection data collected by a smoke detector, The indoor air quality data collected by the air quality sensor, the sound intensity decibel data collected by the microphone, and the real-time snapshot image data collected by the camera. The device management module receives the data reported by the device and forwards it to the rule engine module. The rule engine module analyzes and processes according to the configuration rules, identifies abnormal conditions such as smoke, fire, harmful gas, gas leakage, children's crying, and impact sound, and automatically alerts family members. Send the alarm message to the user's mobile phone APP, optionally, send the alarm message to the user as a short message or send it to the user's third-party APP, such as DingTalk and WeChat, after receiving the alarm message, the user can remotely monitor the home situation, or communicate with the user. Family members engage in intra-family interactions to confirm details, or otherwise handle alerts.
本发明实施例还具有以下有益效果:The embodiment of the present invention also has the following beneficial effects:
1.通过上述技术方案,用户可以通过手机APP远程打开家里的电视机,随时与家里的老人、小孩或其它成员进行视频互动交流,监督孩子学习,或查看家里的情况,也可以远程控制关闭电视。友好家庭成员之间可以通过电视机、手机APP联网进行互动交流,召开多方视频会议。家庭成员之间、或者友好家庭之间可以进行互动游戏,电视上展示游戏画面,模拟真实场景,比如模拟在公园一起跑步,模拟一起打乒乓球等游戏,在游戏场景中适当位置展示游戏成员实时动态形象。1. Through the above technical solutions, users can remotely turn on the TV at home through the mobile phone APP, conduct video interaction with the elderly, children or other members of the family at any time, supervise children's learning, or check the situation at home, and can also remotely control the TV to turn off. . Friendly family members can interact and communicate through the Internet through TV and mobile APPs, and hold multi-party video conferences. Interactive games can be played between family members or between friendly families. The game screen is displayed on the TV, simulating real scenes, such as simulating running in the park together, simulating games such as playing table tennis together, and displaying the game members in real time at appropriate positions in the game scene. dynamic image.
2.能实时监控家庭室内环境信息,接收到异常告警信息后可以实时调度家中智能机顶盒查看监控信息,进行相应的安全防控处理,保障家庭环境安全。2. It can monitor the home indoor environment information in real time. After receiving the abnormal alarm information, it can dispatch the smart set-top box at home to view the monitoring information in real time, and carry out corresponding security prevention and control processing to ensure the safety of the home environment.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. As in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
根据本发明实施例的另一个方面,还提供了一种用于实施上述物联网家庭互动方法的物联网家庭互动装置。如图8所示,该装置包括:According to another aspect of the embodiments of the present invention, there is also provided an IoT home interaction device for implementing the above IoT home interaction method. As shown in Figure 8, the device includes:
第一接收单元802,用于接收服务器发送的互动请求指令;a
第一采集单元804,用于响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据;a
第一发送单元806,用于将所述第一多媒体数据发送至所述服务器。The
在本发明实施例中,在本发明实施例中,在本发明实施例中,采用了获取到的待处理的账单任务根据业务逻辑进行拆分,得到多个账单子任务;将上述多个账单子任务中的每个账单子任务配置到Kafka消息队列中;将上述Kafka消息队列中的多个账单子任务配置到不同的任务处理节点进行处理的方法,在上述方法中,由于采用将账单任务分解为多个账单子任务,并使用Kafka消息队列来存储多个账单子任务,不仅解决了提高计费账单的处理效率,而且提高计算节点的利用率,进而解决了计费账单的处理效率较低的技术问题。In the embodiment of the present invention, in the embodiment of the present invention, the acquired billing task to be processed is used to split according to business logic, so as to obtain multiple billing subtasks; Each billing subtask in the subtask is configured to the Kafka message queue; the method of configuring multiple billing subtasks in the above Kafka message queue to different task processing nodes for processing, in the above method, because the billing task is used Decompose it into multiple billing subtasks, and use the Kafka message queue to store multiple billing subtasks, which not only solves the problem of improving the processing efficiency of billing bills, but also improves the utilization rate of computing nodes, thereby solving the problem of higher processing efficiency of billing bills. Low technical issues.
在一个或多个实施例中,上述物联网家庭互动装置,还包括:In one or more embodiments, the above-mentioned IoT home interactive device further includes:
第二接收单元,用于接收服务器发送的第二多媒体数据,所述第二多媒体数据为另一机顶盒或移动终端发送至所述服务器的数据;a second receiving unit, configured to receive second multimedia data sent by the server, where the second multimedia data is data sent by another set-top box or mobile terminal to the server;
第一确定单元,用于确定与所述机顶盒关联的显示终端是否处于开启状态;a first determining unit, configured to determine whether the display terminal associated with the set-top box is in an open state;
如果是,将所述第二多媒体数据发送至所述显示终端进行展示;If yes, send the second multimedia data to the display terminal for display;
如果否,向所述显示终端发送开启指令,并在所述显示终端开启后将所述第二多媒体数据发送至所述显示终端进行展示。If not, send an opening instruction to the display terminal, and after the display terminal is turned on, send the second multimedia data to the display terminal for display.
在一个或多个实施例中,上述物联网家庭互动装置,还包括:In one or more embodiments, the above-mentioned IoT home interactive device further includes:
第三接收单元,用于接收服务器发送的第二多媒体数据,所述第二多媒体数据为另一机顶盒或移动终端发送至所述服务器的数据;a third receiving unit, configured to receive second multimedia data sent by the server, where the second multimedia data is data sent by another set-top box or mobile terminal to the server;
第二确定单元,用于确定与所述机顶盒关联的显示终端是否处于开启状态;a second determining unit, configured to determine whether the display terminal associated with the set-top box is in an open state;
如果是,将所述第二多媒体数据发送至所述显示终端进行展示;If yes, send the second multimedia data to the display terminal for display;
如果否,向所述显示终端发送开启指令,并在所述显示终端开启后将所述第二多媒体数据发送至所述显示终端进行展示。If not, send an opening instruction to the display terminal, and after the display terminal is turned on, send the second multimedia data to the display terminal for display.
在一个或多个实施例中,上述物联网家庭互动装置,还包括:In one or more embodiments, the above-mentioned IoT home interactive device further includes:
第三确定单元,用于确定所述显示终端处于开启状态,将互动游戏场景输出至所述显示终端进行展示;其中,所述互动游戏场景包括互动游戏参与者的动态人像和/或音频,所述动态人像和/或音频为从所述第一多媒体文件和所述第二多媒体数据中提取到的数据。The third determination unit is configured to determine that the display terminal is in an on state, and output the interactive game scene to the display terminal for display; wherein, the interactive game scene includes dynamic portraits and/or audios of interactive game participants, so The dynamic portrait and/or audio are data extracted from the first multimedia file and the second multimedia data.
在一个或多个实施例中,上述物联网家庭互动装置,包括:In one or more embodiments, the above-mentioned IoT home interactive device includes:
第二采集单元,用于通过配置在所述机顶盒中的传感器采集所述机顶盒所处环境的参数信息,所述参数信息包括温度、湿度、烟雾、空气质量、声音强度中的一种或多种;The second collection unit is configured to collect parameter information of the environment in which the set-top box is located through a sensor configured in the set-top box, where the parameter information includes one or more of temperature, humidity, smoke, air quality, and sound intensity ;
第二发送单元,用于将所述参数信息发送至所述服务器。The second sending unit is configured to send the parameter information to the server.
根据本发明实施例的又一个方面,还提供了一种用于实施上述物联网家庭互动方法的电子设备,该电子设备可以是图9所示的终端设备或服务器。本实施例以该电子设备为终端为例来说明。如图9所示,该电子设备包括存储器902和处理器904,该存储器902中存储有计算机程序,该处理器904被设置为通过计算机程序执行上述任一项方法实施例中的步骤。According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above-mentioned IoT home interaction method, where the electronic device may be the terminal device or the server shown in FIG. 9 . This embodiment is described by taking the electronic device as a terminal as an example. As shown in FIG. 9 , the electronic device includes a
可选地,在本实施例中,上述电子设备可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the above-mentioned electronic device may be located in at least one network device among multiple network devices of a computer network.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:
S11,接收服务器发送的互动请求指令;S11, receiving the interactive request instruction sent by the server;
S12,响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据;S12, in response to the interaction request instruction, call a multimedia collection device configured on the set-top box to collect first multimedia data of the environment where the set-top box is located;
S13,将所述第一多媒体数据发送至所述服务器。S13: Send the first multimedia data to the server.
可选地,本领域普通技术人员可以理解,图10所示的结构仅为示意,电子装置电子设备也可Optionally, those of ordinary skill in the art can understand that the structure shown in FIG. 10 is only for illustration, and the electronic device can also
储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1002可进一步包括相对于处理器1004远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。其中,存储器1002具体可以但不限于以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图9其并不对上述电子装置电子设备的结构造成限定。例如,电子装置电子设备还可包括比图9中所示更多或者更少的组件(如网络接口等),或者具有与图9所示不同的配置。storage, flash memory, or other non-volatile solid-state memory. In some instances,
其中,存储器902可用于存储软件程序以及模块,如本发明实施例中的物联网家庭互动方法和装置对应的程序指令/模块,处理器904通过运行存储在存储器902内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的物联网家庭互动方法。存储器902可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存用于存储多媒体体数据等信息。作为一种示例,如图9所示,上述存储器902中可以但不限于包括上述物联网家庭互动装置中的第一接收单元802、第一采集单元804与第一发送单元806。此外,还可以包括但不限于上述物联网家庭互动装置中的其他模块单元,本示例中不再赘述。The
可选地,上述的传输装置906用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置906包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置906为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Optionally, the above-mentioned
此外,上述电子设备还包括:显示器908,用于显示上述多媒体数据;和连接总线910,用于连接上述电子设备中的各个模块部件。In addition, the above-mentioned electronic equipment further includes: a
根据本发明实施例的另一个方面,还提供了一种用于实施上述物联网家庭互动方法的物联网家庭互动装置。如图10所示,该装置包括:According to another aspect of the embodiments of the present invention, there is also provided an IoT home interaction device for implementing the above IoT home interaction method. As shown in Figure 10, the device includes:
第一接收单元1002,接收客户端发送的互动服务请求指令,所述互动服务请求指令中携带有登录所述客户端的用户信息;The
第一发送单元1004,用于在确定所述用户信息对应的用户拥有互动应用服务权限时,发送互动请求指令至目标机顶盒,以使所述目标机顶盒采集所述机顶盒周边的第一多媒体数据;其中,所述目标机顶盒为与所述用户具有绑定关系的机顶盒;The
第二接收单元1006,用于接收所述目标机顶盒发送的所述第一多媒体数据。The
在一个或多个实施例中,上述物联网家庭互动装置,还包括:In one or more embodiments, the above-mentioned IoT home interactive device further includes:
第三接收单元,用于接收所述客户端发送的第一用户的互动服务请求,所述互动服务请求中携带有待互动的第二用户的用户信息;a third receiving unit, configured to receive the interactive service request of the first user sent by the client, where the interactive service request carries the user information of the second user to be interacted with;
第二发送单元,用于在确定所述第一用户和第二用户均具备互动应用服务权限的情况下,发送互动连接请求至所述第二用户的客户端或机顶盒;a second sending unit, configured to send an interactive connection request to the second user's client or set-top box when it is determined that both the first user and the second user have the interactive application service authority;
第四接收单元,用于在接收到所述第二用户的客户端或机顶盒的确认消息时,接收第一机顶盒发送的第二多媒体数据和第二机顶盒发送的第三多媒体数据;其中,第一机顶盒为所述第一用户绑定的机顶盒,第二机顶盒为所述第二用户绑定的机顶盒;a fourth receiving unit, configured to receive the second multimedia data sent by the first set-top box and the third multimedia data sent by the second set-top box when receiving the confirmation message of the second user's client or the set-top box; Wherein, the first set-top box is a set-top box bound by the first user, and the second set-top box is a set-top box bound by the second user;
融合单元,用于将所述第二多媒体数据和所述第三多媒体数据进行融合,得到目标流媒体数据;a fusion unit, configured to fuse the second multimedia data and the third multimedia data to obtain target streaming media data;
第三发送单元,用于将所述目标流媒体数据发送至所述第一机顶盒和所述第二机顶盒,以在所述第一机顶盒关联的第一显示终端及所述第二机顶盒关联的第二显示终端均展示所述目标流媒体数据。a third sending unit, configured to send the target streaming media data to the first set-top box and the second set-top box, so that the first display terminal associated with the first set-top box and the second set-top box associated with the second set-top box Both display terminals display the target streaming media data.
在一个或多个实施例中,上述物联网家庭互动装置,所述互动服务请求包括互动游戏请求,相应地,所述第二多媒体数据包括所述第一用户的动态人像和/或音频,所述第三多媒体数据包括所述第二用户的动态人像和/或音频;In one or more embodiments, in the above-mentioned IoT home interactive device, the interactive service request includes an interactive game request, and accordingly, the second multimedia data includes a dynamic portrait and/or audio of the first user , the third multimedia data includes a dynamic portrait and/or audio of the second user;
所述融合单元,具体包括:The fusion unit specifically includes:
融合模块,用于将所述第一用户的动态人像和/或音频、所述第二用户的动态人像和/或音频与当前互动游戏的场景进行融合,得到所述目标流媒体数据。A fusion module, configured to fuse the dynamic portrait and/or audio of the first user, the dynamic portrait and/or audio of the second user and the scene of the current interactive game to obtain the target streaming media data.
在一个或多个实施例中,上述物联网家庭互动装置,还包括:In one or more embodiments, the above-mentioned IoT home interactive device further includes:
第五接收单元,用于接收所述目标机顶盒中的传感器采集所述机顶盒所处环境的参数信息,所述参数信息包括温度、湿度、烟雾、空气质量、声音强度中的一种或多种;a fifth receiving unit, configured to receive parameter information of the environment where the set-top box is located by a sensor in the target set-top box, where the parameter information includes one or more of temperature, humidity, smoke, air quality, and sound intensity;
第四发送单元,用于基于预设的预警规则判断所述参数信息处于异常阈值范围时,发送报警信息至所述目标机顶盒或客户端。The fourth sending unit is configured to send alarm information to the target set-top box or client when it is judged that the parameter information is in the abnormal threshold range based on a preset warning rule.
根据本发明实施例的又一个方面,还提供了一种用于实施上述物联网家庭互动方法的电子设备,该电子设备可以是图11所示的终端设备或服务器。本实施例以该电子设备为终端为例来说明。如图11所示,该电子设备包括存储器1102和处理器1104,该存储器1102中存储有计算机程序,该处理器1104被设置为通过计算机程序执行上述任一项方法实施例中的步骤。According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above-mentioned IoT home interaction method, where the electronic device may be the terminal device or the server shown in FIG. 11 . This embodiment is described by taking the electronic device as a terminal as an example. As shown in FIG. 11 , the electronic device includes a
可选地,在本实施例中,上述电子设备可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the above-mentioned electronic device may be located in at least one network device among multiple network devices of a computer network.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:
S21,接收客户端发送的互动服务请求指令,所述互动服务请求指令中携带有登录所述客户端的用户信息;S21, receiving an interactive service request instruction sent by the client, where the interactive service request instruction carries user information logging in to the client;
S22,在确定所述用户信息对应的用户拥有互动应用服务权限时,发送互动请求指令至目标机顶盒,以使所述目标机顶盒采集所述机顶盒周边的第一多媒体数据;其中,所述目标机顶盒为与所述用户具有绑定关系的机顶盒;S22, when it is determined that the user corresponding to the user information has the interactive application service authority, send an interactive request instruction to the target set-top box, so that the target set-top box collects first multimedia data around the set-top box; wherein the target set-top box The set-top box is a set-top box that has a binding relationship with the user;
S23,接收所述目标机顶盒发送的所述第一多媒体数据。S23: Receive the first multimedia data sent by the target set-top box.
可选地,本领域普通技术人员可以理解,图11所示的结构仅为示意,电子装置电子设备也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图11其并不对上述电子装置电子设备的结构造成限定。例如,电子装置电子设备还可包括比图11中所示更多或者更少的组件(如网络接口等),或者具有与图11所示不同的配置。Optionally, those of ordinary skill in the art can understand that the structure shown in FIG. 11 is only for illustration, and the electronic device of the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device. (Mobile Internet Devices, MID), PAD and other terminal equipment. FIG. 11 does not limit the structure of the above-mentioned electronic device. For example, the electronic device may also include more or fewer components (eg, network interfaces, etc.) than shown in FIG. 11 , or have a different configuration than that shown in FIG. 11 .
其中,存储器1102可用于存储软件程序以及模块,如本发明实施例中的物联网家庭互动方法和装置对应的程序指令/模块,处理器1104通过运行存储在存储器1102内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的物联网家庭互动方法。存储器1102可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1102可进一步包括相对于处理器1104远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。其中,存储器1102具体可以但不限于用于存储多媒体数据信息。作为一种示例,如图11所示,上述存储器1102中可以但不限于包括上述物联网家庭互动装置中的第一接收单元1002、第一发送单元1004与第二接收单元1006。此外,还可以包括但不限于上述物联网家庭互动装置中的其他模块单元,本示例中不再赘述。The
可选地,上述的传输装置1106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置1106包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置1106为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Optionally, the above-mentioned
此外,上述电子设备还包括:显示器1108,用于显示上述多媒体数据;和连接总线1110,用于连接上述电子设备中的各个模块部件。In addition, the above-mentioned electronic device further includes: a
根据本发明实施例的另一个方面,还提供了一种用于实施上述物联网家庭互动方法的物联网家庭互动装置。如图12所示,该装置包括:According to another aspect of the embodiments of the present invention, there is also provided an IoT home interaction device for implementing the above IoT home interaction method. As shown in Figure 12, the device includes:
第一发送单元1202,发送互动服务请求指令至服务器,以使所述服务器获取第一多媒体数据;其中,所述互动服务请求指令中携带有登录所述客户端的用户信息,第一多媒体数据为与所述客户端具有绑定关系的机顶盒采集到的多媒体数据;The
第一接收单元1204,用于接收所述服务器发送的所述第一多媒体数据。The
在一个或多个实施例中,上述物联网家庭互动装置,还包括:In one or more embodiments, the above-mentioned IoT home interactive device further includes:
第二发送单元,用于发送第一用户的互动服务请求至服务器,所述互动服务请求中携带有待互动的第二用户的用户信息;其中,所述第一用户为登录在当前客户端中的用户;The second sending unit is configured to send the interactive service request of the first user to the server, where the interactive service request carries the user information of the second user to be interacted with; wherein, the first user is a user logged in the current client user;
第二接收单元,用于在确定所述第一用户和第二用户均具备互动应用服务权限的情况下,接收服务器发送的所述第二用户的确认消息。The second receiving unit is configured to receive the confirmation message of the second user sent by the server when it is determined that both the first user and the second user have the interactive application service authority.
根据本发明实施例的又一个方面,还提供了一种用于实施上述物联网家庭互动方法的电子设备,该电子设备可以是图13所示的终端设备或服务器。本实施例以该电子设备为终端为例来说明。如图13所示,该电子设备包括存储器1302和处理器1304,该存储器1302中存储有计算机程序,该处理器1304被设置为通过计算机程序执行上述任一项方法实施例中的步骤。According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above-mentioned IoT home interaction method, where the electronic device may be the terminal device or the server shown in FIG. 13 . This embodiment is described by taking the electronic device as a terminal as an example. As shown in FIG. 13 , the electronic device includes a
可选地,在本实施例中,上述电子设备可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the above-mentioned electronic device may be located in at least one network device among multiple network devices of a computer network.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:
S31,发送互动服务请求指令至服务器,以使所述服务器获取第一多媒体数据;其中,所述互动服务请求指令中携带有登录所述客户端的用户信息,第一多媒体数据为与所述客户端具有绑定关系的机顶盒采集到的多媒体数据;S31: Send an interactive service request instruction to a server, so that the server obtains first multimedia data; wherein, the interactive service request instruction carries user information logging in to the client, and the first multimedia data is related to The multimedia data collected by the set-top box of which the client has a binding relationship;
S32,接收所述服务器发送的所述第一多媒体数据。S32: Receive the first multimedia data sent by the server.
可选地,本领域普通技术人员可以理解,图13所示的结构仅为示意,电子装置电子设备也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图13其并不对上述电子装置电子设备的结构造成限定。例如,电子装置电子设备还可包括比图13中所示更多或者更少的组件(如网络接口等),或者具有与图13所示不同的配置。Optionally, those of ordinary skill in the art can understand that the structure shown in FIG. 13 is only for illustration, and the electronic device of the electronic device can also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a mobile Internet device. (Mobile Internet Devices, MID), PAD and other terminal equipment. FIG. 13 does not limit the structure of the above-mentioned electronic device. For example, the electronic device may also include more or fewer components (eg, network interfaces, etc.) than shown in FIG. 13 , or have a different configuration than that shown in FIG. 13 .
其中,存储器1302可用于存储软件程序以及模块,如本发明实施例中的物联网家庭互动方法和装置对应的程序指令/模块,处理器1304通过运行存储在存储器1302内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的物联网家庭互动方法。存储器1302可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1302可进一步包括相对于处理器1304远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。其中,存储器1302具体可以但不限于用于存储多媒体数据等信息。作为一种示例,如图13所示,上述存储器1302中可以但不限于包括上述物联网家庭互动装置中的第一发送单元1202与第一接收单元1204。此外,还可以包括但不限于上述物联网家庭互动装置中的其他模块单元,本示例中不再赘述。The
可选地,上述的传输装置1306用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置1306包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置1306为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Optionally, the above-mentioned transmission means 1306 is configured to receive or transmit data via a network. Specific examples of the above-mentioned networks may include wired networks and wireless networks. In one example, the
此外,上述电子设备还包括:显示器1308,用于显示上述多媒体数据;和连接总线1310,用于连接上述电子设备中的各个模块部件。In addition, the above-mentioned electronic equipment further includes: a
在其他实施例中,上述机顶盒、终端设备或者服务器可以是一个分布式系统中的一个节点,其中,该分布式系统可以为区块链系统,该区块链系统可以是由该多个节点通过网络通信的形式连接形成的分布式系统。其中,节点之间可以组成点对点(P2P,Peer ToPeer)网络,任意形式的计算设备,比如服务器、终端等电子设备都可以通过加入该点对点网络而成为该区块链系统中的一个节点。In other embodiments, the above-mentioned set-top box, terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be configured by the multiple nodes through A distributed system formed by connection in the form of network communication. Among them, a peer-to-peer (P2P, Peer To Peer) network can be formed between nodes, and any form of computing device, such as servers, terminals and other electronic devices can become a node in the blockchain system by joining the peer-to-peer network.
根据本申请的一个方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述物联网家庭互动方法,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned Internet of Things home interaction method, wherein the computer program is configured to execute any one of the above-mentioned methods when running. steps in a method embodiment.
可选地,在本实施例中,上述计算机可读的存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the following steps:
S11,接收服务器发送的互动请求指令;S11, receiving the interactive request instruction sent by the server;
S12,响应于所述互动请求指令,调用配置在所述机顶盒上的多媒体采集设备采集所述机顶盒所处环境的第一多媒体数据;S12, in response to the interaction request instruction, call a multimedia collection device configured on the set-top box to collect first multimedia data of the environment where the set-top box is located;
S13,将所述第一多媒体数据发送至所述服务器。或者,执行以下步骤的计算机程序:S13: Send the first multimedia data to the server. Alternatively, a computer program that performs the following steps:
S21,接收客户端发送的互动服务请求指令,所述互动服务请求指令中携带有登录所述客户端的用户信息;S21, receiving an interactive service request instruction sent by the client, where the interactive service request instruction carries user information logging in to the client;
S22,在确定所述用户信息对应的用户拥有互动应用服务权限时,发送互动请求指令至目标机顶盒,以使所述目标机顶盒采集所述机顶盒周边的第一多媒体数据;其中,所述目标机顶盒为与所述用户具有绑定关系的机顶盒;S22, when it is determined that the user corresponding to the user information has the interactive application service authority, send an interactive request instruction to the target set-top box, so that the target set-top box collects first multimedia data around the set-top box; wherein the target set-top box The set-top box is a set-top box that has a binding relationship with the user;
S23,接收所述目标机顶盒发送的所述第一多媒体数据。或者执行以下步骤的计算机程序:S23: Receive the first multimedia data sent by the target set-top box. Or a computer program that performs the following steps:
S31,发送互动服务请求指令至服务器,以使所述服务器获取第一多媒体数据;其中,所述互动服务请求指令中携带有登录所述客户端的用户信息,第一多媒体数据为与所述客户端具有绑定关系的机顶盒采集到的多媒体数据;S31: Send an interactive service request instruction to a server, so that the server obtains first multimedia data; wherein, the interactive service request instruction carries user information logging in to the client, and the first multimedia data is related to The multimedia data collected by the set-top box of which the client has a binding relationship;
S32,接收所述服务器发送的所述第一多媒体数据。S32: Receive the first multimedia data sent by the server.
可选地,在本实施例中,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Optionally, in this embodiment, those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a In the computer-readable storage medium, the storage medium may include: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages or disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。If the integrated units in the above-mentioned embodiments are implemented in the form of software functional units and sold or used as independent products, they may be stored in the above-mentioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, Several instructions are included to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed client may be implemented in other manners. The device embodiments described above are only illustrative, for example, the division of units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated into Another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of units or modules, and may be in electrical or other forms.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。Units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
以上仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above are only the preferred embodiments of the present invention. It should be pointed out that for those skilled in the art, some improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as It is the protection scope of the present invention.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210366674.8A CN115190335A (en) | 2022-04-08 | 2022-04-08 | Internet of things home interaction method, system, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210366674.8A CN115190335A (en) | 2022-04-08 | 2022-04-08 | Internet of things home interaction method, system, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115190335A true CN115190335A (en) | 2022-10-14 |
Family
ID=83512131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210366674.8A Pending CN115190335A (en) | 2022-04-08 | 2022-04-08 | Internet of things home interaction method, system, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115190335A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116506509A (en) * | 2023-03-27 | 2023-07-28 | 工赋(青岛)科技有限公司 | Data stream task processing method, device, system, equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020034980A1 (en) * | 2000-08-25 | 2002-03-21 | Thomas Lemmons | Interactive game via set top boxes |
CN103747204A (en) * | 2013-11-22 | 2014-04-23 | 杭州巨峰科技有限公司 | Multi-zone remote video monitoring system and method for network intelligent set top box |
CN105072318A (en) * | 2015-07-23 | 2015-11-18 | 凌义川 | Electronic equipment integrating camera and television box |
CN204795312U (en) * | 2015-07-23 | 2015-11-18 | 凌义川 | Camera, TV box integration electronic equipment |
CN205305034U (en) * | 2015-09-28 | 2016-06-08 | 深圳奥视通电子有限公司 | STB and smart home systems thereof |
WO2016197863A1 (en) * | 2015-06-11 | 2016-12-15 | 阿里巴巴集团控股有限公司 | Client, smart television system, and corresponding data transmission method |
EP3125541A1 (en) * | 2014-03-24 | 2017-02-01 | ZTE Corporation | Data acquisition and interaction method, set top box, server and multimedia system |
CN106856443A (en) * | 2015-12-08 | 2017-06-16 | 中兴通讯股份有限公司 | The implementation method and Set Top Box of family's Internet of Things, Internet of Things server |
CN108377397A (en) * | 2018-04-26 | 2018-08-07 | 四川音创伟业科技有限公司 | A method of realizing that networked video is interactive based on camera |
CN109996112A (en) * | 2017-12-29 | 2019-07-09 | 爱上电视传媒(北京)有限公司 | IPTV Multi-screen interaction system and its application |
-
2022
- 2022-04-08 CN CN202210366674.8A patent/CN115190335A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020034980A1 (en) * | 2000-08-25 | 2002-03-21 | Thomas Lemmons | Interactive game via set top boxes |
CN103747204A (en) * | 2013-11-22 | 2014-04-23 | 杭州巨峰科技有限公司 | Multi-zone remote video monitoring system and method for network intelligent set top box |
EP3125541A1 (en) * | 2014-03-24 | 2017-02-01 | ZTE Corporation | Data acquisition and interaction method, set top box, server and multimedia system |
WO2016197863A1 (en) * | 2015-06-11 | 2016-12-15 | 阿里巴巴集团控股有限公司 | Client, smart television system, and corresponding data transmission method |
CN105072318A (en) * | 2015-07-23 | 2015-11-18 | 凌义川 | Electronic equipment integrating camera and television box |
CN204795312U (en) * | 2015-07-23 | 2015-11-18 | 凌义川 | Camera, TV box integration electronic equipment |
CN205305034U (en) * | 2015-09-28 | 2016-06-08 | 深圳奥视通电子有限公司 | STB and smart home systems thereof |
CN106856443A (en) * | 2015-12-08 | 2017-06-16 | 中兴通讯股份有限公司 | The implementation method and Set Top Box of family's Internet of Things, Internet of Things server |
CN109996112A (en) * | 2017-12-29 | 2019-07-09 | 爱上电视传媒(北京)有限公司 | IPTV Multi-screen interaction system and its application |
CN108377397A (en) * | 2018-04-26 | 2018-08-07 | 四川音创伟业科技有限公司 | A method of realizing that networked video is interactive based on camera |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116506509A (en) * | 2023-03-27 | 2023-07-28 | 工赋(青岛)科技有限公司 | Data stream task processing method, device, system, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10165327B2 (en) | Video studio creating method and service device | |
EP3926917B1 (en) | Data transmission method, device and computer storage medium | |
WO2019090902A1 (en) | Screen sharing method and apparatus, electronic device, and storage medium | |
TWI417814B (en) | Surveillance system and associated control method | |
WO2018184266A1 (en) | Communication method, device and system in live broadcasting channel | |
CN105474653B (en) | Unpaired equipment | |
CN101656874A (en) | Remote video monitoring method | |
WO2022111193A1 (en) | Meeting control method, apparatus, device, and medium | |
CN107659834A (en) | The sharing method and device of media resource | |
JP7161715B1 (en) | Method and server for handling streaming data | |
JP6414223B2 (en) | Operation system, communication terminal, communication system, operation method, and program | |
US12101515B2 (en) | Live stream screen display method and apparatus, storage medium, and electronic device | |
CN113741762A (en) | Multimedia playing method, device, electronic equipment and storage medium | |
CN113242173B (en) | Screen sharing method, device and system and instant messaging server | |
CN112584187A (en) | Session creation method, device, server and storage medium | |
CN102867378A (en) | Doorbell system and control method thereof | |
CN109040245A (en) | The shared method and device of a kind of multiple videos, audio | |
CN109819341B (en) | Video playing method and device, computing equipment and storage medium | |
CN115190335A (en) | Internet of things home interaction method, system, electronic device and storage medium | |
WO2018090844A1 (en) | Communication authorization obtaining method | |
CN112532719B (en) | Information stream pushing method, device, equipment and computer readable storage medium | |
CN113014941A (en) | Open streaming media on-demand method, device, server and access platform | |
CN115665111B (en) | Real-time Communication System Based on Law Enforcement Recorder | |
CN108076381B (en) | Video display method, video forwarding device and system | |
US20170171510A1 (en) | Method and device for leaving video message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |