CN111083137B - Method and device for adjusting state of terminal equipment of Internet of things and operating system - Google Patents

Method and device for adjusting state of terminal equipment of Internet of things and operating system Download PDF

Info

Publication number
CN111083137B
CN111083137B CN201911275889.3A CN201911275889A CN111083137B CN 111083137 B CN111083137 B CN 111083137B CN 201911275889 A CN201911275889 A CN 201911275889A CN 111083137 B CN111083137 B CN 111083137B
Authority
CN
China
Prior art keywords
terminal
video
information
sound
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.)
Active
Application number
CN201911275889.3A
Other languages
Chinese (zh)
Other versions
CN111083137A (en
Inventor
刘建国
尹德帅
徐志方
刘超
王淼
王守峰
唐洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN201911275889.3A priority Critical patent/CN111083137B/en
Publication of CN111083137A publication Critical patent/CN111083137A/en
Application granted granted Critical
Publication of CN111083137B publication Critical patent/CN111083137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供了一种物联网终端设备状态调整的方法、装置及操作系统,其中,通过本发明,解决了相关技术中终端无法根据用户的需求而进行视频数据的传输,进而导致视频传输带宽占用过高的问题,以达到根据用户的需求传输对应的视频数据以减少不必要的带宽资源的效果,本发明可应用于物联网操作系统。

Figure 201911275889

The present invention provides a method, device and operating system for adjusting the state of an Internet of Things terminal device, wherein the present invention solves the problem that the terminal in the related art cannot transmit video data according to the user's needs, thereby causing the video transmission bandwidth to be occupied. In order to achieve the effect of reducing unnecessary bandwidth resources by transmitting corresponding video data according to the needs of users, the present invention can be applied to the Internet of Things operating system.

Figure 201911275889

Description

物联网终端设备状态调整的方法、装置及操作系统Method, device and operating system for state adjustment of IoT terminal equipment

技术领域technical field

本发明涉及图像处理领域,具体而言,涉及一种物联网终端设备状态调整的方法、装置及操作系统。The present invention relates to the field of image processing, and in particular, to a method, a device and an operating system for adjusting the state of an Internet of Things terminal device.

背景技术Background technique

在物联网中,设备时常需要进行视频的播放,设备与设备之间也会需要传输视频信息,例如,智能家居中的智能摄像头会实时录像,并将录像对象上传至服务器中,用户可通过对应的终端,如手机、平板、视频显示设备等获取服务器中的视频数据以远程查看家中的状况;或者,用户通过智能设备进行视频通讯时,设备摄像单元会录制视频数据并传输至服务器中,另一智能设备或终端即可获取服务器中的视频数据进行播放。In the Internet of Things, devices often need to play video, and video information also needs to be transmitted between devices. For example, a smart camera in a smart home will record in real time, and upload the recorded object to the server. Users can use the corresponding terminal, such as mobile phone, tablet, video display device, etc., obtain the video data in the server to remotely check the situation at home; or, when the user conducts video communication through the smart device, the device camera unit will record the video data and transmit it to the server. A smart device or terminal can acquire the video data in the server and play it.

根据终端所处的环境不同,用户往往会存在不便于获取视频中的某一类信息的情况,例如,用户在嘈杂环境下无法有效获取视频中对应的音频信息。然而,相关技术中,终端传输视频数据时往往是对包括图像数据与音频数据在内的整体视频数据进行传输,而在用户无法获取其中某一类数据时,该类型的数据则会占用不必要的带宽。Depending on the environment where the terminal is located, it is often inconvenient for the user to obtain a certain type of information in the video. For example, the user cannot effectively obtain the corresponding audio information in the video in a noisy environment. However, in the related art, when a terminal transmits video data, it often transmits the whole video data including image data and audio data, and when a user cannot obtain a certain type of data, this type of data will occupy unnecessary bandwidth.

针对相关技术中,终端无法根据用户的需求而进行视频数据的传输,进而导致视频传输带宽占用过高的问题,相关技术中尚未提出有效的解决方案。In the related art, the terminal cannot transmit video data according to the needs of the user, which leads to the problem that the video transmission bandwidth is occupied too much, and no effective solution has been proposed in the related art.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种物联网终端设备状态调整的方法、装置及操作系统,以至少解决相关技术中终端无法根据用户的需求而进行视频数据的传输,进而导致视频传输带宽占用过高的问题。Embodiments of the present invention provide a method, an apparatus, and an operating system for adjusting the state of an Internet of Things terminal device, so as to at least solve the problem in the related art that the terminal cannot transmit video data according to the user's needs, thus resulting in excessive occupation of video transmission bandwidth .

根据本发明的一个实施例,提供了一种物联网终端设备状态调整的方法,应用于第一终端,所述方法包括:According to an embodiment of the present invention, a method for adjusting the state of an IoT terminal device is provided, which is applied to a first terminal, and the method includes:

获取第一声音信息,其中,所述第一声音信息包括所述第一终端播放声音的第一响度;acquiring first sound information, wherein the first sound information includes the first loudness of the sound played by the first terminal;

至少根据所述第一声音信息,生成视频请求信息并发送至服务器,以指示所述服务器根据所述视频请求信息返回视频数据。At least according to the first sound information, video request information is generated and sent to the server to instruct the server to return video data according to the video request information.

根据本发明的另一个实施例,还提供了一种物联网终端设备状态调整的方法,应用于服务器,所述方法包括:According to another embodiment of the present invention, a method for adjusting the state of a terminal device of the Internet of Things is also provided, which is applied to a server, and the method includes:

接收第一终端发送的视频请求信息,根据所述视频请求信息返回视频数据;其中,所述视频请求信息由所述第一终端至少根据第一声音信息生成,所述第一声音信息包括所述第一终端播放声音的第一响度。Receive video request information sent by the first terminal, and return video data according to the video request information; wherein, the video request information is generated by the first terminal at least according to first sound information, and the first sound information includes the The first terminal plays the first loudness of the sound.

根据本发明的另一个实施例,还提供了一种物联网终端设备状态调整的方法,应用于第二终端,所述方法包括:According to another embodiment of the present invention, a method for adjusting the state of an IoT terminal device is also provided, which is applied to a second terminal, and the method includes:

接收所述服务器发送的视频类型信息,并根据所述视频类型信息获取对应的所述视频数据;其中,所述视频类型信息由所述服务器根据第一终端发送的视频请求消息生成,所述视频请求消息由所述第一终端至少根据第一声音信息生成,所述第一声音信息包括所述第一终端播放声音的第一响度;Receive the video type information sent by the server, and obtain the corresponding video data according to the video type information; wherein, the video type information is generated by the server according to the video request message sent by the first terminal, and the video The request message is generated by the first terminal at least according to first sound information, and the first sound information includes the first loudness of the sound played by the first terminal;

将所述视频数据返回至所述服务器,以通过所述服务器将所述视频数据发送至所述第一终端。Returning the video data to the server to send the video data to the first terminal through the server.

根据本发明的另一个实施例,还提供了一种物联网终端设备状态调整的操作系统,包括:According to another embodiment of the present invention, an operating system for adjusting the state of an IoT terminal device is also provided, including:

第一终端,配置为获取第一声音信息,并至少根据所述第一声音信息生成视频请求信息;其中,所述第一声音信息包括所述第一终端播放声音的第一响度;a first terminal, configured to acquire first sound information, and to generate video request information at least according to the first sound information; wherein the first sound information includes the first loudness of the sound played by the first terminal;

服务器,配置为接收所述第一终端发送的所述视频请求信息,并根据所述视频请求信息返回视频数据至所述第一终端。The server is configured to receive the video request information sent by the first terminal, and return video data to the first terminal according to the video request information.

根据本发明的另一个实施例,还提供了一种物联网终端设备状态调整的装置,设置于第一终端,所述装置包括:According to another embodiment of the present invention, there is also provided an apparatus for adjusting the state of terminal equipment of the Internet of Things, which is arranged on the first terminal, and the apparatus includes:

获取模块,用于获取第一声音信息,其中,所述第一声音信息包括所述第一终端播放声音的第一响度;an acquisition module, configured to acquire first sound information, wherein the first sound information includes the first loudness of the sound played by the first terminal;

请求模块,用于至少根据所述第一声音信息,生成视频请求信息并发送至服务器,以指示所述服务器根据所述视频请求信息返回视频数据。A request module, configured to generate video request information at least according to the first sound information and send it to the server, so as to instruct the server to return video data according to the video request information.

根据本发明的另一个实施例,还提供了一种物联网终端设备状态调整的装置,设置于服务器,所述装置包括:According to another embodiment of the present invention, there is also provided an apparatus for adjusting the state of an IoT terminal device, which is set on a server, and the apparatus includes:

接收模块,用于接收第一终端发送的视频请求信息,根据所述视频请求信息返回视频数据;其中,所述视频请求信息由所述第一终端至少根据第一声音信息生成,所述第一声音信息包括所述第一终端播放声音的第一响度。A receiving module, configured to receive video request information sent by a first terminal, and return video data according to the video request information; wherein, the video request information is generated by the first terminal at least according to first sound information, and the first The sound information includes the first loudness of the sound played by the first terminal.

根据本发明的另一个实施例,还提供了一种物联网终端设备状态调整的装置,设置于第二终端,所述装置包括:According to another embodiment of the present invention, there is also provided an apparatus for adjusting the state of terminal equipment of the Internet of Things, which is arranged on the second terminal, and the apparatus includes:

类型模块,用于接收所述服务器发送的视频类型信息,并根据所述视频类型信息获取对应的所述视频数据;其中,所述视频类型信息由所述服务器根据第一终端发送的视频请求消息生成,所述视频请求消息由所述第一终端至少根据第一声音信息生成,所述第一声音信息包括所述第一终端播放声音的第一响度。A type module, configured to receive the video type information sent by the server, and obtain the corresponding video data according to the video type information; wherein, the video type information is obtained by the server according to the video request message sent by the first terminal. The video request message is generated by the first terminal according to at least first sound information, where the first sound information includes the first loudness of the sound played by the first terminal.

发送模块,用于将所述视频数据返回至所述服务器,以通过所述服务器将所述视频数据发送至所述第一终端。A sending module, configured to return the video data to the server, so as to send the video data to the first terminal through the server.

根据本发明的另一个实施例,还提供了一种计算机可读的存储介质,所述计算机可读的存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to another embodiment of the present invention, there is also provided a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the above when running steps in a method embodiment.

根据本发明的另一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to another embodiment of the present invention, there is also provided an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, the processor is configured to run the computer program to execute any of the above Steps in Method Examples.

通过本发明,由于可以通过第一终端获取包括所述第一终端播放声音的第一响度在内的第一声音信息,并至少根据所述第一声音信息,生成视频请求信息并发送至服务器,以指示所述服务器根据所述视频请求信息返回视频数据。因此,本发明可以解决相关技术中终端无法根据用户的需求而进行视频数据的传输,进而导致视频传输带宽占用过高的问题,以达到根据用户的需求传输对应的视频数据以减少不必要的带宽资源的效果。需要指出的是,本发明可应用于物联网操作系统。Through the present invention, since the first sound information including the first loudness of the sound played by the first terminal can be acquired through the first terminal, and at least according to the first sound information, video request information is generated and sent to the server, to instruct the server to return video data according to the video request information. Therefore, the present invention can solve the problem in the related art that the terminal cannot transmit the video data according to the needs of the user, thereby causing the video transmission bandwidth to be occupied too much, so as to transmit the corresponding video data according to the needs of the user to reduce unnecessary bandwidth. effect of resources. It should be pointed out that the present invention can be applied to the Internet of Things operating system.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described herein are used to provide a 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 flowchart (1) of a method for adjusting the state of an IoT terminal device provided according to an embodiment of the present invention;

图2是根据本发明实施例提供的物联网终端设备状态调整的方法的流程图(二);2 is a flowchart (2) of a method for adjusting the state of an Internet of Things terminal device provided according to an embodiment of the present invention;

图3是根据本发明具体实施例提供的物联网终端设备状态调整的方法的流程图;3 is a flowchart of a method for adjusting the state of an Internet of Things terminal device provided according to a specific embodiment of the present invention;

图4是根据本发明实施例提供的物联网终端设备状态调整的方法的流程图(三);4 is a flowchart (3) of a method for adjusting the state of an IoT terminal device provided according to an embodiment of the present invention;

图5是根据本发明实施例提供的物联网终端设备状态调整的操作系统的示意图;5 is a schematic diagram of an operating system for adjusting the state of an Internet of Things terminal device according to an embodiment of the present invention;

图6是根据本发明实施例提供的物联网终端设备状态调整的装置的结构框图(一);6 is a structural block diagram (1) of an apparatus for adjusting the state of an IoT terminal device provided according to an embodiment of the present invention;

图7是根据本发明实施例提供的物联网终端设备状态调整的装置的结构框图(二);7 is a structural block diagram (2) of an apparatus for adjusting the state of an IoT terminal device provided according to an embodiment of the present invention;

图8是根据本发明实施例提供的物联网终端设备状态调整的装置的结构框图(三)。FIG. 8 is a structural block diagram (3) of an apparatus for adjusting the state of an IoT terminal device according to an embodiment of the present invention.

具体实施方式Detailed ways

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in conjunction with embodiments. It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。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.

实施例1Example 1

本实施例提供了一种物联网终端设备状态调整的方法,应用于第一终端,图1是根据本发明实施例提供的物联网终端设备状态调整的方法的流程图(一),如图1所示,本实施例中的物联网终端设备状态调整的方法包括:This embodiment provides a method for adjusting the state of an IoT terminal device, which is applied to a first terminal. FIG. 1 is a flowchart (1) of a method for adjusting the state of an IoT terminal device according to an embodiment of the present invention, as shown in FIG. 1 As shown, the method for adjusting the state of an IoT terminal device in this embodiment includes:

S102,获取第一声音信息,其中,第一声音信息包括第一终端播放声音的第一响度;S102, acquiring first sound information, where the first sound information includes a first loudness of the sound played by the first terminal;

S104,至少根据第一声音信息,生成视频请求信息并发送至服务器,以指示服务器根据视频请求信息返回视频数据。S104: Generate video request information at least according to the first sound information and send it to the server, so as to instruct the server to return video data according to the video request information.

需要进一步说明的是,本实施例中的第一终端为用户用于接收或播放视频的终端,第一终端可以为手机、平板、PC、电视或其它具有视频播放功能的终端或设备,本发明对此不作限定。本实施例中的视频数据可以为用户通过终端直接向视频内容提供平台请求播放的视频数据,如用户通过手机在对应的视频APP上指示播放对应的视频,也可以为用户通过终端以获取其它终端传输的视频数据,如用户通过手机获取监控摄像头所拍摄的视频数据;本发明对此不作限定。It should be further explained that the first terminal in this embodiment is a terminal used by a user to receive or play videos, and the first terminal may be a mobile phone, a tablet, a PC, a TV, or other terminals or devices with a video playback function. This is not limited. The video data in this embodiment may be the video data that the user requests to play directly to the video content providing platform through the terminal. For example, the user instructs to play the corresponding video on the corresponding video APP through the mobile phone, or the user obtains other terminals through the terminal. The transmitted video data, such as the video data captured by the surveillance camera obtained by the user through the mobile phone, is not limited in the present invention.

上述步骤S102中,第一声音信息即指示第一终端播放视频对应的声音信息,具体而言,第一声音信息中包含的第一响度,即为第一终端播放视频对应声音的响度值。第一终端获取第一声音信息的方式可为第一终端从处理器的对应单元中直接提取处于播放状态的视频中的音频数据,以根据该音频数据对应的参数信息,并结合第一终端的预设播放音量而获取第一响度。响度即为音量,用于指示声音的大小或强度,在明确声音对象为情况下,根据声音对象对应的参数获取响度的方式可根据已知的方案得以实现,例如,采用数字音频流分析的方式的以测量声音的响度等,本发明在此不再赘述。In the above step S102, the first sound information indicates the sound information corresponding to the video played by the first terminal. Specifically, the first loudness included in the first sound information is the loudness value of the sound corresponding to the video played by the first terminal. The way for the first terminal to acquire the first sound information may be that the first terminal directly extracts the audio data in the video in the playing state from the corresponding unit of the processor, so as to combine the parameter information corresponding to the audio data with the audio data of the first terminal. Preset the playback volume to obtain the first loudness. The loudness is the volume, which is used to indicate the size or intensity of the sound. In the case of a clear sound object, the method of obtaining the loudness according to the parameters corresponding to the sound object can be realized according to a known scheme, for example, using the method of digital audio stream analysis. to measure the loudness of the sound, etc., which will not be repeated in the present invention.

本发明中,除响度外,任何可以表征声音的音量程度或强度的参数或信息均可作为本发明中第一响度的等同技术特征。In the present invention, in addition to the loudness, any parameter or information that can characterize the volume level or intensity of the sound can be used as an equivalent technical feature of the first loudness in the present invention.

通过本实施例中的物联网终端设备状态调整的方法,由于可以通过第一终端获取包括所述第一终端播放声音的第一响度在内的第一声音信息,并至少根据所述第一声音信息,生成视频请求信息并发送至服务器,以指示所述服务器根据所述视频请求信息返回视频数据。因此,本实施例中的物联网终端设备状态调整的方法可以解决相关技术中终端无法根据用户的需求而进行视频数据的传输,进而导致视频传输带宽占用过高的问题,以达到根据用户的需求传输对应的视频数据以减少不必要的带宽资源的效果。With the method for adjusting the state of an IoT terminal device in this embodiment, the first sound information including the first loudness of the sound played by the first terminal can be obtained through the first terminal, and at least according to the first sound information, generate video request information and send it to the server to instruct the server to return video data according to the video request information. Therefore, the method for adjusting the state of an IoT terminal device in this embodiment can solve the problem in the related art that the terminal cannot transmit video data according to the needs of the user, thereby causing the video transmission bandwidth to occupy too much, so as to meet the needs of the user. The effect of transmitting the corresponding video data to reduce unnecessary bandwidth resources.

在一可选实施例中,上述方法还包括:获取第二声音信息,其中,第二声音信息包括第一终端所处环境内声音的第二响度;In an optional embodiment, the above method further includes: acquiring second sound information, wherein the second sound information includes the second loudness of the sound in the environment where the first terminal is located;

上述步骤S104中,至少根据第一声音信息,生成视频请求信息并发送至服务器,以指示服务器根据视频请求信息返回视频数据,包括:根据第一声音信息与第二声音信息之间的关系,生成视频请求信息并发送至服务器,以指示服务器根据视频请求信息返回视频数据。In the above step S104, at least according to the first sound information, generating video request information and sending it to the server to instruct the server to return the video data according to the video request information, including: according to the relationship between the first sound information and the second sound information, generating The video request information is sent to the server to instruct the server to return video data according to the video request information.

需要进一步说明的是,上述可选实施例中的第二声音信息为终端所处环境内的环境音所对应的信息,具体而言,第二声音信息中包含的第二响度,即为第二终端所处环境内的环境音的响度值。第二终端获取第二声音信息的方式可通过第一终端的麦克风或相应的单元模块获取第一终端所处环境内的环境音,进而确定第一终端所处环境的第二响度,以获取第二声音信息。上述第一终端的麦克风或相应的单元模块获取第一终端所处环境内的环境音,进而确定第一终端所处环境的第二响度,可根据已知的方案得以实现,例如,通过麦克风等单元获取终端外部的声音以生成对应的声波,并对该声波进一步分析以得到声音数据,进而通过数字音频流分析等方式确定该声音的的第二响度,本发明在此不再赘述。It should be further explained that the second sound information in the above optional embodiment is information corresponding to the ambient sound in the environment where the terminal is located. Specifically, the second loudness included in the second sound information is the second sound. The loudness value of the ambient sound in the environment where the terminal is located. The way for the second terminal to obtain the second sound information may be to obtain the ambient sound in the environment where the first terminal is located through the microphone of the first terminal or a corresponding unit module, and then determine the second loudness of the environment where the first terminal is located, so as to obtain the first Two voice messages. The microphone of the first terminal or the corresponding unit module obtains the ambient sound in the environment where the first terminal is located, and then determines the second loudness of the environment where the first terminal is located, which can be implemented according to known solutions, for example, through a microphone, etc. The unit acquires the sound outside the terminal to generate a corresponding sound wave, further analyzes the sound wave to obtain sound data, and then determines the second loudness of the sound by means of digital audio stream analysis, etc., which will not be repeated herein.

在一可选实施例中,上述根据第一声音信息与第二声音信息之间的关系,生成视频请求信息并发送至服务器,包括:In an optional embodiment, according to the relationship between the first sound information and the second sound information, the video request information is generated and sent to the server, including:

在第一声音信息包括的第一响度大于或等于第二声音信息包括的第二响度的情况下,生成第一视频请求信息并发送至服务器,以指示服务器根据第一视频请求信息返回第一视频数据,其中,第一视频数据包括图像数据与音频数据;或者,When the first loudness included in the first sound information is greater than or equal to the second loudness included in the second sound information, first video request information is generated and sent to the server to instruct the server to return the first video according to the first video request information data, wherein the first video data includes image data and audio data; or,

在第一声音信息包括的第一响度小于第二声音信息包括的第二响度的情况下,生成第二视频请求信息并发送至服务器,以指示服务器根据第二视频请求信息返回第二视频数据,其中,第二视频数据包括图像数据。In the case where the first loudness included in the first sound information is smaller than the second loudness included in the second sound information, second video request information is generated and sent to the server to instruct the server to return the second video data according to the second video request information, Wherein, the second video data includes image data.

需要进一步说明的是,上述在第一声音信息包括的第一响度大于或等于第二声音信息包括的第二响度的情况下,即指示第一终端播放视频的声音响度大于或等于第一终端所在环境内的环境声音响度,因此,该情况下用户可清晰的听见第一终端播放视频的声音。在上述情况下,第一终端即可通过第一视频数据向服务器请求包括图像数据与音频数据在内的第一视频数据。It should be further noted that, in the above-mentioned case that the first loudness included in the first sound information is greater than or equal to the second loudness included in the second sound information, that is, the sound indicating the loudness of the video played by the first terminal is greater than or equal to the location where the first terminal is located. The loudness of the ambient sound in the environment, therefore, in this case, the user can clearly hear the sound of the video played by the first terminal. In the above situation, the first terminal may request the server for the first video data including the image data and the audio data through the first video data.

上述在第一声音信息包括的第一响度小于第二声音信息包括的第二响度的情况下,即指示第一终端播放视频的声音响度小于第一终端所在环境内的环境声音响度,因此,该情况下用户无法清晰的听见第一终端播放视频的声音。在上述情况下,第一终端即可通过第二视频数据向服务器请求包括图像数据的第二视频数据。由于在该情况下,视频数据传输过程中未包括用户无法获取的音频数据,故使得视频数据传输中的占用带宽有效减少。As mentioned above, in the case where the first loudness included in the first sound information is smaller than the second loudness included in the second sound information, that is, the sound indicating the loudness of the video played by the first terminal is smaller than the ambient sound loudness in the environment where the first terminal is located. Therefore, this In this case, the user cannot clearly hear the sound of the video played by the first terminal. In the above situation, the first terminal can request the server for the second video data including the image data through the second video data. In this case, the audio data that cannot be obtained by the user is not included in the video data transmission process, so the occupied bandwidth in the video data transmission is effectively reduced.

在一可选实施例中,上述获取第二声音信息,包括:In an optional embodiment, the above-mentioned acquiring the second sound information includes:

获取第三声音信息,其中,第三声音信息包括第一终端获取的声音集合的响度;obtaining third sound information, wherein the third sound information includes the loudness of the sound set obtained by the first terminal;

滤除第三声音信息中所包含的第一声音信息,以获取第二声音信息。Filter out the first sound information contained in the third sound information to obtain the second sound information.

需要进一步说明的是,上述第三声音信息即指示第一终端所获取的所有声音对应的响度,具体而言,第一终端获取第三声音信息的方式可为通过第一终端的麦克风或相应的单元模块获取第一终端接收范围内所能采集的所有声音,该声音即上述可选实施例中的声音集合,上述声音集合对应的信息即为第三声音信息。It should be further noted that the above-mentioned third sound information indicates the corresponding loudness of all sounds acquired by the first terminal. The unit module acquires all sounds that can be collected within the receiving range of the first terminal, the sounds are the sound sets in the above-mentioned optional embodiment, and the information corresponding to the above-mentioned sound sets is the third sound information.

上述声音集合中包括了终端播放视频的声音,也包括了终端所处环境的环境音,因此,上述第三声音信息即为第一声音信息与第二声音信息的集合,故在上述可选实施例中滤除第三声音信息中所包含的第一声音信息后,即可获取对应的第二声音信息。The above-mentioned sound set includes the sound of the terminal playing the video, and also includes the ambient sound of the environment where the terminal is located. Therefore, the above-mentioned third sound information is the set of the first sound information and the second sound information. Therefore, in the above optional implementation In the example, after the first sound information included in the third sound information is filtered out, the corresponding second sound information can be obtained.

在一可选实施例中,上述步骤S104,至少根据第一声音信息,生成视频请求信息并发送至服务器,包括:In an optional embodiment, in the above step S104, at least according to the first sound information, video request information is generated and sent to the server, including:

在第一声音信号中包含的第一响度为0的情况下,生成第三视频请求信息并发送至服务器,以指示服务器根据第二视频请求信息返回第三视频数据;When the first loudness included in the first sound signal is 0, generate third video request information and send it to the server to instruct the server to return the third video data according to the second video request information;

其中,第三视频数据包括图像数据。Wherein, the third video data includes image data.

需要进一步说明的是,上述第一声音信号中包含的第一响度为0的情况下即指示第一终端的音量为0,在该情况下,即用户主动设置第一终端不产生声音,因此,即可在无需确定第二声音信息的前提下,以指示服务器根据仅返回包括图像数据的第三视频数据。该第三视频数据可以与第二视频数据相同,也可以与第二视频数据不同。It should be further explained that when the first loudness included in the above-mentioned first sound signal is 0, it indicates that the volume of the first terminal is 0. In this case, the user actively sets the first terminal to not generate sound. Therefore, That is, the server can be instructed to return only the third video data including the image data according to the premise that there is no need to determine the second sound information. The third video data may be the same as the second video data, or may be different from the second video data.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present invention.

实施例2Example 2

本实施例还提供了一种物联网终端设备状态调整的方法,应用于服务器,图2是根据本发明实施例提供的物联网终端设备状态调整的方法的流程图(二),如图2所示,本实施例中的物联网终端设备状态调整的方法包括:This embodiment also provides a method for adjusting the state of an Internet of Things terminal device, which is applied to a server. FIG. 2 is a flowchart (2) of a method for adjusting the state of an Internet of Things terminal device according to an embodiment of the present invention, as shown in FIG. 2 . As shown, the method for adjusting the state of an IoT terminal device in this embodiment includes:

S202,接收第一终端发送的视频请求信息,根据视频请求信息返回视频数据;其中,视频请求信息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度。S202: Receive the video request information sent by the first terminal, and return video data according to the video request information; wherein, the video request information is generated by the first terminal at least according to the first sound information, and the first sound information includes the first sound of the first terminal playing the sound. loudness.

需要进一步说明的是,上述服务器可为视频数据传输平台(如视频内容提供平台,或信息交互平台)存储视频内容的服务器,也可以为智能家居中为两个终端之间提供数据交互的服务器;对应的,上述视频数据可以为用户通过终端直接向视频数据传输平台请求播放的视频数据,如用户通过手机在对应的视频APP上指示播放对应的视频,也可以为用户通过终端以获取其它终端传输的视频数据,如用户通过手机获取监控摄像头所拍摄的视频数据;本发明对此不作限定。此外,本实施例中的第一终端为用户用于接收或播放视频的终端,第一终端可以为手机、平板、PC、电视或其它具有视频播放功能的终端或设备,本发明对此不作限定。It should be further noted that the above-mentioned server can be a server for storing video content on a video data transmission platform (such as a video content providing platform, or an information interaction platform), or a server providing data interaction between two terminals in a smart home; Correspondingly, the above-mentioned video data can be the video data that the user directly requests to play from the video data transmission platform through the terminal. For example, the user instructs to play the corresponding video on the corresponding video APP through the mobile phone, or the user can obtain other terminal transmission through the terminal. For example, the user obtains the video data captured by the surveillance camera through the mobile phone; this is not limited in the present invention. In addition, the first terminal in this embodiment is a terminal used by a user to receive or play videos, and the first terminal may be a mobile phone, tablet, PC, TV, or other terminal or device with a video playback function, which is not limited in the present invention .

上述步骤S202中,第一声音信息即指示第一终端播放视频对应的声音信息,具体而言,第一声音信息中包含的第一响度,即为第一终端播放视频对应声音的响度值。第一终端获取第一声音信息的方式参见上述实施例1,在此不再赘述。In the above step S202, the first sound information indicates the sound information corresponding to the video played by the first terminal. Specifically, the first loudness included in the first sound information is the loudness value of the sound corresponding to the video played by the first terminal. For the manner in which the first terminal acquires the first sound information, reference may be made to the foregoing Embodiment 1, and details are not described herein again.

通过本实施例中的物联网终端设备状态调整的方法,由于可以通过服务器接收第一终端发送的视频请求信息,根据视频请求信息返回视频数据;其中,视频请求信息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度。因此,本实施例中的物联网终端设备状态调整的方法可以解决相关技术中终端无法根据用户的需求而进行视频数据的传输,进而导致视频传输带宽占用过高的问题,以达到根据用户的需求传输对应的视频数据以减少不必要的带宽资源的效果。With the method for adjusting the state of an IoT terminal device in this embodiment, the video request information sent by the first terminal can be received through the server, and the video data is returned according to the video request information; The sound information is generated, and the first sound information includes the first loudness of the sound played by the first terminal. Therefore, the method for adjusting the state of an IoT terminal device in this embodiment can solve the problem in the related art that the terminal cannot transmit video data according to the needs of the user, thereby causing the video transmission bandwidth to occupy too much, so as to meet the needs of the user. The effect of transmitting the corresponding video data to reduce unnecessary bandwidth resources.

在一可选实施例中,视频请求信息由第一终端根据第一声音信息以及第二声音信息之间的关系生成;其中,第二声音信息包括第一终端所处环境内声音的第二响度。In an optional embodiment, the video request information is generated by the first terminal according to the relationship between the first sound information and the second sound information; wherein the second sound information includes the second loudness of the sound in the environment where the first terminal is located. .

需要进一步说明的是,上述可选实施例中的第二声音信息为终端所处环境内的环境音所对应的信息,具体而言,第二声音信息中包含的第二响度,即为第二终端所处环境内的环境音的响度值。第二终端获取第二声音信息的方式参见上述实施例1,本发明在此不再赘述。It should be further explained that the second sound information in the above optional embodiment is information corresponding to the ambient sound in the environment where the terminal is located. Specifically, the second loudness included in the second sound information is the second sound. The loudness value of the ambient sound in the environment where the terminal is located. For the manner in which the second terminal acquires the second voice information, reference may be made to the foregoing Embodiment 1, and details are not described herein again in the present invention.

在一可选实施例中,上述视频请求信息包括:In an optional embodiment, the above video request information includes:

第一视频请求信息,其中,第一视频请求信息由第一终端在第一声音信息包括的第一响度大于或等于第二声音信息包括的第二响度的情况下生成;第一视频请求信息用于指示服务器返回第一视频数据至第一终端,第一视频数据包括图像数据与音频数据;The first video request information, wherein the first video request information is generated by the first terminal when the first loudness included in the first sound information is greater than or equal to the second loudness included in the second sound information; instructing the server to return first video data to the first terminal, where the first video data includes image data and audio data;

第二视频请求信息,其中,第二视频请求信息由第一终端在第一声音信息包括的第一响度小于第二声音信息包括的第二响度的情形下生成;第二视频请求信息用于指示服务器返回第二视频数据至第一终端,第二视频数据包括图像数据。second video request information, wherein the second video request information is generated by the first terminal under the condition that the first loudness included in the first sound information is smaller than the second loudness included in the second sound information; the second video request information is used to indicate The server returns second video data to the first terminal, where the second video data includes image data.

需要进一步说明的是,上述在第一声音信息包括的第一响度大于或等于第二声音信息包括的第二响度的情况下,即指示第一终端播放视频的声音响度大于或等于第一终端所在环境内的环境声音响度,因此,该情况下用户可清晰的听见第一终端播放视频的声音。在上述情况下,第一终端即可通过第一视频数据向服务器请求包括图像数据与音频数据在内的第一视频数据。It should be further noted that, in the above-mentioned case that the first loudness included in the first sound information is greater than or equal to the second loudness included in the second sound information, that is, the sound indicating the loudness of the video played by the first terminal is greater than or equal to the location where the first terminal is located. The loudness of the ambient sound in the environment, therefore, in this case, the user can clearly hear the sound of the video played by the first terminal. In the above situation, the first terminal may request the server for the first video data including the image data and the audio data through the first video data.

上述在第一声音信息包括的第一响度小于第二声音信息包括的第二响度的情况下,即指示第一终端播放视频的声音响度小于第一终端所在环境内的环境声音响度,因此,该情况下用户无法清晰的听见第一终端播放视频的声音。在上述情况下,第一终端即可通过第二视频数据向服务器请求包括图像数据的第二视频数据。由于在该情况下,视频数据传输过程中未包括用户无法获取的音频数据,故使得视频数据传输中的占用带宽有效减少。As mentioned above, in the case where the first loudness included in the first sound information is smaller than the second loudness included in the second sound information, that is, the sound indicating the loudness of the video played by the first terminal is smaller than the ambient sound loudness in the environment where the first terminal is located. Therefore, this In this case, the user cannot clearly hear the sound of the video played by the first terminal. In the above situation, the first terminal can request the server for the second video data including the image data through the second video data. In this case, the audio data that cannot be obtained by the user is not included in the video data transmission process, so the occupied bandwidth in the video data transmission is effectively reduced.

在一可选实施例中,上述第二声音信息由第一终端滤除第三声音信息中所包含的第一声音信息以获取;其中,第三声音信息包括第一终端获取的声音集合的第三响度。In an optional embodiment, the above-mentioned second sound information is obtained by the first terminal by filtering out the first sound information included in the third sound information; wherein the third sound information includes the first sound information of the sound set obtained by the first terminal. Three loudness.

需要进一步说明的是,上述第三声音信息即指示第一终端所获取的所有声音对应的响度,具体而言,第一终端获取第三声音信息的方式可为通过第一终端的麦克风或相应的单元模块获取第一终端接收范围内所能采集的所有声音,该声音即上述可选实施例中的声音集合,上述声音集合对应的信息即为第三声音信息。上述声音集合中包括了终端播放视频的声音,也包括了终端所处环境的环境音,因此,上述第三声音信息即为第一声音信息与第二声音信息的集合,故在上述可选实施例中滤除第三声音信息中所包含的第一声音信息后,即可获取对应的第二声音信息。It should be further noted that the above-mentioned third sound information indicates the corresponding loudness of all sounds acquired by the first terminal. The unit module acquires all sounds that can be collected within the receiving range of the first terminal, the sounds are the sound sets in the above-mentioned optional embodiment, and the information corresponding to the above-mentioned sound sets is the third sound information. The above-mentioned sound set includes the sound of the terminal playing the video, and also includes the ambient sound of the environment where the terminal is located. Therefore, the above-mentioned third sound information is the set of the first sound information and the second sound information. Therefore, in the above optional implementation In the example, after the first sound information included in the third sound information is filtered out, the corresponding second sound information can be obtained.

在一可选实施例中,视频请求信息包括:第二视频请求信息;In an optional embodiment, the video request information includes: second video request information;

其中,第二视频请求信息由第一终端在第一声音信号包括的第一响度为0的情况下生成;第二视频请求信息用于指示服务器返回第二视频数据至第一终端;其中,第二视频数据包括图像数据。The second video request information is generated by the first terminal when the first loudness included in the first sound signal is 0; the second video request information is used to instruct the server to return the second video data to the first terminal; Two video data includes image data.

需要进一步说明的是,上述第一声音信号中包含的第一响度为0的情况下即指示第一终端的音量为0,在该情况下,即用户主动设置第一终端不产生声音,因此,即可在无需确定第二声音信息的前提下,以指示服务器根据仅返回包括图像数据的第三视频数据。该第三视频数据可以与第二视频数据相同,也可以与第二视频数据不同。It should be further explained that when the first loudness included in the above-mentioned first sound signal is 0, it indicates that the volume of the first terminal is 0. In this case, the user actively sets the first terminal to not generate sound. Therefore, That is, the server can be instructed to return only the third video data including the image data according to the premise that there is no need to determine the second sound information. The third video data may be the same as the second video data, or may be different from the second video data.

在一可选实施例中,上述步骤S202中,接收第一终端发送的视频请求信息之后,还包括:In an optional embodiment, in the foregoing step S202, after receiving the video request information sent by the first terminal, the method further includes:

根据视频请求信息生成视频类型信息,并发送视频类型信息至第二终端;Generate video type information according to the video request information, and send the video type information to the second terminal;

其中,视频类型信息用于指示第二终端生成对应的视频数据,并将视频数据返回至服务器。The video type information is used to instruct the second terminal to generate corresponding video data and return the video data to the server.

需要进一步说明的是,上述第二终端即为可通过服务器向第一终端传输视频数据的终端,例如,第二终端可为监控摄像头,第一终端则为用户获取监控视频的手机等显示设备。上述可选实施例中,视频类型信息与视频请求信息对应,例如,在视频请求信息为上述第一视频请求信息时,视频类型信息也对应指示第二终端获取的视频类型为图像数据以及音频数据,在视频请求信息为第二视频请求信息时,视频类型信息也对应指示第二终端获取的视频类型为图像数据。It should be further noted that the above-mentioned second terminal is a terminal that can transmit video data to the first terminal through the server. For example, the second terminal can be a surveillance camera, and the first terminal is a display device such as a mobile phone for the user to obtain surveillance video. In the above optional embodiment, the video type information corresponds to the video request information. For example, when the video request information is the above-mentioned first video request information, the video type information also corresponds to indicating that the video type acquired by the second terminal is image data and audio data. , when the video request information is the second video request information, the video type information also correspondingly indicates that the video type acquired by the second terminal is image data.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present invention.

为进一步说明本实施例中的物联网终端设备状态调整的方法,以下通过视频监控中的视频处理的流程,以对于本实施例中的物联网终端设备状态调整的方法进行进一步的说明。图3是根据本发明具体实施例提供的物联网终端设备状态调整的方法的流程图,如图3所示,本具体实施例包括:To further illustrate the method for adjusting the state of an IoT terminal device in this embodiment, the following describes the method for adjusting the state of an IoT terminal device in this embodiment through a video processing process in video surveillance. FIG. 3 is a flowchart of a method for adjusting the state of an IoT terminal device provided according to a specific embodiment of the present invention. As shown in FIG. 3 , the specific embodiment includes:

步骤101,智能终端接收到用户的视频播放指令;Step 101, the intelligent terminal receives a video playback instruction from a user;

上述智能终端可以是智能手机、平板等终端设备,用户通过操控智能终端上的APP的控件,触发视频播放指令;此处,APP可以是任意支持视频播放操作的APP,本具体实施例中,该APP可以是视频监控的视频播放终端APP。The above-mentioned smart terminal may be a terminal device such as a smart phone or a tablet, and the user triggers a video playback instruction by manipulating the controls of the APP on the smart terminal; here, the APP may be any APP that supports video playback operations. The APP may be a video playing terminal APP for video surveillance.

步骤102,智能终端设备检测环境音的响度是否大于终端播放的视频的响度;Step 102, the intelligent terminal device detects whether the loudness of the ambient sound is greater than the loudness of the video played by the terminal;

智能终端首先确定终端的预设音量,此处,如若预设音量为0,即智能终端处于静音状态,则可直接确定环境音的响度大于终端播放的视频的响度。如若预设音量不为0,则可进一步判断环境音的响度是否大于终端播放的视频的响度,具体而言:The intelligent terminal first determines the preset volume of the terminal. Here, if the preset volume is 0, that is, the intelligent terminal is in a mute state, it can be directly determined that the loudness of the ambient sound is greater than the loudness of the video played by the terminal. If the preset volume is not 0, it can be further determined whether the loudness of the ambient sound is greater than the loudness of the video played by the terminal, specifically:

首先确定视频播放的音频的响度S1;其次通过麦克风采集智能终端周边环境的噪声获取环境音数据,并对环境音数据进行解析,确定环境音的响度S2。Firstly, determine the loudness S1 of the audio played by the video; secondly, acquire ambient sound data by collecting the noise of the surrounding environment of the intelligent terminal through the microphone, and analyze the ambient sound data to determine the loudness S2 of the ambient sound.

如果S2小于S1,则确定环境音的响度小于终端播放视频的响度,反之,如果S2大于S1,则确定环境音的响度大于终端播放视频的响度。If S2 is less than S1, it is determined that the loudness of the ambient sound is smaller than the loudness of the video played by the terminal; otherwise, if S2 is greater than S1, it is determined that the loudness of the ambient sound is greater than the loudness of the video played by the terminal.

步骤103,在确定环境音的响度小于终端播放视频的响度时,则向服务器发送第一视频获取指令,服务器在接收到该视频获取指令后,对监控摄像头采集的图像信息和麦克风采集的音频信息进行合成,得到第一视频文件。需要说明的是,上述图像信息与音频信息分别由监控设备中的摄像头与麦克风分别得以采集,并发送至服务器中进行处理,Step 103, when it is determined that the loudness of the ambient sound is less than the loudness of the video played by the terminal, send a first video acquisition instruction to the server, and after the server receives the video acquisition instruction, the image information collected by the surveillance camera and the audio information collected by the microphone are collected. Perform synthesis to obtain a first video file. It should be noted that the above-mentioned image information and audio information are collected by the camera and the microphone in the monitoring device, respectively, and sent to the server for processing.

步骤104,服务器将上述第一视频文件推送至智能终端。Step 104, the server pushes the above-mentioned first video file to the intelligent terminal.

步骤105,智能终端通过播放器对第一视频文件进行播放。Step 105, the intelligent terminal plays the first video file through the player.

步骤106,在确定环境音的响度大于终端播放视频的响度时,则向服务器发送第二视频获取指令,服务器在接收到该视频获取指令后,对摄像头采集的图像信息进行编码,得到第二视频文件。Step 106, when it is determined that the loudness of the ambient sound is greater than the loudness of the video played by the terminal, send a second video acquisition instruction to the server, and after receiving the video acquisition instruction, the server encodes the image information collected by the camera to obtain the second video. document.

步骤107,服务器将第二视频文件发送至智能终端。Step 107, the server sends the second video file to the smart terminal.

步骤108,智能终端通过播放器对第二视频文件进行播放。Step 108, the smart terminal plays the second video file through the player.

实施例3Example 3

本实施例还提供了一种物联网终端设备状态调整的方法,应用于第二终端,图4是根据本发明实施例提供的物联网终端设备状态调整的方法的流程图(三),如图4所示,本实施例中的物联网终端设备状态调整的方法包括:This embodiment also provides a method for adjusting the state of an Internet of Things terminal device, which is applied to the second terminal. FIG. 4 is a flowchart (3) of the method for adjusting the state of an Internet of Things terminal device according to an embodiment of the present invention, as shown in FIG. 4, the method for adjusting the state of an IoT terminal device in this embodiment includes:

S302,接收服务器发送的视频类型信息,并根据视频类型信息获取对应的视频数据;其中,视频类型信息由服务器根据第一终端发送的视频请求消息生成,视频请求消息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度;S302: Receive video type information sent by the server, and obtain corresponding video data according to the video type information; wherein, the video type information is generated by the server according to a video request message sent by the first terminal, and the video request message is generated by the first terminal according to at least the first terminal. generating sound information, where the first sound information includes the first loudness of the sound played by the first terminal;

S304,将视频数据返回至服务器,以通过服务器将视频数据发送至第一终端。S304, returning the video data to the server, so as to send the video data to the first terminal through the server.

需要进一步说明的是,上述第二终端即为可通过服务器向第一终端传输视频数据的终端,例如,第二终端可为监控摄像头,第一终端则为用户获取监控视频的手机等显示设备。上述可选实施例中,视频类型信息与视频请求信息对应,例如,在视频请求信息请求的对象为图像数据与音频数据时,视频类型信息也对应指示第二终端获取的视频类型为图像数据以及音频数据,在视频请求信息请求的对象为图像数据时,视频类型信息也对应指示第二终端获取的视频类型为图像数据。It should be further noted that the above-mentioned second terminal is a terminal that can transmit video data to the first terminal through a server. For example, the second terminal can be a surveillance camera, and the first terminal is a display device such as a mobile phone for users to obtain surveillance video. In the above optional embodiment, the video type information corresponds to the video request information. For example, when the objects requested by the video request information are image data and audio data, the video type information also corresponds to indicating that the video type acquired by the second terminal is image data and For audio data, when the object requested by the video request information is image data, the video type information also correspondingly indicates that the video type acquired by the second terminal is image data.

本实施例的物联网终端设备状态调整的方法中,涉及服务器以及第一终端的其余可选实施例及技术效果均与实施例2中的物联网终端设备状态调整的方法相对应,故在此不再赘述。In the method for adjusting the state of an IoT terminal device in this embodiment, the remaining optional embodiments and technical effects involving the server and the first terminal are all corresponding to the method for adjusting the state of an IoT terminal device in Embodiment 2, so here No longer.

在一可选实施例中,视频请求信息由第一终端根据第一声音信息以及第二声音信息之间的关系生成;其中,第二声音信息包括第一终端所处环境内声音的第二响度。In an optional embodiment, the video request information is generated by the first terminal according to the relationship between the first sound information and the second sound information; wherein the second sound information includes the second loudness of the sound in the environment where the first terminal is located. .

在一可选实施例中,视频请求信息包括:In an optional embodiment, the video request information includes:

第一视频请求信息,其中,第一视频请求信息由第一终端在第一声音信息包括的第一响度大于或等于第二声音信息包括的第二响度的情况下生成;第一视频请求信息用于指示服务器返回第一视频数据至第一终端,第一视频数据包括图像数据与音频数据;The first video request information, wherein the first video request information is generated by the first terminal when the first loudness included in the first sound information is greater than or equal to the second loudness included in the second sound information; instructing the server to return first video data to the first terminal, where the first video data includes image data and audio data;

第二视频请求信息,其中,第二视频请求信息由第一终端在第一声音信息包括的第一响度小于第二声音信息包括的第二响度的情形下生成;第二视频请求信息用于指示服务器返回第二视频数据至第一终端,第二视频数据包括图像数据。second video request information, wherein the second video request information is generated by the first terminal under the condition that the first loudness included in the first sound information is smaller than the second loudness included in the second sound information; the second video request information is used to indicate The server returns second video data to the first terminal, where the second video data includes image data.

在一可选实施例中,第二声音信息由第一终端滤除第三声音信息中所包含的第一声音信息以获取;其中,第三声音信息包括第一终端获取的声音集合的第三响度。In an optional embodiment, the second sound information is obtained by the first terminal by filtering out the first sound information included in the third sound information; wherein the third sound information includes the third sound set of the sound set obtained by the first terminal. loudness.

在一可选实施例中,视频请求信息包括:第二视频请求信息;In an optional embodiment, the video request information includes: second video request information;

其中,第二视频请求信息由第一终端在第一声音信号包括的第一响度为0的情况下生成;第二视频请求信息用于指示服务器返回第二视频数据至第一终端;其中,第二视频数据包括图像数据。The second video request information is generated by the first terminal when the first loudness included in the first sound signal is 0; the second video request information is used to instruct the server to return the second video data to the first terminal; Two video data includes image data.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of the various embodiments of the present invention.

实施例4Example 4

本实施例还提供了一种物联网终端设备状态调整的操作系统,图5是根据本发明实施例提供的物联网终端设备状态调整的操作系统的示意图,如图5所示,本实施例中的物联网终端设备状态调整的操作系统包括:This embodiment also provides an operating system for adjusting the state of an Internet of Things terminal device. FIG. 5 is a schematic diagram of an operating system for adjusting the state of an Internet of Things terminal device according to an embodiment of the present invention. As shown in FIG. 5 , in this embodiment, The operating systems that adjust the state of IoT end devices include:

第一终端402,配置为获取第一声音信息,并至少根据第一声音信息生成视频请求信息;其中,第一声音信息包括第一终端播放声音的第一响度;The first terminal 402 is configured to obtain first sound information, and generate video request information at least according to the first sound information; wherein the first sound information includes the first loudness of the sound played by the first terminal;

服务器404,配置为接收第一终端402发送的视频请求信息,并根据视频请求信息返回视频数据至第一终端402。The server 404 is configured to receive video request information sent by the first terminal 402 and return video data to the first terminal 402 according to the video request information.

在一可选实施例中,上述系统还包括:In an optional embodiment, the above-mentioned system further includes:

第二终端406,配置为获取视频数据,并通过服务器404将视频数据发送至第一终端402;The second terminal 406 is configured to obtain video data and send the video data to the first terminal 402 through the server 404;

服务器404还配置为,根据视频请求信息发送视频类型信息至第二终端406;第二终端406还配置为,根据视频类型信息获取视频数据,并返回对应的视频数据至服务器404。The server 404 is further configured to send video type information to the second terminal 406 according to the video request information; the second terminal 406 is further configured to acquire video data according to the video type information, and return the corresponding video data to the server 404 .

本实施例中的物联网终端设备状态调整的操作系统中,第一终端与服务器的其余可选技术方案以及技术效果均与实施例1与实施例2中的物联网终端设备状态调整的方法相对应,故在此不再赘述。In the operating system for adjusting the state of the Internet of Things terminal device in this embodiment, the remaining optional technical solutions and technical effects of the first terminal and the server are the same as the methods for adjusting the state of the Internet of Things terminal device in Embodiment 1 and Embodiment 2. Corresponding, so it is not repeated here.

实施例5Example 5

本实施例还提供了一种物联网终端设备状态调整的装置,应用于第一终端,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。This embodiment also provides an apparatus for adjusting the state of a terminal device of the Internet of Things, which is applied to the first terminal. The apparatus is used to implement the above-mentioned embodiments and preferred implementations, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.

图6是根据本发明实施例提供的物联网终端设备状态调整的装置的结构框图(一),如图6所示,本实施例中的物联网终端设备状态调整的装置包括:6 is a structural block diagram (1) of an apparatus for adjusting the state of an Internet of Things terminal device provided according to an embodiment of the present invention. As shown in FIG. 6 , the apparatus for adjusting the state of an Internet of Things terminal device in this embodiment includes:

获取模块502,用于获取第一声音信息,其中,第一声音信息包括第一终端播放声音的第一响度;an obtaining module 502, configured to obtain first sound information, wherein the first sound information includes the first loudness of the sound played by the first terminal;

请求模块504,用于至少根据第一声音信息,生成视频请求信息并发送至服务器,以指示服务器根据视频请求信息返回视频数据。The request module 504 is configured to generate video request information at least according to the first sound information and send it to the server, so as to instruct the server to return video data according to the video request information.

本实施例中的物联网终端设备状态调整的装置的其余可选实施例以及技术效果均与实施例1中的物联网终端设备状态调整的方法相对应,故在此不再赘述。The remaining optional embodiments and technical effects of the apparatus for adjusting the state of an Internet of Things terminal device in this embodiment correspond to the method for adjusting the state of an Internet of Things terminal device in Embodiment 1, so they are not repeated here.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.

实施例6Example 6

本实施例还提供了一种物联网终端设备状态调整的装置,应用于服务器,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。This embodiment also provides an apparatus for adjusting the state of a terminal device of the Internet of Things, which is applied to a server. The apparatus is used to implement the above-mentioned embodiments and preferred implementations, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.

图7是根据本发明实施例提供的物联网终端设备状态调整的装置的结构框图(二),如图7所示,本实施例中的物联网终端设备状态调整的装置包括:FIG. 7 is a structural block diagram (2) of an apparatus for adjusting the state of an Internet of Things terminal device provided according to an embodiment of the present invention. As shown in FIG. 7 , the apparatus for adjusting the state of an Internet of Things terminal device in this embodiment includes:

接收模块602,用于接收第一终端发送的视频请求信息,根据视频请求信息返回视频数据;其中,视频请求信息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度。The receiving module 602 is configured to receive the video request information sent by the first terminal, and return video data according to the video request information; wherein, the video request information is generated by the first terminal at least according to the first sound information, and the first sound information includes the playback of the first terminal. The first loudness of the sound.

本实施例中的物联网终端设备状态调整的装置的其余可选实施例以及技术效果均与实施例2中的物联网终端设备状态调整的方法相对应,故在此不再赘述。The remaining optional embodiments and technical effects of the apparatus for adjusting the state of an Internet of Things terminal device in this embodiment correspond to the method for adjusting the state of an Internet of Things terminal device in Embodiment 2, so they are not repeated here.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.

实施例7Example 7

本实施例还提供了一种物联网终端设备状态调整的装置,应用于第二终端,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。This embodiment also provides an apparatus for adjusting the state of a terminal device of the Internet of Things, which is applied to the second terminal. The apparatus is used to implement the above-mentioned embodiments and preferred implementations, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.

图8是根据本发明实施例提供的物联网终端设备状态调整的装置的结构框图(三),如图8所示,本实施例中的物联网终端设备状态调整的装置包括:FIG. 8 is a structural block diagram (3) of an apparatus for adjusting the state of an Internet of Things terminal device provided according to an embodiment of the present invention. As shown in FIG. 8 , the apparatus for adjusting the state of an Internet of Things terminal device in this embodiment includes:

类型模块702,用于接收服务器发送的视频类型信息,并根据视频类型信息获取对应的视频数据;其中,视频类型信息由服务器根据第一终端发送的视频请求消息生成,视频请求消息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度。The type module 702 is configured to receive video type information sent by the server, and obtain corresponding video data according to the video type information; wherein, the video type information is generated by the server according to a video request message sent by the first terminal, and the video request message is generated by the first terminal. It is generated at least according to the first sound information, and the first sound information includes the first loudness of the sound played by the first terminal.

发送模块704,用于将视频数据返回至服务器,以通过服务器将视频数据发送至第一终端。The sending module 704 is configured to return the video data to the server, so as to send the video data to the first terminal through the server.

本实施例中的物联网终端设备状态调整的装置的其余可选实施例以及技术效果均与实施例3中的物联网终端设备状态调整的方法相对应,故在此不再赘述。The remaining optional embodiments and technical effects of the apparatus for adjusting the state of an IoT terminal device in this embodiment all correspond to the method for adjusting the state of an IoT terminal device in Embodiment 3, and thus are not repeated here.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.

实施例8Example 8

本发明的实施例还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the above method embodiments when running. step.

可选地,在本实施例中,上述计算机可读的存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the following steps:

S1,获取第一声音信息,其中,第一声音信息包括第一终端播放声音的第一响度;S1, acquiring first sound information, wherein the first sound information includes the first loudness of the sound played by the first terminal;

S2,至少根据第一声音信息,生成视频请求信息并发送至服务器,以指示服务器根据视频请求信息返回视频数据。S2: Generate video request information at least according to the first sound information and send it to the server, so as to instruct the server to return video data according to the video request information.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.

可选地,在本实施例中,上述计算机可读的存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), and a random access memory (Random Access Memory, referred to as ROM for short) Various media that can store computer programs, such as RAM), mobile hard disks, magnetic disks or optical disks.

