CN106325681A - Method and device for switching menu items - Google Patents

Method and device for switching menu items Download PDF

Info

Publication number
CN106325681A
CN106325681A CN201610786135.4A CN201610786135A CN106325681A CN 106325681 A CN106325681 A CN 106325681A CN 201610786135 A CN201610786135 A CN 201610786135A CN 106325681 A CN106325681 A CN 106325681A
Authority
CN
China
Prior art keywords
menu item
webview
cursor
target location
move
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610786135.4A
Other languages
Chinese (zh)
Inventor
余绍鹏
慈尚亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin Co Ltd
LeTV Holding Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leshi Zhixin Electronic Technology Tianjin Co Ltd, LeTV Holding Beijing Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201610786135.4A priority Critical patent/CN106325681A/en
Publication of CN106325681A publication Critical patent/CN106325681A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a method and device for switching menu items, wherein the method of the invention mainly comprises the following contents. The position of a cursor at a menu item which is located in the relevant view of the network webview can be obtained. Mobile instructions which control cursor movement can be received. According to the position and mobile instructions, the target position of the cursor can be determined, and the target position is the position of another menu item which is adjacent to the menu item in the relevant Webview or other Webviews. The cursor will be moved directly to the target position. Compared with the prior art, the method and device for switching menu items can achieve the easy switching of the adjacent menu items in different menus of different Webviews when users use the smart TV.

Description

