Channel sorting method and device

By obtaining user instructions to select and move channels in the channel list and updating the index number, the problem of cumbersome sorting operations of existing channels is solved, and the method of quickly adjusting the order of multiple channels is realized, which improves the operation efficiency.

CN112492394BActive Publication Date: 2024-11-12HISENSE VISUAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910861915.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-09-12
Publication Date
2024-11-12
Estimated Expiration
2039-09-12

AI Technical Summary

Technical Problem

The existing channel sorting method is complicated to adjust the order of multiple channels, and requires multiple adjustments, which takes a long time.

Method used

By obtaining user instructions to select the channel to be moved in the channel list, generating a sorting view, moving the channel to the target position, and updating the channel index number, it can achieve rapid adjustment of the order of multiple channels.

Benefits of technology

Simplify channel sorting operations, reduce adjustment steps, improve operation efficiency, and quickly adjust the order of multiple channels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112492394B_ABST
    Figure CN112492394B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a channel sorting method and device, the method comprising: obtaining a first instruction, selecting at least two first channels to be moved in a first channel list according to the first instruction, each channel in the first channel list includes a corresponding first index number, the first index number is used to indicate the arrangement order of each channel in the first channel list; obtaining a second instruction, moving the at least two first channels to a target position according to the second instruction, and obtaining a second channel list after the channel is moved; obtaining a second index number for each channel according to the first index number and the target position of each channel, the second index number is used to indicate the arrangement order of each channel in the second channel list. The scheme provided by the embodiment of the present invention can adjust the order of multiple channels at the same time, and the operation is simple and the operation time is short.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of smart home appliances, and in particular to a channel sorting method and device. Background Art

[0002] Channel sorting is an essential function of a TV. With the development of smart TV systems, the number of TV programs received by TV sets is increasing, while the number of TV programs that users frequently watch is limited. Therefore, by sorting channels, the channels that users frequently watch are placed in relatively front positions, which can provide great convenience for users.

[0003] The existing channel sorting method mainly relies on some specific rules, such as putting provincial satellite channels before municipal channels, which cannot meet the viewing habits of different users. When users want to adjust the channel sorting, they can only adjust them one by one. After one adjustment is completed, the next channel sorting can be adjusted. As the number of programs increases, when the number of channels is too large, if you want to adjust the order of multiple channels, you need to make multiple adjustments, which is cumbersome and time-consuming. Summary of the invention

[0004] The embodiment of the present invention provides a channel sorting method and device to solve the problem that the existing solution needs to adjust the order of multiple channels for multiple times and the operation is relatively complicated.

[0005] In a first aspect, an embodiment of the present invention provides a channel sorting method, comprising:

[0006] Obtain a first instruction, and select at least two first channels to be moved in a first channel list according to the first instruction, wherein each channel in the first channel list includes a corresponding first index number, and the first index number is used to indicate an arrangement order of each channel in the first channel list;

[0007] Obtaining a second instruction, and moving the at least two first channels to a target position according to the second instruction, to obtain a second channel list after the channels are moved;

[0008] A second index number of each channel is obtained according to the first index number of each channel and the target position, where the second index number is used to indicate an arrangement order of each channel in the second channel list.

[0009] In a possible implementation, obtaining the first instruction and selecting at least two first channels to be moved in the first channel list according to the first instruction includes:

[0010] generating a first sorting view according to the first channel list, wherein the first sorting view includes a first index number and a channel name of each channel in the first channel list;

[0011] Acquire the first instruction, wherein the first instruction is an instruction sent by a user through a control device after the user determines the at least two first channels according to the first sorting view;

[0012] The at least two first channels are selected according to the first instruction.

[0013] In a possible implementation, the second instruction includes a move instruction and a confirmation instruction, and the obtaining of the second instruction, moving the at least two first channels to a target position according to the second instruction, and obtaining a second channel list after the channels are moved, includes:

[0014] Acquire a moving instruction, move the positions of the at least two first channels according to the moving instruction, and display the positions to which the at least two first channels will be moved;

[0015] When the displayed positions to which the at least two first channels are to be moved are at the target positions, obtaining a confirmation instruction;

[0016] The at least two first channels are moved to the target position according to the confirmation instruction.

[0017] In a possible implementation, obtaining the second index number of each channel according to the first index number of each channel and the target position includes:

[0018] According to the first index number of each channel and the target position, acquiring the arrangement order of each channel in the second channel list;

[0019] According to the arrangement order of each of the channels in the second channel list, a second index number of each channel is obtained.

[0020] In a possible implementation, acquiring the arrangement order of each channel in the second channel list according to the first index number and the target position of each channel includes:

[0021] Acquire an arrangement order between the at least two first channels according to the first index numbers of the at least two first channels;

[0022] According to the first index number of the second channel, the arrangement order between the at least two first channels and the position of the target position in the first channel list, the arrangement order of each channel in the second channel list is obtained, wherein the second channel is a channel among the multiple channels except the first channel.