实施例9Example 9

本发明的实施例还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the above method embodiments when running. step.

可选地,在本实施例中,上述计算机可读的存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the following steps:

S1,接收第一终端发送的视频请求信息,根据视频请求信息返回视频数据;其中,视频请求信息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度。S1: Receive video request information sent by the first terminal, and return video data according to the video request information; wherein, the video request information is generated by the first terminal at least according to first sound information, and the first sound information includes the first sound information played by the first terminal. loudness.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.

可选地,在本实施例中,上述计算机可读的存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), and a random access memory (Random Access Memory, referred to as ROM for short) Various media that can store computer programs, such as RAM), mobile hard disks, magnetic disks or optical disks.

实施例10Example 10

本发明的实施例还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the above method embodiments when running. step.

可选地,在本实施例中,上述计算机可读的存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the following steps:

S1,接收服务器发送的视频类型信息,并根据视频类型信息获取对应的视频数据;其中,视频类型信息由服务器根据第一终端发送的视频请求消息生成,视频请求消息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度;S1, receive video type information sent by the server, and obtain corresponding video data according to the video type information; wherein, the video type information is generated by the server according to a video request message sent by the first terminal, and the video request message is generated by the first terminal at least according to the first terminal. generating sound information, where the first sound information includes the first loudness of the sound played by the first terminal;