The method and device of menu item switching
Technical field
The present embodiments relate to Computer Applied Technology field, particularly relate to method and the dress of the switching of a kind of menu item Put.
Background technology
In order to experience more easily to user, promotion based on Internet technology occurs in that intelligent television.Intelligent television There is the platform of full open model, be equipped with operating system, therefore can make user while viewing general television content, also may be used To install various application softwaries, it is achieved " networking " " intelligent " of TV.
In the operating system of intelligent television, menu is multistage, understands the hierarchical relationship between menu for the ease of user, logical Often the hierarchical relationship of the current set of menu and association can be shown simultaneously.For example, it is assumed that the current set of menu include " program request ", " live ", " playbacking " three menu items, if clicking on one of them menu item " program request ", can correspondingly show subordinate's dish that " program request " is corresponding Single, and menu item " program request " also will not disappear.
During menu item in user selects each layer menu, it is common that control light target by remote controller and move and select 's.And based on the concrete mode selecting each layer menu item is the traversal tree relation of level by between menu, so cursor Cross-layer level can not be carried out move.Such as, for above-mentioned example, if active user wants from dish corresponding to the sub-menus of " program request " Individual event is directly switch to " program request " be peer menu item " live ", the way of prior art is: first by cursor from " program request " menu item is returned in the sub-menus of " program request ";And then cursor is moved to " live " dish from " program request " menu item Individual event.To sum up it will be seen that user carries out operation complexity during the switching of cross-layer level menu item in intelligent television.
Summary of the invention
The embodiment of the present invention provides the method and device of a kind of menu item switching, in order to solve use in existing intelligent television Family carries out the problem that when cross-layer level menu item selects, operation is complicated.
The embodiment of the present invention provides the method for a kind of menu item switching, and described method includes:
Obtaining the position of the menu item that cursor is presently in, described menu item is positioned in the network view webview of correspondence;
Receiving move, described move is to control the instruction that described cursor moves;
Determining described smooth target target location according to described position and described move, described target location is described dish The position of menu item adjacent with described menu item in the webview that individual event is corresponding or in other webview;
Described cursor is directly mobile to described target location.
The embodiment of the present invention provides the device of a kind of menu item switching, and described device includes:
Acquiring unit, for obtaining the position of the menu item that cursor is presently in, described menu item is positioned at the network of correspondence In view webview;
Receiving unit, be used for receiving move, described move is to control the instruction that described cursor moves;
Determine unit, for determining described smooth target target location, described mesh according to described position and described move Mark is set in the webview that described menu item is corresponding or the position of menu item adjacent with described menu item in other webview Put;
Mobile unit, for directly mobile to described target location by described cursor.
The method and device of the menu item switching that the embodiment of the present invention provides, it is possible to first obtain the dish that cursor is presently in The position of individual event, menu item is positioned in the network view webview of correspondence, and the corresponding thread of each webview or one enter Journey;Secondly, receiving move, move is to control the instruction that cursor moves;Then it is presently in menu item according to cursor Position and move determine light target target location, this target location is in the webview that menu item is corresponding or other The position of menu item adjacent with this menu item in webview;Finally cursor is directly moved to target location.With prior art Compare, the position of the menu item that the embodiment of the present invention can be presently according to cursor and move, determine that cursor moves Target location, this target location not only includes the position of menu item adjacent with menu item in the webview that menu item is corresponding, Also include the position of menu item adjacent with the menu item residing for current cursor in other webview.Therefore can realize using Family is moved by control light target when using intelligent television and is possible not only to directly enter in the most same menu of same webview The switching of row adjacent menu items, and can directly carry out adjacent menus between the corresponding different menu of different webview The switching of item.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root Other accompanying drawing is obtained according to these accompanying drawings.
The flow chart of the method for a kind of menu item switching that Fig. 1 provides for the embodiment of the present invention;
The composition frame chart of the device of a kind of menu item switching that Fig. 2 provides for the embodiment of the present invention;
The composition frame chart of the device of the another kind of menu item switching that Fig. 3 provides for the embodiment of the present invention;
The hardware configuration signal of the electronic equipment of the method for a kind of menu item switching that Fig. 4 provides for the embodiment of the present invention Figure.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
The method embodiments providing the switching of a kind of menu item, as it is shown in figure 1, the method includes:
101, the position of the menu item that cursor is presently in is obtained.
The present embodiment mainly for user when using intelligent television, carry out different program or the choosing of application by menu Scene when taking.Therefore cursor refers to that usual user is by remote controller etc. at the menu item currently chosen for labelling or instruction Control equipment controls light target and moves.Obtaining the menu position being presently in this step is for real time record light target position Put, then move cursor exactly according to the instruction of current location and movement.
It is further to note that in existing intelligent television system, menu is multistage, each dish of every one-level Single pair of answers a webview, and the corresponding thread of each webview or a process, therefore each in prior art Being not communicated with between webview, cursor directly can not move between two different webview or switch.Wherein Webview be a network view, for show webpage or display application content.The dish in menu in the present embodiment Individual event is mainly control type.
102, receiving move, move is to control the instruction that cursor moves.
Receive move to refer to receive the instruction that the control cursor sent by control equipment such as remote controllers moves.This moves Instruction generally includes and makes cursor carry out the movement that left and right is upper and lower.
Additionally this step and step 101 do not have strict priority execution sequence, and two steps can arbitrarily successively, it is also possible to Carry out simultaneously.
103, light target target location is determined according to position and move.
The position of the menu item that the cursor determined according to step 101 is presently in and received the light obtained by step 102 Target move determines light target target location jointly.In the present embodiment, light target target location is that menu item is corresponding The position of menu item adjacent with menu item in webview or in other webview.Provide concrete example to illustrate: false If certain grade of menu includes " A ", " B ", " C " three menu items, and three menu item horizontal row are in a row, under each menu item again Comprise a sub-menus respectively, each sub-menus also includes multiple lower level menu items.Subordinate's dish that concrete " A " comprises Individual event is " A1 " " A2 " " A3 ";The lower level menu items that " B " comprises is " B1 " " B2 " " B3 ";The lower level menu items that " C " comprises is " C1 " " C2 " " C3 ", the most all of lower level menu items all becomes string to be vertically arranged.If the position of the menu item residing for current cursor Being set to " A2 ", corresponding target location can be adjacent with " A2 " and be in other menu item in a webview together " A1 " or " A3 " can also be the menu item " B2 " in the webview being in other adjacent with " A2 " or " B " etc..Wherein " A ", The corresponding webview of " B ", " C ", each sub-menus also the most corresponding webview.
104, cursor is directly moved to target location.
After determining target location, it is possible to cursor is directly moved to target location, completes cursor directly same The switching of menu item adjacent in webview or the switching of adjacent menu items between different webview.
The method of the menu switching that the embodiment of the present invention provides, it is possible to first obtain the position of the menu item that cursor is presently in Putting, menu item is positioned in the network view webview of correspondence, the corresponding thread of each webview or a process;Secondly, Receiving move, move is to control the instruction that cursor moves;Then according to cursor be presently in menu item position and Move determines light target target location, this target location be in the webview that menu item is corresponding or in other webview with The position of the menu item that this menu item is adjacent;Finally cursor is directly moved to target location.Compared with prior art, the present invention The position of the menu item that embodiment can be presently according to cursor and move, determine the target location that cursor moves, This target location not only includes the position of menu item adjacent with menu item in the webview that menu item is corresponding, also including other The position of menu item adjacent with the menu item residing for current cursor in webview.Therefore can realize making user use intelligence Moved by control light target during energy TV and be possible not only to directly carry out adjacent menus in the most same menu of same webview The switching of item, and can directly carry out the switching of adjacent menu items between the corresponding different menu of different webview.
Further, in order to the refinement of embodiment illustrated in fig. 1 and extension, the step in Fig. 1 is entered by the embodiment of the present invention Row refines and supplements, as follows:
For according to position and move, Fig. 1 step 103 determines that light target target location specifically includes two kinds of situations:
The first situation: if the border that position is the webview that menu item is corresponding and move are for continuing outside border The instruction of movement, it is determined that target location is the position of menu item adjacent with menu item in other webview.Concrete: if The menu item that cursor is presently in is the menu item of high order end in corresponding webview, and move is for making cursor continue to the left The instruction of movement, it is determined that target location is the menu item that is positioned in other webview adjacent with the menu item of high order end.Its Middle position is adjacent is not absolute adjacent, and such as two about webview are adjacent, show three dishes in the webview on the left side Individual event and be longitudinal arrangement, the webview on the right shows two menu items and for transversely arranged and lateral attitude, place with First menu item in the webview of longitudinal arrangement is in same level position, then in the webview of longitudinal arrangement each Menu item can claim adjacent with first menu item in transversely arranged webview.
The second situation: if asynchronously meeting border and move that position is the webview that menu item is corresponding for continuing Continue the instruction of movement outside border, it is determined that target location is menu adjacent with menu item in the webview that menu item is corresponding The position of item.
Containing three kinds of combined situation of the position in addition to the first situation and move in the second situation, these are three years old The situation of kind can be attributed to light and be marked on the sight of the movement in the webview that menu item is corresponding.
Further, for the above-mentioned two kinds of situations determining light target target location, by light in corresponding Fig. 1 step 104 Mark is mobile also includes two kinds of situations to target location:
The first situation: if the position that target location is menu item adjacent with menu item in other webview, then call Java script (JavaScript is called for short JS script), so that cursor directly moves the target location to other webview, JS Script is to make cursor cross over the program that different webview moves.
Concrete: the JS script called in the present embodiment is in the web page program corresponding for webview at menu item place Script, it is by the caller control in application layer, menu item adjacent with menu item in target location is other webview Position time, then trigger the caller in application layer, the most further start calling, by light target control of JS script (mobile power) is handed down to other webview, it is achieved cursor crosses over different webview, and continues in other webview Mobile.Continue after cursor enters into other webview according to Fig. 1 proceeds new movement in steps.
The second situation: if the position that target location is menu item adjacent with menu item in the webview that menu item is corresponding Put, then cursor is moved in the direction defined in the direct webview corresponding according to menu item.It should be noted that each webview Inside having the most defined direction that can directly move, the direction of concrete definition is according in different webview The position arrangement of menu item sets in advance.In webview without departing from menu option place, then can directly use Cursor is moved in defined direction.
Further, same menu item may be adjacent, therefore with the menu item in other webview in multiple directions In order to call the conveniently and quickly property of JS script, different JS scripts is provided with for other webview on different directions. So before calling JS script, needing to judge the moving direction of move, then the moving direction according to move is true A webview corresponding in other webview fixed, and then call JS script corresponding for webview in the direction, it is achieved cursor Directly cross over to other webview of corresponding different directions according to different JS scripts.
Further, for different directions JS script can also an integrated JS script, and in this JS script arrange Different moving directions is as the condition of the script calling corresponding different directions.
Further, as to the realization of method shown in above-mentioned Fig. 1, another embodiment of the embodiment of the present invention also provides for The device of a kind of menu item switching, as in figure 2 it is shown, this device includes: acquiring unit 21, receive unit 22, determine unit 23 And mobile unit 24.
Acquiring unit 21, for obtaining the position of the menu item that cursor is presently in, menu item is positioned at the network video of correspondence In figure webview.
Obtaining the menu position being presently in the present embodiment is for real time record light target position, then according to current Cursor is moved in the instruction of position and movement exactly.The menu item in menu in the present embodiment is mainly control class Type.
Receiving unit 22, be used for receiving move, move is to control the instruction that cursor moves.
Receive move to refer to receive the instruction that the control cursor sent by control equipment such as remote controllers moves.This moves Instruction generally includes and makes cursor carry out the movement that left and right is upper and lower.
Determining unit 23, for determining light target target location according to position and move, target location is menu item The position of menu item adjacent with menu item in corresponding webview or in other webview.
The position of the menu item that the cursor determined according to step acquiring unit 21 is presently in and being connect by receiving unit 22 Receive the light target move obtained and jointly determine light target target location.In the present embodiment, light target target location is menu item The position of menu item adjacent with menu item in corresponding webview or in other webview.
Mobile unit 24, for directly moving cursor to target location.
After determining target location, it is possible to cursor is directly moved to target location, completes cursor directly same The switching of menu item adjacent in webview or the switching of adjacent menu items between different webview.
Further, as it is shown on figure 3, determine unit 23, including:
First determines module 231, if being that the border of the webview that menu item is corresponding and move are for continuing for position The instruction of movement outside border, it is determined that target location is the position of menu item adjacent with menu item in other webview.
Concrete: if the menu item that cursor is presently in is the menu item of high order end in corresponding webview, and move The instruction being moved to the left for making cursor continue, it is determined that target location is adjacent with the menu item of high order end to be positioned at other Menu item in webview.Wherein position is adjacent is not absolute adjacent, and such as two about webview are adjacent, the left side Webview shows three menu items and for longitudinal arrangement, the webview on the right shows two menu items and be horizontal First menu item in the webview of arrangement and lateral attitude, place and longitudinal arrangement is in same level position, then longitudinally In the webview of arrangement, each menu item can claim adjacent with first menu item in transversely arranged webview.
Second determines module 232, if for asynchronously meeting border and the movement that position is the webview that menu item is corresponding Instruction for continue the instruction of movement outside border, it is determined that target location be in the webview that menu item is corresponding with menu item phase The position of adjacent menu item.
The second three kinds of combination feelings determining position and the move contained in module 232 in addition to the first situation Condition, these three situation can be attributed to light and be marked on the sight of the movement in the webview that menu item is corresponding.
Further, as it is shown on figure 3, mobile unit 24, including:
Calling module 241, if being used for the position that target location is menu item adjacent with menu item in other webview, Then calling JS script, so that cursor directly moves the target location to other webview, JS script crosses over difference for making cursor The program that moves of webview.
The JS script called in the present embodiment is the script in the web page program corresponding for webview at menu item place, it Controlled by the caller in application layer, the position of menu item adjacent with menu item in target location is other webview Time, then trigger the caller in application layer, then further start and call JS script, by light target control (mobile power) It is handed down to other webview, it is achieved cursor crosses over different webview, and continues to move in other webview.
Mobile module 242, if being menu item adjacent with menu item in the webview that menu item is corresponding for target location Position, then directly move cursor according to the direction defined in webview corresponding to menu item.
The most defined direction that can directly move is had in it should be noted that each webview, concrete The direction of definition is that the position arrangement according to different webview menu item sets in advance.Without departing from menu option In the webview at place, then the most defined direction can be directly used to move cursor.
Further, as it is shown on figure 3, device farther includes:
Judging unit 25, for before calling JS script, it is judged that the moving direction of move.
Further, calling module 241 is used for:
Call the JS script corresponding with moving direction.
Same menu item may be adjacent with the menu item in other webview in multiple directions, therefore to call The conveniently and quickly property of JS script, is provided with different JS scripts for other webview on different directions.So adjusting Before JS script, need to judge the moving direction of move, then determine other according to the moving direction of move A webview corresponding in webview, and then call JS script corresponding for webview in the direction, it is achieved cursor is not according to Same JS script is directly crossed over to other webview of corresponding different directions.
Further, as it is shown on figure 3, device farther includes:
Trigger element 26, for before calling JS script, triggers the caller in application layer, and caller is for starting The program that JS script calls.
The device of the menu item switching that the embodiment of the present invention provides, it is possible to the menu item that first acquisition cursor is presently in Position, menu item is positioned in the network view webview of correspondence, the corresponding thread of each webview or a process;Its Secondary, receive move, move is to control the instruction that cursor moves;Then the position of menu item it is presently according to cursor Determining light target target location with move, this target location is in the webview that menu item is corresponding or in other webview The position of the menu item adjacent with this menu item;Finally cursor is directly moved to target location.Compared with prior art, this The position of the menu item that bright embodiment can be presently according to cursor and move, determine the target position that cursor moves Putting, this target location not only includes the position of menu item adjacent with menu item in the webview that menu item is corresponding, also including it The position of menu item adjacent with the menu item residing for current cursor in its webview.Therefore can realize making user use Moved by control light target during intelligent television and be possible not only to directly carry out adjacent dish in the most same menu of same webview The switching of individual event, and can directly carry out the switching of adjacent menu items between the corresponding different menu of different webview.
Schematically, such as Fig. 4 it is electronic equipment hard of method of a kind of menu item switching that the embodiment of the present invention provides Part structural representation, as shown in Figure 4, this electronic equipment includes:
One or more processors 41 and memorizer 42, in Fig. 4 as a example by a processor 41.
The electronic equipment of the method for menu item switching can also include: input equipment 43 and output device 44.
Processor 41, memorizer 42, input equipment 43 and output device 44 can be connected by bus or other modes, In Fig. 4 as a example by being connected by bus.
Memorizer 42, as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, the method switched such as the menu item in the embodiment of the present invention is corresponding Programmed instruction/module (such as, the acquiring unit 21 shown in accompanying drawing 2, receive unit 22, determine unit 23 and mobile unit 24).Non-volatile software program, instruction and the module that processor 41 is stored in memorizer 42 by operation, thus perform The various functions application of server and data process, the method i.e. realizing the switching of said method embodiment menu item.
Memorizer 42 can include store program area and storage data field, wherein, storage program area can store operating system, Application program required at least one function;Storage data field can store the use of the device according to menu item switching and be created Data etc..Additionally, memorizer 42 can include high-speed random access memory, it is also possible to include nonvolatile memory, example Such as at least one disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, deposit Reservoir 42 is optional includes the memorizer remotely located relative to processor 41, and these remote memories can be connected to by network The processing means of list items operation.The example of above-mentioned network includes but not limited to the Internet, intranet, LAN, movement Communication network and combinations thereof.
Input equipment 43 can receive numeral or the character information of input, and produces the user of the device switched with menu item Arrange and function controls relevant key signals input.Output device 44 can include the display devices such as display screen.
One or more module stores is in described memorizer 42, when by one or more processor 41 During execution, perform the method that the menu item in above-mentioned any means embodiment switches.
The said goods can perform the method that the embodiment of the present invention is provided, and possesses the corresponding functional module of execution method and has Benefit effect.The ins and outs of the most detailed description, can be found in the method that the embodiment of the present invention is provided.
The electronic equipment of the embodiment of the present invention exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment: the feature of this kind equipment is to possess mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart mobile phone (such as iPhone), multimedia handset, functional mobile phone, and low End mobile phone etc..
(2) super mobile personal computer equipment: this kind equipment belongs to the category of personal computer, has calculating and processes merit Can, the most also possess mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind equipment can show and play content of multimedia.This kind equipment includes: audio frequency, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server: providing the equipment of the service of calculating, the composition of server includes that processor, hard disk, internal memory, system are total Lines etc., server is similar with general computer architecture, but owing to needing to provide highly reliable service, is therefore processing energy The aspects such as power, stability, reliability, safety, extensibility, manageability require higher.
(5) other have the electronic installation of data interaction function.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can To be or to may not be physically separate, the parts shown as unit can be or may not be physics list Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent; And these amendment or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (12)