[0023] In a possible implementation manner, before obtaining the first instruction and selecting at least two first channels to be moved in the first channel list according to the first instruction, the method further includes:

[0024] Get multiple channels and the channel number of each channel;

[0025] sorting the plurality of channels according to the channel number of each channel to obtain the first channel list;

[0026] Generate the corresponding first index number according to the arrangement order of each channel in the first channel list.

[0027] In a possible implementation, after obtaining the second index number of each channel according to the first index number of each channel and the target position, the method further includes:

[0028] A second sorting view is generated according to the second channel list, wherein the second sorting view includes a second index number and a channel name of each channel in the second channel list.

[0029] In a second aspect, an embodiment of the present invention provides a channel sorting device, comprising:

[0030] A first acquisition module, configured to acquire a first instruction, and select at least two first channels to be moved in a first channel list according to the first instruction, wherein each channel in the first channel list includes a corresponding first index number, and the first index number is used to indicate an arrangement order of each channel in the first channel list;

[0031] A second acquisition module is used to acquire a second instruction, and move the at least two first channels to a target position according to the second instruction to obtain a second channel list after the channels are moved;

[0032] The processing module is used to obtain the second index number of each channel according to the first index number of each channel and the target position, wherein the second index number is used to indicate the arrangement order of each channel in the second channel list.

[0033] In a possible implementation manner, the first acquisition module is specifically configured to:

[0034] generating a first sorting view according to the first channel list, wherein the first sorting view includes a first index number and a channel name of each channel in the first channel list;

[0035] Acquire the first instruction, wherein the first instruction is an instruction sent by a user through a control device after the user determines the at least two first channels according to the first sorting view;

[0036] The at least two first channels are selected according to the first instruction.

[0037] In a possible implementation manner, the second instruction includes a move instruction and a confirmation instruction, and the second acquisition module is specifically configured to:

[0038] Acquire a moving instruction, move the positions of the at least two first channels according to the moving instruction, and display the positions to which the at least two first channels will be moved;

[0039] When the displayed positions to which the at least two first channels are to be moved are at the target positions, obtaining a confirmation instruction;

[0040] The at least two first channels are moved to the target position according to the confirmation instruction.

[0041] In a possible implementation manner, the processing module is specifically configured to:

[0042] According to the first index number of each channel and the target position, acquiring the arrangement order of each channel in the second channel list;

[0043] According to the arrangement order of each of the channels in the second channel list, a second index number of each channel is obtained.

[0044] In a possible implementation manner, the processing module is specifically configured to:

[0045] Acquire an arrangement order between the at least two first channels according to the first index numbers of the at least two first channels;

[0046] According to the first index number of the second channel, the arrangement order between the at least two first channels and the position of the target position in the first channel list, the arrangement order of each channel in the second channel list is obtained, wherein the second channel is a channel among the multiple channels except the first channel.

[0047] In a possible implementation, the first acquisition module is further configured to, in acquiring the first instruction, before selecting at least two first channels to be moved in the first channel list according to the first instruction:

[0048] Get multiple channels and the channel number of each channel;

[0049] sorting the plurality of channels according to the channel number of each channel to obtain the first channel list;

[0050] Generate the corresponding first index number according to the arrangement order of each channel in the first channel list.

[0051] In a possible implementation manner, the processing module is further configured to, after obtaining the second index number of each channel according to the first index number of each channel and the target position:

[0052] A second sorting view is generated according to the second channel list, wherein the second sorting view includes a second index number and a channel name of each channel in the second channel list.

[0053] In a third aspect, an embodiment of the present invention provides a channel sorting device, including: at least one processor and a memory;

[0054] The memory stores computer-executable instructions;

[0055] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the channel sorting method as described in any one of the first aspects.

[0056] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When a processor executes the computer-executable instructions, the channel sorting method as described in any one of the first aspects is implemented.

[0057] The channel sorting method and device provided by the embodiment of the present invention first obtain a first instruction, select at least two first channels to be moved in the first channel list according to the first instruction, then obtain a second instruction, move at least two first channels to the target position according to the second instruction, obtain a second channel list after the channels are moved, and finally obtain the second index number of each channel according to the first index number and the target position of each channel. The scheme provided by the embodiment of the present invention records the arrangement order of the channels by adding a corresponding index number to each channel. When the order of multiple channels needs to be adjusted, multiple channels are first selected and adjusted to the target position to obtain the second channel list after the channels are adjusted, and then the index number of the channel is updated to obtain the second index number of each channel, wherein the second index number indicates the arrangement order of each channel in the second sorting list. The scheme provided by the embodiment of the present invention can adjust the order of multiple channels at the same time, is simple to operate, and has a short operation time. It can quickly adjust the order of multiple channels according to the index number of the channel. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0059] Figure 1 A schematic diagram of an application scenario of the channel sorting method provided by an embodiment of the present invention;

[0060] Figure 2 A schematic diagram of a flow chart of a channel sorting method provided by an embodiment of the present invention;