S2,将视频数据返回至服务器,以通过服务器将视频数据发送至第一终端。S2, returning the video data to the server, so as to send the video data to the first terminal through the server.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.

可选地,在本实施例中,上述计算机可读的存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), and a random access memory (Random Access Memory, referred to as ROM for short) Various media that can store computer programs, such as RAM), mobile hard disks, magnetic disks or optical disks.

实施例11Example 11

本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.

可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:

S1,获取第一声音信息,其中,第一声音信息包括第一终端播放声音的第一响度;S1, acquiring first sound information, wherein the first sound information includes the first loudness of the sound played by the first terminal;

S2,至少根据第一声音信息,生成视频请求信息并发送至服务器,以指示服务器根据视频请求信息返回视频数据。S2: Generate video request information at least according to the first sound information and send it to the server, so as to instruct the server to return video data according to the video request information.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.

实施例12Example 12

本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.

可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:

S1,接收第一终端发送的视频请求信息,根据视频请求信息返回视频数据;其中,视频请求信息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度。S1: Receive video request information sent by the first terminal, and return video data according to the video request information; wherein, the video request information is generated by the first terminal at least according to first sound information, and the first sound information includes the first sound information played by the first terminal. loudness.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.

实施例13Example 13

本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, comprising a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.

可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:

