The content of the invention
It is a primary object of the present invention to provide a kind of channel to exchange implementation method, it is intended to solve intelligent television channel switchWhen, due to the technical problem of the scattered time of switching channels length caused of channel order.
To achieve the above object, the present invention provides a kind of channel and exchanges implementation method, including:
When receiving channel change command, the channel information of acquisition the first channel to be exchanged and the second channel;
The channel information of first channel and the second channel is exchanged in the domain channel manager of television set, and is updated to frequencyRoad list, wherein, the channel information of the exchange refers to channel index;
Load and show the channel list after updating.
Preferably, it is described when receiving channel change command, the frequency of acquisition the first channel to be exchanged and the second channelThe step of road information simultaneously, in addition to:
In the channel list, the first newly-built text items at the text position of first channel, and second respectivelySecond newly-built text items at the text position of channel, replicate the text message of first channel to the described first newly-built text, the text message of second channel is into the described second newly-built text items;
The text of first channel and the second channel is set to it is transparent invisible, to show the described first newly-built textThe content of text of item and the second newly-built text items.
Preferably, the channel information that first channel and the second channel are exchanged in the domain channel manager of television setThe step of simultaneously, in addition to:
Show that default channel changes animation;
During the step of channel changes animation is shown, in addition to:
The text for having been shown as transparent sightless first channel and the second channel is swapped into operation;
Changed in the channel after animation finishes playing, text exchange is operated into completed first channel and theThe text status of two channels be changed to it is visible, and will be seen that the described first newly-built text items and the second newly-built text items be set toIt is transparent invisible, to realize the text exchange process of first channel and the second channel.
Preferably, also include after the step of channel information of exchange first channel and the second channel:
The channel list for having changed channel information is read, confirms whether the channel change operation succeeds;
After confirming that the channel change is operated successfully, display channel information has changed the successful prompt message of preservation, holdsThe step of row loads and shows the channel list after updating.
Preferably, it is described to read the channel information for having changed channel, confirm whether the channel change operation preserves successThe step of after, in addition to:
If confirming, the channel information changes failure, and display information changes the prompt message of failure;
When re-replacing instruction, perform and handed in the domain channel manager of television set based on the prompting triggering receivingThe step of changing the channel information of first channel and the second channel.
Preferably, it is described to read the channel information for having changed channel, confirm whether the channel change operation preserves successThe step of, in addition to:
By the order of the channel information in current channels list and the order of the channel list mid band information prestoredCompare one by one, and count the two and there is channel information quantity of order difference, to confirm this channel information change whetherPreserve successfully;
It is consistent with the channel quantity of this sub-channel swap operation in the channel information quantity for confirming the presence order differenceWhen, display channel information has changed the successful prompt message of preservation.
In addition, to achieve the above object, the present invention also provides a kind of channel exchange and realizes device, it is characterised in that describedChannel exchanges and realizes that device includes:Memory, processor and it is stored on the memory and can runs on the processorComputer program, realize that channel as described above exchanges implementation method when the computer program is by the computing deviceStep.
The present invention also provides a kind of computer-readable recording medium, it is characterised in that the computer-readable recording mediumOn the channel that is stored with exchange and realize program, the channel, which is exchanged, to be realized channel as described above is realized when program is executed by processorThe step of exchanging implementation method.
When channel exchange implementation method of the present invention is applied, by when receiving channel change command, obtaining to be exchangedThe channel information of first channel and the second channel;First channel and the second channel are exchanged in the domain channel manager of television setChannel information, and be updated to channel list;Load and show the channel list after updating.Based on the change channel columnThe place-exchange of channel information in table, realizes the order adjustment of the channel information in the channel list, to reach user'sThe tactic beneficial effect of channel information, by such a mode, also makes user be quickly switched into required channel, improves useThe experience at family.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:When receiving channel change command, to be exchanged first is obtainedThe channel information of channel and the second channel;The frequency of first channel and the second channel is exchanged in the domain channel manager of television setRoad information, and it is updated to channel list;Load and show the channel list after updating.
Because the intelligent television of prior art is in use, user is switching to hobby during TV is watchedDuring channel, because channel number is that, by descending order, user needs to carry out the switching between multiple channels in switching channels,The switching time not only spent is long, and and its influence user experience.
The present invention provides a solution, by channel replacement operation, user is applied most channels by hobbyChange dump puts in order, or by conventional or hobby sets of channels together, realizes the quick operation for carrying out channel switch,Further improve the experience of user.
As shown in figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that scheme of the embodiment of the present invention is related to.
Terminal of the embodiment of the present invention can be PC or smart mobile phone, tablet personal computer, E-book reader, portableComputer etc. has the packaged type terminal device of display function.
As shown in figure 1, the terminal can include:Processor 1001, such as CPU, network interface 1004, user interface1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used to realize the connection communication between these components.User interface 1003 can include display screen (Display), input block such as keyboard (Keyboard), optional user interface1003 can also include wireline interface, the wave point of standard.Network interface 1004 can optionally connect including the wired of standardMouth, wave point (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory or stable memory(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor1001 storage device.
It will be understood by those skilled in the art that the restriction of the terminal structure shown in Fig. 1 not structure paired terminal, can be wrappedInclude than illustrating more or less parts, either combine some parts or different parts arrangement.
As shown in figure 1, leading to as operating system, network can be included in a kind of memory 1005 of computer-readable storage mediumLetter module, Subscriber Interface Module SIM and channel, which are exchanged, realizes program.
In the terminal shown in Fig. 1, network interface 1004 is mainly used in connecting background server, is carried out with background serverData communication;User interface 1003 is mainly used in connection client (user terminal), and row data communication is entered with client;And processor1001 can be used for calling the channel stored in memory 1005 to exchange program of realizing, and perform following operate:
When receiving channel change command, the channel information of acquisition the first channel to be exchanged and the second channel;
The channel information of first channel and the second channel is exchanged in the domain channel manager of television set, and is updated to frequencyRoad list, wherein, the channel information of the exchange refers to channel index;
Load and show the channel list after updating.
Further, processor 1001 can call the channel stored in memory 1005 to exchange and realize program, also performOperate below:
In the channel list, the first newly-built text items at the text position of first channel, and second respectivelySecond newly-built text items at the text position of channel, replicate the text message of first channel to the described first newly-built text, the text message of second channel is into the described second newly-built text items;
The text of first channel and the second channel is set to it is transparent invisible, to show the described first newly-built textThe content of text of item and the second newly-built text items.
Further, processor 1001 can call the channel stored in memory 1005 to exchange and realize program, also performOperate below:
Show that default channel changes animation;
During the step of channel changes animation is shown, in addition to:
The text for having been shown as transparent sightless first channel and the second channel is swapped into operation;
Changed in the channel after animation finishes playing, text exchange is operated into completed first channel and theThe text status of two channels be changed to it is visible, and will be seen that the described first newly-built text items and the second newly-built text items be set toIt is transparent invisible, to realize the text exchange process of first channel and the second channel.
Further, processor 1001 can call the channel stored in memory 1005 to exchange and realize program, also performOperate below:
The channel list for having changed channel information is read, confirms whether the channel change operation succeeds;
After confirming that the channel change is operated successfully, display channel information has changed the successful prompt message of preservation, holdsThe step of row loads and shows the channel list after updating.
Further, processor 1001 can call the channel stored in memory 1005 to exchange and realize program, also performOperate below:
If confirming, the channel information changes failure, and display information changes the prompt message of failure;
When re-replacing instruction, perform and handed in the domain channel manager of television set based on the prompting triggering receivingThe step of changing the channel information of first channel and the second channel.
Further, processor 1001 can call the channel stored in memory 1005 to exchange and realize program, also performOperate below:
By the order of the channel information in current channels list and the order of the channel list mid band information prestoredCompare one by one, and count the two and there is channel information quantity of order difference, to confirm this channel information change whetherPreserve successfully;
It is consistent with the channel quantity of this sub-channel swap operation in the channel information quantity for confirming the presence order differenceWhen, display channel information has changed the successful prompt message of preservation.
Reference picture 2, Fig. 2 is the first embodiment schematic flow sheet that channel of the present invention exchanges implementation method, and the channel is handed overChanging implementation method includes:
Step S10, when receiving channel change command, the channel letter of acquisition the first channel to be exchanged and the second channelBreath;
Intelligent terminal is in application process, and the channel for entering the intelligent terminal based on the control instruction having been received by is managedIn module, wherein, the control instruction is the mobile device or whole based on the intelligence for having annexation with the intelligent terminalThe control button at end itself is sent, and it is remote control corresponding with the intelligent terminal with the mobile device that the intelligent terminal is connectedEquipment.And, the channel management module of the intelligent terminal, to be pre-configured with completion, channel is carried out based on the mobile terminalThe functional module of exchange, is built in the system of the intelligent terminal with system plugin or system function module form.EnteringEnter to after the channel management module, based on the channel change command received, obtain the channel of the first channel based on replacingInformation, and based on the selection of first channel, in the newly-built channel item in the text position of first channel, and willThe channel information of first channel is copied in the channel item, is then triggered channel and is changed mechanism, to obtain and described theThe second channel information that the channel information of one channel is changed.
In addition, when the channel information based on first channel is changed, where the text for the second channel information chosenA position also newly-built channel item, and the channel information of second channel is copied to the newly-built channel item.And by describedThe channel item of one channel and the second channel text be set to it is transparent invisible, to show the newly-built channel item.It is i.e. describedWhen receiving channel change command, the step of obtaining the channel information of the first channel to be exchanged and the second channel simultaneously, is also wrappedInclude:
In the channel list, the first newly-built text items at the text position of first channel, and second respectivelySecond newly-built text items at the text position of channel, replicate the text message of first channel to the described first newly-built text, the text message of second channel is into the described second newly-built text items;
The text of first channel and the second channel is set to it is transparent invisible, to show the described first newly-built textThe content of text of item and the second newly-built text items.
Channel information progress channel item based on replacing is newly-built and preserves the operation for the channel information that need to be changed, and is in friendshipWhen changing the channel information, during the default channel replacing animation of display is played, the state based on the New any is setPut, preferably show the content of the swap operation.Or, it is to be backed up for the channel information that need to be changed, to ensureThe channel information caused in channel replacement operation, the problem of due to access network or terminal device is lost.Wherein, exchange describedThe specific exchanging contents of channel information of first channel and second channel are the channel index information of the two, it is not necessary to clearing houseWhole attribute informations of channel information are stated, to reduce the cost that the channel is exchanged.
Step S20, exchanges the channel information of first channel and the second channel in the domain channel manager of television set, andIt is updated to channel list;
The channel information of the first channel and the second channel that have got is swapped, the channel information is exchanged, i.e.,The channel information of second channel is copied in the channel option text of the first channel, the channel of first channel is believedBreath is copied in the channel option text of the second channel, and is protected in the two channel information described in having changed after the completion of duplicationDeposit the channel information content of the channel option text.
In addition, the step of channel information of exchange first channel and the second channel is simultaneously, in addition to:
Show that default channel changes animation.
In the operating procedure of replacing and the preservation of channel information, load default channel and change animation, with the intelligenceIn the channel page change of energy television terminal, the concrete operation step that the channel is changed, its described frequency are shown in animation formThe operation of the concrete operation step that road is changed, including channel text exchange, and channel text.The channel predetermined replacing animation,The animated content for having made and having added in configuration for the channel management module of the intelligent terminal, the animation addition, making,And its technology of loading animation, all contents for prior art, not described here any more.Wherein, more move in the broadcasting channelDuring picture, animation starts, and the text exchange for performing first channel for having been set to transparent invisible mode and the second channel is graspedMake, now, the New any shows the text message of first channel and the second channel respectively.End is played in animationAfterwards, the text of first channel and the second channel that have completed swap operation is set to visible, and the New any setIt is set to transparent invisible;The dynamic exchange process of first channel and the second channel is realized with this, that is, is showing the channelWhile changing the step of animation, in addition to:
The text for having been shown as transparent sightless first channel and the second channel is swapped into operation;
Changed in the channel after animation finishes playing, text exchange is operated into completed first channel and theThe text status of two channels be changed to it is visible, and will be seen that the described first newly-built text items and the second newly-built text items be set toIt is transparent invisible, to realize the text exchange process of first channel and the second channel.
Step S30, loads and shows the channel list after updating.
After the completion of the channel replacement operation, the channel information of channel list is reloaded, wherein, the channel listFor the channel information list that can only be pre-set and arrange in the channel management module of terminal, the channel in its channel listInformation order, puts in order for the existing channel information that reads the intelligent terminal, based on the channel information changed, againThe channel information content of the channel list is loaded, to show the channel list information after the change.
In the present embodiment, based on configured channel management module, exchanged getting the first channel and triggering channelThe channel information of the second channel is obtained during mechanism, and the two channel information is swapped, with the channel of the intelligent terminalIn list, the order of channel information is swapped, putting in order for the channel information of hobby is modified with reaching, realizedQuickly navigate to the beneficial effect of desired channel.
Further, reference picture 3, Fig. 3 is the schematic flow sheet for the second embodiment that channel of the present invention exchanges implementation method,Based on the embodiment shown in above-mentioned Fig. 2, the step of the channel information of exchange first channel and the second channel afterAlso include:
Step S40, reads the channel list for having changed channel information, confirms whether the channel change operation preserves intoWork(;
Based on the channel list for having carried out channel replacement operation, the channel information order in the channel list is read, andConfirm whether the order of the channel information in the channel list has changed success, wherein, it is described to read the frequency for having changed channelRoad information, confirms whether the channel change operation preserves successful step, in addition to:
By the order of the channel information in current channels list and the order of the channel list mid band information prestoredCompare one by one, and count the two and there is channel information quantity of order difference, to confirm this channel information change whetherPreserve successfully;
It is consistent with the channel quantity of this sub-channel swap operation in the channel information quantity for confirming the presence order differenceWhen, display channel information has changed the successful prompt message of preservation.
The channel information in current channels list is read, the channel information includes channel and indexed and channel order, and willThe order of the channel information of the current channels list read and the order of the channel information of the channel list pre-saved are enteredRow is contrasted one by one, and wherein contrast operation includes comparing the channel index of channel information and channel order, true based on this contrast operationThe channel information of the channel information for recognizing the channel list and the channel list pre-saved whether there is the change of channel informationDifference.The order for counting current channels list mid band information and the order of the channel information in the channel list pre-savedIn, there is the quantity of the channel information of order difference, confirm whether the change operation of this sub-channel succeeds with this;And it is described in confirmationDuring the quantity for the channel information that the quantity in the presence of the channel information of order difference is equal to the change operation of this sub-channel, this frequency is confirmedThe operation of road change is preserved successfully, and after the operation for confirming the change of this sub-channel is preserved successfully, shows that this change has succeededThe prompt message of preservation, and refresh the channel information of the current channels list, by the channel information of current channels listThe channel information order of the channel list pre-saved described in order replacement.Afterwards, the frequency in the current channels list is shownRoad information.
Step S50, after confirming that the channel change is operated successfully, display channel information has changed preservation successfully promptingInformation, performs the step of loading and show the channel list after updating.
The channel information of channel information and the channel list pre-saved based on the channel list compares operation and completedAfterwards, and after confirming that the channel information is changed successfully, refresh the channel list, perform the institute for loading and showing after updatingThe step of stating channel list, wherein, the operation for refreshing the channel list is for the channel list after the renewal is believedBreath is re-transmitted to the domain channel manager of the intelligent television, to realize the effect preserved again, it is to avoid because of hardware device problemThe preservation error caused.
Step S60, if confirming, the channel information changes failure, and display information changes the prompt message of failure;
Step S70, when re-replacing instruction, the channel pipe in television set is performed receiving based on the prompting triggeringThe step of managing the channel information that first channel and the second channel are exchanged in device.
If confirming, the channel information changes failure, and the channel information, which is changed, unsuccessfully refers to current channel list mid bandThe order of information is with prestoring the order of channel list mid band information when being contrasted one by one, and the two has order differenceChannel information the channel information quantity changed in operation of quantity and this sub-channel it is inconsistent, then confirm the change of this sub-channelOperation preserves failure, submits channel to preserve the prompting of failure, and receive the prompt message triggering for preserving failure based on the operationRe-replace instruction, perform the channel information that first channel and the second channel are exchanged in the domain channel manager of television setThe step of, to re-start the operation content for preserving the change of this sub-channel.
In the present embodiment, by reading the order of the channel list mid band information after having changed, with prestoringThe order of channel list mid band information is contrasted one by one, and there is the quantity of the channel information of order difference and thisBased on whether the changed channel quantity of channel change operation is equal, confirm whether the operation of this sub-channel modification succeeds, withThis realizes the beneficial effect of the stability of channel change operation.
In addition, the embodiment of the present invention also proposes a kind of computer-readable recording medium, the computer-readable recording mediumOn the channel that is stored with exchange and realize program, the channel, which is exchanged, to be realized following operation is realized when program is executed by processor:
When receiving channel change command, the channel information of acquisition the first channel to be exchanged and the second channel;
The channel information of first channel and the second channel is exchanged in the domain channel manager of television set, and is updated to frequencyRoad list, wherein, the channel information of the exchange refers to channel index;
Load and show the channel list after updating.
Further, the channel exchange, which is realized, also realizes following operation when program is executed by processor:
In the channel list, the first newly-built text items at the text position of first channel, and second respectivelySecond newly-built text items at the text position of channel, replicate the text message of first channel to the described first newly-built text, the text message of second channel is into the described second newly-built text items;
The text of first channel and the second channel is set to it is transparent invisible, to show the described first newly-built textThe content of text of item and the second newly-built text items.
Further, the channel exchange, which is realized, also realizes following operation when program is executed by processor:
Show that default channel changes animation;
During the step of channel changes animation is shown, in addition to:
The text for having been shown as transparent sightless first channel and the second channel is swapped into operation;
Changed in the channel after animation finishes playing, text exchange is operated into completed first channel and theThe text status of two channels be changed to it is visible, and will be seen that the described first newly-built text items and the second newly-built text items be set toIt is transparent invisible, to realize the text exchange process of first channel and the second channel.
Further, the channel exchange, which is realized, also realizes following operation when program is executed by processor:
The channel list for having changed channel information is read, confirms whether the channel change operation succeeds;
After channel change is operated successfully, the step of loading and show the channel list after updating is performed.
Further, the channel exchange, which is realized, also realizes following operation when program is executed by processor:
If confirming, the channel information changes failure, and display information changes the prompt message of failure;
When re-replacing instruction, perform and handed in the domain channel manager of television set based on the prompting triggering receivingThe step of changing the channel information of first channel and the second channel.
Further, the channel exchange, which is realized, also realizes following operation when program is executed by processor:
By the order of the channel information in current channels list and the order of the channel list mid band information prestoredCompare one by one, and count the two and there is channel information quantity of order difference, to confirm this channel information change whetherPreserve successfully;
It is consistent with the channel quantity of this sub-channel swap operation in the channel information quantity for confirming the presence order differenceWhen, display channel information has changed the successful prompt message of preservation.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-rowHis property is included, so that process, method, article or system including a series of key elements not only include those key elements, andAnd also including other key elements being not expressly set out, or also include for this process, method, article or system institute inherentlyKey element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including thisAlso there is other identical element in process, method, article or the system of key element.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other wordsGoing out the part of contribution can be embodied in the form of software product, and the computer software product is stored in one as described aboveIn storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone,Computer, server, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hairEquivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skillsArt field, is included within the scope of the present invention.