[0061] Figure 3 A schematic diagram of a process for generating and updating a first index number provided in an embodiment of the present invention;

[0062] Figure 4 A schematic diagram of generating a first index number provided by an embodiment of the present invention;

[0063] Figure 5 A schematic flow chart of a channel sorting method provided by another embodiment of the present invention;

[0064] Figure 6 A schematic diagram of the overall flow of channel sorting provided by an embodiment of the present invention;

[0065] Figure 7 Schematic diagram of a first sorting view provided by an embodiment of the present invention Figure 1 ;

[0066] Figure 8 Schematic diagram of a first sorting view provided by an embodiment of the present invention Figure 2 ;

[0067] Fig. 9 Schematic diagram of a first sorting view provided by an embodiment of the present invention Figure 3 ;

[0068] Fig.10 Schematic diagram of a first sorting view provided by an embodiment of the present invention Figure 4 ;

[0069] Fig.11 A schematic diagram of a second sorting view provided by an embodiment of the present invention;

[0070] Fig.12 A schematic diagram of the structure of a channel sorting device provided by an embodiment of the present invention;

[0071] Fig.13 A schematic diagram of the hardware structure of a channel sorting device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.

[0073] Figure 1 A schematic diagram of an application scenario of the channel sorting method provided by an embodiment of the present invention, such as Figure 1 As shown, the TV set 10 includes a background system 11, a display screen 12 and a memory 13. The memory 13 displays a first channel list and basic information of each channel. After the background system 11 obtains the first channel list in the memory 13, it generates a first sorting view and displays it on the display screen 12 for the user to watch. The user can send instructions to the background system 11 through a control device such as a remote control to change the channel order. After the channel order is changed, the memory 13 will store a second channel list after the order is changed. At the same time, the background system 11 can generate a second sorting view based on the second channel list and display it on the display screen 12 for the user to watch.

[0074] The following specific embodiments are used to describe in detail the technical solutions of the present invention and how the technical solutions of the present application solve the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.

[0075] Figure 2 A schematic diagram of a flow chart of a channel sorting method provided by an embodiment of the present invention, such as Figure 2 As shown, including:

[0076] Step 21, obtain a first instruction, and select at least two first channels to be moved in the first channel list according to the first instruction, each channel in the first channel list includes a corresponding first index number, and the first index number is used to indicate the arrangement order of each channel in the first channel list.

[0077] Each channel contains some basic information, including the channel number, channel name and other information of the channel, which does not change when the channels are sorted. In the embodiment of the present invention, an index field is added to each channel in the upper database of the television system to record the sorted channel number, while the basic information of each channel remains unchanged. The basic information is used to verify with the lower middleware whether the user has been changed and updated in time, and the added index field is used for display and sorting.

[0078] When the arrangement order of the channels needs to be adjusted, the moving interface is entered, and then the user sends a first instruction to the television through the control device. After receiving the first instruction, the system of the television selects at least two first channels to be moved according to the first instruction. The multiple first channels may be continuous or discontinuous, and this is not particularly limited in the embodiment of the present invention.

[0079] The first channel list includes a plurality of channels arranged in a certain order, and each channel is provided with a corresponding first index number, which reflects the arrangement order of the corresponding channel in the first channel list. For example, if the first index number of a channel is 1, it indicates that the channel is ranked first in the first channel list, and if the first index number of a channel is 10, it indicates that the channel is ranked tenth in the first channel list. When the arrangement order of the channels does not change, the first index number of the channels also does not change.

[0080] Step 22, obtaining a second instruction, and moving the at least two first channels to a target position according to the second instruction, to obtain a second channel list after the channels are moved.

[0081] After at least two first channels that need to be moved are selected according to the first instruction, they need to be moved to the target position. In the embodiment of the present invention, the target position is the position to which the user wants to move the first channel, and the second instruction contains relevant information of the target position. The second instruction can be in various forms. For example, the second instruction can specify that the target position is specifically a certain sequential position in the first channel list. For another example, the second instruction can also be to move multiple first channels. After moving the multiple first channels to the target position, they are no longer moved, which can also achieve the purpose of moving multiple first channels to the target position.

[0082] After at least two first channels are moved to the target position according to the second instruction, the first index number of each channel in the first channel list remains unchanged, including the first index number of each first channel. When multiple first channels are moved to the target position, the arrangement order of the channels in the first channel list is changed, and the arrangement order of each channel is not completely consistent with the first index number of each channel. When the arrangement order of the channels in the first channel list is changed, a second channel list after the channels are moved is obtained.

[0083] Step 23, obtaining a second index number of each channel according to the first index number of each channel and the target position, wherein the second index number is used to indicate the arrangement order of each channel in the second channel list.

[0084] After the channel is moved and the second channel list is obtained, the first index number of each channel reflects the arrangement order before the channel is moved, and the target position reflects the position of the channel movement. According to the first index number of each channel and the position of the target position in the second channel list, the arrangement order of each channel in the second channel list can be obtained, that is, the second index number of each channel in the second channel list.