S1,接收服务器发送的视频类型信息,并根据视频类型信息获取对应的视频数据;其中,视频类型信息由服务器根据第一终端发送的视频请求消息生成,视频请求消息由第一终端至少根据第一声音信息生成,第一声音信息包括第一终端播放声音的第一响度;S1, receive video type information sent by the server, and obtain corresponding video data according to the video type information; wherein, the video type information is generated by the server according to a video request message sent by the first terminal, and the video request message is generated by the first terminal at least according to the first terminal. generating sound information, where the first sound information includes the first loudness of the sound played by the first terminal;

S2,将视频数据返回至服务器,以通过服务器将视频数据发送至第一终端。S2, returning the video data to the server, so as to send the video data to the first terminal through the server.

可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not described herein again in this embodiment.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present invention can be implemented by a general-purpose computing device, which can be centralized on a single computing device, or distributed in a network composed of multiple computing devices Alternatively, they may be implemented in program code executable by a computing device, such that they may be stored in a storage device and executed by the computing device, and in some cases, in a different order than here The steps shown or described are performed either by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps of them into a single integrated circuit module. As such, the present invention is not limited to any particular combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included within the protection scope of the present invention.

Claims (17)

1. A method for adjusting the state of terminal equipment of the Internet of things is applied to a first terminal, and is characterized by comprising the following steps:
acquiring first sound information, wherein the first sound information comprises first loudness of sound played by the first terminal;
generating video request information at least according to the first sound information and sending the video request information to a server so as to instruct the server to return video data according to the video request information;
the method further comprises the following steps: acquiring second sound information, wherein the second sound information comprises second loudness of sound in an environment where the first terminal is located;
the generating and sending video request information to a server according to at least the first sound information to instruct the server to return video data according to the video request information includes: generating the video request information according to the relation between the first sound information and the second sound information, and sending the video request information to the server so as to instruct the server to return the video data according to the video request information;
wherein the video data is one of: first video data including image data and audio data, and second video data including only image data.
2. The method according to claim 1, wherein the generating and sending the video request information to the server according to the relationship between the first sound information and the second sound information comprises:
under the condition that the first loudness included in the first sound information is greater than or equal to the second loudness included in the second sound information, generating first video request information and sending the first video request information to a server so as to instruct the server to return first video data according to the first video request information; or,
and under the condition that the first loudness included in the first sound information is smaller than the second loudness included in the second sound information, generating second video request information and sending the second video request information to a server so as to instruct the server to return second video data according to the second video request information.
3. The method of claim 1 or 2, wherein the obtaining second acoustic information comprises:
acquiring third sound information, wherein the third sound information comprises loudness of a sound set acquired by the first terminal;
and filtering the first sound information contained in the third sound information to obtain the second sound information.
4. The method of claim 1, wherein generating and sending video request information to a server based on at least the first sound information comprises:
under the condition that the first loudness contained in the first sound signal is 0, generating third video request information and sending the third video request information to the server so as to instruct the server to return third video data according to the second video request information;
wherein the third video data comprises image data.
5. A method for adjusting the state of terminal equipment of the Internet of things is applied to a server, and is characterized by comprising the following steps:
receiving video request information sent by a first terminal, and returning video data according to the video request information; the video request information is generated by the first terminal at least according to first sound information, and the first sound information comprises first loudness of sound played by the first terminal;
wherein the video request information is generated by the first terminal according to a relationship between the first sound information and the second sound information; wherein the second sound information comprises a second loudness of sound within an environment in which the first terminal is located;
wherein the video data is one of: first video data including image data and audio data, and second video data including only image data.
6. The method of claim 5, wherein the video request information comprises:
first video request information, wherein the first video request information is generated by the first terminal if the first loudness included in the first sound information is greater than or equal to a second loudness included in the second sound information; the first video request information is used for indicating the server to return first video data to the first terminal;
second video request information, wherein the second video request information is generated by the first terminal if the first loudness included in the first sound information is less than the second loudness included in the second sound information; the second video request information is used for indicating the server to return second video data to the first terminal.
7. The method according to claim 5 or 6, wherein the second sound information is obtained by the first terminal filtering the first sound information contained in third sound information; wherein the third sound information includes a third loudness of the sound set acquired by the first terminal.
8. The method of claim 5, wherein the video request information comprises: second video request information;
wherein the second video request information is generated by the first terminal in a case where a first loudness included in the first sound signal is 0; the second video request information is used for indicating the server to return second video data to the first terminal; wherein the second video data comprises image data.
9. The method according to claim 5, wherein after receiving the video request information sent by the first terminal, the method further comprises:
generating video type information according to the video request information, and sending the video type information to a second terminal;
the video type information is used for indicating the second terminal to generate the corresponding video data and returning the video data to the server.
10. A method for adjusting the state of terminal equipment of the Internet of things is applied to a second terminal, and is characterized by comprising the following steps:
receiving video type information sent by a server, and acquiring corresponding video data according to the video type information; the video type information is generated by the server according to a video request message sent by a first terminal, the video request message is generated by the first terminal at least according to first sound information and second sound information, and the first sound information comprises first loudness of sound played by the first terminal; the second sound information comprises a second loudness of sound in the environment where the first terminal is located; the video data is one of: first video data including image data and audio data, second video data including only image data; the video request information is determined by: the first terminal generates the video request information according to the relation between the first sound information and the second sound information;
and returning the video data to the server so as to send the video data to the first terminal through the server.
11. The utility model provides an operating system of thing networking terminal equipment state adjustment which characterized in that includes:
the first terminal is configured to acquire first sound information and generate video request information at least according to the first sound information; wherein the first sound information comprises a first loudness of a sound played by the first terminal;
the server is configured to receive the video request information sent by the first terminal and return video data to the first terminal according to the video request information;
the first terminal is further configured to obtain second sound information, where the second sound information includes a second loudness of sound in an environment where the first terminal is located;
the first terminal is further configured to generate the video request information according to the relationship between the first sound information and the second sound information and send the video request information to the server, so as to instruct the server to return the video data according to the video request information; wherein the video data is one of: first video data including image data and audio data, and second video data including only image data.
12. The operating system of claim 11, wherein the system further comprises:
the second terminal is configured to acquire the video data and send the video data to the first terminal through the server;
the server is also configured to send video type information to the second terminal according to the video request information; the second terminal is further configured to acquire the video data according to the video type information and return the corresponding video data to the server.
13. The utility model provides a device of thing networking terminal equipment state adjustment, sets up in first terminal, its characterized in that, the device includes:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring first sound information, and the first sound information comprises first loudness of sound played by the first terminal;
the request module is used for generating video request information at least according to the first sound information and sending the video request information to a server so as to instruct the server to return video data according to the video request information;
the obtaining module is further configured to obtain second sound information, where the second sound information includes a second loudness of sound in an environment where the first terminal is located;
the request module is further configured to generate the video request information according to the relationship between the first sound information and the second sound information, and send the video request information to the server, so as to instruct the server to return the video data according to the video request information; wherein the video data is one of: first video data including image data and audio data, and second video data including only image data.
14. The utility model provides a device of thing networking terminal equipment state adjustment, sets up in the server, its characterized in that, the device includes:
the receiving module is used for receiving video request information sent by a first terminal and returning video data according to the video request information; the video request information is generated by the first terminal at least according to first sound information and second sound information, and the first sound information comprises first loudness of sound played by the first terminal; the second sound information comprises a second loudness of sound in the environment where the first terminal is located; the video data is one of: first video data including image data and audio data, second video data including only image data;
wherein the video request information is determined by:
and the first terminal generates the video request information according to the relation between the first sound information and the second sound information.
15. The utility model provides a device of thing networking terminal equipment state adjustment, sets up in the second terminal, its characterized in that, the device includes:
the type module is used for receiving the video type information sent by the server and acquiring corresponding video data according to the video type information; the video type information is generated by the server according to a video request message sent by a first terminal, the video request message is generated by the first terminal at least according to first sound information and second sound information, and the first sound information comprises first loudness of sound played by the first terminal; the second sound information comprises a second loudness of sound in the environment where the first terminal is located; the video data is one of: first video data including image data and audio data, second video data including only image data; the video request information is determined by: the first terminal generates the video request information according to the relation between the first sound information and the second sound information;
and the sending module is used for returning the video data to the server so as to send the video data to the first terminal through the server.
16. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the method of any one of claims 1 to 4, 5 to 9, 10 when the computer program is executed.
17. An electronic device comprising a memory and a processor, wherein the memory has a computer program stored therein, and the processor is configured to execute the computer program to perform the method of any one of claims 1 to 4, 5 to 9, and 10.
CN201911275889.3A 2019-12-12 2019-12-12 Method and device for adjusting state of terminal equipment of Internet of things and operating system Active CN111083137B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911275889.3A CN111083137B (en) 2019-12-12 2019-12-12 Method and device for adjusting state of terminal equipment of Internet of things and operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911275889.3A CN111083137B (en) 2019-12-12 2019-12-12 Method and device for adjusting state of terminal equipment of Internet of things and operating system