1. the method for a menu item switching, it is characterised in that described method includes:
Obtaining the position of the menu item that cursor is presently in, described menu item is positioned in the network view webview of correspondence;
Receiving move, described move is to control the instruction that described cursor moves;
Determining described smooth target target location according to described position and described move, described target location is described menu item The position of menu item adjacent with described menu item in corresponding webview or in other webview;
Described cursor is directly mobile to described target location.
Method the most according to claim 1, it is characterised in that described determine institute according to described position and described move State light target target location, including:
If the border that described position is the webview that described menu item is corresponding and described move are for continuing outside described border The instruction of movement, it is determined that described target location is the position of menu item adjacent with described menu item in other webview described Put;
If asynchronously meet border that described position is the webview that described menu item is corresponding and described move for continue to The instruction of movement outside described border, it is determined that described target location be in the webview that described menu item is corresponding with described menu The position of the menu item that item is adjacent.
Method the most according to claim 2, it is characterised in that described that described cursor is directly mobile to described target position Put, including:
If the position that target location is menu item adjacent with described menu item in other webview described, then call JS script, So that described cursor directly moves the target location to other webview described, described JS script is crossed over for making described cursor The program that different webview moves;
If the position that target location is menu item adjacent with described menu item in the webview that described menu item is corresponding, the most directly Connect the direction according to defining in webview corresponding to described menu item and move described cursor.
Method the most according to claim 3, it is characterised in that described call JS script before, described method is further Including:
Judge the moving direction of described move.
Method the most according to claim 4, it is characterised in that described in call JS script and include:
Call the JS script corresponding with described moving direction.
Method the most according to claim 3, it is characterised in that described call JS script before, described method is further Including:
Triggering the caller in application layer, described caller is to start the program that JS script calls.
7. the device of a menu item switching, it is characterised in that described device includes:
Acquiring unit, for obtaining the position of the menu item that cursor is presently in, described menu item is positioned at the network view of correspondence In webview;
Receiving unit, be used for receiving move, described move is to control the instruction that described cursor moves;
Determine unit, for determining described smooth target target location, described target position according to described position and described move It is set in the webview that described menu item is corresponding or the position of menu item adjacent with described menu item in other webview;
Mobile unit, for directly mobile to described target location by described cursor.
Device the most according to claim 7, it is characterised in that described determine unit, including:
First determines module, if being the border of the webview that described menu item is corresponding and described move for described position For continue the instruction of movement outside described border, it is determined that described target location be in other webview described with described menu The position of the menu item that item is adjacent;
Second determines module, if for asynchronously meeting border and the institute that described position is the webview that described menu item is corresponding Stating move is to continue the instruction of movement outside described border, it is determined that described target location is that described menu item is corresponding The position of menu item adjacent with described menu item in webview.
Device the most according to claim 8, it is characterised in that described mobile unit, including:
Calling module, if for the position that target location is menu item adjacent with described menu item in other webview described, Then calling JS script, so that described cursor directly moves the target location to other webview described, described JS script is for making Described cursor crosses over the program that different webview moves;
Mobile module, if being menu adjacent with described menu item in the webview that described menu item is corresponding for target location The position of item, then described cursor is moved in the direction defined in the direct webview corresponding according to described menu item.
Device the most according to claim 9, it is characterised in that described device farther includes:
Judging unit, for described call JS script before, it is judged that the moving direction of described move.
11. devices according to claim 10, it is characterised in that described calling module is used for:
Call the JS script corresponding with described moving direction.
12. devices according to claim 9, it is characterised in that described device farther includes:
Trigger element, for described call JS script before, trigger the caller in application layer, described caller is for opening The program that dynamic JS script calls.
CN201610786135.4A 2016-08-30 2016-08-30 Method and device for switching menu items Pending CN106325681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610786135.4A CN106325681A (en) 2016-08-30 2016-08-30 Method and device for switching menu items

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610786135.4A CN106325681A (en) 2016-08-30 2016-08-30 Method and device for switching menu items