[0085] The channel sorting method provided by the embodiment of the present invention first obtains a first instruction, selects at least two first channels to be moved in the first channel list according to the first instruction, then obtains a second instruction, moves at least two first channels to a target position according to the second instruction, obtains a second channel list after the channels are moved, and finally obtains the second index number of each channel according to the first index number and the target position of each channel. The scheme provided by the embodiment of the present invention records the arrangement order of the channels by adding a corresponding index number to each channel. When the order of multiple channels needs to be adjusted, multiple channels are first selected and adjusted to the target position to obtain the second channel list after the channels are adjusted, and then the index number of the channel is updated to obtain the second index number of each channel, wherein the second index number indicates the arrangement order of each channel in the second sorting list. The scheme provided by the embodiment of the present invention can adjust the order of multiple channels at the same time, is simple to operate, and has a short operation time. It can quickly adjust the order of multiple channels according to the index number of the channel.

[0086] The scheme of the present application will be described in detail using specific embodiments below.

[0087] Each channel includes basic information of the channel, and the basic information is used to verify with the lower-level middleware whether to change the user. In the embodiment of the present invention, an index field is added to each channel in the upper-level database of the APP for display and sorting, that is, the first index number of each channel in the first channel list. Table 1 is a channel information table provided by an embodiment of the present invention. As shown in Table 1, the first column is the index, the second column is the information name, the third column is the declaration type, and the fourth column is the storage type.

[0088] Table 1

[0089] index Information Name Declaring Types Storage Type 1 Channel Name text text 2 Channel Number number number 3 Index Number number number

[0090] Among them, the channel number, channel name and other information are the basic information of the channel, which is used to verify the channel synchronization with the lower database, and the index number is the index field added by the upper database, which is used for display and sorting. When the order of channels is changed, the channel number and channel name remain unchanged, and the channel index number changes.

[0091] Before the channel is displayed for the first time, the corresponding channel ranking needs to be generated, that is, the first channel list. Figure 3 This process is described. Figure 3 A schematic diagram of the generation and update process of the first index number provided in an embodiment of the present invention is shown in FIG. Figure 3 As shown, including:

[0092] Step 31, read multiple channels stored in the lower layer.

[0093] Specifically, the background system can obtain multiple channels, wherein each channel includes corresponding basic information, such as the channel name of each channel, the channel number of each channel, etc. The above basic information corresponds to each channel, and during the process of changing the channel order, the basic information of each channel remains unchanged.

[0094] Step 32, sorting the multiple channels according to the channel numbers.

[0095] After obtaining multiple channels, the multiple channels are sorted according to the channel number of each channel according to a certain rule to obtain a first channel list. When the first channel list is initially generated, it is generated from small to large according to the channel number of each channel. The channel number is the basic information of the channel and is not displayed on the TV interface, but the background system can determine the corresponding channel according to the channel number.

[0096] Step 33: Generate a first index number according to the arrangement order of the channels in the first channel list.

[0097] The first index number reflects the arrangement order of each channel in the first channel list, and the arrangement order in the first channel list is determined according to the channel number of each channel. Therefore, when the order of the channels has not changed, the channel number of each channel is the same as the first index number, and the first index number can be displayed on the TV interface.

[0098] Step 34, judging whether the channel sequence is changed according to the channel number and the channel name, if so, executing step 35, if not, the first index number of the channel remains unchanged.

[0099] When the channel number or channel name does not correspond to the channel sequence, it indicates that the channel sequence has been changed, and step 35 is executed.

[0100] Step 35, write new channel basic information and the first index number of the channel.

[0101] After the sequence of channels is changed, new basic information of the channels is obtained, and a new first index number of the channels after the sequence change is determined.

[0102] The following is an example to illustrate the process of generating the first index number. Figure 4 A schematic diagram of generating a first index number provided by an embodiment of the present invention, such as Figure 4As shown, there are 4 channels, namely CCTV-1, CCTV-2, CCTV-3 and CCTV-4. The channel number of CCTV-1 is 1, the channel number of CCTV-2 is 2, the channel number of CCTV-3 is 3, and the channel number of CCTV-4 is 4. After the background system obtains the channel numbers of the above four channels, it sorts the four channels according to the channel numbers of the four channels to generate a first channel list 40. In the first channel list 40, CCTV-1, CCTV-2, CCTV-3 and CCTV-4 are arranged from top to bottom in sequence. Then, according to the arrangement order of each channel in the first channel list 40, the first index number of each channel is obtained to generate a first sorting view 41 (see Figure 4 41 in the figure), in the first sorting view 41 (see Figure 4 In the figure mark 41), the first index number of CCTV-1 is 1, the first index number of CCTV-2 is 2, the first index number of CCTV-3 is 3, and the first index number of CCTV-4 is 4.

[0103] After obtaining the first channel list, the user can view the order of each channel in the first channel list through the first sorting view. If the user thinks that the channel order needs to be adjusted, for example, multiple TV stations that the user likes to watch are arranged at the back, and the user needs to spend a long time to find them each time, then the user can adjust the order of the TV channels that the user likes to watch to the front, so that it is convenient to view each time. Figure 5 Let's explain this process in detail.