Publications (2)

Publication Number Publication Date
CN111083137A CN111083137A (en) 2020-04-28
CN111083137B true CN111083137B (en) 2022-07-05

Family

ID=70314187

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911275889.3A Active CN111083137B (en) 2019-12-12 2019-12-12 Method and device for adjusting state of terminal equipment of Internet of things and operating system

Country Status (1)

Country Link
CN (1) CN111083137B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014140053A1 (en) * 2013-03-13 2014-09-18 Koninklijke Philips N.V. Apparatus and method for improving the audibility of specific sounds to a user
CN106131475A (en) * 2016-07-28 2016-11-16 努比亚技术有限公司 A kind of method for processing video frequency, device and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105991810A (en) * 2015-04-16 2016-10-05 乐视移动智能信息技术(北京)有限公司 Volume adjustment method, volume adjustment device and mobile terminal
KR102436464B1 (en) * 2015-06-05 2022-08-26 삼성전자주식회사 Method for outputting notification information and electronic device thereof
CN105187284A (en) * 2015-08-31 2015-12-23 成都科创城科技有限公司 Intelligent household audio-video hybrid collection device adopting mobile bracelet
CN110392297B (en) * 2018-04-18 2021-12-14 腾讯科技(深圳)有限公司 Video processing method and device, storage medium and terminal
CN109547732A (en) * 2018-12-19 2019-03-29 深圳银澎云计算有限公司 A kind of audio/video processing method, device, server and video conferencing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014140053A1 (en) * 2013-03-13 2014-09-18 Koninklijke Philips N.V. Apparatus and method for improving the audibility of specific sounds to a user
CN106131475A (en) * 2016-07-28 2016-11-16 努比亚技术有限公司 A kind of method for processing video frequency, device and terminal