Publications (1)

Publication Number Publication Date
CN106325681A true CN106325681A (en) 2017-01-11

Family

ID=57789556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610786135.4A Pending CN106325681A (en) 2016-08-30 2016-08-30 Method and device for switching menu items

Country Status (1)

Country Link
CN (1) CN106325681A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113653A (en) * 2019-04-19 2019-08-09 青岛海信电器股份有限公司 A kind of display methods and terminal of setting option
CN111208927A (en) * 2019-12-30 2020-05-29 国电南瑞科技股份有限公司 Man-machine interface and man-machine interaction method suitable for secondary equipment of power system
CN111767001A (en) * 2020-06-28 2020-10-13 中国商用飞机有限责任公司 Cursor movement control method for airborne interactive interface of airplane
CN116700547A (en) * 2022-10-31 2023-09-05 荣耀终端有限公司 Cursor traversing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604025A (en) * 2003-10-03 2005-04-06 微软公司 Hierarchical in-place menus
CN103402132A (en) * 2013-08-01 2013-11-20 佛山云联科技有限公司 Application navigation control method of intelligent television
CN103905863A (en) * 2012-12-30 2014-07-02 青岛海尔软件有限公司 Webview-adopting remote controller control method based on Android television
CN104461571A (en) * 2014-12-29 2015-03-25 乐视致新电子科技(天津)有限公司 Menu level operating method and device
JP2016062115A (en) * 2014-09-12 2016-04-25 キヤノン株式会社 Electronic device, control method therefor, program, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604025A (en) * 2003-10-03 2005-04-06 微软公司 Hierarchical in-place menus
CN103905863A (en) * 2012-12-30 2014-07-02 青岛海尔软件有限公司 Webview-adopting remote controller control method based on Android television
CN103402132A (en) * 2013-08-01 2013-11-20 佛山云联科技有限公司 Application navigation control method of intelligent television
JP2016062115A (en) * 2014-09-12 2016-04-25 キヤノン株式会社 Electronic device, control method therefor, program, and storage medium
CN104461571A (en) * 2014-12-29 2015-03-25 乐视致新电子科技(天津)有限公司 Menu level operating method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113653A (en) * 2019-04-19 2019-08-09 青岛海信电器股份有限公司 A kind of display methods and terminal of setting option
CN111208927A (en) * 2019-12-30 2020-05-29 国电南瑞科技股份有限公司 Man-machine interface and man-machine interaction method suitable for secondary equipment of power system
CN111767001A (en) * 2020-06-28 2020-10-13 中国商用飞机有限责任公司 Cursor movement control method for airborne interactive interface of airplane
CN111767001B (en) * 2020-06-28 2023-05-30 中国商用飞机有限责任公司 Cursor movement control method for airborne interactive interface of airplane
CN116700547A (en) * 2022-10-31 2023-09-05 荣耀终端有限公司 Cursor traversing method and device
CN116700547B (en) * 2022-10-31 2024-05-10 荣耀终端有限公司 Cursor traversing method and device