[0104] Figure 5 A flow chart of a channel sorting method provided by another embodiment of the present invention is shown as follows: Figure 5 As shown, including:

[0105] Step 51: Generate a first sorting view according to the first channel list, wherein the first sorting view includes a first index number and a channel name of each channel in the first channel list.

[0106] After the first channel list is generated, a first sorting view is generated according to the first channel list, wherein the first sorting view is used to be displayed on the TV screen and can be viewed by the user, and the first sorting view includes the first index number and channel name of each channel in the first channel list. When the user moves the channel by controlling the device, by viewing the first sorting view, the user can know which channel is selected, which channel is moved to which position, etc.

[0107] Step 52: Obtain a first instruction, wherein the first instruction is an instruction sent by a user through a control device after the user determines at least two first channels according to a first sorting view.

[0108] The first instruction is a selection instruction, and the user sends an instruction to the background system of the TV through the control device to select at least two first channels to be moved. It can be understood that the selected first channels can be any number, including one, or two or more, determined according to the actual needs of the user.

[0109] Step 53: Select at least two first channels according to the first instruction.

[0110] After the background system obtains the first instruction, it selects the first channel according to the first instruction. When there are two or more first channels, the multiple first channels may be continuous or discontinuous, and there is no need to select according to the order of arrangement of the multiple first channels.

[0111] Step 54, obtaining a moving instruction, moving the positions of at least two first channels according to the moving instruction, and displaying the positions to which the at least two first channels will be moved.

[0112] The second instruction includes a moving instruction and a confirmation instruction. First, the moving instruction is obtained, the selected first channel is moved according to the moving instruction, and the position where the first channel will be moved is displayed for the convenience of the user to view.

[0113] Step 55: When the positions to which the at least two displayed first channels are to be moved are at the target positions, a confirmation instruction is obtained.

[0114] Step 56: Move at least two first channels to the target position according to the confirmation instruction.

[0115] When the confirmation instruction is obtained, the first channel will be moved from the original position to the target position. When there are multiple first channels, all of them are moved to the target position, and the order of the multiple first channels before and after the movement remains unchanged. For example, there are single first channels, namely TV2, TV5 and TV6. The channel number and index number of TV2 are 2, the channel number and index number of TV5 are 5, and the channel number and index number of TV6 are 6. TV5 and TV6 are adjacent, and TV2 is not adjacent to TV5 or TV6.

[0116] After the user selects the above three channels, they are moved to the target position, which is set between TV3 and TV4, that is, after TV3 and before TV4. After TV2, TV5 and TV6 are moved to the target position, TV2 is still before TV5 and TV6, and TV5 is still before TV6. Before the order is changed, the order of the channels from front to back is TV1, TV2, TV3, TV4, TV5, TV6. After the order is changed, the order of the channels from front to back is TV1, TV3, TV2, TV5, TV6, TV4.

[0117] Step 57: Obtain the arrangement order of each channel in the second channel list according to the first index number and the target position of each channel.

[0118] The first index number is the arrangement order before the change order, and the target position is the change order. According to the first index number and the target position, the arrangement order of each channel in the second channel list can be obtained.

[0119] Specifically, obtaining an arrangement order between at least two first channels according to first index numbers of at least two first channels;

[0120] The arrangement order of each channel in the second channel list is obtained according to the first index number of the second channel, the arrangement order between at least two first channels and the position of the target position in the first channel list, wherein the second channel is a channel in the plurality of channels except the first channel.

[0121] Step 58: Obtain a second index number for each channel according to the arrangement order of each channel in the second channel list.

[0122] After obtaining the arrangement order of each channel in the second channel list, the second index number of each channel is obtained accordingly. At this time, the channel index number and the channel number do not completely correspond. For example, the order of the multiple channels in the first channel list is TV1, TV2, TV3, TV4, TV5, TV6 from front to back, and the corresponding channel numbers are 1, 2, 3, 4, 5, 6, and the corresponding first index numbers are 1, 2, 3, 4, 5, 6. After changing the order, the order of the multiple channels in the second channel list is TV1, TV3, TV2, TV5, TV6, TV4 from front to back, and the corresponding channel numbers are 1, 3, 2, 5, 6, 4, and the corresponding second index numbers are 1, 2, 3, 4, 5, 6.

[0123] Step 59: Generate a second sorting view according to the second channel list, wherein the second sorting view includes a second index number and a channel name of each channel in the second channel list.

[0124] Finally, after obtaining the second channel list, a second sorting view is generated for the user to view, and the second sorting view includes the second index number and channel name of each channel in the second channel list. According to the second sorting view, the user can know whether the adjusted channel arrangement sequence meets the requirements. If so, the user can exit the sequence adjustment interface. If not, the user can continue to adjust on this basis.