Also Published As

Publication number Publication date
CN111083137A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
JP2022516663A (en) Data transmission methods and electronic devices
CN114143700B (en) Audio processing method, device, equipment, medium and program product
CN112822435A (en) A security method, device and system that can be easily accessed by users
CN108737648A (en) Volume of music adaptive regulation method, device, storage medium and terminal
CN113827953B (en) Game control system
CN113885827B (en) Audio playback method, device, electronic device, computer readable medium and product
CN109739463A (en) Multimedia volume adjusting method and terminal
CN109195009B (en) Audio and video playing method and playing system, intelligent sound box and storage device
CN113467258A (en) Intelligent monitoring method and equipment thereof
WO2018014518A1 (en) Photographing processing method and apparatus
CN105391563B (en) Information notice method and device
CN204215585U (en) Children-story machine
CN109474882A (en) Sound field reconstruction method, device, storage medium and device based on listening point tracking
CN106375809B (en) Volume adjusting method and device and storage medium
CN113393835A (en) Voice interaction system, method and voice equipment
CN111083137B (en) Method and device for adjusting state of terminal equipment of Internet of things and operating system
CN104599690B (en) It is a kind of to adjust the method and apparatus that audio file plays sound
CN105682010B (en) Bluetooth connection control method and device in audio playing system and playing equipment
CN109525792B (en) Conference recording management method and system, terminal and computer readable storage medium
CN115967887A (en) A method and terminal for processing sound and image orientation
CN112449209B (en) Video storage method and device, cloud server and computer readable storage medium
CN116962250A (en) Network quality detection method, device, computer equipment and storage medium
CN113868084B (en) Intelligent control method and device and electronic equipment
CN110755843A (en) Game audio processing method and device, storage medium and electronic device
CN117177135B (en) Audio processing method and electronic equipment

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Liu Jianguo

Inventor after: Yin Deshuai

Inventor after: Xu Zhifang

Inventor after: Liu Chao

Inventor after: Wang Miao

Inventor after: Wang Shoufeng

Inventor after: Tang Jie

Inventor before: Yin Deshuai

Inventor before: Xu Zhifang

Inventor before: Liu Chao

Inventor before: Wang Miao

Inventor before: Wang Shoufeng

Inventor before: Tang Jie

GR01 Patent grant
GR01 Patent grant