Similar Documents

Publication Publication Date Title
CN105278799A (en) Interface switching method and apparatus
CN106201241A (en) The multi-screen display method of terminal screen, device and terminal
CN108647068B (en) Method, system and medium product for realizing application recommendation on APP starting page
CN106325681A (en) Method and device for switching menu items
WO2017118329A1 (en) Method and apparatus for controlling tab bar
JP2020504865A (en) Application data processing method, apparatus, and storage medium
CN105812941A (en) Video playing method and device and electronic equipment
US20170192646A1 (en) Method and electronic device for hiding application icons and mobile phone
CN104423785B (en) A kind of view switching method and terminal
CN109240567B (en) Information display method and device, storage medium and electronic device
CN102118476A (en) Method for displaying menu of mobile phone and mobile phone
CN110730387A (en) Video playing control method and device, storage medium and electronic device
CN110413276A (en) Parameter edit methods and device, electronic equipment, storage medium
CN109889869A (en) Loading method, device, equipment and the storage medium of video data
CN104581415A (en) Intelligent television set and tabletop switching method thereof
CN113014985A (en) Interactive multimedia content processing method and device, electronic equipment and storage medium
CN102929506B (en) A kind of quick interpolation desktop elements is to the method for desktop
CN107277581B (en) A kind of video broadcasting method and its device, mobile terminal
CN102984350A (en) User-defined subject switchover method and device in mobile terminal of Android operating system
CN113391751A (en) Interface display method and device, storage medium and electronic equipment
CN106331787A (en) Channel updating method and device
CN106527916A (en) Operating method and device based on virtual reality equipment, and operating equipment
CN106815283A (en) Data processing method, device and electronic equipment
CN105847928A (en) Method and apparatus for displaying menu option
CN111766989B (en) Interface switching method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170111