[0125] The solution of the present application will be described in detail below with reference to a specific embodiment. Figure 6 The overall flow chart of channel sorting provided by the embodiment of the present invention is as follows: Figure 6 As shown, including:

[0126] Step 601: the background system reads the channel number, channel name, first index number and other information and stores them in the first channel list.

[0127] Step 602: The background system generates and displays a first sorting view based on the first channel list.

[0128] Among them, the first sorting view is in the selection state by default. The first sorting view displays the first index number and channel name of the channel. When the first sorting view is in the selection state, the user can select some channels by controlling the device, such as the remote control. The selected channel is used as the first channel, that is, the channel whose order needs to be adjusted.

[0129] Step 603, waiting for the user to send an instruction through the control device.

[0130] There are multiple instructions sent by the user through the control device, and one of steps 604, 607, 614 and 617 is executed according to different instructions.

[0131] Step 604: The user clicks the movement or movement shortcut key of the control device.

[0132] Clicking the move or move shortcut key is to move the selected first channel to the target position. This step requires that the first sorting view is in a selected state and the user has selected one or more channels through the control device.

[0133] Step 605 , determining whether the current first sorting view is in a selected state and whether one or more channels are selected, if so, executing step 606 , if not, executing step 603 .

[0134] Step 606 : The background system sets the first sorting view to a moving state and refreshes the first channel list, and then executes step 603 .

[0135] Step 607: The user clicks OK on the first channel list through the control device.

[0136] Step 608 , determining whether the first sorting view is currently in a selected state, if so, executing step 609 , if not, executing step 611 .

[0137] Step 609, setting the selected channel to a selected state.

[0138] Step 610 , refresh the selected channel view state in the first sorting view, and execute step 603 .

[0139] Step 611, move the first channel selected in the list to before the selected channel, that is, move it to the target position.

[0140] Step 612, clear the selected state of all channels and set the state to the selected state.

[0141] Step 613: Refresh the display list according to the adjusted second channel list to obtain a second sorting view.

[0142] Step 614: The user closes the sorting page by controlling the device.

[0143] Step 615, determine whether there is a change in the channel sequence, if so, execute step 616.

[0144] Step 616, generate a second index number according to the position of the channel in the second channel list and save all of them.

[0145] Step 617: The user clicks a direction key on the list through the control device.

[0146] Step 618, focusing on the previous / next channel.

[0147] The direction of the direction key clicked determines whether to focus on the previous channel or the next channel. When clicking the direction key, no channel is selected. To select a channel, click OK.

[0148] Step 619, determine whether the current state is selected, if so, execute step 620, if not, execute step 621.

[0149] Step 620 , stretch the focused view, restore the original focused view, and execute step 603 .

[0150] The focus view is the view of the current channel. For example, when the current focus view is CCTV-1, if you click the direction key and the focus view is CCTV-2, the focus view of CCTV-2 is stretched and the focus view of CCTV-1 is restored.

[0151] Step 621 , light up the focus view, restore the original focus view, and execute step 603 .

[0152] The following will combine a specific example Figure 6 The process is described in detail.

[0153] Figure 7 Schematic diagram of a first sorting view provided by an embodiment of the present invention Figure 1 ,like Figure 7 As shown, it includes a first sorting view, wherein the first sorting view is generated according to the first channel list and displayed on the TV screen. After the user operates the control device to enter the sorting interface, the background application reads the basic information of the upper database and displays it, and the displayed information includes the channel name and the first index number.

[0154] Figure 7 It includes 6 channels, namely CCTV-1, CCTV-2, CCTV-3, CCTV-4, CCTV-5 and CCTV-6. Figure 7 , it is in the selection state, and the currently lit and stretched focus view is CCTV-1. If the user clicks OK at this time, it means that the user has selected CCTV-1, which is one of the first channels. When a channel is selected, a check mark will appear in the small box after the channel, indicating that the channel has been selected. Check marks are used to distinguish selected and unselected channels, so that users can observe which channels they have selected and avoid duplication and omission.

[0155] Figure 8 Schematic diagram of a first sorting view provided by an embodiment of the present invention Figure 2 ,like Figure 8 As shown, the selected channels are CCTV-3, CCTV-5 and CCTV-6. The number of channels selected can be determined as needed, the first channels can be adjacent or spaced, and the selected channels are not restricted by location, continuity, etc.

[0156] Fig. 9 Schematic diagram of a first sorting view provided by an embodiment of the present invention Figure 3 ,like Fig. 9 As shown, when the user selects to move through the control device, it enters the moving state, and no longer stretches to remind the user of the currently selected channel. Instead, a constantly flashing horizontal frame appears at the target position in the current first channel list to remind the user of the current location being moved to. Fig. 9 As shown, the current horizontal frame is between CCTV-1 and CCTV2, indicating that the current moved position is between CCTV-1 and CCTV2.

