Playback mode setting method, device, equipment and storage medium
By introducing the care mode option into digital TV, including protection channels and program settings, viewing time management and other functions, the problem of single function in the existing technology is solved, and flexible management of TV program viewing for specific groups of people and the avoidance of bad information are achieved.
Patent Information
- Application Number
- CN202210740914.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-06-28
AI Technical Summary
The program lock and child lock function modules of existing digital TVs have single functions and cannot be applied to complex application scenarios. They have poor flexibility and are difficult to effectively manage TV program viewing content for specific groups of people.
Provide a playback mode setting method, including care mode options, including protected channel settings, protected program settings, protected viewing time settings, viewing record display, password settings and clear options, by responding to the care mode opening command to obtain and execute the corresponding Content parameters enable supervision and management of programs and time for specific groups of people.
It improves the supervision and management of TV program viewing for specific groups of people (such as children) to prevent them from being affected by bad information. The functional module settings are diversified and suitable for complex application scenarios.
Smart Images

Figure CN115225964B_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the technical field of smart televisions, and in particular to a playback mode setting method, device, equipment and storage medium. Background Art
[0002] With the continuous development of television being digital, networked and intelligent, digital television has entered more and more households. Its functions and applications have become more diversified, and it can provide richer program content. However, due to the complexity and diversity of program content, the audiences corresponding to different program content are also different. For example, some specific program content is only suitable for people of a certain age group. In order to enable specific people to watch specific program content, it is particularly important to better supervise and manage the viewing of TV program content.
[0003] At present, in the related technology, based on the NOS solution, similar functional modules such as channel lock, program lock and child lock can be set to realize the supervision and management of the content of the watched programs. However, the functional module is relatively simple and cannot be applied to complex application scenarios, and has poor flexibility. Summary of the invention
[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a playback mode setting method, device, equipment and storage medium.
[0005] In a first aspect, the present invention provides a method for setting a playback mode, the method comprising:
[0006] In response to the nursing mode opening instruction, displaying at least one nursing mode option, the nursing mode option including protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clear option;
[0007] Receive and respond to a trigger operation instruction for the nursing mode option, obtain content parameters corresponding to the nursing mode option, and perform an option setting operation corresponding to the nursing mode option based on the content parameters.
[0008] In one embodiment, when the nursing mode option is a protection channel setting, obtaining a content parameter corresponding to the nursing mode option, and performing an option setting operation corresponding to the nursing mode option based on the content parameter, including:
[0009] Get the ID of the highlighted channel control;
[0010] Compare the highlighted channel control identifier with a preset channel control identifier to obtain a first index value;
[0011] Based on the first index value, obtain the value of the corresponding channel flag bit in the channel information structure;
[0012] Based on the value of the channel flag bit, determine whether the current channel is a highlighted channel;
[0013] If it is not a highlighted channel, set the value of the corresponding flag bit and refresh the channel control;
[0014] Get the value of the flag bit corresponding to the current channel and display it dynamically.
[0015] In one embodiment, when the nursing mode option is a protection program setting, obtaining a content parameter corresponding to the nursing mode option, and performing an option setting operation corresponding to the nursing mode option based on the content parameter, including:
[0016] Get the ID of the highlighted program control;
[0017] Compare the highlighted program control identifier with a preset program control identifier to obtain a second index value;
[0018] Based on the second index value and the current list number mark, calculate the three Index value;
[0019] Based on the three Index value, get the highlighted program number and program type;
[0020] Setting program protection attributes based on the highlighted program number and program type;
[0021] Determine whether the currently playing program is set as a program to be protected;
[0022] If it is not set as a program to be protected, switch to the first program set to be protected;
[0023] Receive and respond to a program list opening instruction, display the program list and channel edit list, and hide programs with a program protection attribute of zero.
[0024] In one embodiment, when the nursing mode option is a viewing record display, obtaining content parameters corresponding to the nursing mode option, and performing an option setting operation corresponding to the nursing mode option based on the content parameters, including:
[0025] Get the date in the viewing record array structure;
[0026] Get the start time of the first program and the end time of the last program recorded within the target date;
[0027] The first column on the first level menu of the viewing history displays the date and time period;
[0028] The date and time are displayed on the other lines of the first page menu in turn;
[0029] When switching to playback record, get the ID of the highlighted playback record control;
[0030] Calculate a fourth index value based on the highlighted play record control identifier, the preset play record control identifier and the current page number;
[0031] Based on the fourth index value, obtain the first program data structure under the corresponding date;
[0032] According to the first program data structure, a corresponding viewing record display operation is performed.
[0033] In one embodiment, according to the first program data structure, performing a corresponding viewing record display operation includes:
[0034] According to the first program data structure, the channel, program type, program number, name start time, end time and information are obtained respectively, and displayed in the corresponding position of the control;
[0035] On the secondary menu of viewing records, the data of other program records are obtained respectively and the channel, program type, program number, name, start and end time are displayed in the corresponding position;
[0036] When the highlight position moves up and down, the infor information recorded by the corresponding program is displayed in the infor information bar.
[0037] In one embodiment, the method further comprises:
[0038] Initialize and obtain the current system time;
[0039] Based on the current system time, determine whether to shield the signal flag bit;
[0040] When the signal flag is not masked, get the current system time;
[0041] Determine whether the time difference between the current system time and the current system time obtained by initialization exceeds one minute;
[0042] If it exceeds one minute, determine whether the nursing mode is turned on;
[0043] When the nursing mode is turned on, get the current channel and determine whether the current channel signal is playing;
[0044] Execute corresponding operations based on the playback status of the current channel signal.
[0045] In one embodiment, based on the playback status of the current channel signal, performing corresponding operations includes:
[0046] If the current channel signal playback state is playing, obtain the initial time of the current first record and determine whether the initial time is zero;
[0047] If it is not zero, determine whether the current program is the first program recorded and the end time is greater than one minute and less than five minutes from the current time;
[0048] If not, move the entire structure data backward by one position and initialize the first program;
[0049] Acquire program data and time data, and set the program data and time data into the first program information;
[0050] Count whether the total viewing time in a cycle is greater than or equal to the set time;
[0051] If yes, set the corresponding flag, shield the signal sound and display the prompt menu to determine whether to continue the operation;
[0052] If you do not want to continue the operation, the shutdown action will be executed.
[0053] In a second aspect, an embodiment of the present application provides a playback mode setting device, the device comprising:
[0054] A display module, configured to display at least one nursing mode option in response to a nursing mode opening instruction, wherein the nursing mode option includes a protection channel setting, a protection program setting, a protection viewing time setting, a viewing record display, a password setting, and a clear option;
[0055] The processing module is used to receive and respond to the trigger operation instruction of the nursing mode option, obtain the content parameters corresponding to the nursing mode option, and perform the option setting operation corresponding to the nursing mode option based on the content parameters.
[0056] In a third aspect, an embodiment of the present application provides a device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the playback mode setting method of the first aspect described above is implemented.
[0057] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is used to implement the playback mode setting method of the first aspect above.
[0058] The playback mode setting method, device, equipment and storage medium provided in the embodiments of the present application, by responding to the nursing mode opening instruction, displaying at least one nursing mode option, the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, then receiving and responding to the trigger operation instruction of the nursing mode option, obtaining the content parameter corresponding to the nursing mode option, and performing the option setting operation corresponding to the nursing mode option based on the content parameter. The technical solution can obtain the nursing mode option to perform the option setting operation corresponding to the nursing mode option according to actual needs. Since the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, its functional module setting is diversified and can be applied to complex application scenarios, thereby improving the supervision and management of TV watching by specific groups of people (such as children) through the nursing mode setting method to prevent them from being affected by bad information. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0060] Figure 1 A schematic diagram of the structure of an implementation environment of the playback mode setting method provided in an embodiment of the present application;
[0061] Figure 2 A flowchart of a method for setting a playback mode provided in an embodiment of the present application;
[0062] Figure 3 A schematic diagram of the interface of the nursing mode menu provided in an embodiment of the present application;
[0063] Figure 4 A flowchart of a method for setting a playback mode provided in an embodiment of the present application;
[0064] Figure 5 A flowchart of a protection channel setting method provided in an embodiment of the present application;
[0065] Figure 6 A schematic diagram of the interface for setting the protection channel provided in an embodiment of the present application;
[0066] Figure 7 A flowchart of a method for setting a protected program provided in an embodiment of the present application;
[0067] Figure 8 A schematic diagram of an interface for setting time provided in an embodiment of the present application;
[0068] Fig. 9A flowchart of a viewing record display method provided in an embodiment of the present application;
[0069] Fig.10 A schematic diagram of an interface for displaying viewing records provided in an embodiment of the present application;
[0070] Fig.11 A flowchart of a method for setting a playback mode provided in an embodiment of the present application;
[0071] Fig.12 A schematic diagram of the structure of a playback mode setting device provided in an embodiment of the present application;
[0072] Fig.13 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.
[0074] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0075] It is understandable that with the continuous development of digital television, the functions and applications of smart TVs have become more diversified. Most of the current televisions are still unable to set relevant modes according to specific users. For example, some program content is not suitable for children to watch, but parents cannot look after their children all the time. Therefore, it is particularly important to set corresponding modes for specific users.
[0076] At present, in the related technology, based on the NOS solution, similar modules such as channel lock, program lock and child lock can be set, but the functions of the modules are relatively simple, and they cannot be applied to complex application scenarios and have poor flexibility.
[0077] Based on the above-mentioned defects, the present application provides a playback mode setting method. Compared with the prior art, the technical solution can obtain the nursing mode option to perform the option setting operation corresponding to the nursing mode option according to actual needs. Since the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, its functional module setting is diversified and can be applied to complex application scenarios. Therefore, through the nursing mode setting, the supervision and management of specific groups of people (such as children) watching TV is improved to prevent them from being affected by bad information.
[0078] The solution provided in the embodiment of the present application can be applied to all terminal devices with media playback function.
[0079] Figure 1 1 is a diagram of an implementation environment of a method for setting a playback mode provided in an embodiment of the present application. Figure 1 As shown, the implementation environment architecture includes: a terminal 100 and a server 200.
[0080] Among them, in the field of play mode setting, the play mode setting process can be executed on the terminal 10 or on the server 20. For example, the terminal 10 responds to the nursing mode opening instruction, displays at least one nursing mode option, receives and responds to the trigger operation instruction for the nursing mode option, and performs the option setting operation corresponding to the nursing mode option; the trigger operation instruction for the nursing mode option can also be sent to the server 20, so that the server 20 responds to the nursing mode opening instruction, obtains at least one nursing mode option and sends it to the terminal 100 for display, and then receives and responds to the trigger operation instruction for the nursing mode option through the terminal 100, and performs the option setting operation corresponding to the nursing mode option, so as to realize the setting of the play mode.
[0081] In addition, an operating system may be running on the terminal 10, and the operating system may include but is not limited to Android system, IOS system, Linux system, Unix, Windows system, etc. It may also include a user interface (UI) layer, and the display of the nursing mode options and the display of the option setting operation interface may be provided to the outside through the UI layer. In addition, the nursing mode opening instruction may be sent to the server 20 based on the application programming interface (API).
[0082] Optionally, the terminal 10 may be a terminal device in various AI application scenarios. For example, the terminal 10 may be a laptop, a smart TV, a tablet computer, a desktop computer, a vehicle-mounted terminal, a mobile device, etc. The mobile device may be, for example, a smart phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable gaming device, etc., and the present application embodiment does not specifically limit this.
[0083] Server 20 can be a single server, a server cluster or a distributed system composed of several servers, or 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 (CDNs), and big data and artificial intelligence platforms.
[0084] The terminal 10 and the server 20 establish a communication connection through a wired or wireless network. Optionally, the wireless network or wired network uses standard communication technology and / or protocols. The network is usually the Internet, but can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network.
[0085] For ease of understanding and explanation, the following Figures 2 to 13 The playback mode setting method, device, equipment and storage medium provided in the embodiments of the present application are described in detail.
[0086] Figure 2 FIG. 2 is a flow chart of a method for setting a playback mode according to an embodiment of the present application, and the method can be executed by a playback mode setting device. Figure 2 As shown, the method includes:
[0087] S101. In response to a nursing mode opening instruction, at least one nursing mode option is displayed, the nursing mode options including protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clear option.
[0088] Specifically, the above-mentioned care mode refers to a special program viewing mode set for a specific program or channel according to the actual needs of a specific group of people. When the user needs to set the care mode option, he can click the "Settings" option through the remote control, so that the terminal device receives the care mode opening instruction of the remote control, and then responds to the care mode opening instruction and displays the relevant care mode options on the terminal device.
[0089] See also Figure 3 As shown, the care mode options may include at least one of the following: protection channel settings, protection program settings, protection viewing time settings, viewing record display, password settings, and clear options.
[0090] Among them, the protection channel setting means that the user can add supported channels for specific groups of people and hide some signal channels; the protection program setting means that the user can add supported programs for specific groups of people and hide some TV programs; the protection viewing time setting means that the user can add corresponding viewing time for specific groups of people; the viewing record display means that the program viewing records of specific groups of people within the preset time period can be displayed; the password setting means that the user can set a power-on password for specific groups of people for the convenience of management and supervision, and when the password verification is passed, the program can be watched; the clear option means clearing all setting items and resetting all setting item data.
[0091] S102: Receive and respond to a trigger operation instruction for a nursing mode option, obtain content parameters corresponding to the nursing mode option, and perform an option setting operation corresponding to the nursing mode option based on the content parameters.
[0092] Specifically, the terminal device may obtain, for each of the above-mentioned nursing mode options, content parameters corresponding to the nursing mode option, where the content parameters may be parameters related to the nursing mode option, and then perform corresponding nursing mode option setting operations based on the content parameters.
[0093] It is understandable that the user can define the following data structure according to the content to be displayed in the user interface of the terminal device:
[0094]
[0095]
[0096] It should be noted that the above structure is used to store the necessary information of a single playback record, including channel type, program type, etc.
[0097] Among them, the above statement E_UI_INPUT_SOURCE enProtectInputSourceType; is used to store the channel information in a single program viewing record;
[0098] WORD bServiceType:4; used to indicate the program type, for example, it can be ATV DTV DATA or Raidio program type;
[0099] U8 u8ChannelNumber; used to store the program number;
[0100] U16 u16ChannelName
[30] ; used to store program name;
[0101] U8 timebegin; used to indicate the start time of program playback;
[0102] U8 Timeend; used to indicate the end time of program playback (channel switching or power off);
[0103] U16 u16infoText
[256] ; used to store program info information.
[0104] Furthermore, the following structure is also provided, which stores 256 program records that can be saved on the same day, as well as the necessary date. The structure can be found in the following statement:
[0105]
[0106] Furthermore, the following structure is also provided, which stores the currently protected channel information and the TV program viewing records in the recent month. The structure can be seen in the following statement:
[0107]
[0108] Among them, a protection attribute flag is added to the ATV program attributes:
[0109]
[0110] As an alternative implementation, see Figure 4 As shown, when the care mode option is the protection channel setting, the content parameters corresponding to the protection channel setting are obtained, and based on the content parameters, the option setting operation corresponding to the protection channel setting is performed, including: obtaining the highlighted channel control identifier, comparing the highlighted channel control identifier with the preset channel control identifier to obtain the first index value index, and based on the first index value index, obtaining the value of the corresponding channel flag bit in the channel information structure u8SourceProtect[UI_INPUT_SOURCE_GYM+1], and judging whether the current channel is the highlighted channel based on the value of the channel flag bit; if it is not the highlighted channel, setting the value of the corresponding flag bit and refreshing the channel control; obtaining the value of the corresponding flag bit of the current channel and displaying it dynamically. If it is the highlighted channel, refresh the control, and obtain the value of the corresponding flag bit through the source menu for dynamic display. Among them, the above-mentioned preset channel control identifier can be the control identifier of the first row.
[0111] It should be noted that when the user clicks the nursing mode opening instruction, the terminal responds to the nursing mode opening instruction and opens the nursing mode, at which time the protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing options are enabled. These options on the TV screen can be marked by highlighting to determine the selected option.
[0112] When the user selects the "Add protection channel" option, he can click the OK button to open the channel protection setting menu. All protected channels will be displayed on the interface. By default, all channels are initially protected. Use the up and down keys to move a channel to highlight it, and the channel is selected. Use the OK button and left and right buttons on the remote control to set whether the currently selected channel is protected. For details, see Figure 5 As shown, the above channels can include ATV, DVBS, DVBC, DVBT, AV, VGA, HDMI, SCART, YPbPr, USB, etc. You can click the ON option on the right to set the channel to a protected state; click the OFF option on the right to set the channel to a non-protected state. The protection state of the current channel cannot be changed.
[0113] After setting channel protection, the user can press the source key to open the channel switching menu. At this time, only the protected channels are displayed on the interface. Unprotected channels cannot be displayed on the page and cannot be switched to the corresponding channels.
[0114] It should be noted that ATV in the above channels is used to represent analog TV. The DVB family is divided into three parts: DVB-S for satellite digital TV broadcasting; DVBC for limited (coaxial cable) digital TV broadcasting; and DVBT for store digital TV broadcasting. Among them, the DVBS standard has been recognized by the world; DVBC is accepted by some countries in Europe, Australia, North America, South America, etc., and DVBT has been widely tested in Europe, Australia, and Singapore.
[0115] As an alternative implementation, see Figure 6As shown, when the care mode option is to set the protection program, the content parameters corresponding to the protection program setting option are obtained, and based on the content parameters, the option setting operation corresponding to the protection program setting option is performed, including: obtaining the highlighted program control identifier; comparing the highlighted program control identifier with the preset program control identifier to obtain the second index value; calculating the third index value index based on the second index value and the current list number mark; obtaining the highlighted program number and program type based on the third index value index; setting the program protection attribute bIsProtect based on the highlighted program number and program type; judging whether the currently playing program is set as a program to be protected; if it is not set as a program to be protected, switching to the first program set to be protected; receiving and responding to the program list opening instruction, displaying the program list and channel editing list, and hiding the program with a zero program protection attribute. If it is set as a program to be protected, receiving and responding to the program list opening instruction, displaying the program list and channel editing list, and hiding the program with a zero program protection attribute. Among them, the preset program control identifier can be the control identifier of the first row.
[0116] It should be noted that the user can trigger the operation through the remote control, then return to the nursing mode menu, select the "Add protection program menu" option, click the OK button, the program protection menu will be opened, and all current programs will be displayed on the interface. By default, all programs are initially protected. Please refer to Figure 7 As shown, the programs include Program_1, Program_2, Program_3, Program_4, Program_5, Program_6, Program_7, Program_8, Program_9, and Program_10. Then you can use the direction keys on the remote control to move the highlighted position, set a certain program to the selected state, and use the OK key and the left and right keys on the remote control to set whether the currently selected program is in the protected state. When the option on the right is ON, the program is set to the protected state; when the option on the right is OFF, the program is set to the unprotected state. If the currently playing program is set to be unprotected, the first protected program will be played, and at least one program is set to the protected state and cannot be modified.
[0117] After setting program protection, the user can press the source key to open the program menu or channel editing list. At this time, only protected programs are displayed on the program page. Unprotected programs cannot be displayed on the page, and menu reset and channel search operations cannot be performed at this time.
[0118] As an optional implementation, when the supervision mode option is the protection viewing time setting, the content parameters corresponding to the protection viewing time setting option can be obtained, and based on the content parameters, the option setting operation corresponding to the protection viewing time setting option is performed.
[0119] It should be noted that the user can trigger the operation through the remote control, and then return to the nursing mode menu. The user clicks and selects the "Add viewing time" option, and then clicks the OK button to open the viewing time protection menu. The time setting is closed by default, that is, there is no limit on the viewing time. After opening the menu, you can set the frequency to daily or weekly, and then set the time for each viewing. Figure 8 As shown, the viewing time can be 1 hour, and the setting frequency is every day.
[0120] Among them, after the TV viewing time reaches the set time, the sound and picture will be disabled, and a black screen will be displayed, and then a prompt box will pop up to prompt that the viewing time has ended and whether to exit the protection mode. If the user selects "No", the TV will be automatically turned off. If the user selects "Yes", a password box will pop up and the user can enter the corresponding password in the password box. The care mode will be closed only when the password is entered correctly.
[0121] As an alternative implementation, see Fig. 9 As shown, when the care mode option is to protect the viewing record display, the content parameters corresponding to the viewing record display option can be obtained, and based on the content parameters, the option setting operation corresponding to the viewing record display option is performed, including: obtaining the date in the viewing record array structure protectprogramday[0]; obtaining the start time of the first program and the end time of the last program recorded within the target date; displaying the date and time period in the first column of the viewing record first-level menu; displaying the date and time period on other rows on the first page menu in turn; when switching to the playback record, obtaining the highlighted playback record control identifier; calculating the fourth index value index based on the highlighted playback record control identifier, the preset playback record control identifier and the current page number; based on the fourth index value index, obtaining the first program data structure under the corresponding date, and performing the corresponding viewing record display operation according to the first program data structure.
[0122] In the process of executing the corresponding viewing record display operation according to the first program data structure, the channel, program type, program number, name start time, end time and infor information can be obtained according to the first program data structure PROTECTPROGRAM ProtectProgram[0], and displayed at the corresponding position of the control, and the data of other program records can be obtained on the viewing record secondary menu to display the channel, program type, program number, name start and end time at the corresponding position; when the highlight position moves up and down, the infor information of the corresponding program record is displayed in the infor information bar.
[0123] It should be noted that the user can trigger the operation through the remote control, and then return to the nursing mode menu. The user selects the "View viewing history" option and clicks the OK button to open the viewing history menu, and the viewing period of the past month will be displayed on the interface. The user can select different dates by moving the highlight, and the OK button can be used to watch programs on different dates. You can also open the viewing history secondary menu to view the viewing history corresponding to a certain day. The viewing history includes the channel, program number, program name, and viewing time. Then, by moving the highlight up and down, you can view the corresponding program information in the information bar. Among them, please refer to Fig.10 As shown, the interface shows part of the viewing history, for example, the viewing history of Today is 8:00-12:00, the viewing history of Yestoday is 8:00-12:00, and the viewing history of March 8th is 8:00-12:00. You can also display the time period, see Fig.11 As shown, the interface displays the channel, program number, program name, and viewing time. For example, the channel is DTV, the program number is 1, the program name is CCTV-1, and the viewing time is 6:00-7:00; another example is that the channel is DTV, the program number is 2, the program name is HBO, and the viewing time is 7:00-8:00; the channel can also be DTV, the program number is 3, the program name is M6, and the viewing time is 8:00-9:00; the channel is ATV, the program number is 1, the program name is C-01, and the viewing time is 9:00-10:00, and it can also include displayed infor information.
[0124] As an optional implementation, when the care mode option is password setting, a content parameter corresponding to the password setting option may be obtained, and based on the content parameter, an option setting operation corresponding to the password setting option may be performed.
[0125] It should be noted that the user can trigger the operation through the remote control, and then return to the nursing mode menu. The user selects the "password setting" option, and then enters the password setting option. At this time, the password modification menu is displayed on the interface, and then the independent password management operation of the nursing mode is performed.
[0126] As an optional implementation, when the nursing mode option is cleared, a content parameter corresponding to the clear option may be obtained, and based on the content parameter, an option setting operation corresponding to the clear option may be performed.
[0127] It should be noted that the user can trigger the operation through the remote control, then return to the care mode menu, and select the "clear" option to reset the saved viewing records, protected programs, and protected channels.
[0128] As another optional implementation, the present application embodiment provides a nursing mode state machine loop operation method, see Fig.11 As shown, the method includes: initializing and obtaining the current system time; based on the current system time, determining whether to shield the signal flag; when the signal flag is not shielded, obtaining the current system time; determining whether the time difference between the current system time and the current system time obtained by initialization exceeds one minute; if it does not exceed one minute, executing other system actions, and obtaining the current system time, and executing the operation in a loop; if it exceeds one minute, determining whether the nursing mode is in the on state; when the nursing mode is in the on state, obtaining the current channel, and determining whether the current channel signal is playing; based on the playing state of the current channel signal, executing the corresponding operation. When the nursing mode is not in the on state, executing other system actions, and obtaining the current system time, and executing the above operation in a loop.
[0129] In the process of executing the corresponding operation based on the playback status of the current channel signal, if the playback status of the current channel signal is not playing, execute other system actions, obtain the current system time, and execute the above operations in a loop. If the playback status of the current channel signal is playing, obtain the initial time of the current first record and determine whether the initial time is zero; if it is not zero, determine whether the current program is a program recorded in the first program and the end time is greater than one minute and less than five minutes from the current time; if so, refresh the end time of the first program, execute other system actions, obtain the current system time, and execute the above operations in a loop. If not, move the entire structure data backward by one position, and initialize the first program; obtain program data and time data, and set the program data and time data to the first program information; count whether the sum of the viewing time in a cycle is greater than or equal to the set time; if not, execute other system actions, obtain the current system time, and execute the above operations in a loop. If yes, set the corresponding flag, shield the signal sound and display the prompt menu to determine whether to continue the operation; if yes, display the password box, perform other system actions, obtain the current system time, and execute the above operations repeatedly. If no, execute the shutdown action.
[0130] In the process of determining whether to shield the signal flag, when it is determined that the signal flag has been shielded, the signal sound is shielded, a prompt menu is displayed, and it is determined whether to continue to perform the operation; if the operation is to be continued, a password box is displayed, and other system actions are performed, and the current system time is obtained, and the above operations are performed in a loop. If the operation is not to be continued, the shutdown action is performed.
[0131] The playback mode setting method provided in the embodiment of the present application, by responding to the nursing mode opening instruction, displays at least one nursing mode option, the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, then receives and responds to the trigger operation instruction of the nursing mode option, obtains the content parameter corresponding to the nursing mode option, and performs the option setting operation corresponding to the nursing mode option based on the content parameter. The technical solution can obtain the nursing mode option to perform the option setting operation corresponding to the nursing mode option according to actual needs. Since the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, its functional module setting is diversified and can be applied to complex application scenarios, so that the supervision and management of TV watching by specific groups of people (such as children) is improved through the nursing mode setting, and they are prevented from being affected by bad information.
[0132] It should be noted that although the operations of the method of the present invention are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.
[0133] on the other hand, Fig.12 Schematic diagram of a playback mode setting device provided in an embodiment of the present application. The device may be a device in a terminal device, such as Fig.12 As shown, the device 400 includes:
[0134] Display module 410, for displaying at least one nursing mode option in response to the nursing mode opening instruction, the nursing mode options including protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option;
[0135] The processing module 420 is used to receive and respond to a trigger operation instruction for the nursing mode option, obtain content parameters corresponding to the nursing mode option, and perform an option setting operation corresponding to the nursing mode option based on the content parameters.
[0136] Optionally, the processing module 420 is specifically used to:
[0137] Get the ID of the highlighted channel control;
[0138] Compare the highlighted channel control identifier with the preset channel control identifier to obtain a first index value;
[0139] Based on the first index value, obtain the value of the corresponding channel flag bit in the channel information structure;
[0140] Based on the value of the channel flag, determine whether the current channel is the highlighted channel;
[0141] If it is not a highlighted channel, set the value of the corresponding flag bit and refresh the channel control;
[0142] Get the value of the flag bit corresponding to the current channel and display it dynamically.
[0143] Optionally, the processing module 420 is specifically used to:
[0144] Get the ID of the highlighted program control;
[0145] Compare the highlighted program control identifier with the preset program control identifier to obtain a second index value;
[0146] Based on the second index value and the current list number mark, calculate the three Index value;
[0147] Based on three Index value, get the highlighted program number and program type;
[0148] Set the program protection attributes based on the highlighted program number and program type;
[0149] Determine whether the currently playing program is set as a program to be protected;
[0150] If it is not set as a program to be protected, switch to the first program set to be protected;
[0151] Receive and respond to a program list opening instruction, display the program list and channel edit list, and hide programs with a program protection attribute of zero.
[0152] Optionally, the processing module 420 is specifically used to:
[0153] Get the date in the viewing record array structure;
[0154] Get the start time of the first program and the end time of the last program recorded within the target date;
[0155] The first column on the first level menu of the viewing history displays the date and time period;
[0156] The date and time are displayed on the other lines of the first page menu in turn;
[0157] When switching to playback record, get the ID of the highlighted playback record control;
[0158] Calculate a fourth index value based on the highlighted play record control identifier, the preset play record control identifier, and the current page number;
[0159] Based on the fourth index value, the first program data structure under the corresponding date is obtained;
[0160] According to the first program data structure, a corresponding viewing record display operation is performed.
[0161] Optionally, the processing module 420 is specifically used to:
[0162] According to the first program data structure, obtain the channel, program type, program number, name start time, end time and infor information respectively, and display them in the corresponding position of the control;
[0163] On the secondary menu of viewing records, the data of other program records are obtained respectively and the channel, program type, program number, name, start and end time are displayed in the corresponding position;
[0164] When the highlight position moves up and down, the infor information recorded by the corresponding program is displayed in the infor information bar.
[0165] Optionally, the processing module 420 is specifically used to:
[0166] Initialize and obtain the current system time;
[0167] Based on the current system time, determine whether to shield the signal flag;
[0168] When the signal flag is not masked, get the current system time;
[0169] Determine whether the time difference between the current system time and the current system time obtained by initialization exceeds one minute;
[0170] If it exceeds one minute, determine whether the nursing mode is turned on;
[0171] When the nursing mode is turned on, get the current channel and determine whether the current channel signal is playing;
[0172] Execute corresponding operations based on the playback status of the current channel signal.
[0173] Optionally, the processing module 420 is specifically used to:
[0174] If the current channel signal is in the playback state of playing, obtain the initial time of the current first record and determine whether the initial time is zero;
[0175] If it is not zero, determine whether the current program is the first program recorded and the end time is greater than one minute and less than five minutes from the current time;
[0176] If not, move the entire structure data backward by one position and initialize the first program;
[0177] Obtaining program data and time data, and setting the program data and time data into the first program information;
[0178] Count whether the total viewing time in a cycle is greater than or equal to the set time;
[0179] If yes, set the corresponding flag, shield the signal sound and display the prompt menu to determine whether to continue the operation;
[0180] If you do not want to continue the operation, the shutdown action will be executed.
[0181] The playback mode setting device provided in the embodiment of the present application, in response to the nursing mode opening instruction through the display module, displays at least one nursing mode option, and the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, and then receives and responds to the triggering operation instruction of the nursing mode option through the processing module, obtains the content parameter corresponding to the nursing mode option, and performs the option setting operation corresponding to the nursing mode option based on the content parameter. The technical solution can obtain the nursing mode option to perform the option setting operation corresponding to the nursing mode option according to actual needs. Since the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, its functional module setting is diversified and can be applied to complex application scenarios, so that the supervision and management of television watching by specific groups of people (such as children) is improved through the nursing mode setting, and they are prevented from being affected by bad information.
[0182] On the other hand, the terminal device provided in the embodiment of the present application includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the playback mode setting method as described above when executing the program.
[0183] Reference below Fig.13 , Fig.13 A schematic diagram of the structure of a computer system of a terminal device according to an embodiment of the present application.
[0184] like Fig.13 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 603 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the system 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0185] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0186] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a machine-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 603, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.
[0187] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0188] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of the code, and the aforementioned module, program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0189] The units or modules involved in the embodiments described in the present application may be implemented by software or by hardware. The units or modules described may also be arranged in a processor, for example, may be described as: a processor comprising: a display module and a processing module. Among them, the names of these units or modules do not constitute a limitation on the units or modules themselves under certain circumstances. For example, the display module may also be described as "for displaying at least one nursing mode option in response to a nursing mode opening instruction, wherein the nursing mode option includes a protection channel setting, a protection program setting, a protection viewing time setting, a viewing record display, a password setting, and a clearing option".
[0190] As another aspect, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently and not be assembled into the electronic device. The above computer-readable storage medium stores one or more programs, and when the above programs are used by one or more processors to execute the playback mode setting method described in the present application:
[0191] In response to the nursing mode opening instruction, displaying at least one nursing mode option, the nursing mode option including protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clear option;
[0192] Receive and respond to a trigger operation instruction for the nursing mode option, obtain content parameters corresponding to the nursing mode option, and perform an option setting operation corresponding to the nursing mode option based on the content parameters.
[0193] In summary, the playback mode setting method, device, equipment and storage medium provided in the embodiments of the present application, by responding to the nursing mode opening instruction, displaying at least one nursing mode option, the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, and then receiving and responding to the trigger operation instruction of the nursing mode option, obtaining the content parameter corresponding to the nursing mode option, and performing the option setting operation corresponding to the nursing mode option based on the content parameter. The technical solution can obtain the nursing mode option to perform the option setting operation corresponding to the nursing mode option according to actual needs. Since the nursing mode option includes protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clearing option, its functional module setting is diversified and can be applied to complex application scenarios, so that the supervision and management of TV watching by specific groups of people (such as children) is improved through the nursing mode setting, and they are prevented from being affected by bad information.
[0194] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.
Claims
1. A method for setting a playback mode, characterized in that: The method includes: In response to the nursing mode opening instruction, displaying at least one nursing mode option, the nursing mode option including protection channel setting, protection program setting, protection viewing time setting, viewing record display, password setting and clear option; receiving and responding to a trigger operation instruction for the nursing mode option, acquiring content parameters corresponding to the nursing mode option, and performing an option setting operation corresponding to the nursing mode option based on the content parameters; Also includes: Define the following data structure: A data structure for storing information including channel type and program type for a single play record; A structure that stores the currently protected channel information and TV program viewing records for the past month; When switching to playback record, get the ID of the highlighted playback record control; Calculate a fourth index value based on the highlighted play record control identifier, the preset play record control identifier, and the current page number; Based on the fourth index value, obtain the first program data structure under the corresponding date; According to the first program data structure, the channel, program type, program number, name start time, end time and information are obtained respectively, and displayed in the corresponding position of the control; On the secondary menu of viewing records, the data of other program records are obtained respectively and the channel, program type, program number, name, start and end time are displayed in the corresponding position; When the highlight position moves up and down, the infor information recorded by the corresponding program is displayed in the infor information bar.
2. The method according to claim 1, characterized in that When the nursing mode option is a protection channel setting, obtaining a content parameter corresponding to the nursing mode option, and performing an option setting operation corresponding to the nursing mode option based on the content parameter, including: Get the ID of the highlighted channel control; Compare the highlighted channel control identifier with a preset channel control identifier to obtain a first index value; Based on the first index value, obtain the value of the corresponding channel flag bit in the channel information structure; Based on the value of the channel flag bit, determine whether the current channel is a highlighted channel; If it is not a highlighted channel, set the value of the corresponding flag bit and refresh the channel control; Get the value of the flag bit corresponding to the current channel and display it dynamically.
3. The method according to claim 1, characterized in that When the nursing mode option is a protection program setting, obtaining a content parameter corresponding to the nursing mode option, and performing an option setting operation corresponding to the nursing mode option based on the content parameter, including: Get the ID of the highlighted program control; Compare the highlighted program control identifier with a preset program control identifier to obtain a second index value; Calculate a third index value based on the second index value and the current list number flag; Based on the third index value, obtaining the highlighted program number and program type; Setting program protection attributes based on the highlighted program number and program type; Determine whether the currently playing program is set as a program to be protected; If it is not set as a program to be protected, switch to the first program set to be protected; Receive and respond to a program list opening instruction, display the program list and channel edit list, and hide programs with a program protection attribute of zero.
4. The method according to claim 1, characterized in that: When the nursing mode option is a viewing record display, obtaining a content parameter corresponding to the nursing mode option, and performing an option setting operation corresponding to the nursing mode option based on the content parameter, including: Get the date in the viewing record array structure; Get the start time of the first program and the end time of the last program recorded within the target date; The first column on the first level menu of the viewing history displays the date and time period; The dates and time periods are displayed on the other lines on the first page of the menu in sequence.
5. The method according to claim 1, characterized in that: The method further comprises: Initialize and obtain the current system time; Based on the current system time, determine whether to shield the signal flag bit; When the signal flag is not masked, get the current system time; Determine whether the time difference between the current system time and the current system time obtained by initialization exceeds one minute; If it exceeds one minute, determine whether the nursing mode is turned on; When the nursing mode is turned on, get the current channel and determine whether the current channel signal is playing; Execute corresponding operations based on the playback status of the current channel signal.
6. The method according to claim 5, characterized in that Based on the playback status of the current channel signal, perform corresponding operations, including: If the current channel signal playback state is playing, obtain the initial time of the current first record and determine whether the initial time is zero; If it is not zero, determine whether the current program is the first program recorded and the end time is greater than one minute and less than five minutes from the current time; If not, move the entire structure data backward by one position and initialize the first program; Acquire program data and time data, and set the program data and time data into the first program information; Count whether the total viewing time in a cycle is greater than or equal to the set time; If yes, set the corresponding flag, shield the signal sound and display the prompt menu to determine whether to continue the operation; If you do not want to continue the operation, the shutdown action will be executed.
7. A playback mode setting device, characterized in that: The device comprises: A display module, configured to display at least one nursing mode option in response to a nursing mode opening instruction, wherein the nursing mode option includes a protection channel setting, a protection program setting, a protection viewing time setting, a viewing record display, a password setting, and a clear option; a processing module, configured to receive and respond to a trigger operation instruction for the nursing mode option, obtain content parameters corresponding to the nursing mode option, and perform an option setting operation corresponding to the nursing mode option based on the content parameters; The processing module is further used for: When switching to playback record, get the ID of the highlighted playback record control; Calculate a fourth index value based on the highlighted play record control identifier, the preset play record control identifier, and the current page number; Based on the fourth index value, the first program data structure under the corresponding date is obtained; wherein the data structure includes: a data structure for storing information including a channel type and a program type for a single playback record; a structure for storing the currently protected channel information and the TV program viewing records for the recent month; According to the first program data structure, the channel, program type, program number, name start time, end time and information are obtained respectively, and displayed in the corresponding position of the control; On the secondary menu of viewing records, the data of other program records are obtained respectively and the channel, program type, program number, name, start and end time are displayed in the corresponding position; When the highlight position moves up and down, the infor information recorded by the corresponding program is displayed in the infor information bar.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the playback mode setting method as described in any one of claims 1-6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, wherein the computer program is used to implement the playback mode setting method according to any one of claims 1 to 6.
