Control method of set top box, set top box and storage medium
By obtaining the identification information of the set-top box and automatically adjusting the video playback parameters, the problem of users needing to manually control the set-top box is solved, achieving a more convenient control experience.
Patent Information
- Application Number
- CN202311138935.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-04
- Publication Date
- 2025-03-11
AI Technical Summary
When users watch videos through display devices, they need to manually control the set-top box, which leads to cumbersome operations and affects the user experience.
By obtaining the identification information of the set-top box within the human body recognition range, determining the target playback parameters, and outputting these parameters to the connected electronic device to automatically adjust the video playback settings.
It reduces the cumbersome operation of set-top box control, improves control convenience, and improves the user's video viewing experience.
Smart Images

Figure CN119603505A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent devices, and in particular to a control method, a base station and a storage medium of a set-top box. Background Art
[0002] A set top box (STB) is a device that connects a display device to an external signal source. For example, a set top box can convert compressed digital signals into video images and display the corresponding video images on a display device. However, when users watch video images through a display device, they generally need to manually control the set top box based on the user's viewing experience of the video images, which easily leads to cumbersome operations to control the set top box. Summary of the invention
[0003] The main purpose of the present invention is to provide a set-top box control method, a set-top box and a storage medium, aiming to reduce the complexity of the operation of controlling the set-top box and improve the convenience of controlling the set-top box.
[0004] In a first aspect, an embodiment of the present invention provides a control method of a set-top box, the control method comprising:
[0005] Obtain identification information of the set-top box within the human body recognition range;
[0006] Determining target playback parameters corresponding to the set-top box according to the identification information;
[0007] The target playback parameter is output to an electronic device connected to the set-top box, so that the electronic device plays the video according to the target playback parameter.
[0008] In a second aspect, an embodiment of the present invention further provides a set-top box, the set-top box comprising a memory and a processor;
[0009] The memory is used to store computer programs;
[0010] The processor is used to execute the computer program and implement any set-top box control method provided in the specification of the present invention when executing the computer program.
[0011] In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program can be executed by a processor, and the processor implements any set-top box control method provided in the specification of the present invention.
[0012] An embodiment of the present invention provides a control method for a set-top box, a set-top box, and a storage medium. The embodiment of the present invention obtains identification information of a set-top box within a human body recognition range; determines target playback parameters corresponding to the set-top box according to the identification information; and outputs the target playback parameters to an electronic device connected to the set-top box, so that the electronic device plays a video according to the target playback parameters, which is beneficial to reducing the complexity of controlling the set-top box and improving the convenience of controlling the set-top box. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0014] Figure 1 A schematic flow chart of a method for controlling a set-top box provided by an embodiment of the present invention;
[0015] Figure 2 This is an application scenario diagram of a set-top box control method according to an embodiment of the present invention;
[0016] Figure 3 A schematic block diagram of a set-top box provided in accordance with an embodiment of the present invention. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0019] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0020] The embodiment of the present invention provides a control method of a set-top box, a set-top box and a storage medium. The control method of the set-top box can be applied to the set-top box.
[0021] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0022] See also Figure 1 , Figure 1 A flow chart of a control method of a set-top box provided by an embodiment of the present invention. Exemplarily, the control method of the set-top box is applied to a set-top box. Of course, it is not limited to this. For example, the control method of the set-top box can also be applied to electronic devices other than the set-top box, so as to control the set-top box through electronic devices other than the set-top box. The electronic device can be a mobile phone, a tablet computer, a laptop computer, a desktop computer, etc. For another example, the control method of the set-top box can also be applied to a server, so as to control the set-top box through the server. The server can be a separate server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. The server can be a separate server or a server cluster, which is not limited here.
[0023] like Figure 1 As shown, the control method of the set-top box includes steps S101 to S103.
[0024] Step S101: Acquire identification information of a set-top box within a human body recognition range.
[0025] Exemplarily, the set-top box can be used to control electronic devices so that the electronic devices display corresponding video images. Electronic devices include, for example, televisions, projectors, computers, etc. Televisions can include flat-panel televisions, CRT picture tube televisions, rear-projection televisions, projection televisions, 3D televisions, etc., without limitation.
[0026] For example, if the electronic device is a non-portable mobile terminal device, the electronic device is generally set within a fixed position range. For example, an electronic device such as a TV can be set on a wall through a TV stand, or can be placed on a TV table, etc., and the user generally does not change the placement of the TV. In addition, when the set-top box controls the electronic device to play a video, such as outputting the corresponding video audio and displaying the corresponding video screen, since the video sound data and video screen data transmitted by the set-top box to the electronic device are received from an external signal source, when the external signal source continues to transmit the video sound data and video screen data to the set-top box, the user cannot control the electronic device to pause the display of the corresponding video screen during the process of the electronic device displaying the video screen, such as being unable to control the electronic device to pause the video playback and continue to display the current video screen.
[0027] In some implementations, when watching a video on an electronic device, if the user needs to perform corresponding activities, such as watching the video while doing housework, leaving the device to perform corresponding activities while watching the video, etc., the user needs to control the set-top box to adjust the playback parameters of the electronic device. However, if the user fails to control the set-top box in time, it is easy for the user to fail to obtain the video content played by the electronic device, such as being unable to hear the video audio or see the video screen, which affects the user's experience of using the electronic device.
[0028] Based on this, the identification information of the set-top box within the human body recognition range can be obtained.
[0029] For example, the set-top box can identify whether there is a user within the human body recognition range, and the set-top box can also identify the distance between the user and the set-top box within the human body recognition range. Of course, it is not limited to this. For example, the set-top box can also identify the distance between the user and the electronic device within the human body recognition range. The set-top box can determine the distance between the user and the set-top box based on the distance between the set-top box and the electronic device. There is no limitation here.
[0030] In some implementations, the set-top box may be provided with a human body recognition module. The human body recognition module includes, for example, an infrared sensor, a surveillance camera, a laser detector, etc., wherein the human body recognition module has a corresponding human body recognition range, and the set-top box may recognize a user within the human body recognition range through at least one of the infrared sensor, the surveillance camera, and the laser detector. Of course, this is not limited to this, and no limitation is made here.
[0031] For example, when the identification information of the set-top box obtained within the human body recognition range is different, the user may have different video playback requirements for the electronic device, and the set-top box is subsequently controlled according to the identification information of the set-top box obtained within the human body recognition range.
[0032] In this way, by obtaining the identification information of the set-top box within the human body recognition range, the user's video playback demand for the electronic device can be determined based on the obtained identification information, which can be used for subsequent control of the set-top box, thereby controlling the electronic device connected to the set-top box without the user having to control the set-top box by themselves, which is conducive to reducing the cumbersomeness of the operation of controlling the set-top box and improving the convenience of controlling the set-top box.
[0033] Step S102: Determine the target playback parameters corresponding to the set-top box according to the identification information.
[0034] For example, when different identification information is obtained, the user has different video playback requirements for the electronic device. For example, the current playback parameters corresponding to the set-top box can be adjusted according to the identification information, and the target playback parameters corresponding to the set-top box can be determined to adapt to the changes in the user's video playback requirements.
[0035] In some embodiments, when it is determined based on the identification information that the distance between the set-top box and the user is decreasing, the current playback parameters of the set-top box are adjusted down to obtain the target playback parameters of the set-top box; when it is determined based on the identification information that the distance between the set-top box and the user is increasing, the current playback parameters of the set-top box are adjusted up to obtain the target playback parameters of the set-top box.
[0036] For example, when the set-top box recognizes a user within the human body recognition range, the distance between the set-top box and the user can be identified. Taking the example of the set-top box identifying the distance between the set-top box and the user through an infrared sensor, the infrared sensor may include an infrared transmitter and an infrared receiver. The infrared transmitter may emit infrared light to the identified user, and the emitted infrared light is reflected back to the infrared receiver by the user's body and received by the infrared receiver. For example, if the speed of infrared light is c, and the time difference between the infrared transmitter emitting infrared light and the infrared receiver receiving infrared light is t, then the distance between the set-top box and the user can be determined to be For example, the set-top box can obtain the distance between the set-top box and the user at a regular interval, or the set-top box can obtain the distance between the set-top box and the user in real time. Of course, it is not limited to this. The set-top box can obtain the distance between the set-top box and the user when it recognizes that the location information of the user within the human body recognition range has changed, or when it recognizes that the action of the user within the human body recognition range has changed. There is no limitation here.
[0037] In some embodiments, when it is determined that the distance between the set-top box and the user is reduced according to the identification information, if the set-top box maintains the current playback parameters unchanged, it is easy for the current playback volume of the electronic device connected to the set-top box to be too loud, resulting in a harsh current playback volume, or the current display brightness of the electronic device connected to the set-top box is too high, resulting in a harsh current display brightness, or the current display screen size of the electronic device connected to the set-top box is too large, and the user cannot see the video screen completely, resulting in a poor audio-visual experience of the user for the video. Based on this, when the distance between the set-top box and the user is reduced, the current playback parameters of the set-top box can be adjusted down, such as adjusting down the current playback volume of the set-top box, adjusting down the current display brightness of the set-top box, and adjusting down at least one of the current display screen size of the set-top box, so as to adapt to the changes in the user's video playback requirements for the electronic device when the distance between the user and the set-top box is reduced. Of course, it is not limited to this, and is not limited here.
[0038] In some embodiments, when the distance between the set-top box and the user increases according to the identification information, if the set-top box maintains the current playback parameters unchanged, it is easy to appear that the current playback volume of the electronic device connected to the set-top box is too small, resulting in the user being unable to hear the video audio clearly, or the current display brightness of the electronic device connected to the set-top box is too high, resulting in the user being unable to see the video picture clearly, or the current display screen size of the electronic device connected to the set-top box is too small, and the user is unable to see the video picture clearly, resulting in the user's poor audio-visual experience of the video. Based on this, when the distance between the set-top box and the user increases, the current playback parameters of the set-top box can be increased, such as increasing the current playback volume of the set-top box, increasing the current display brightness of the set-top box, and increasing at least one of the current display screen size of the set-top box, to adapt to the changes in the user's video playback requirements for the electronic device when the distance between the user and the set-top box increases. Of course, it is not limited to this, and is not limited here.
[0039] For example, Figure 2As shown, when it is determined according to the identification information that the distance between the set-top box and the user changes and the current playback parameters of the set-top box need to be adjusted, the current playback parameters of the set-top box can be adjusted according to the preset parameter adjustment amplitude. For example, the set-top box can have multiple different playback volume values. If the distance between the set-top box and the user is reduced by 1 meter, the current playback volume of the set-top box can be adjusted down from playback volume value 1 to playback volume value 2 according to the preset playback volume adjustment amplitude. If the distance between the set-top box and the user increases by 1 meter, the current playback volume of the set-top box can be adjusted up from playback volume value 2 to playback volume value 1 according to the preset playback volume adjustment amplitude. For another example, the set-top box can have multiple different display brightness values. If the distance between the set-top box and the user is reduced by 1 meter, the current display brightness of the set-top box can be adjusted down from display brightness value 1 to display brightness value 2 according to the preset display brightness adjustment amplitude. If the distance between the set-top box and the user increases by 1 meter, the current display brightness of the set-top box can be adjusted up from display brightness value 2 to display brightness value 1 according to the preset display brightness adjustment amplitude. Of course, it is not limited to this. For example, the set-top box can be set with different display screen sizes. If the distance between the set-top box and the user is reduced by 1 meter, the current display screen size of the set-top box can be adjusted to a value of the current display screen size according to the preset display screen size adjustment range. If the distance between the set-top box and the user increases by 1 meter, the current display screen size of the set-top box can be increased to 1 times the current display screen size according to the preset display screen size adjustment range, and there is no restriction here. Among them, the preset parameter adjustment range, such as the preset playback volume adjustment range, the preset display brightness adjustment range, the preset display screen size adjustment range, etc., can be pre-set or set by the user, and there is no restriction here.
[0040] In this way, by determining the change in the distance between the set-top box and the user based on the identification information and adjusting the current playback parameters of the set-top box to obtain the target playback parameters of the set-top box, it is possible to adapt to changes in the user's video playback needs when the distance between the user and the set-top box changes. For example, when the user walks within the human body recognition range corresponding to the set-top box, no matter how far the user is from the electronic device, he or she can hear the appropriate playback volume, see the appropriate display brightness, see the appropriate picture display size, etc., without the user having to control the set-top box by himself or herself, which is conducive to reducing the cumbersomeness of the operation of controlling the set-top box and improving the convenience of controlling the set-top box.
[0041] In some implementations, when it is determined based on identification information that there are multiple users within the human body recognition range corresponding to the set-top box, the target playback parameters corresponding to the set-top box are determined based on identification information corresponding to the user closest to the set-top box.
[0042] For example, when it is determined based on the identification information that there are multiple users within the human body recognition range corresponding to the set-top box, different users may have different video playback requirements. For example, a user who is closer to the set-top box is watching a video through an electronic device, while a user who is farther from the set-top box is performing other activities. In this case, the current playback parameters corresponding to the set-top box can be adjusted based on the identification information corresponding to the user who is closer to the set-top box, such as the identification information corresponding to the user who is closest to the set-top box, to obtain the target playback parameters corresponding to the set-top box. Among them, the user who is closest to the set-top box may be variable. For example, if a user is walking while watching a video, the target playback parameters corresponding to the set-top box can be continuously determined based on the identification information corresponding to the user who is closest to the set-top box to meet the video playback requirements of multiple users.
[0043] Of course, it is not limited to this. For example, when it is determined based on the identification information that there are multiple users within the human body recognition range corresponding to the set-top box, the maximum distance, minimum distance, median distance, and mode distance between the set-top box can be determined based on the identification information corresponding to each of the multiple users. According to the change of any one of the maximum distance, minimum distance, median distance, and mode distance between the set-top box, the current playback parameters corresponding to the set-top box can be adjusted to obtain the target playback parameters corresponding to the set-top box, so as to adapt to the video playback needs of multiple users. There is no limitation here.
[0044] In this way, when it is determined according to the identification information that there are multiple users in the human body identification range corresponding to the set-top box, the corresponding identification information can be selected from the identification information corresponding to the multiple users to determine the target playback parameters corresponding to the set-top box to meet the video playback needs of the multiple users without the need for the users to control the set-top box by themselves, which is conducive to reducing the complexity of the operation of controlling the set-top box. In addition, according to different identification information, the set-top box can be controlled differently, which is conducive to improving the flexibility and convenience of controlling the set-top box.
[0045] In some implementation manners, based on the user's parameter adjustment operation on the set-top box and the identification information detected by the set-top box during the parameter adjustment operation, the association relationship between the preset identification information and the target playback parameters is determined; based on the association relationship between the preset identification information and the target playback parameters, the target playback parameters corresponding to the identification information are determined.
[0046] For example, the user can adjust the current playback parameters of the set-top box by himself, such as performing corresponding parameter adjustment operations on the set-top box. When the user's parameter adjustment operation on the set-top box is detected, the set-top box can identify the distance between the set-top box and the user. For example, when the user determines the target playback volume of the set-top box as playback volume value 1 through the parameter adjustment operation on the set-top box, the distance between the user and the set-top box is S0, then the association relationship between the distance S0 and the playback volume value 1 can be determined, and when the distance between the set-top box and the user is determined to be S0 according to the identification information later, the current playback volume of the set-top box can be adjusted to the playback volume value 1. Of course, it is not limited to this. For example, when the user determines the target display brightness of the set-top box as display brightness 2 through the parameter adjustment operation on the set-top box, the distance between the user and the set-top box is S1, then the association relationship between the distance S1 and the display brightness 2 can be determined, and when the distance between the set-top box and the user is determined to be S1 according to the identification information later, the current display brightness of the set-top box can be adjusted to the display brightness 2, which is not limited here.
[0047] In this way, by determining the association relationship between the preset identification information and the target playback parameters based on the user's parameter adjustment operation on the set-top box and the identification information detected by the set-top box during the parameter adjustment operation, and determining the target playback parameters corresponding to the identification information based on the association relationship, the set-top box can determine the user's parameter adjustment preference or parameter adjustment habit for the set-top box based on the user's parameter adjustment operation on the set-top box, so as to control the set-top box and adapt to the user's video playback needs, which is conducive to improving the flexibility and convenience of controlling the set-top box.
[0048] In some embodiments, when the electronic device is in a video playback state and it is determined based on identification information that the set-top box changes from not detecting a human body within a human recognition range to detecting a human body, the current playback parameters of the set-top box are adjusted according to a first adjustment strategy to obtain target playback parameters of the set-top box; when the electronic device is in a video playback state and it is determined based on identification information that the set-top box does not detect a human body within the human recognition range, the current playback parameters of the set-top box are adjusted according to a second adjustment strategy to obtain the target playback parameters of the set-top box; the second adjustment strategy is different from the first adjustment strategy.
[0049] For example, when the electronic device is in a video playback state, the user can watch the video through the electronic device while the user can also walk around. For example, after the user turns on the TV in the living room and tunes to the corresponding TV station, he goes to the kitchen to prepare breakfast. Since there is a wall between the living room and the kitchen, when the user is in the living room, the set-top box can detect the human body within the corresponding human body recognition range, and when the user is in the kitchen, the set-top box fails to detect the human body within the corresponding human body recognition range. In the process of the user walking from the living room to the kitchen, or the user walking from the kitchen to the living room to continue watching TV, the user's video playback needs, for example, will change. Based on this, the human body detection situation of the set-top box within the human body recognition range can be determined according to the identification information, for example, the set-top box changes from never detecting a human body within the human body recognition range to detecting a human body, or the set-top box changes from detecting a human body within the human body recognition range to not detecting a human body, or the set-top box does not detect a human body within the human body recognition range, and the current playback parameters of the set-top box are adaptively adjusted to meet the different video playback needs of the user.
[0050] In some embodiments, according to the first adjustment strategy, the current playback parameters of the set-top box are adjusted, including: reducing the current playback volume of the set-top box, increasing the current display brightness of the set-top box, at least one of; according to the second adjustment strategy, the current playback parameters of the set-top box are adjusted, including: increasing the current playback volume of the set-top box, decreasing the current display brightness of the set-top box, at least one of.
[0051] For example, when it is determined according to the identification information that the set-top box does not detect a human body within the human body recognition range, it can be determined that the distance between the set-top box and the user is far, resulting in the user being blocked by the corresponding object. Accordingly, when the user is blocked by the corresponding object, the user cannot see the video screen, and the current display brightness of the set-top box can be reduced to reduce energy consumption. Moreover, when the distance between the set-top box and the user is far, the current playback volume of the set-top box can be appropriately increased so that the user can still hear the video audio clearly. Of course, it is not limited to this and is not limited here.
[0052] For example, when it is determined according to the identification information that the set-top box changes from not detecting a human body to detecting a human body within the human body recognition range, it can be determined that the distance between the set-top box and the user is gradually decreasing, and the current playback volume of the set-top box can be appropriately reduced to prevent the user from being in an environment with a high volume for a long time, thereby protecting the user's hearing. Moreover, when the distance between the set-top box and the user is reduced, if the user needs to see the video picture clearly, for example, the current display brightness of the set-top box can be appropriately increased so that the user can see the video picture clearly. Of course, this is not limited to this, and no limitation is made here.
[0053] Exemplarily, the target playback parameter includes a target video output state parameter. The target video output state parameter can be used to control the set-top box to stop outputting video picture data or to control the set-top box to resume outputting video picture data.
[0054] In some embodiments, when the electronic device is in a video playback state and it is determined based on the identification information that the set-top box changes from not detecting a human body to detecting a human body within a human body recognition range, the target video output state parameter corresponding to the set-top box is increased to a first video output state parameter so that the set-top box resumes outputting video picture data; when the electronic device is in a video playback state and it is determined based on the identification information that the set-top box does not detect a human body within the human body recognition range, the target video output state parameter corresponding to the set-top box is decreased to a second video output state parameter so that the set-top box stops outputting video picture data.
[0055] For example, when it is determined according to the identification information that the set-top box does not detect a human body within the human body recognition range, it can be determined that the user is blocked by the corresponding object. Accordingly, when the user is blocked by the corresponding object, the user cannot see the video screen, then the target video output state parameter corresponding to the set-top box can be adjusted to the second video output state parameter, so that the set-top box stops outputting video screen data, and then the electronic device connected to the set-top box only receives video and audio data, but does not receive video screen data, and can only play the video according to the received video and audio data, without displaying the video screen, to reduce power consumption. When it is determined according to the identification information that the set-top box changes from never detecting a human body to detecting a human body within the human body recognition range, the user is no longer blocked by the corresponding object. Accordingly, when the user is no longer blocked by the corresponding object, the user can see the video screen, then the target video output state parameter corresponding to the set-top box can be adjusted to the first video output state parameter, so that the set-top box resumes outputting video screen data, then the electronic device connected to the set-top box can receive the video screen data again, and then the received video screen data and video and audio data can be combined to play the video.
[0056] In this way, when the electronic device is in the video playing state, the change of human body detection situation is determined through the recognition information of the set-top box, which can be used to determine the change of the user's video playing demand, so as to control the set-top box without the user having to control the set-top box by himself. This is conducive to reducing the cumbersomeness of the operation of controlling the set-top box and improving the flexibility and convenience of controlling the set-top box.
[0057] Step S103: outputting the target playback parameters to the electronic device connected to the set-top box, so that the electronic device plays the video according to the target playback parameters.
[0058] For example, a set-top box can be used to control an electronic device. When an electronic device is connected to a set-top box, such as when a communication connection is established, a target playback parameter can be output to the electronic device connected to the set-top box, and the electronic device can play a video according to the received target playback parameter. For example, the set-top box can output the target playback volume of the set-top box to the connected electronic device, and the electronic device can be controlled to play the video at the target playback volume. For example, the set-top box can output the target display brightness of the set-top box to the connected electronic device, and the electronic device can be controlled to play the video at the target display brightness. For example, the set-top box can output the target display screen size of the set-top box to the connected electronic device, and the electronic device can be controlled to play the video at the target display screen size. Of course, it is not limited to this, and no limitation is made here.
[0059] In some implementations, when the target video output state parameter output by the set-top box to the electronic device is the first video output state parameter, the electronic device is controlled to resume displaying the video picture.
[0060] For example, when the target video output state parameter output by the set-top box to the electronic device is the first video output state parameter, the set-top box resumes outputting video picture data to the electronic device, and the electronic device can be controlled to resume displaying the video picture.
[0061] In some implementations, when the target video output state parameter output by the set-top box to the electronic device is the second video output state parameter, the electronic device is controlled to turn off displaying the video picture.
[0062] For example, when the target video output state parameter output by the set-top box to the electronic device is the second video output state parameter, the set-top box stops outputting video picture data to the electronic device, and the electronic device can be controlled to turn off displaying the video picture to reduce energy consumption.
[0063] In this way, by outputting the target playback parameters to the electronic device connected to the set-top box, the electronic device can be controlled to play the video according to the target playback parameters to meet the user's video playback needs for the electronic device, without the user having to control the set-top box to adjust the playback parameters of the electronic device. This is conducive to reducing the cumbersomeness of the operation of controlling the electronic device and improving the convenience of controlling the electronic device.
[0064] The control method of the set-top box provided in the above embodiment obtains the identification information of the set-top box within the human body recognition range; determines the target playback parameters corresponding to the set-top box according to the identification information; and outputs the target playback parameters to the electronic device connected to the set-top box so that the electronic device plays the video according to the target playback parameters, thereby reducing the complexity of the operation of controlling the set-top box and improving the convenience of controlling the set-top box.
[0065] See also Figure 3 , Figure 3 A schematic block diagram of the structure of a set-top box provided by an embodiment of the present invention.
[0066] like Figure 3 As shown, the set-top box 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected via a bus 303, such as an I2C (Inter-integrated Circuit) bus.
[0067] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire set-top box. The processor 301 can be a central processing unit (CPU), and the processor 301 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0068] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.
[0069] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a partial structure related to the embodiment of the present invention, and does not constitute a limitation on the set-top box to which the embodiment of the present invention is applied. A specific set-top box may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0070] The processor is used to run a computer program stored in the memory, and implement any one of the set-top box control methods provided by the embodiments of the present invention when executing the computer program.
[0071] In one embodiment, the processor is used to run a computer program stored in the memory, and implements the following steps when executing the computer program:
[0072] Obtain identification information of the set-top box within the human body recognition range;
[0073] Determining target playback parameters corresponding to the set-top box according to the identification information;
[0074] The target playback parameter is output to an electronic device connected to the set-top box, so that the electronic device plays the video according to the target playback parameter.
[0075] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the set-top box described above can refer to the corresponding process in the aforementioned set-top box control method embodiment, and will not be repeated here.
[0076] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program. The computer program can be executed by a processor to implement any set-top box control method provided in the description of the embodiment of the present invention.
[0077] Wherein, the storage medium may be an internal storage unit of the set-top box described in the foregoing embodiment, such as a hard disk or memory of the set-top box. The storage medium may also be an external storage device of the set-top box, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the set-top box.
[0078] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0079] It should be understood that the term "and / or" used in the present specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.
[0080] The serial numbers of the embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for controlling a set-top box, characterized in that: The control method comprises: Obtain identification information of the set-top box within the human body recognition range; Determining target playback parameters corresponding to the set-top box according to the identification information; The target playback parameter is output to an electronic device connected to the set-top box, so that the electronic device plays the video according to the target playback parameter.
2. The control method according to claim 1, characterized in that: The step of determining the target playback parameter corresponding to the set-top box according to the identification information includes: When it is determined according to the identification information that the distance between the set-top box and the user is reduced, reducing the current playback parameters of the set-top box to obtain the target playback parameters of the set-top box; When it is determined according to the identification information that the distance between the set-top box and the user increases, the current playback parameters of the set-top box are increased to obtain the target playback parameters of the set-top box.
3. The control method according to claim 1, characterized in that: The step of determining the target playback parameter corresponding to the set-top box according to the identification information includes: When it is determined according to the identification information that there are multiple users within the human body recognition range corresponding to the set-top box, the target playback parameter corresponding to the set-top box is determined according to the identification information corresponding to the user closest to the set-top box.
4. The control method according to claim 1, characterized in that: The step of determining the target playback parameter corresponding to the set-top box according to the identification information includes: Determining an association relationship between preset identification information and target playback parameters according to a user's parameter adjustment operation on the set-top box and identification information detected by the set-top box during the parameter adjustment operation; According to the preset association relationship between the identification information and the target playback parameter, the target playback parameter corresponding to the identification information is determined.
5. The control method according to any one of claims 1 to 4, characterized in that: Determining the target playback parameters of the set-top box according to the identification information includes: When the electronic device is in a video playing state and it is determined according to the identification information that the set-top box changes from not detecting a human body within a human body recognition range to detecting a human body, adjusting the current playing parameters of the set-top box according to a first adjustment strategy to obtain target playing parameters of the set-top box; When the electronic device is in a video playing state and it is determined based on the identification information that the set-top box does not detect a human body within the human recognition range, the current playback parameters of the set-top box are adjusted according to a second adjustment strategy to obtain the target playback parameters of the set-top box; the second adjustment strategy is different from the first adjustment strategy.
6. The control method according to claim 5, characterized in that: The adjusting the current playback parameters of the set-top box according to the first adjustment strategy includes: reducing the current playback volume of the set-top box, increasing the current display brightness of the set-top box, or at least one of the following: The adjusting the current playback parameters of the set-top box according to the second adjustment strategy includes: increasing the current playback volume of the set-top box or decreasing the current display brightness of the set-top box.
7. The control method according to any one of claims 1 to 4, characterized in that: The target playback parameters include target video output state parameters; The step of determining the target playback parameter corresponding to the set-top box according to the identification information includes: When the electronic device is in a video playing state and it is determined according to the identification information that the set-top box changes from not detecting a human body within the human body recognition range to detecting a human body, increasing the target video output state parameter corresponding to the set-top box to a first video output state parameter, so that the set-top box resumes outputting video picture data; When the electronic device is in a video playing state and it is determined according to the identification information that the set-top box does not detect a human body within the human body recognition range, the target video output state parameter corresponding to the set-top box is reduced to a second video output state parameter so that the set-top box stops outputting video picture data.
8. The control method according to claim 7, characterized in that: The step of outputting the target playback parameter to the electronic device connected to the set-top box so that the electronic device plays the video according to the target playback parameter comprises: When the target video output state parameter output by the set-top box to the electronic device is the first video output state parameter, controlling the electronic device to resume displaying the video picture; When the target video output state parameter output by the set-top box to the electronic device is a second video output state parameter, the electronic device is controlled to turn off displaying the video picture.
9. A set-top box, characterized in that: The set-top box includes a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the control method of the set-top box according to any one of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program can be executed by a processor, so that the processor implements the control method of the set-top box according to any one of claims 1 to 8.