[0157] Fig.10 Schematic diagram of a first sorting view provided by an embodiment of the present invention Figure 4 ,like Fig.10 As shown in FIG. 1 , when the user selects the position to be moved, the position is the target position. The user clicks OK by controlling the device to move the selected first channel to the target position. Fig.10 As shown in FIG. 1 , CCTV-3, CCTV-5 and CCTV-6 are moved to the position between CCTV-1 and CCTV2, and the moving mode is exited again. At this time, the movement is only displayed, and the actual movement is not performed. Fig.10 As shown, only the order is changed, and the first index number of each channel used for display is not changed.

[0158] Fig.11 A schematic diagram of a second sorting view provided by an embodiment of the present invention, such as Fig.11As shown, when the user chooses to exit, the order of all channels that do not correspond to the current first index number is checked, and the first index number is quickly refreshed in batches by batch writing to obtain the second index number. At this time, the channels from top to bottom are CCTV-1, CCTV-2, CCTV-5, CCTV-6, CCTV-2 and CCTV-4, and the second index numbers are 1, 2, 3, 4, 5, 6, realizing the order change of multiple channels.

[0159] The channel sorting method provided by the embodiment of the present invention first obtains a first instruction, selects at least two first channels to be moved in the first channel list according to the first instruction, then obtains a second instruction, moves at least two first channels to a target position according to the second instruction, obtains a second channel list after the channels are moved, and finally obtains the second index number of each channel according to the first index number and the target position of each channel. The scheme provided by the embodiment of the present invention records the arrangement order of the channels by adding a corresponding index number to each channel. When the order of multiple channels needs to be adjusted, multiple channels are first selected and adjusted to the target position to obtain the second channel list after the channels are adjusted, and then the index number of the channel is updated to obtain the second index number of each channel, wherein the second index number indicates the arrangement order of each channel in the second sorting list. The scheme provided by the embodiment of the present invention can adjust the order of multiple channels at the same time, is simple to operate, and has a short operation time. It can quickly adjust the order of multiple channels according to the index number of the channel.

[0160] Fig.12 A schematic diagram of the structure of a channel sorting device provided by an embodiment of the present invention is shown in FIG. Fig.12 As shown, including:

[0161] The first acquisition module 121 is used to acquire a first instruction, and select at least two first channels to be moved in the first channel list according to the first instruction, each channel in the first channel list includes a corresponding first index number, and the first index number is used to indicate the arrangement order of each channel in the first channel list;

[0162] The second acquisition module 122 is used to acquire a second instruction, and move the at least two first channels to a target position according to the second instruction to obtain a second channel list after the channels are moved;

[0163] The processing module 123 is used to obtain the second index number of each channel according to the first index number of each channel and the target position, where the second index number is used to indicate the arrangement order of each channel in the second channel list.

[0164] In a possible implementation, the first acquisition module 121 is specifically configured to:

[0165] generating a first sorting view according to the first channel list, wherein the first sorting view includes a first index number and a channel name of each channel in the first channel list;

[0166] Acquire the first instruction, wherein the first instruction is an instruction sent by a user through a control device after the user determines the at least two first channels according to the first sorting view;

[0167] The at least two first channels are selected according to the first instruction.

[0168] In a possible implementation, the second instruction includes a move instruction and a confirmation instruction, and the second acquisition module 122 is specifically configured to:

[0169] Acquire a moving instruction, move the positions of the at least two first channels according to the moving instruction, and display the positions to which the at least two first channels will be moved;

[0170] When the displayed positions to which the at least two first channels are to be moved are at the target positions, obtaining a confirmation instruction;

[0171] The at least two first channels are moved to the target position according to the confirmation instruction.

[0172] In a possible implementation, the processing module 123 is specifically configured to:

[0173] According to the first index number of each channel and the target position, acquiring the arrangement order of each channel in the second channel list;

[0174] According to the arrangement order of each of the channels in the second channel list, a second index number of each channel is obtained.

[0175] In a possible implementation, the processing module 123 is specifically configured to:

[0176] Acquire an arrangement order between the at least two first channels according to the first index numbers of the at least two first channels;

[0177] According to the first index number of the second channel, the arrangement order between the at least two first channels and the position of the target position in the first channel list, the arrangement order of each channel in the second channel list is obtained, wherein the second channel is a channel among the multiple channels except the first channel.

[0178] In a possible implementation, the first acquisition module 121 is further configured to, in acquiring the first instruction, before selecting at least two first channels to be moved in the first channel list according to the first instruction:

[0179] Get multiple channels and the channel number of each channel;

[0180] sorting the plurality of channels according to the channel number of each channel to obtain the first channel list;

[0181] Generate the corresponding first index number according to the arrangement order of each channel in the first channel list.

[0182] In a possible implementation, the processing module 123 is further configured to, after obtaining the second index number of each channel according to the first index number of each channel and the target position:

[0183] A second sorting view is generated according to the second channel list, wherein the second sorting view includes a second index number and a channel name of each channel in the second channel list.

[0184] The device provided in the embodiment of the present invention can be used to execute the technical solution of the above-mentioned method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0185] Fig.13 A schematic diagram of the hardware structure of a channel sorting device provided in an embodiment of the present invention is shown in FIG. Fig.13 As shown, the channel sorting device includes: at least one processor 131 and a memory 132. The processor 131 and the memory 132 are connected via a bus 133.

[0186] Optionally, the model determination also includes a communication component. For example, the communication component may include a receiver and / or a transmitter.

[0187] In a specific implementation process, at least one processor 131 executes the computer-executable instructions stored in the memory 132, so that at least one processor 131 executes the above channel sorting method.

[0188] The specific implementation process of the processor 131 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0189] In the above Fig.13In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0190] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.

[0191] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0192] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the channel sorting method as described above is implemented.

[0193] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0194] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0195] The division of the units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.

[0196] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0197] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0198] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0199] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0200] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A channel sorting method, characterized in that: include: Obtain a first instruction, and select at least two first channels to be moved in a first channel list according to the first instruction, wherein each channel in the first channel list includes a corresponding first index number, and the first index number is used to indicate an arrangement order of each channel in the first channel list; The index number is an index field added by the upper database of the television system; Obtaining a second instruction, and moving the at least two first channels to a target position according to the second instruction, to obtain a second channel list after the channels are moved; Acquire an arrangement order between the at least two first channels according to the first index numbers of the at least two first channels; Obtaining the arrangement order of each of the channels in the second channel list according to the first index number of the second channel, the arrangement order between the at least two first channels, and the position of the target position in the first channel list, wherein the second channel is a channel in the plurality of channels except the first channel; According to the arrangement order of each of the channels in the second channel list, obtain a second index number of each channel, wherein the second index number is used to indicate the arrangement order of each of the channels in the second channel list; Before obtaining the first instruction and selecting at least two first channels to be moved in the first channel list according to the first instruction, the method further includes: Get multiple channels and the channel number of each channel; sorting the plurality of channels according to the channel number of each channel to obtain the first channel list; Generate the corresponding first index number according to the arrangement order of each channel in the first channel list; Determine whether the channel sequence has been changed based on the channel number and the channel name; when the channel number or the channel name does not correspond to the channel sequence, write new channel basic information and the first index number of the channel.

2. The method according to claim 1, characterized in that The obtaining of the first instruction, and selecting at least two first channels to be moved in the first channel list according to the first instruction, comprises: generating a first sorting view according to the first channel list, wherein the first sorting view includes a first index number and a channel name of each channel in the first channel list; Acquire the first instruction, wherein the first instruction is an instruction sent by a user through a control device after the user determines the at least two first channels according to the first sorting view; The at least two first channels are selected according to the first instruction.

3. The method according to claim 1, characterized in that The second instruction includes a move instruction and a confirmation instruction, and the obtaining of the second instruction, moving the at least two first channels to a target position according to the second instruction, and obtaining a second channel list after the channels are moved, includes: Acquire a moving instruction, move the positions of the at least two first channels according to the moving instruction, and display the positions to which the at least two first channels will be moved; When the displayed positions to which the at least two first channels are to be moved are at the target positions, obtaining a confirmation instruction; The at least two first channels are moved to the target position according to the confirmation instruction.

4. The method according to claim 2, characterized in that: After obtaining the second index number of each channel according to the first index number of each channel and the target position, the method further includes: A second sorting view is generated according to the second channel list, wherein the second sorting view includes a second index number and a channel name of each channel in the second channel list.

5. A channel sorting device, characterized in that: include: A first acquisition module, configured to acquire a first instruction, and select at least two first channels to be moved in a first channel list according to the first instruction, wherein each channel in the first channel list includes a corresponding first index number, and the first index number is used to indicate an arrangement order of each channel in the first channel list; The index number is an index field added by the upper database of the television system; A second acquisition module is used to acquire a second instruction, and move the at least two first channels to a target position according to the second instruction to obtain a second channel list after the channels are moved; A processing module, configured to obtain an arrangement order between the at least two first channels according to the first index numbers of the at least two first channels; obtain an arrangement order of each channel in the second channel list according to the first index number of the second channel, the arrangement order between the at least two first channels, and the position of the target position in the first channel list, wherein the second channel is a channel other than the first channel among the multiple channels; obtain a second index number of each channel according to the arrangement order of each channel in the second channel list, wherein the second index number is used to indicate the arrangement order of each channel in the second channel list; The first acquisition module is further configured to, in acquiring the first instruction, before selecting at least two first channels to be moved in the first channel list according to the first instruction: Acquire multiple channels and the channel number of each channel; the channel number is used to determine whether the channel sequence is changed; sorting the plurality of channels according to the channel number of each channel to obtain the first channel list; Generate the corresponding first index number according to the arrangement order of each channel in the first channel list; Determine whether the channel sequence has been changed based on the channel number and the channel name; when the channel number or the channel name does not correspond to the channel sequence, write new channel basic information and the first index number of the channel.

6. A channel sorting device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the channel sorting method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the channel sorting method according to any one of claims 1 to 4 is implemented.