Nothing Special   »   [go: up one dir, main page]

WO2017128986A1 - Selection method, device and storage medium for multimedia menu item - Google Patents

Selection method, device and storage medium for multimedia menu item Download PDF

Info

Publication number
WO2017128986A1
WO2017128986A1 PCT/CN2017/071345 CN2017071345W WO2017128986A1 WO 2017128986 A1 WO2017128986 A1 WO 2017128986A1 CN 2017071345 W CN2017071345 W CN 2017071345W WO 2017128986 A1 WO2017128986 A1 WO 2017128986A1
Authority
WO
WIPO (PCT)
Prior art keywords
menu item
display area
multimedia
target
menu
Prior art date
Application number
PCT/CN2017/071345
Other languages
French (fr)
Chinese (zh)
Inventor
刘冬冬
孟丹
肖春桃
涂春雨
李维乐
万逸伦
梁斯雅
李冠树
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2017128986A1 publication Critical patent/WO2017128986A1/en

Links

Images

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/0482Interaction with lists of selectable items, e.g. menus
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Definitions

  • the present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for selecting a multimedia menu item.
  • the terminal can display a multimedia menu, and the multimedia menu can include a plurality of multimedia menu items.
  • the terminal marks the target multimedia menu item that the user has selected. For example, a hook may be marked in the upper right corner of the selected target multimedia menu item.
  • some examples of the present application provide a method for selecting a multimedia menu item, and the method is applied to a scenario in which a user selects a multimedia menu item in a multimedia playback application, and the method includes:
  • the first multimedia menu item Determining a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, the first multimedia menu item being at the first a multimedia menu item that is detected by the first specified operation detected in the display area;
  • the menu data in the first target menu item is filled to In the blank option slot of the second display area, the selection of the multimedia menu item is completed, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
  • Some examples of the present application provide a selection device for a multimedia menu item, the device comprising:
  • control display device comprising:
  • One or more memories are One or more memories
  • One or more processors among them,
  • the one or more memories storing one or more instruction modules configured to be executed by the one or more processors;
  • the one or more instruction modules include:
  • a display module configured to display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
  • a first determining module configured to determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, the first multimedia menu The item is a multimedia menu item that is acted upon by the first specified operation detected in the first display area;
  • a second determining module configured to determine a first target menu item according to the first multimedia menu item
  • a first filling module configured to: when the first drag operation for the first target menu item is detected and an end point coordinate of the first drag operation is located in the second display area, the first target menu is The menu data in the item is filled into the blank option slot of the second display area to complete selection of the multimedia menu item, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
  • Some examples of the present application provide a non-volatile computer readable storage medium, the storage medium comprising:
  • the one or more processors may be configured to: display a multimedia menu in the first display area, the multimedia menu including a plurality of multimedia menu items;
  • the first multimedia menu item Determining a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, the first multimedia menu item being at the first a multimedia menu item that is detected by the first specified operation detected in the display area;
  • the menu data in the first target menu item is filled to In the blank option slot of the second display area, the selection of the multimedia menu item is completed, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
  • FIG. 1 is a schematic structural diagram of a multimedia menu item selection system provided by an example of the present application.
  • FIG. 2 is a flowchart of a method for selecting a multimedia menu item provided by an example of the present application
  • FIG. 3 is a flow chart of another method for selecting a multimedia menu item provided by an example of the present application.
  • FIG. 4 is a schematic diagram of a display interface of a multimedia menu provided by an example of the present application.
  • FIG. 5 is a schematic diagram of an interface for sliding a first display area according to an example of the present application.
  • FIG. 6 is a schematic diagram of a mobile interface of a first target menu item provided by an example of the present application.
  • FIG. 7 is a schematic diagram of a display interface for selecting a multimedia menu item provided by an example of the present application.
  • FIG. 8 is a schematic diagram of an interface of sliding a second display area provided by an example of the present application.
  • FIG. 9 is a schematic structural diagram of a device for selecting a multimedia menu item according to an example of the present application.
  • FIG. 10 is a schematic structural diagram of a terminal provided by an example of the present application.
  • FIG. 1 is a schematic structural diagram of a selection system of a multimedia menu item provided by an example of the present application.
  • the system includes a terminal 01 and a server 02.
  • the terminal 01 and the server 02 are connected through a network, and the terminal 01 can be a device such as a smart phone or a tablet computer, and the terminal 01 is configured to display a multimedia menu and determine a multimedia menu item selected by the user from the multimedia menu.
  • the server 02 is used for the multimedia menu item selected by the user to recommend multimedia information for the user.
  • FIG. 2 is a flow chart of a method for selecting a multimedia menu item provided by an example of the present application. Referring to FIG. 2, the method is applied to a scenario in which a user selects a multimedia menu item in a multimedia playback application, and the method includes:
  • Step 201 Display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items.
  • Step 202 Determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, where the first multimedia menu item is detected in the first display area The multimedia menu item to which the first specified operation is applied.
  • Step 203 Determine a first target menu item according to the first multimedia menu item.
  • determining the first target menu item may include determining the first multimedia menu item as the first target menu item. In still other examples of the present application, determining the first target menu item may include: creating a first temporary menu item based on the first multimedia menu item, and using the first multimedia menu item from the first display area Delete, the first temporary menu item is determined as the first target menu item.
  • Step 204 When the first drag operation for the first target menu item is detected and the end point coordinate of the first drag operation is located in the second display area, the menu data in the first target menu item is filled to the second display. In the blank option slot of the area, the selection of the multimedia menu item is completed, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
  • the first display area and the second display area may be located at the same display interface. In other examples of the present application, the first display area and the second display area may be located at different display interfaces.
  • the terminal displays the multimedia menu in the first display area.
  • the first multimedia menu item may be determined from the plurality of multimedia menu items of the multimedia menu, after which the terminal may be based on the first multimedia menu item Determine the first target menu item.
  • the first drag operation for the first target menu item is detected and the end point coordinates of the first drag operation are located in the second display area
  • the first The menu data in the target menu item is filled into the blank option slot of the second display area. That is, the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, and the second display area is for displaying the selected multimedia menu item, thereby selecting the selected multimedia menu item and the unselected multimedia menu item.
  • the first temporary menu item is created based on the first multimedia menu item, including:
  • the menu data in the first multimedia menu item is filled into the first blank temporary option slot to obtain a first temporary menu item.
  • the method further includes:
  • a blank option slot is created in the second display area.
  • the method further includes:
  • the menu data in the first target menu item is filled into the blank option slot in the second display area.
  • the method further includes:
  • the menu data in the first target menu item is filled into the blank option in the second display area. In the slot.
  • the method further includes:
  • the second multimedia menu item is determined from the multimedia menu items displayed by the second display area, and the second multimedia menu item is detected in the second display area The multimedia menu item to which the second specified operation is applied;
  • the menu data in the second target menu item is filled into the blank option slot in the first display area.
  • creating a blank option slot in the first display area including:
  • a blank option slot is created in the sub-area in which the information type is located in the first display area.
  • the multimedia information includes video information and audio information, the audio information including a song.
  • FIG. 3 is a flowchart of a method for selecting a multimedia menu item provided by an example of the present application. Referring to Figure 3, the method includes:
  • Step 301 The terminal displays a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items.
  • the terminal may display the multimedia menu in the first display area.
  • the specific operation of the terminal displaying the multimedia menu in the first display area may The terminal sends an information acquisition request to the server.
  • the server may acquire the stored plurality of menu data, and send the acquired plurality of menu data to the terminal.
  • the terminal receives the plurality of menu data, the plurality of menu data is filled into the plurality of option slots of the first display area to obtain a plurality of multimedia menu items, thereby displaying the multimedia menu.
  • the terminal fills the plurality of menu data into the plurality of option slots of the first display area, and when the plurality of multimedia menu items are obtained, the terminal may create a plurality of blank option slots in the first display area, and the plurality of The menu data is respectively filled into the plurality of blank option slots to obtain a plurality of multimedia menu items.
  • the server may send the acquired plurality of menu data to the terminal, and may also send the information type to which the plurality of menu data belongs to The terminal. Thereafter, the terminal may display the multimedia menu in the first display area based on the information type to which the plurality of menu data belongs, thereby increasing the intuitiveness of the selection information type.
  • the terminal sends a message acquisition request to the server.
  • the server may obtain a plurality of stored menu data, if the plurality of menu data are singer 1, singer 2, singer 3, singer respectively. 4, singer 5 and singer 6, and genre 1, genre 2, genre 3, genre 4, genre 5 and genre 6, and singer 1, singer 2, singer 3, singer 4, singer 5 and singer 6 belong to the information type The singer, genre 1, genre 2, genre 3, genre 4, genre 5, and genre 6 belong to the genre.
  • the server transmits the plurality of menu data and the type of information to which the plurality of menu data belong to the terminal.
  • the terminal receives the plurality of menu data and the type of information to which the plurality of menu data belong, as shown in FIG.
  • the terminal may fill singer 1, singer 2, singer 3, singer 4, singer 5, and singer 6 Go to a plurality of blank option slots of the sub-area in which the singer is located in the first display area, and fill genre 1, genre 2, genre 3, genre 4, genre 5, and genre 6 into the sub-area where the genre is located in the first display area Multiple blank options in the slot.
  • the multiple multimedia menu items may not be simultaneously displayed in the first display area of the terminal, when the terminal is at the first When the sliding operation is detected in the display area, the terminal can move the plurality of multimedia menu items according to the sliding direction of the sliding operation, so that the user can view the plurality of multimedia menu items that are not selected, thereby accurately selecting the unselected multimedia.
  • Menu items are selected to reduce user misuse. For example, as shown in FIG. 4, the terminal may only display singer 1, singer 2, singer 3, genre 1, genre 2, and genre 3, and cannot simultaneously display singer 4, singer 5, singer 6, genre 4, genre 5, and genre. 6.
  • the terminal may move the plurality of multimedia menu items according to the sliding direction of the sliding operation, thereby displaying the singer 4, the singer 5, singer 6, genre 4, genre 5 and genre 6, as shown in Figure 5.
  • the terminal when receiving the multimedia information query instruction, the terminal may display the multimedia menu in the first display area.
  • the terminal may also display the multimedia menu at other occasions.
  • the terminal may open the first time.
  • the application is used, the multimedia menu is displayed in the first display area, and the example of the present application does not specifically limit the timing of displaying the multimedia menu.
  • the multimedia information query instruction is used to query the multimedia information, and the multimedia information query instruction may be triggered by the user by using a preset operation, which may be a click operation, a sliding operation, a voice operation, etc. No specific restrictions.
  • Step 302 When the terminal detects the first specified operation in the first display area, determining a first multimedia menu item from the plurality of multimedia menu items, the first multimedia menu item is the detected first designation The multimedia menu item that the operation is working on.
  • the first specified operation can be implemented by using a mouse, a keyboard, a stylus, a gesture, etc., that is, the first designated operation can be a mouse operation, a key operation, a stylus operation, a gesture operation, and the like. This application example does not specifically limit this.
  • the terminal when the first designated operation is a gesture operation, the terminal may be in the first display area The detecting a gesture operation, when the terminal detects a gesture operation in the first display area, the terminal may determine whether the detected gesture operation is the first specified gesture operation, and when the detected gesture operation is the first specified gesture operation Determining that the first specified operation is detected in the first display area.
  • the specific operation of the terminal determining whether the detected gesture operation is the first specified gesture operation may be: receiving an operation instruction generated by a gesture operation performed by the user in the first display area, and determining the detected gesture operation according to the operation instruction. Whether to match the first specified gesture operation; if the detected gesture operation matches the first specified gesture operation, determining that the detected gesture operation is the first specified gesture operation, if the detected gesture operation and the first specified gesture operation are not Matching, it is determined that the detected gesture operation is not the first specified gesture operation.
  • the first specified gesture operation may be set in advance, for example, the first specified gesture operation may be a long press operation, a double-click operation, or the like, which is not specifically limited in this application example.
  • the terminal determines that the detected gesture operation is not the first specified gesture operation, the terminal continues to detect the gesture operation in the first display area.
  • Step 303 The terminal creates a first temporary menu item based on the first multimedia menu item, and deletes the first multimedia menu item from the first display area, and determines the first temporary menu item as the first target menu. item.
  • the terminal creates a first blank temporary option slot, fills the menu data in the first multimedia menu item into the first blank temporary option slot, obtains the first temporary menu item, and sets the first multimedia menu.
  • the item is deleted from the first display area, and the first temporary menu item is determined as the first target menu item.
  • first blank temporary option slot may be located at a location where the first multimedia menu item is located.
  • first blank temporary option slot may also be located at other locations, which is not specifically limited in this application example.
  • the size of the first temporary menu item may be different from the size of the first multimedia menu item, for example, the size of the first temporary menu item may be larger than the size of the first multimedia menu item, thereby Temporary menu items and non-temporary menu items can be distinguished, and the user can be reminded whether the menu item has been moved.
  • the terminal may further set the first blank temporary option slot to be in a floating state, ensuring that the first temporary menu item is in a floating state, thereby ensuring that the first temporary menu item can be moved.
  • the first multimedia menu item is a multimedia menu item where the singer 2 is located
  • the terminal creates a first temporary menu item based on the first multimedia menu item
  • the first multimedia menu item is Remove from the first display area.
  • the terminal may further determine the first multimedia menu item as the first target menu item, thereby setting the first multimedia menu item to be in a suspended state, and ensuring the first multimedia menu. Items can be moved.
  • Step 304 When the terminal detects the first drag operation for the first target menu item and the end point coordinate of the first drag operation is located in the second display area, determining whether the center position of the first target menu item exceeds the first
  • the boundary line is a boundary between the first display area and the second display area, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
  • the terminal detects a first drag operation for the first target menu item, determining an end point coordinate of the first drag operation, when the end point coordinate of the first drag operation is located in the second display area, It is determined that the first target menu item is dragged to the second display area, after which the center position of the first target menu item is determined, and it is determined whether the center position of the first target menu item exceeds the first boundary line.
  • the first drag operation may be specifically: the gesture operation detected by the terminal in the first display area is a first specified gesture operation, determining that the first multimedia menu item is selected, and after determining the first target menu item Dragging the first target menu item to the second display area, the selected operation and the drag operation are consecutive actions, and the end point of the first drag operation is the end point of the drag track of the drag operation.
  • the end point of the drag trajectory may be a point instead of an area, and therefore, the terminal may directly determine the end point of the drag trajectory.
  • the end point of the first drag operation When the drag track of the drag operation is thicker, the end point of the drag track may be an area instead of a point, so the terminal may determine the midpoint of the area where the end point of the drag track is located as The end point of the first drag operation, of course, the point where the end point of the drag track is located may be determined as the end point of the first drag operation, which is not specifically limited in this application example.
  • the second display area is for displaying the selected multimedia menu item in the multimedia menu, that is, the unselected multimedia menu item and the selected one.
  • the multimedia menu items are displayed separately, so that the unselected multimedia menu items and the selected multimedia menu items can be clearly distinguished, which is not easy to cause confusion, thereby improving the selection efficiency of the multimedia menu items.
  • first display area and the second display area may be located on the same display interface, or may be located on different display interfaces.
  • the efficiency of selecting the multimedia menu item is improved, the first display area and the second display area.
  • the display area can be on the same display interface.
  • multimedia menu items displayed in the second display area may be displayed in the form of a turntable, and may of course be displayed in other forms.
  • the terminal may further display a prompt mark below the first display area and above the second display area, for example, as shown in FIG. 4 .
  • the prompt mark is used to prompt the user to move the multimedia menu item in the first display area into the second display area.
  • the terminal can also determine whether the center position of the first target menu item exceeds The first line.
  • the first display area and the second display area may be located at different display interfaces.
  • the first display area is located at the first display interface; and the second display area is located at the second display interface.
  • the terminal may also display a prompt mark below the first display area, that is, below the first display interface.
  • the prompt mark can also be as shown in FIG.
  • the terminal when the terminal detects an operation of the user clicking the prompt mark, the terminal will switch from the first display interface to the second display interface. At this time, the terminal will display a menu item located in the second display area of the second display interface.
  • the terminal when the terminal detects a first drag operation from the user for the first target menu item and a certain coordinate of the movement trajectory of the first drag operation is located in the prompt area near the prompt mark, the terminal will The first display interface is switched to the second display interface. At this time, it is indicated that the user has dragged the first target menu item to the second display area by the first drag operation, so that the menu data in the first target menu item can be filled into the blank option slot of the second display area. , complete the selection of multimedia menu items.
  • Step 305 When the center position of the first target menu item exceeds the first boundary line, the terminal fills the menu data in the first target menu item into the blank option slot of the second display area to complete the selection of the multimedia menu item.
  • the terminal fills the menu data in the first target menu item to the blank option slot of the second display area, and the terminal may further determine whether the blank option slot is included in the second display area, if the second display area does not Including the blank option slot, the terminal can create a blank option slot in the second display area.
  • the terminal needs to control the number of multimedia menu items selected by the user, so the terminal fills the menu data in the first target menu item to the blank of the second display area. Before the option slot, it is also determined whether the number of multimedia menu items displayed in the second display area reaches a preset number, and the number of multimedia menu items displayed in the second display area does not reach a preset number. When the first item The menu data in the menu item is filled into the blank option slot in the second display area.
  • the terminal may also delete the first target menu item.
  • the preset number may be set in advance.
  • the preset number may be 5, 8, 10, etc., which is not specifically limited in this application example.
  • the terminal may first perform an operation of determining whether the blank option slot is included in the second display area, and then Performing an operation of determining whether the number of the multimedia menu items displayed in the second display area reaches a preset number.
  • a preset number a preset number
  • it may also be performed to determine whether the number of the multimedia menu items displayed in the second display area reaches the preset.
  • the operation of determining whether the blank option slot is included in the second display area is performed.
  • the sequence of the present application does not specifically limit the sequence.
  • the terminal when the terminal fills the menu data in the first target menu item to the blank option slot of the second display area, when the first target menu item is moved, the terminal may further determine the first target menu item. Whether the center position exceeds the second boundary line, and the second boundary line is a boundary between the blank option slot to be inserted in the first target menu item and the first adjacent option slot, and the first adjacent option slot is adjacent to the blank option slot Option slot.
  • the terminal may exchange the blank option slot with the first adjacent option slot to remind the user of the location where the first target menu item is about to be inserted.
  • the selected plurality of multimedia menu items may not be simultaneously displayed in the second display area of the terminal, when the terminal When the sliding operation is detected in the second display area, the terminal may move the plurality of multimedia menu items according to the sliding direction of the sliding operation, thereby causing the user to view the selected plurality of multimedia menu items.
  • the user can separately operate the multimedia menu items in the first display area and the second display area, so that the sliding operation in one display area does not affect The display of another display area is flexible.
  • the terminal restores the first multimedia menu item based on the menu data in the first target menu item.
  • the terminal may fill the menu data in the first target menu item into the blank option slot of the second display area, and delete The first target menu item.
  • the terminal checks the sliding operation in the second display area and the sliding direction of the sliding operation is from right to left, as shown in FIG. 8, the terminal can move the plurality according to the sliding direction of the sliding operation.
  • a multimedia menu item that allows the user to view a plurality of multimedia menu items that have been selected.
  • the terminal may further acquire menu data of the multimedia menu item displayed in the second display area, and send the acquired menu data to the server.
  • the server receives the menu data
  • the recommendation information is determined based on the received menu data, and the determined recommendation information is sent to the terminal for multimedia information recommendation.
  • the method for determining the recommendation information by the server based on the received menu data may refer to related technologies, which is not described in detail in this application example.
  • the terminal can select not only the multimedia menu item from the first display area but also the selected multimedia menu item in the second display area by using the method of steps 301-305 described above, of course, The terminal can also make changes to the multimedia menu items displayed in the second display area.
  • the operation of changing the multimedia menu item displayed in the second display area may be: when the terminal detects the second specified operation in the second display area, determining the second from the multimedia menu items displayed in the second display area a multimedia menu item, the second multimedia menu item may be a multimedia menu item that is detected by the second specified operation detected in the second display area, and the second multimedia menu item is determined as the second target menu item; Or, based on the second multimedia menu item, creating a second temporary menu item, and deleting the second multimedia menu item from the second display area, and determining the second temporary menu item as the second target menu item;
  • the terminal detects a second drag operation for the second target menu item and the end point of the second drag operation When the target is located in the first display area, a blank option slot is created in the first display area, and the menu data in the second target menu item is filled into the blank option slot in the first display area.
  • the second drag operation may be specifically: the gesture operation detected by the terminal in the second display area is a second specified gesture operation, determining that the second multimedia menu item is selected, and after determining the second target menu item Dragging the second target menu item to the first display area, the selected operation and the drag operation are consecutive actions, and the end point of the second drag operation is the end point of the drag track of the drag operation.
  • the operation of creating the second temporary menu item based on the second multimedia menu item may be: the terminal creates a second blank temporary option slot, and populates the menu data in the second multimedia menu item to the second In the blank temporary option slot, the second temporary menu item is obtained.
  • the terminal may determine the type of information to which the second target menu item belongs, and A blank option slot is created in the sub-area in which the information type is located in a display area.
  • the terminal determines the information type to which the second target menu item belongs, the information type of the menu data in the second target menu item may be determined, and the determined information type is determined as the information type to which the second target menu item belongs.
  • the second specified operation can also be implemented by using a mouse, a keyboard, a stylus, a gesture, etc., that is, the second specified operation can be a mouse operation, a key operation, a stylus operation, a gesture operation, and the like. This application example does not specifically limit this.
  • the terminal may detect a gesture operation in the second display area when the second specified operation is a gesture operation.
  • the terminal may determine whether the detected gesture operation is For the second specified gesture operation, when the detected gesture operation is the second specified gesture operation, it is determined that the second specified operation is detected in the second display area.
  • the second specified gesture operation may also be set in advance, and the second specified gesture operation may be the same as or different from the first specified gesture operation.
  • Body definition may also be set in advance, and the second specified gesture operation may be the same as or different from the first specified gesture operation.
  • the method for determining whether the gesture operation detected in the second display area is the second specified gesture operation is the same as or similar to the method for determining whether the first specified gesture operation is performed.
  • the second blank temporary option slot may be located at a location where the second multimedia menu item is located.
  • the second blank temporary option slot may also be located at other locations, which is not specifically limited in this application example.
  • the operation of the terminal filling the menu data in the second target menu item into the blank option slot in the first display area may be: when the terminal detects the second drag operation for the second target menu item and the second When the end point coordinate of the drag operation is located in the first display area, it is determined whether the center position of the second target menu item exceeds the first boundary line, and when the center position of the second target menu item exceeds the first boundary line, the terminal will be the second target The menu data in the menu item is filled into the blank option slot of the first display area.
  • the terminal determines that the detected gesture operation is not the second specified gesture operation, the terminal continues to detect the gesture operation in the second display area.
  • the terminal restores the second multimedia menu item based on the menu data in the second target menu item.
  • the operation of the terminal determining whether the second target menu item is moved to the first display area is the same as or similar to the operation of determining whether the first target menu item is moved to the second display area. Do not elaborate.
  • the terminal may further set the second blank temporary option slot to be in a floating state, ensuring that the second temporary menu item is in a floating state, thereby ensuring that the second temporary menu item is moved.
  • the terminal may also delete the second target menu item.
  • the terminal may also determine whether the center position of the second target menu item exceeds the third boundary, and the third boundary is a blank option to be inserted in the second target menu item.
  • a boundary between the slot and the second adjacent option slot, the second adjacent option slot being an option slot adjacent to the blank option slot.
  • the terminal may exchange the blank option slot with the second adjacent option slot to remind the user of the location where the second target menu item is about to be inserted.
  • the terminal does nothing.
  • the terminal when the terminal restores the first multimedia menu item and the second multimedia menu item, and fills the menu data into the blank option slot, the terminal may be implemented in an animation manner, and specific For the implementation manner, reference may be made to related technologies, and the examples of the present application do not elaborate on this.
  • the multimedia menu may be a menu for performing multimedia information recommendation, and the multimedia information includes video information and audio information, and the audio information may include songs and the like.
  • the multimedia menu may also be a menu for performing other multimedia, such as e-book information, etc., which is not specifically limited in this application example.
  • the terminal displays the multimedia menu in the first display area.
  • the first multimedia menu item may be determined from the plurality of multimedia menu items of the multimedia menu, after which the terminal may be based on the first multimedia menu item Determining a first target menu item, populating menu data in the first target menu item when a first drag operation for the first target menu item is detected and an end point coordinate of the first drag operation is located in the second display area Go to the blank option slot in the second display area. That is, the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, and the second display area is for displaying the selected multimedia menu item, thereby selecting the selected multimedia menu item and the unselected multimedia menu item.
  • the terminal is in the first display area
  • the unselected multimedia menu items are displayed in the domain, which improves the operation efficiency of multiple selections at the same time when the user quickly browses the multimedia menu items, and simplifies the operation of multiple selection.
  • FIG. 9 is a schematic structural diagram of a device for selecting a multimedia menu item according to an example of the present application.
  • the device includes:
  • the display module 901 is configured to display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
  • the first determining module 902 is configured to determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, where the first multimedia menu item is a multimedia menu item acting on the first specified operation detected in the display area;
  • a second determining module 903 configured to determine a first target menu item according to the first multimedia menu item
  • the second determining module 903 may determine the first multimedia menu item as the first target menu item; or create a first temporary menu item based on the first multimedia menu item, and the first multimedia menu The item is deleted from the first display area, and the first temporary menu item is determined as the first target menu item;
  • the first filling module 904 is configured to: when the first drag operation for the first target menu item is detected and the end point coordinate of the first drag operation is located in the second display area, the menu data in the first target menu item is The blank option slot is filled into the second display area to complete the selection of the multimedia menu item, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
  • the first display area and the second display area may be located on the same display interface or may be located on different display interfaces.
  • the second determining module 903 includes:
  • a first creating unit configured to create a first blank temporary option slot
  • a deleting unit configured to delete the first multimedia menu item from the first display area
  • a determining unit configured to determine the first temporary menu item as the first target menu item.
  • the device further includes:
  • a first determining module configured to determine whether a blank option slot is included in the second display area
  • the first creating module is configured to create a blank option slot in the second display area if the blank option slot is not included in the second display area.
  • the device further includes:
  • a second determining module configured to determine whether a center position of the first target menu item exceeds a first boundary line, where the first boundary line is a boundary between the first display area and the second display area;
  • the second filling module is configured to fill the menu data in the first target menu item into the blank option slot in the second display area when the center position of the first target menu item exceeds the first boundary line.
  • the device further includes:
  • a third determining module configured to determine whether the number of multimedia menu items displayed in the second display area reaches a preset number
  • a third filling module configured to: when the number of the multimedia menu items that have been displayed in the second display area does not reach the preset number, fill the menu data in the first target menu item to the blank option in the second display area In the slot.
  • the device further includes:
  • a third determining module configured to: when the second specified operation is detected in the second display area, determine a second multimedia menu item from the multimedia menu item displayed by the second display area, where the second multimedia menu item is a menu item acting on the second specified operation detected in the second display area;
  • a fourth determining module configured to determine the second multimedia menu item as the second target menu item; Or, based on the second multimedia menu item, creating a second temporary menu item, and deleting the second multimedia menu item from the second display area, and determining the second temporary menu item as the second target menu item;
  • a second creating module configured to: when a second drag operation for the second target menu item is detected and an end point coordinate of the second drag operation is located in the first display area, creating a blank option slot in the first display area;
  • a fourth filling module configured to fill the menu data in the second target menu item into the blank option slot in the first display area.
  • the fourth creating module includes:
  • a determining unit configured to determine a type of information to which the second target menu item belongs
  • a second creating unit configured to create a blank option slot in the sub-area where the information type is located in the first display area.
  • the multimedia information includes video information and audio information, the audio information including a song.
  • the terminal displays the multimedia menu in the first display area.
  • the first multimedia menu item may be determined from the plurality of multimedia menu items of the multimedia menu, after which the terminal may be based on the first multimedia menu item Determine the first target menu item.
  • the menu data in the first target menu item is filled to the blank of the second display area In the option slot. That is, the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, and the second display area is for displaying the selected multimedia menu item, thereby selecting the selected multimedia menu item and the unselected multimedia menu item.
  • the selection device of the multimedia menu item provided by the above example is in multimedia When selecting a menu item, only the division of each functional module described above is exemplified. In actual application, the above function assignment can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules, Complete all or part of the functions described above.
  • the selection device of the multimedia menu item provided by the above example belongs to the same concept as the example of the selection method of the multimedia menu item. For the specific implementation process, refer to the method example, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of a terminal provided by an example of the present application.
  • the terminal 1000 may include a communication unit 1010, a memory 1020 including one or more computer readable storage media, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, and a WIFI (Wireless Fidelity).
  • the module 1070 includes a processor 1080 having one or more processing cores, and a power supply 1090 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 10 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements. among them:
  • the communication unit 1010 can be used for transmitting and receiving information and receiving and transmitting signals during a call.
  • the communication unit 1010 can be an RF (Radio Frequency) circuit, a router, a modem, or the like.
  • RF circuits as communication units include, but are not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a LNA (Low Noise Amplifier, low).
  • SIM Subscriber Identity Module
  • the communication unit 1010 can also communicate with the network and other devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service) )Wait.
  • the memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing by running software programs and modules stored in the memory 1020.
  • the memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1000 (such as audio data, phone book, etc.) and the like.
  • memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1020 can also include a memory controller to provide access to memory 1020 by processor 1080 and input unit 1030.
  • Input unit 1030 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 1030 can include touch-sensitive surface 1031 and other input devices 1032.
  • Touch-sensitive surface 1031 also known as a touch display or touchpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any touch-sensitive surface 1031 or The operation near the touch-sensitive surface 1031) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 1031 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1080 is provided and can receive commands from the processor 1080 and execute them.
  • the touch sensitive surface 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 1030 can also include other input devices 1032.
  • its His input device 1032 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 1040 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 1000, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 1040 may include a display panel 1041.
  • the display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 1031 can cover the display panel 1041, and when the touch-sensitive surface 1031 detects a touch operation thereon or nearby, it is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event The type provides a corresponding visual output on display panel 1041.
  • the touch-sensitive surface 1031 and the display panel 1041 are implemented as two separate components to implement input and input functions, in some examples, the touch-sensitive surface 1031 can be integrated with the display panel 1041 to implement input and Output function.
  • Terminal 1000 can also include at least one type of sensor 1050, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 and/or the backlight when the terminal 1000 moves to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal 1000 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
  • Audio circuit 1060, speaker 1061, and microphone 1062 can provide an audio interface between the user and terminal 1000.
  • the audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060.
  • After receiving The audio data is converted to audio data, and then processed by the audio data output processor 1080, sent to, for example, another terminal via the communication unit 1010, or the audio data is output to the memory 1020 for further processing.
  • the audio circuit 1060 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1000.
  • the terminal may be configured with a wireless communication unit 1070, which may be a WIFI module.
  • WIFI is a short-range wireless transmission technology.
  • the terminal 1000 can help a user to send and receive emails, browse web pages, and access streaming media through the wireless communication unit 1070, which provides wireless broadband Internet access for users.
  • the wireless communication unit 1070 is shown in the drawings, it can be understood that it does not belong to the essential configuration of the terminal 1000, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 1080 is the control center of the terminal 1000, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and recalling data stored in the memory 1020, The various functions and processing data of the terminal 1000 are performed to perform overall monitoring of the mobile phone.
  • the processor 1080 may include one or more processing cores; preferably, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 10100.
  • the terminal 1000 also includes a power source 1090 (such as a battery) for powering various components.
  • the power source can be logically coupled to the processor 1080 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 1060 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
  • the terminal 1000 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the above memory 1020 will store one Or more than one program, and configured to be executed by one or more processors 1080.
  • the one or more programs described above may include the following instruction modules:
  • the display module 901 is configured to display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
  • the first determining module 902 is configured to determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, where the first multimedia menu item is a multimedia menu item acting on the first specified operation detected in the display area;
  • a second determining module 903 configured to determine a first target menu item according to the first multimedia menu item
  • the first filling module 904 is configured to: when the first drag operation for the first target menu item is detected and the end point coordinate of the first drag operation is located in the second display area, the menu data in the first target menu item is The blank option slot is filled into the second display area to complete the selection of the multimedia menu item, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
  • Each of the modules in the above examples may also be included in the memory 1020 as an instruction module.
  • the terminal further includes one or more programs, the one or more programs being stored in the memory and configured to be executed by one or more processors, the one or more programs including
  • the instructions for performing the selection method of the multimedia menu item as described in the embodiment of the present invention include:
  • the multimedia menu including a plurality of multimedia menu items
  • the menu data in the first target menu item is filled into the blank option slot of the second display area to complete the selection of the multimedia menu item, and the second display area is used to display the multimedia menu.
  • the multimedia menu item that has been selected.
  • the first temporary menu item is created based on the first multimedia menu item, including:
  • the menu data in the first multimedia menu item is filled into the first blank temporary option slot to obtain a first temporary menu item.
  • the method further includes:
  • a blank option slot is created in the second display area.
  • the method further includes:
  • the menu data in the first target menu item is filled into the blank option slot in the second display area.
  • the method further includes:
  • the menu data in the first target menu item is filled into the blank option slot in the second display area.
  • the method instruction further includes:
  • the second multimedia menu item is determined from the multimedia menu items displayed by the second display area, and the second multimedia menu item is detected in the second display area The multimedia menu item to which the second specified operation is applied;
  • the menu data in the second target menu item is filled into the blank option slot in the first display area.
  • creating a blank option slot in the first display area including:
  • a blank option slot is created in the sub-area in which the information type is located in the first display area.
  • the multimedia information includes video information and audio information, the audio information including a song.
  • the terminal displays the multimedia menu in the first display area.
  • the first multimedia menu item may be determined from the plurality of multimedia menu items of the multimedia menu, after which the terminal may be based on the first multimedia menu item Determine the first target menu item.
  • the menu data in the first target menu item is filled to the blank of the second display area In the option slot. That is, the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, and the second display area is for displaying the selected multimedia menu item, thereby selecting the selected multimedia menu item and the unselected multimedia menu item.
  • the program may be stored in a computer readable storage medium, which may be a read only memory, a magnetic disk or an optical disk or the like.
  • the computer readable storage medium described above may be a non-transitory computer readable storage medium.

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 present invention relates to the technical field of terminals. Disclosed are a selection method and a device for a multimedia menu item. The method comprises: displaying a multimedia menu in a first display region, wherein the multimedia menu comprises a plurality of multimedia menu items; determining, upon detecting a first specified operation in the first display region, a first multimedia menu item from the plurality of multimedia menu items, wherein the first multimedia menu item is a multimedia menu item acted upon by the first specified operation detected in the first display region; determining, on the basis of the first multimedia menu item, a first target menu item; nd filling, when detecting a first drag-and-drop operation specific to the first target menu item and an end-point coordinate of the first drag-and-drop operation is located in a second display region, menu data of the first target menu item into a blank option field of the second display region so as to complete a selection of a multimedia menu item.

Description

多媒体菜单项的选择方法、装置及存储介质Method, device and storage medium for selecting multimedia menu items
本申请要求于2016年01月29日提交中国专利局、申请号为201610064517.6、发明名称为“多媒体菜单项的选择方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610064517.6, the entire disclosure of which is incorporated herein by reference. in.
技术领域Technical field
本申请涉及终端技术领域,特别涉及一种多媒体菜单项的选择方法及装置。The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for selecting a multimedia menu item.
背景background
随着终端技术的快速发展,终端上能够安装的应用程序越来越多,比如视频播放器、音频播放器等等,且终端可以通过这些应用程序可以为用户提供多媒体信息。然后由于用户的需求已经逐渐从大众化向个性化发展,因此,为了针对不同的用户推荐不同的多媒体信息,需要从用于确定多媒体信息的多媒体菜单项中选择用户感兴趣的多媒体菜单项,比如,当该应用程序为音频播放器且用户选择的多媒体菜单项“那英”时,该音频播放器可以向该用户推荐一些“那英”的歌曲。With the rapid development of terminal technologies, more and more applications can be installed on the terminal, such as video players, audio players, etc., and terminals can provide multimedia information to users through these applications. Then, as the user's needs have gradually evolved from popularization to personalization, in order to recommend different multimedia information for different users, it is necessary to select multimedia menu items that are of interest to the user from the multimedia menu items for determining multimedia information, for example, When the application is an audio player and the user selects the multimedia menu item "Na Ying", the audio player can recommend some "Na Ying" songs to the user.
目前,当进行多媒体菜单项选择时,该终端可以显示一个多媒体菜单,该多媒体菜单中可以包括多个多媒体菜单项。当用户从该多媒体菜单中选择目标多媒体菜单项时,该终端会对该用户已选择的目标多媒体菜单项进行标记,比如,可以在已选择的目标多媒体菜单项的右上角标记一个勾。Currently, when multimedia menu item selection is made, the terminal can display a multimedia menu, and the multimedia menu can include a plurality of multimedia menu items. When the user selects the target multimedia menu item from the multimedia menu, the terminal marks the target multimedia menu item that the user has selected. For example, a hook may be marked in the upper right corner of the selected target multimedia menu item.
由于对已选择的目标多媒体菜单项进行标记的方法无法明显地区分未选择多媒体菜单项和已选择多媒体菜单项,容易造成混淆,降低选择多媒体菜单项的效率。 Since the method of marking the selected target multimedia menu item cannot clearly distinguish between the unselected multimedia menu item and the selected multimedia menu item, it is easy to cause confusion and reduce the efficiency of selecting the multimedia menu item.
技术内容Technical content
为了解决现有技术的问题,本申请的一些实例,实例提供了一种多媒体菜单项的选择方法,所述方法应用于多媒体播放应用中用户选择多媒体菜单项的场景,所述方法包括:In order to solve the problem of the prior art, some examples of the present application provide a method for selecting a multimedia menu item, and the method is applied to a scenario in which a user selects a multimedia menu item in a multimedia playback application, and the method includes:
在第一显示区域中显示多媒体菜单,所述多媒体菜单中包括多个多媒体菜单项;Displaying a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
当在所述第一显示区域中检测到第一指定操作时,从所述多个多媒体菜单项中确定第一多媒体菜单项,所述第一多媒体菜单项为在所述第一显示区域中检测到的所述第一指定操作所作用的多媒体菜单项;Determining a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, the first multimedia menu item being at the first a multimedia menu item that is detected by the first specified operation detected in the display area;
根据所述第一多媒体菜单项确定为第一目标菜单项;Determining, according to the first multimedia menu item, a first target menu item;
当检测到针对所述第一目标菜单项的第一拖拽操作且所述第一拖拽操作的结束点坐标位于第二显示区域时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,所述第二显示区域用于显示所述多媒体菜单中已选择的多媒体菜单项。When the first drag operation for the first target menu item is detected and the end point coordinates of the first drag operation are located in the second display area, the menu data in the first target menu item is filled to In the blank option slot of the second display area, the selection of the multimedia menu item is completed, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
本申请的一些实例,提供了一种多媒体菜单项的选择装置,所述装置包括:Some examples of the present application provide a selection device for a multimedia menu item, the device comprising:
本申请的一些实例,提供一种控件显示装置,所述装置包括:Some examples of the present application provide a control display device, the device comprising:
一个或一个以上存储器;One or more memories;
一个或一个以上处理器;其中,One or more processors; among them,
所述一个或一个以上存储器存储有一个或者一个以上指令模块,经配置由所述一个或者一个以上处理器执行;其中,The one or more memories storing one or more instruction modules configured to be executed by the one or more processors; wherein
所述一个或者一个以上指令模块包括:The one or more instruction modules include:
显示模块,用于在第一显示区域中显示多媒体菜单,所述多媒体菜单中包括多个多媒体菜单项; a display module, configured to display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
第一确定模块,用于当在所述第一显示区域中检测到第一指定操作时,从所述多个多媒体菜单项中确定第一多媒体菜单项,所述第一多媒体菜单项为在所述第一显示区域中检测到的所述第一指定操作所作用的多媒体菜单项;a first determining module, configured to determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, the first multimedia menu The item is a multimedia menu item that is acted upon by the first specified operation detected in the first display area;
第二确定模块,用于根据所述第一多媒体菜单项确定第一目标菜单项;a second determining module, configured to determine a first target menu item according to the first multimedia menu item;
第一填充模块,用于当检测到针对所述第一目标菜单项的第一拖拽操作且所述第一拖拽操作的结束点坐标位于第二显示区域时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,所述第二显示区域用于显示所述多媒体菜单中已选择的多媒体菜单项。a first filling module, configured to: when the first drag operation for the first target menu item is detected and an end point coordinate of the first drag operation is located in the second display area, the first target menu is The menu data in the item is filled into the blank option slot of the second display area to complete selection of the multimedia menu item, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
本申请的一些实例,提供一种非异失性计算机可读存储介质,所述存储介质包括:Some examples of the present application provide a non-volatile computer readable storage medium, the storage medium comprising:
存储有计算机可读指令,可以使一个或者一个以上处理器执行以下处理:在第一显示区域中显示多媒体菜单,所述多媒体菜单中包括多个多媒体菜单项;Storing computer readable instructions, the one or more processors may be configured to: display a multimedia menu in the first display area, the multimedia menu including a plurality of multimedia menu items;
当在所述第一显示区域中检测到第一指定操作时,从所述多个多媒体菜单项中确定第一多媒体菜单项,所述第一多媒体菜单项为在所述第一显示区域中检测到的所述第一指定操作所作用的多媒体菜单项;Determining a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, the first multimedia menu item being at the first a multimedia menu item that is detected by the first specified operation detected in the display area;
根据所述第一多媒体菜单项确定第一目标菜单项;Determining a first target menu item according to the first multimedia menu item;
当检测到针对所述第一目标菜单项的第一拖拽操作且所述第一拖拽操作的结束点坐标位于第二显示区域时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,所述第二显示区域用于显示所述多媒体菜单中已选择的多媒体菜单项。 When the first drag operation for the first target menu item is detected and the end point coordinates of the first drag operation are located in the second display area, the menu data in the first target menu item is filled to In the blank option slot of the second display area, the selection of the multimedia menu item is completed, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
附图简要说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实例中的技术方案,下面将对实例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the examples of the present application, the drawings used in the description of the examples will be briefly described below. Obviously, the drawings in the following description are only some examples of the present application, For the ordinary technicians, other drawings can be obtained based on these drawings without any creative work.
图1是本申请实例供的一种多媒体菜单项的选择系统的架构示意图;1 is a schematic structural diagram of a multimedia menu item selection system provided by an example of the present application;
图2是本申请实例提供的一种多媒体菜单项的选择方法流程图;2 is a flowchart of a method for selecting a multimedia menu item provided by an example of the present application;
图3是本申请实例提供的另一种多媒体菜单项的选择方法流程图;3 is a flow chart of another method for selecting a multimedia menu item provided by an example of the present application;
图4是本申请实例提供的一种多媒体菜单的显示界面示意图;4 is a schematic diagram of a display interface of a multimedia menu provided by an example of the present application;
图5是本申请实例提供的一种滑动第一显示区域的界面示意图;FIG. 5 is a schematic diagram of an interface for sliding a first display area according to an example of the present application; FIG.
图6是本申请实例提供的一种第一目标菜单项的移动界面示意图;6 is a schematic diagram of a mobile interface of a first target menu item provided by an example of the present application;
图7是本申请实例提供的一种选择多媒体菜单项的显示界面示意图;7 is a schematic diagram of a display interface for selecting a multimedia menu item provided by an example of the present application;
图8是本申请实例提供的一种滑动第二显示区域的界面示意图;8 is a schematic diagram of an interface of sliding a second display area provided by an example of the present application;
图9是本申请实例提供的一种多媒体菜单项的选择装置的结构示意图;以及FIG. 9 is a schematic structural diagram of a device for selecting a multimedia menu item according to an example of the present application;
图10是本申请实例提供的一种终端的结构示意图。FIG. 10 is a schematic structural diagram of a terminal provided by an example of the present application.
实施方式Implementation
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
图1是本申请实例提供的一种多媒体菜单项的选择系统的架构示意图。参见图1,该系统包括终端01和服务器02。该终端01和服务器02之间通过网络连接,该终端01可以为智能手机、平板电脑等设备,且该终端01用于显示多媒体菜单,并确定用户从该多媒体菜单中选择的多媒体菜单项,该服务器02用于用户选择的多媒体菜单项为该用户推荐多媒体信息。 FIG. 1 is a schematic structural diagram of a selection system of a multimedia menu item provided by an example of the present application. Referring to FIG. 1, the system includes a terminal 01 and a server 02. The terminal 01 and the server 02 are connected through a network, and the terminal 01 can be a device such as a smart phone or a tablet computer, and the terminal 01 is configured to display a multimedia menu and determine a multimedia menu item selected by the user from the multimedia menu. The server 02 is used for the multimedia menu item selected by the user to recommend multimedia information for the user.
图2是本申请实例提供的一种多媒体菜单项的选择方法流程图。参见图2,该方法应用于多媒体播放应用中用户选择多媒体菜单项的场景,该方法包括:2 is a flow chart of a method for selecting a multimedia menu item provided by an example of the present application. Referring to FIG. 2, the method is applied to a scenario in which a user selects a multimedia menu item in a multimedia playback application, and the method includes:
步骤201:在第一显示区域中显示多媒体菜单,该多媒体菜单中包括多个多媒体菜单项。Step 201: Display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items.
步骤202:当在第一显示区域中检测到第一指定操作时,从该多个多媒体菜单项中确定第一多媒体菜单项,第一多媒体菜单项为在第一显示区域中检测到的第一指定操作所作用的多媒体菜单项。Step 202: Determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, where the first multimedia menu item is detected in the first display area The multimedia menu item to which the first specified operation is applied.
步骤203:根据第一多媒体菜单项确定第一目标菜单项。Step 203: Determine a first target menu item according to the first multimedia menu item.
在本申请的一些实例中,上述确定第一目标菜单项可以包括:将第一多媒体菜单项确定为第一目标菜单项。在本申请的另一些实例中,上述确定第一目标菜单项可以包括:基于第一多媒体菜单项,创建第一临时菜单项,并将第一多媒体菜单项从第一显示区域中删除,将第一临时菜单项确定为第一目标菜单项。In some examples of the present application, determining the first target menu item may include determining the first multimedia menu item as the first target menu item. In still other examples of the present application, determining the first target menu item may include: creating a first temporary menu item based on the first multimedia menu item, and using the first multimedia menu item from the first display area Delete, the first temporary menu item is determined as the first target menu item.
步骤204:当检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结束点坐标位于第二显示区域时,将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,第二显示区域用于显示该多媒体菜单中已选择的多媒体菜单项。Step 204: When the first drag operation for the first target menu item is detected and the end point coordinate of the first drag operation is located in the second display area, the menu data in the first target menu item is filled to the second display. In the blank option slot of the area, the selection of the multimedia menu item is completed, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
在本申请的一些实例中,上述第一显示区域和第二显示区域可以位于同一显示界面。在本申请的另一些实例中,上述第一显示区域和第二显示区域可以位于不同的显示界面。In some examples of the present application, the first display area and the second display area may be located at the same display interface. In other examples of the present application, the first display area and the second display area may be located at different display interfaces.
在本申请实例中,终端在第一显示区域中显示该多媒体菜单。当终端在第一显示区域中检测到第一指定操作时,可以从该多媒体菜单的多个多媒体菜单项中确定第一多媒体菜单项,之后,该终端可以基于第一多媒体菜单项确定第一目标菜单项。当检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结束点坐标位于第二显示区域时,将第一 目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中。也即是,第一显示区域用于显示多媒体菜单中未选择的多媒体菜单项,第二显示区域用于显示已选择的多媒体菜单项,从而将已选择的多媒体菜单项和未选择的多媒体菜单项分开显示,可以较为明显地进行区分,不容易造成混淆,提高了选择多媒体菜单项的效率。In the example of the present application, the terminal displays the multimedia menu in the first display area. When the terminal detects the first specified operation in the first display area, the first multimedia menu item may be determined from the plurality of multimedia menu items of the multimedia menu, after which the terminal may be based on the first multimedia menu item Determine the first target menu item. When the first drag operation for the first target menu item is detected and the end point coordinates of the first drag operation are located in the second display area, the first The menu data in the target menu item is filled into the blank option slot of the second display area. That is, the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, and the second display area is for displaying the selected multimedia menu item, thereby selecting the selected multimedia menu item and the unselected multimedia menu item. Separate display, can be more clearly differentiated, not easy to cause confusion, improve the efficiency of selecting multimedia menu items.
可选地,基于第一多媒体菜单项,创建第一临时菜单项,包括:Optionally, the first temporary menu item is created based on the first multimedia menu item, including:
创建第一空白临时选项槽;Create a first blank temporary option slot;
将第一多媒体菜单项中的菜单数据填充到第一空白临时选项槽中,得到第一临时菜单项。The menu data in the first multimedia menu item is filled into the first blank temporary option slot to obtain a first temporary menu item.
可选地,将第一多媒体菜单项中的菜单数据填充到第二显示区域中的空白选项槽中之前,还包括:Optionally, before the menu data in the first multimedia menu item is filled into the blank option slot in the second display area, the method further includes:
判断第二显示区域中是否包括空白选项槽;Determining whether a blank option slot is included in the second display area;
如果第二显示区域中不包括空白选项槽,则在第二显示区域中创建空白选项槽。If a blank option slot is not included in the second display area, a blank option slot is created in the second display area.
可选地,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中之前,还包括:Optionally, before the menu data in the first target menu item is filled into the blank option slot in the second display area, the method further includes:
判断第一目标菜单项的中心位置是否超过第一界线,第一界线为第一显示区域与第二显示区域之间的界线;Determining whether a center position of the first target menu item exceeds a first boundary line, where the first boundary line is a boundary between the first display area and the second display area;
当第一目标菜单项的中心位置超过第一界线时,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中。When the center position of the first target menu item exceeds the first boundary line, the menu data in the first target menu item is filled into the blank option slot in the second display area.
可选地,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中之前,还包括:Optionally, before the menu data in the first target menu item is filled into the blank option slot in the second display area, the method further includes:
判断第二显示区域中已显示的多媒体菜单项的个数是否达到预设个数;Determining whether the number of multimedia menu items displayed in the second display area reaches a preset number;
当第二显示区域中已显示的多媒体菜单项的个数未达到预设个数时,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项 槽中。When the number of multimedia menu items displayed in the second display area does not reach the preset number, the menu data in the first target menu item is filled into the blank option in the second display area. In the slot.
可选地,该方法还包括:Optionally, the method further includes:
当在第二显示区域中检测到第二指定操作时,从第二显示区域显示的多媒体菜单项中确定第二多媒体菜单项,第二多媒体菜单项为在第二显示区域中检测到的第二指定操作所作用的多媒体菜单项;When the second specifying operation is detected in the second display area, the second multimedia menu item is determined from the multimedia menu items displayed by the second display area, and the second multimedia menu item is detected in the second display area The multimedia menu item to which the second specified operation is applied;
将第二多媒体菜单项确定为第二目标菜单项;或者,基于第二多媒体菜单项,创建第二临时菜单项,并将第二多媒体菜单项从第二显示区域中删除,将第二临时菜单项确定为第二目标菜单项;Determining the second multimedia menu item as the second target menu item; or, based on the second multimedia menu item, creating the second temporary menu item and deleting the second multimedia menu item from the second display area Determining the second temporary menu item as the second target menu item;
当检测到针对第二目标菜单项的第二拖拽操作且第二拖拽操作的结束点坐标位于第一显示区域时,在第一显示区域中创建空白选项槽;When a second drag operation for the second target menu item is detected and an end point coordinate of the second drag operation is located in the first display area, a blank option slot is created in the first display area;
将第二目标菜单项中的菜单数据填充到第一显示区域中的该空白选项槽中。The menu data in the second target menu item is filled into the blank option slot in the first display area.
可选地,在第一显示区域中创建空白选项槽,包括:Optionally, creating a blank option slot in the first display area, including:
确定第二目标菜单项所属的信息类型;Determining the type of information to which the second target menu item belongs;
在第一显示区域中该信息类型所在的子区域中创建空白选项槽。A blank option slot is created in the sub-area in which the information type is located in the first display area.
可选地,该多媒体信息包括视频信息和音频信息,该音频信息包括歌曲。Optionally, the multimedia information includes video information and audio information, the audio information including a song.
上述所有可选技术方案均可按照任意结合形成本申请的可选技术方案,本申请实例对此不再一一赘述。All the foregoing optional technical solutions may form an optional technical solution of the present application according to any combination, and the examples of the present application will not be further described herein.
图3是本申请实例提供的一种多媒体菜单项的选择方法流程图。参见图3,该方法包括:FIG. 3 is a flowchart of a method for selecting a multimedia menu item provided by an example of the present application. Referring to Figure 3, the method includes:
步骤301:终端在第一显示区域中显示多媒体菜单,该多媒体菜单中包括多个多媒体菜单项。Step 301: The terminal displays a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items.
为了确定用户所感兴趣的信息,该终端可以在第一显示区域中显示多媒体菜单。该终端在第一显示区域中显示多媒体菜单的具体操作可以 为:该终端向服务器发送信息获取请求,当服务器接收到该信息获取请求时,该服务器可以获取存储的多个菜单数据,并将获取的多个菜单数据发送给该终端。当该终端接收到该多个菜单数据时,将该多个菜单数据填充到第一显示区域的多个选项槽中,得到多个多媒体菜单项,进而显示多媒体菜单。In order to determine information of interest to the user, the terminal may display the multimedia menu in the first display area. The specific operation of the terminal displaying the multimedia menu in the first display area may The terminal sends an information acquisition request to the server. When the server receives the information acquisition request, the server may acquire the stored plurality of menu data, and send the acquired plurality of menu data to the terminal. When the terminal receives the plurality of menu data, the plurality of menu data is filled into the plurality of option slots of the first display area to obtain a plurality of multimedia menu items, thereby displaying the multimedia menu.
其中,该终端将该多个菜单数据填充到第一显示区域的多个选项槽,得到多个多媒体菜单项时,该终端可以在第一显示区域中创建多个空白选项槽,并将该多个菜单数据分别填充到该多个空白选项槽中,得到多个多媒体菜单项。The terminal fills the plurality of menu data into the plurality of option slots of the first display area, and when the plurality of multimedia menu items are obtained, the terminal may create a plurality of blank option slots in the first display area, and the plurality of The menu data is respectively filled into the plurality of blank option slots to obtain a plurality of multimedia menu items.
进一步地,当该服务器中存储的多个菜单数据属于不同的信息类型时,该服务器将获取的多个菜单数据发送给该终端的同时,还可以将该多个菜单数据所属的信息类型发送给该终端。之后,该终端可以基于该多个菜单数据所属的信息类型在第一显示区域中显示多媒体菜单,从而增加选择信息类型的直观度。Further, when the plurality of menu data stored in the server belong to different information types, the server may send the acquired plurality of menu data to the terminal, and may also send the information type to which the plurality of menu data belongs to The terminal. Thereafter, the terminal may display the multimedia menu in the first display area based on the information type to which the plurality of menu data belongs, thereby increasing the intuitiveness of the selection information type.
比如,终端向服务器发送信息获取请求,当服务器接收到该信息获取请求时,该服务器可以获取存储的多个菜单数据,假如,该多个菜单数据分别为歌手1、歌手2、歌手3、歌手4、歌手5和歌手6,以及流派1、流派2、流派3、流派4、流派5和流派6,且歌手1、歌手2、歌手3、歌手4、歌手5和歌手6所属的信息类型为歌手,流派1、流派2、流派3、流派4、流派5和流派6所属的信息类型为流派。该服务器将该多个菜单数据和该多个菜单数据所属的信息类型发送给该终端。当该终端接收到该多个菜单数据和该多个菜单数据所属的信息类型时,如图4所示,该终端可以将歌手1、歌手2、歌手3、歌手4、歌手5和歌手6填充到第一显示区域中歌手所在的子区域的多个空白选项槽中,以及将流派1、流派2、流派3、流派4、流派5和流派6填充到第一显示区域中流派所在的子区域的多个空白选项槽中。 For example, the terminal sends a message acquisition request to the server. When the server receives the information acquisition request, the server may obtain a plurality of stored menu data, if the plurality of menu data are singer 1, singer 2, singer 3, singer respectively. 4, singer 5 and singer 6, and genre 1, genre 2, genre 3, genre 4, genre 5 and genre 6, and singer 1, singer 2, singer 3, singer 4, singer 5 and singer 6 belong to the information type The singer, genre 1, genre 2, genre 3, genre 4, genre 5, and genre 6 belong to the genre. The server transmits the plurality of menu data and the type of information to which the plurality of menu data belong to the terminal. When the terminal receives the plurality of menu data and the type of information to which the plurality of menu data belong, as shown in FIG. 4, the terminal may fill singer 1, singer 2, singer 3, singer 4, singer 5, and singer 6 Go to a plurality of blank option slots of the sub-area in which the singer is located in the first display area, and fill genre 1, genre 2, genre 3, genre 4, genre 5, and genre 6 into the sub-area where the genre is located in the first display area Multiple blank options in the slot.
由于该终端显示界面的尺寸是固定的,而第一显示区域位于该显示界面中,因此,在该终端的第一显示区域中可能无法同时显示该多个多媒体菜单项,当该终端在第一显示区域中检测到滑动操作时,该终端可以按照该滑动操作的滑动方向,移动该多个多媒体菜单项,从而使用户查看未选择的多个多媒体菜单项,进而可以精准地对未选择的多媒体菜单项进行选择,减少用户的误操作。比如,如图4所示,该终端可能只显示歌手1、歌手2、歌手3、流派1、流派2和流派3,无法同时显示歌手4、歌手5、歌手6、流派4、流派5和流派6。当该在第一显示区域中检测到滑动操作且滑动操作的滑动方向为从右向左时,该终端可以按照该滑动操作的滑动方向,移动该多个多媒体菜单项,从而显示歌手4、歌手5、歌手6、流派4、流派5和流派6,如图5所示。Since the size of the display interface of the terminal is fixed, and the first display area is located in the display interface, the multiple multimedia menu items may not be simultaneously displayed in the first display area of the terminal, when the terminal is at the first When the sliding operation is detected in the display area, the terminal can move the plurality of multimedia menu items according to the sliding direction of the sliding operation, so that the user can view the plurality of multimedia menu items that are not selected, thereby accurately selecting the unselected multimedia. Menu items are selected to reduce user misuse. For example, as shown in FIG. 4, the terminal may only display singer 1, singer 2, singer 3, genre 1, genre 2, and genre 3, and cannot simultaneously display singer 4, singer 5, singer 6, genre 4, genre 5, and genre. 6. When the sliding operation is detected in the first display area and the sliding direction of the sliding operation is from right to left, the terminal may move the plurality of multimedia menu items according to the sliding direction of the sliding operation, thereby displaying the singer 4, the singer 5, singer 6, genre 4, genre 5 and genre 6, as shown in Figure 5.
需要说明的是,该终端可以在接收到多媒体信息查询指令时,在第一显示区域中显示多媒体菜单,当然,该终端还可以在其他时机显示该多媒体菜单,比如,该终端可以在首次打开该应用程序时,在第一显示区域中显示多媒体菜单,本申请实例对显示多媒体菜单的时机不做具体限定。It should be noted that, when receiving the multimedia information query instruction, the terminal may display the multimedia menu in the first display area. Of course, the terminal may also display the multimedia menu at other occasions. For example, the terminal may open the first time. When the application is used, the multimedia menu is displayed in the first display area, and the example of the present application does not specifically limit the timing of displaying the multimedia menu.
其中,该多媒体信息查询指令用于查询多媒体信息,且该多媒体信息查询指令可以由用户通过预设操作触发,该预设操作可以为点击操作、滑动操作、语音操作等等,本申请实例对此不做具体限定。The multimedia information query instruction is used to query the multimedia information, and the multimedia information query instruction may be triggered by the user by using a preset operation, which may be a click operation, a sliding operation, a voice operation, etc. No specific restrictions.
步骤302:当终端在第一显示区域中检测到第一指定操作时,从该多个多媒体菜单项中确定第一多媒体菜单项,第一多媒体菜单项为检测到的第一指定操作所作用的多媒体菜单项。Step 302: When the terminal detects the first specified operation in the first display area, determining a first multimedia menu item from the plurality of multimedia menu items, the first multimedia menu item is the detected first designation The multimedia menu item that the operation is working on.
需要说明的是,第一指定操作可以通过鼠标、键盘、触控笔、手势等方式实现,也即是,第一指定操作可以为鼠标操作、按键操作、触控笔操作、手势操作等等,本申请实例对此不做具体限定。It should be noted that the first specified operation can be implemented by using a mouse, a keyboard, a stylus, a gesture, etc., that is, the first designated operation can be a mouse operation, a key operation, a stylus operation, a gesture operation, and the like. This application example does not specifically limit this.
其中,当第一指定操作为手势操作时,该终端可以在第一显示区域 中检测手势操作,当该终端在第一显示区域中检测到手势操作时,该终端可以判断检测到的手势操作是否为第一指定手势操作,当检测到的手势操作为第一指定手势操作时,确定在第一显示区域中检测到第一指定操作。Wherein, when the first designated operation is a gesture operation, the terminal may be in the first display area The detecting a gesture operation, when the terminal detects a gesture operation in the first display area, the terminal may determine whether the detected gesture operation is the first specified gesture operation, and when the detected gesture operation is the first specified gesture operation Determining that the first specified operation is detected in the first display area.
其中,该终端判断检测到的手势操作是否为第一指定手势操作的具体操作可以为:接收用户在第一显示区域中执行的手势操作产生的操作指令,根据该操作指令判断检测到的手势操作是否与第一指定手势操作匹配;如果检测到的手势操作与第一指定手势操作匹配,则确定检测到的手势操作为第一指定手势操作,如果检测到的手势操作与第一指定手势操作不匹配,则确定检测到的手势操作不为第一指定手势操作。The specific operation of the terminal determining whether the detected gesture operation is the first specified gesture operation may be: receiving an operation instruction generated by a gesture operation performed by the user in the first display area, and determining the detected gesture operation according to the operation instruction. Whether to match the first specified gesture operation; if the detected gesture operation matches the first specified gesture operation, determining that the detected gesture operation is the first specified gesture operation, if the detected gesture operation and the first specified gesture operation are not Matching, it is determined that the detected gesture operation is not the first specified gesture operation.
需要说明的是,第一指定手势操作可以事先设置,比如第一指定手势操作可以为长按操作、双击操作等等,本申请实例对此不做具体限定。It should be noted that the first specified gesture operation may be set in advance, for example, the first specified gesture operation may be a long press operation, a double-click operation, or the like, which is not specifically limited in this application example.
进一步地,当该终端判断出检测到的手势操作不为第一指定手势操作时,该终端继续检测第一显示区域中的手势操作。Further, when the terminal determines that the detected gesture operation is not the first specified gesture operation, the terminal continues to detect the gesture operation in the first display area.
步骤303:该终端基于第一多媒体菜单项,创建第一临时菜单项,并将第一多媒体菜单项从第一显示区域中删除,将第一临时菜单项确定为第一目标菜单项。Step 303: The terminal creates a first temporary menu item based on the first multimedia menu item, and deletes the first multimedia menu item from the first display area, and determines the first temporary menu item as the first target menu. item.
具体地,该终端创建第一空白临时选项槽,将第一多媒体菜单项中的菜单数据填充到第一空白临时选项槽中,得到第一临时菜单项,并将第一多媒体菜单项从第一显示区域中删除,将第一临时菜单项确定为第一目标菜单项。Specifically, the terminal creates a first blank temporary option slot, fills the menu data in the first multimedia menu item into the first blank temporary option slot, obtains the first temporary menu item, and sets the first multimedia menu. The item is deleted from the first display area, and the first temporary menu item is determined as the first target menu item.
需要说明的是,第一空白临时选项槽可以位于第一多媒体菜单项所在的位置,当然,第一空白临时选项槽也可以位于其他位置,本申请实例对此不做具体限定。It should be noted that the first blank temporary option slot may be located at a location where the first multimedia menu item is located. Of course, the first blank temporary option slot may also be located at other locations, which is not specifically limited in this application example.
另外,第一临时菜单项的尺寸可以与第一多媒体菜单项的尺寸不同,比如,第一临时菜单项的尺寸可以大于第一多媒体菜单项的尺寸,从而 可以区分临时菜单项和非临时菜单项,进而可以提醒用户菜单项是否被移动。In addition, the size of the first temporary menu item may be different from the size of the first multimedia menu item, for example, the size of the first temporary menu item may be larger than the size of the first multimedia menu item, thereby Temporary menu items and non-temporary menu items can be distinguished, and the user can be reminded whether the menu item has been moved.
再者,该终端创建第一空白临时选项槽之后,该终端还可以设置第一空白临时选项槽为悬浮状态,保证第一临时菜单项为悬浮状态,进而保证第一临时菜单项可以被移动。Moreover, after the terminal creates the first blank temporary option slot, the terminal may further set the first blank temporary option slot to be in a floating state, ensuring that the first temporary menu item is in a floating state, thereby ensuring that the first temporary menu item can be moved.
比如,如图6所示,第一多媒体菜单项为歌手2所在的多媒体菜单项,该终端基于第一多媒体菜单项创建第一临时菜单项,并将第一多媒体菜单项从第一显示区域中删除。For example, as shown in FIG. 6, the first multimedia menu item is a multimedia menu item where the singer 2 is located, the terminal creates a first temporary menu item based on the first multimedia menu item, and the first multimedia menu item is Remove from the first display area.
可选地,在本申请实例中,该终端还可以将第一多媒体菜单项确定为第一目标菜单项,从而设置第一多媒体菜单项为悬浮状态,保证第一多媒体菜单项可以被移动。Optionally, in the example of the present application, the terminal may further determine the first multimedia menu item as the first target menu item, thereby setting the first multimedia menu item to be in a suspended state, and ensuring the first multimedia menu. Items can be moved.
步骤304:当该终端检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结束点坐标位于第二显示区域时,判断第一目标菜单项的中心位置是否超过第一界线,第一界线为第一显示区域与第二显示区域之间的界线,第二显示区域用于显示多媒体菜单中已选择的多媒体菜单项。Step 304: When the terminal detects the first drag operation for the first target menu item and the end point coordinate of the first drag operation is located in the second display area, determining whether the center position of the first target menu item exceeds the first The boundary line is a boundary between the first display area and the second display area, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
具体地,当该终端检测到针对第一目标菜单项的第一拖拽操作时,确定第一拖拽操作的结束点坐标,当第一拖拽操作的结束点坐标位于第二显示区域时,确定第一目标菜单项被拖拽到第二显示区域,之后,确定第一目标菜单项的中心位置,并判断第一目标菜单项的中心位置是否超过第一界线。Specifically, when the terminal detects a first drag operation for the first target menu item, determining an end point coordinate of the first drag operation, when the end point coordinate of the first drag operation is located in the second display area, It is determined that the first target menu item is dragged to the second display area, after which the center position of the first target menu item is determined, and it is determined whether the center position of the first target menu item exceeds the first boundary line.
其中,第一拖拽操作具体可以为:该终端在第一显示区域中检测到的手势操作为第一指定手势操作,确定选中第一多媒体菜单项,并在确定第一目标菜单项后,拖动第一目标菜单项至第二显示区域,该选中操作和拖动操作为连贯动作,且第一拖拽操作的结束点为拖动操作的拖动轨迹的终止点。 The first drag operation may be specifically: the gesture operation detected by the terminal in the first display area is a first specified gesture operation, determining that the first multimedia menu item is selected, and after determining the first target menu item Dragging the first target menu item to the second display area, the selected operation and the drag operation are consecutive actions, and the end point of the first drag operation is the end point of the drag track of the drag operation.
需要说明的是,当该拖动操作的拖动轨迹较细时,该拖动轨迹的终止点可能就是一个点,而不是一个区域,因此,该终端可以直接将该拖动轨迹的终止点确定为第一拖拽操作的结束点。当该拖动操作的拖动轨迹较粗时,该拖动轨迹的终止点可能是一个区域,而不是一个点,因此,该终端可以将该拖动轨迹的终止点所在区域的中点确定为第一拖拽操作的结束点,当然,还可以将该拖动轨迹的终止点所在区域的任一点确定为第一拖拽操作的结束点,本申请实例对此不做具体限定。It should be noted that when the dragging trajectory of the drag operation is thin, the end point of the drag trajectory may be a point instead of an area, and therefore, the terminal may directly determine the end point of the drag trajectory. The end point of the first drag operation. When the drag track of the drag operation is thicker, the end point of the drag track may be an area instead of a point, so the terminal may determine the midpoint of the area where the end point of the drag track is located as The end point of the first drag operation, of course, the point where the end point of the drag track is located may be determined as the end point of the first drag operation, which is not specifically limited in this application example.
由于第一显示区域用于显示多媒体菜单中未选择的多媒体菜单项,第二显示区域用于显示多媒体菜单中已选择的多媒体菜单项,也即是,将未选择的多媒体菜单项和已选择的多媒体菜单项分开显示,从而可以明显地区分未选择的多媒体菜单项和已选择的多媒体菜单项,不容易造成混淆,进而可以提高多媒体菜单项的选择效率。Since the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, the second display area is for displaying the selected multimedia menu item in the multimedia menu, that is, the unselected multimedia menu item and the selected one. The multimedia menu items are displayed separately, so that the unselected multimedia menu items and the selected multimedia menu items can be clearly distinguished, which is not easy to cause confusion, thereby improving the selection efficiency of the multimedia menu items.
需要说明的是,第一显示区域和第二显示区域可以位于同一显示界面,也可以位于不同的显示界面,优选地,为了方便操作,提高选择多媒体菜单项的效率,第一显示区域和第二显示区域可以位于同一显示界面。It should be noted that the first display area and the second display area may be located on the same display interface, or may be located on different display interfaces. Preferably, for convenient operation, the efficiency of selecting the multimedia menu item is improved, the first display area and the second display area. The display area can be on the same display interface.
另外,第二显示区域中显示的多媒体菜单项可以以转盘的形式显示,当然也可以以其他形式显示,本申请实例对此不做具体限定。In addition, the multimedia menu items displayed in the second display area may be displayed in the form of a turntable, and may of course be displayed in other forms.
再者,在本申请实例中,该终端还可以在第一显示区域的下方且在第二显示区域的上方显示提示标记,比如,如图4中的
Figure PCTCN2017071345-appb-000001
该提示标记用于提示用户可以将第一显示区域中的多媒体菜单项移动到第二显示区域中。
Furthermore, in the example of the present application, the terminal may further display a prompt mark below the first display area and above the second display area, for example, as shown in FIG. 4 .
Figure PCTCN2017071345-appb-000001
The prompt mark is used to prompt the user to move the multimedia menu item in the first display area into the second display area.
其中,当针对第一目标菜单项的第一拖拽操作的结束点坐标位于第二显示区域时,确定第一目标菜单项已经拖动到第二显示区域,为了进一步确定第一目标菜单项在第二显示区域中的位置,提高选择多媒体菜单项的准确率,该终端还可以判断第一目标菜单项的中心位置是否超过 第一界线。Wherein, when the end point coordinate of the first drag operation for the first target menu item is located in the second display area, it is determined that the first target menu item has been dragged to the second display area, in order to further determine that the first target menu item is The position in the second display area improves the accuracy of selecting the multimedia menu item, and the terminal can also determine whether the center position of the first target menu item exceeds The first line.
如前所述,在本申请的另一些实例中,上述第一显示区域和第二显示区域可以位于不同的显示界面。例如,第一显示区域位于第一显示界面;而第二显示区域位于第二显示界面。此时,该终端也可以在第一显示区域的下方,也就是第一显示界面的下方显示提示标记。该提示标记也可以是如图4中的
Figure PCTCN2017071345-appb-000002
在这种情况下,当该终端检测到用户点击该提示标记的操作时,该终端将从上述第一显示界面切换至第二显示界面。此时,终端将显示位于第二显示界面的第二显示区域内的菜单项。或者,当终端检测到来自用户的针对第一目标菜单项的第一拖拽操作且在该第一拖拽操作的移动轨迹的某个坐标位于该提示标记附近的提示区域时,该终端将从上述第一显示界面切换至第二显示界面。此时,表明用户已通过第一拖拽操作将上述第一目标菜单项拖动至第二显示区域,从而可以将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中,完成多媒体菜单项的选择。
As described above, in other examples of the present application, the first display area and the second display area may be located at different display interfaces. For example, the first display area is located at the first display interface; and the second display area is located at the second display interface. At this time, the terminal may also display a prompt mark below the first display area, that is, below the first display interface. The prompt mark can also be as shown in FIG.
Figure PCTCN2017071345-appb-000002
In this case, when the terminal detects an operation of the user clicking the prompt mark, the terminal will switch from the first display interface to the second display interface. At this time, the terminal will display a menu item located in the second display area of the second display interface. Alternatively, when the terminal detects a first drag operation from the user for the first target menu item and a certain coordinate of the movement trajectory of the first drag operation is located in the prompt area near the prompt mark, the terminal will The first display interface is switched to the second display interface. At this time, it is indicated that the user has dragged the first target menu item to the second display area by the first drag operation, so that the menu data in the first target menu item can be filled into the blank option slot of the second display area. , complete the selection of multimedia menu items.
步骤305:当第一目标菜单项的中心位置超过第一界线时,该终端将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中,以完成多媒体菜单项的选择。Step 305: When the center position of the first target menu item exceeds the first boundary line, the terminal fills the menu data in the first target menu item into the blank option slot of the second display area to complete the selection of the multimedia menu item.
进一步地,该终端将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽之前,该终端还可以判断第二显示区域中是否包括空白选项槽,如果第二显示区域中不包括空白选项槽,则该终端可以在第二显示区域中创建空白选项槽。Further, the terminal fills the menu data in the first target menu item to the blank option slot of the second display area, and the terminal may further determine whether the blank option slot is included in the second display area, if the second display area does not Including the blank option slot, the terminal can create a blank option slot in the second display area.
更进一步地,为了精确地进行多媒体信息推荐,该终端需要对用户选择的多媒体菜单项的个数进行控制,因此,该终端将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中之前,还可以判断第二显示区域中已显示的多媒体菜单项的个数是否达到预设个数,当第二显示区域中已显示的多媒体菜单项的个数未达到预设个数时,将第一目 标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中。Further, in order to accurately perform multimedia information recommendation, the terminal needs to control the number of multimedia menu items selected by the user, so the terminal fills the menu data in the first target menu item to the blank of the second display area. Before the option slot, it is also determined whether the number of multimedia menu items displayed in the second display area reaches a preset number, and the number of multimedia menu items displayed in the second display area does not reach a preset number. When the first item The menu data in the menu item is filled into the blank option slot in the second display area.
进一步地,该终端将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽之后,该终端还可以将第一目标菜单项删除。Further, after the terminal fills the menu data in the first target menu item to the blank option slot of the second display area, the terminal may also delete the first target menu item.
需要说明的是,预设个数可以事先设置,比如,预设个数可以为5、8、10等等,本申请实例对此不做具体限定。It should be noted that the preset number may be set in advance. For example, the preset number may be 5, 8, 10, etc., which is not specifically limited in this application example.
另外,在本申请实例中,该终端将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽之前,可以先执行判断第二显示区域中是否包括空白选项槽的操作,再执行判断第二显示区域中已显示的多媒体菜单项的个数是否达到预设个数的操作,当然,也可以先执行判断第二显示区域中已显示的多媒体菜单项的个数是否达到预设个数的操作,再执行判断第二显示区域中是否包括空白选项槽的操作,本申请实例对此先后顺序不做具体限定。In addition, in the example of the present application, before the terminal fills the menu data in the first target menu item to the blank option slot of the second display area, the terminal may first perform an operation of determining whether the blank option slot is included in the second display area, and then Performing an operation of determining whether the number of the multimedia menu items displayed in the second display area reaches a preset number. Of course, it may also be performed to determine whether the number of the multimedia menu items displayed in the second display area reaches the preset. For the operation of the number, the operation of determining whether the blank option slot is included in the second display area is performed. The sequence of the present application does not specifically limit the sequence.
可选地,在该终端将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽时,当第一目标菜单项被移动时,该终端还可以判断第一目标菜单项的中心位置是否超过第二界线,第二界线为第一目标菜单项所要插入的空白选项槽与第一相邻选项槽之间的界线,第一相邻选项槽为与该空白选项槽相邻的选项槽。当第一目标菜单项的中心位置超过第二界线时,该终端可以将该空白选项槽与第一相邻选项槽交换位置,从而提醒用户第一目标菜单项即将插入的位置。Optionally, when the terminal fills the menu data in the first target menu item to the blank option slot of the second display area, when the first target menu item is moved, the terminal may further determine the first target menu item. Whether the center position exceeds the second boundary line, and the second boundary line is a boundary between the blank option slot to be inserted in the first target menu item and the first adjacent option slot, and the first adjacent option slot is adjacent to the blank option slot Option slot. When the center position of the first target menu item exceeds the second boundary line, the terminal may exchange the blank option slot with the first adjacent option slot to remind the user of the location where the first target menu item is about to be inserted.
由于该终端的显示界面的尺寸是固定的,而第二显示区域位于该显示界面中,因此,在该终端的第二显示区域中可能无法同时显示已选择的多个多媒体菜单项,当该终端在第二显示区域中检查到滑动操作时,该终端可以按照该滑动操作的滑动方向,移动该多个多媒体菜单项,从而使用户查看已选择的多个多媒体菜单项。Since the size of the display interface of the terminal is fixed, and the second display area is located in the display interface, the selected plurality of multimedia menu items may not be simultaneously displayed in the second display area of the terminal, when the terminal When the sliding operation is detected in the second display area, the terminal may move the plurality of multimedia menu items according to the sliding direction of the sliding operation, thereby causing the user to view the selected plurality of multimedia menu items.
在本申请实例中,用户可以对第一显示区域和第二显示区域中的多媒体菜单项分开操作,从而在一个显示区域进行滑动操作时,不会影响 另一个显示区域的显示,操作方式灵活。In the example of the present application, the user can separately operate the multimedia menu items in the first display area and the second display area, so that the sliding operation in one display area does not affect The display of another display area is flexible.
进一步地,当第一目标菜单项的中心位置未超过第一界线时,该终端基于第一目标菜单项中的菜单数据,恢复第一多媒体菜单项。Further, when the central location of the first target menu item does not exceed the first boundary, the terminal restores the first multimedia menu item based on the menu data in the first target menu item.
比如,如图7所示,当第一目标菜单项的中心位置超过第一界线时,该终端可以将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中,并删除第一目标菜单项。之后,当该终端在第二显示区域中检查到滑动操作且该滑动操作的滑动方向为从右向左时,如图8所示,该终端可以按照该滑动操作的滑动方向,移动该多个多媒体菜单项,从而使用户查看已选择的多个多媒体菜单项。For example, as shown in FIG. 7, when the center position of the first target menu item exceeds the first boundary line, the terminal may fill the menu data in the first target menu item into the blank option slot of the second display area, and delete The first target menu item. After that, when the terminal checks the sliding operation in the second display area and the sliding direction of the sliding operation is from right to left, as shown in FIG. 8, the terminal can move the plurality according to the sliding direction of the sliding operation. A multimedia menu item that allows the user to view a plurality of multimedia menu items that have been selected.
进一步地,该终端还可以获取第二显示区域中所显示的多媒体菜单项的菜单数据,并将获取的菜单数据发送给服务器。当服务器接收到该菜单数据时,基于接收的菜单数据确定推荐信息,并将确定的推荐信息发送给该终端,以进行多媒体信息推荐。Further, the terminal may further acquire menu data of the multimedia menu item displayed in the second display area, and send the acquired menu data to the server. When the server receives the menu data, the recommendation information is determined based on the received menu data, and the determined recommendation information is sent to the terminal for multimedia information recommendation.
需要说明的是,服务器基于接收的菜单数据确定推荐信息的方法可以参考相关技术,本申请实例对此不进行详细阐述。It should be noted that the method for determining the recommendation information by the server based on the received menu data may refer to related technologies, which is not described in detail in this application example.
进一步地,在本申请实例中,该终端不仅可以通过上述步骤301-305的方法从第一显示区域中选择多媒体菜单项,并将选择的多媒体菜单项显示在第二显示区域中,当然,该终端还可以对第二显示区域中显示的多媒体菜单项进行更改。而对第二显示区域中显示的多媒体菜单项进行更改的操作可以为:当该终端在第二显示区域中检测到第二指定操作时,从第二显示区域显示的多媒体菜单项中确定第二多媒体菜单项,第二多媒体菜单项可以在第二显示区域中检测到的第二指定操作所作用的多媒体菜单项,将第二多媒体菜单项确定为第二目标菜单项;或者,基于第二多媒体菜单项,创建第二临时菜单项,并将第二多媒体菜单项从第二显示区域中删除,将第二临时菜单项确定为第二目标菜单项;当该终端检测到针对第二目标菜单项的第二拖拽操作且第二拖拽操作的结束点坐 标位于第一显示区域时,在第一显示区域中创建空白选项槽,并将第二目标菜单项中的菜单数据填充到第一显示区域中的空白选项槽中。Further, in the example of the present application, the terminal can select not only the multimedia menu item from the first display area but also the selected multimedia menu item in the second display area by using the method of steps 301-305 described above, of course, The terminal can also make changes to the multimedia menu items displayed in the second display area. The operation of changing the multimedia menu item displayed in the second display area may be: when the terminal detects the second specified operation in the second display area, determining the second from the multimedia menu items displayed in the second display area a multimedia menu item, the second multimedia menu item may be a multimedia menu item that is detected by the second specified operation detected in the second display area, and the second multimedia menu item is determined as the second target menu item; Or, based on the second multimedia menu item, creating a second temporary menu item, and deleting the second multimedia menu item from the second display area, and determining the second temporary menu item as the second target menu item; The terminal detects a second drag operation for the second target menu item and the end point of the second drag operation When the target is located in the first display area, a blank option slot is created in the first display area, and the menu data in the second target menu item is filled into the blank option slot in the first display area.
其中,第二拖拽操作具体可以为:该终端在第二显示区域中检测到的手势操作为第二指定手势操作,确定选中第二多媒体菜单项,并在确定第二目标菜单项后,拖动第二目标菜单项至第一显示区域,该选中操作和拖动操作为连贯动作,且第二拖拽操作的结束点为拖动操作的拖动轨迹的终止点。The second drag operation may be specifically: the gesture operation detected by the terminal in the second display area is a second specified gesture operation, determining that the second multimedia menu item is selected, and after determining the second target menu item Dragging the second target menu item to the first display area, the selected operation and the drag operation are consecutive actions, and the end point of the second drag operation is the end point of the drag track of the drag operation.
其中,该终端基于第二多媒体菜单项,创建第二临时菜单项的操作可以为:该终端创建第二空白临时选项槽,将第二多媒体菜单项中的菜单数据填充到第二空白临时选项槽中,得到第二临时菜单项。The operation of creating the second temporary menu item based on the second multimedia menu item may be: the terminal creates a second blank temporary option slot, and populates the menu data in the second multimedia menu item to the second In the blank temporary option slot, the second temporary menu item is obtained.
由于第一显示区域中可以包括多个信息类型的多媒体菜单项,因此,该终端在第一显示区域中创建空白选项槽时,该终端可以确定第二目标菜单项所属的信息类型,并在第一显示区域中该信息类型所在的子区域中创建空白选项槽。其中,该终端确定第二目标菜单项所属的信息类型时,可以确定第二目标菜单项中的菜单数据所属的信息类型,并将确定的信息类型确定为第二目标菜单项所属的信息类型。Since the multimedia menu item of the plurality of information types may be included in the first display area, when the terminal creates a blank option slot in the first display area, the terminal may determine the type of information to which the second target menu item belongs, and A blank option slot is created in the sub-area in which the information type is located in a display area. When the terminal determines the information type to which the second target menu item belongs, the information type of the menu data in the second target menu item may be determined, and the determined information type is determined as the information type to which the second target menu item belongs.
需要说明的是,第二指定操作也可以通过鼠标、键盘、触控笔、手势等方式实现,也即是,第二指定操作可以为鼠标操作、按键操作、触控笔操作、手势操作等等,本申请实例对此不做具体限定。It should be noted that the second specified operation can also be implemented by using a mouse, a keyboard, a stylus, a gesture, etc., that is, the second specified operation can be a mouse operation, a key operation, a stylus operation, a gesture operation, and the like. This application example does not specifically limit this.
其中,当第二指定操作为手势操作时,该终端可以在第二显示区域中检测手势操作,当该终端在第二显示区域中检测到手势操作时,该终端可以判断检测到的手势操作是否为第二指定手势操作,当检测到的手势操作为第二指定手势操作时,确定在第二显示区域中检测到第二指定操作。The terminal may detect a gesture operation in the second display area when the second specified operation is a gesture operation. When the terminal detects a gesture operation in the second display area, the terminal may determine whether the detected gesture operation is For the second specified gesture operation, when the detected gesture operation is the second specified gesture operation, it is determined that the second specified operation is detected in the second display area.
需要说明的是,第二指定手势操作也可以事先设置,且第二指定手势操作可以与第一指定手势操作相同或者不同,本申请实例对此不做具 体限定。It should be noted that the second specified gesture operation may also be set in advance, and the second specified gesture operation may be the same as or different from the first specified gesture operation. Body definition.
另外,该终端判断在第二显示区域中检测到的手势操作是否为第二指定手势操作的方法与上述判断是否为第一指定手势操作的方法相同或相似,本申请实例对此不再赘述。In addition, the method for determining whether the gesture operation detected in the second display area is the second specified gesture operation is the same as or similar to the method for determining whether the first specified gesture operation is performed.
再者,第二空白临时选项槽可以位于第二多媒体菜单项所在的位置,当然,第二空白临时选项槽也可以位于其他位置,本申请实例对此不做具体限定。Furthermore, the second blank temporary option slot may be located at a location where the second multimedia menu item is located. Of course, the second blank temporary option slot may also be located at other locations, which is not specifically limited in this application example.
其中,该终端将第二目标菜单项中的菜单数据填充到第一显示区域中的空白选项槽的操作可以为:当该终端检测到针对第二目标菜单项的第二拖拽操作且第二拖拽操作的结束点坐标位于第一显示区域时,判断第二目标菜单项的中心位置是否超过第一界线,当第二目标菜单项的中心位置超过第一界线时,该终端将第二目标菜单项中的菜单数据填充到第一显示区域的空白选项槽中。The operation of the terminal filling the menu data in the second target menu item into the blank option slot in the first display area may be: when the terminal detects the second drag operation for the second target menu item and the second When the end point coordinate of the drag operation is located in the first display area, it is determined whether the center position of the second target menu item exceeds the first boundary line, and when the center position of the second target menu item exceeds the first boundary line, the terminal will be the second target The menu data in the menu item is filled into the blank option slot of the first display area.
进一步地,当该终端判断出检测到的手势操作不为第二指定手势操作时,该终端继续检测第二显示区域中的手势操作。Further, when the terminal determines that the detected gesture operation is not the second specified gesture operation, the terminal continues to detect the gesture operation in the second display area.
进一步地,当第二目标菜单项的中心位置未超过第一界线时,该终端基于第二目标菜单项中的菜单数据,恢复第二多媒体菜单项。Further, when the central position of the second target menu item does not exceed the first boundary, the terminal restores the second multimedia menu item based on the menu data in the second target menu item.
需要说明的是,该终端判断第二目标菜单项是否被移动到第一显示区域的操作与上述判断第一目标菜单项是否被移动到第二显示区域的操作相同或相似,本申请实例对此不做详细阐述。It should be noted that, the operation of the terminal determining whether the second target menu item is moved to the first display area is the same as or similar to the operation of determining whether the first target menu item is moved to the second display area. Do not elaborate.
另外,该终端创建第二空白临时选项槽之后,该终端还可以设置第二空白临时选项槽为悬浮状态,保证第二临时菜单项为悬浮状态,进而可以保证第二临时菜单项被移动。In addition, after the terminal creates the second blank temporary option slot, the terminal may further set the second blank temporary option slot to be in a floating state, ensuring that the second temporary menu item is in a floating state, thereby ensuring that the second temporary menu item is moved.
进一步地,该终端将第二目标菜单项中的菜单数据填充到第一显示区域的空白选项槽之后,该终端还可以将第二目标菜单项删除。Further, after the terminal fills the menu data in the second target menu item to the blank option slot of the first display area, the terminal may also delete the second target menu item.
可选地,在该终端将第二目标菜单项中的菜单数据填充到第一显示 区域的空白选项槽时,当第二目标菜单项被移动时,该终端还可以判断第二目标菜单项的中心位置是否超过第三界线,第三界线为第二目标菜单项所要插入的空白选项槽与第二相邻选项槽之间的界线,第二相邻选项槽为与该空白选项槽相邻的选项槽。当第二目标菜单项的中心位置超过第三界线时,该终端可以将该空白选项槽与第二相邻选项槽交换位置,从而提醒用户第二目标菜单项即将插入的位置。Optionally, filling the menu data in the second target menu item to the first display at the terminal When the second target menu item is moved, the terminal may also determine whether the center position of the second target menu item exceeds the third boundary, and the third boundary is a blank option to be inserted in the second target menu item. A boundary between the slot and the second adjacent option slot, the second adjacent option slot being an option slot adjacent to the blank option slot. When the center position of the second target menu item exceeds the third boundary line, the terminal may exchange the blank option slot with the second adjacent option slot to remind the user of the location where the second target menu item is about to be inserted.
进一步地,当第二目标菜单项的中心位置未超过第三界线时,该终端不做任何操作。Further, when the central position of the second target menu item does not exceed the third boundary, the terminal does nothing.
需要说明的是,在本申请实例中,该终端恢复第一多媒体菜单项和第二多媒体菜单项,以及将菜单数据填充到空白选项槽时均可以以动画的形式实现,而具体的实现方式可以参考相关技术,本申请实例对此不做详细阐述。It should be noted that, in the example of the present application, when the terminal restores the first multimedia menu item and the second multimedia menu item, and fills the menu data into the blank option slot, the terminal may be implemented in an animation manner, and specific For the implementation manner, reference may be made to related technologies, and the examples of the present application do not elaborate on this.
在本申请实例中,多媒体菜单可以为用于进行多媒体信息推荐的菜单,该多媒体信息包括视频信息和音频信息,该音频信息可以包括歌曲等等。当然,实际应用中,该多媒体菜单还可以为用于进行其他多媒体的菜单,比如,电子书信息等等,本申请实例对此不做具体限定。In the example of the present application, the multimedia menu may be a menu for performing multimedia information recommendation, and the multimedia information includes video information and audio information, and the audio information may include songs and the like. Of course, in the actual application, the multimedia menu may also be a menu for performing other multimedia, such as e-book information, etc., which is not specifically limited in this application example.
在本申请实例中,终端在第一显示区域中显示多媒体菜单。当终端在第一显示区域中检测到第一指定操作时,可以从该多媒体菜单的多个多媒体菜单项中确定第一多媒体菜单项,之后,该终端可以基于第一多媒体菜单项确定第一目标菜单项,当检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结束点坐标位于第二显示区域时,将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中。也即是,第一显示区域用于显示多媒体菜单中未选择的多媒体菜单项,第二显示区域用于显示已选择的多媒体菜单项,从而将已选择的多媒体菜单项和未选择的多媒体菜单项分开显示,可以较为明显地进行区分,不容易造成混淆,提高了选择多媒体菜单项的效率。另外,该终端在第一显示区 域中显示未选择的多媒体菜单项,提升用户快速浏览多媒体菜单项时,同时进行多项选择的操作效率,并且简化了多选的操作。In the example of the present application, the terminal displays the multimedia menu in the first display area. When the terminal detects the first specified operation in the first display area, the first multimedia menu item may be determined from the plurality of multimedia menu items of the multimedia menu, after which the terminal may be based on the first multimedia menu item Determining a first target menu item, populating menu data in the first target menu item when a first drag operation for the first target menu item is detected and an end point coordinate of the first drag operation is located in the second display area Go to the blank option slot in the second display area. That is, the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, and the second display area is for displaying the selected multimedia menu item, thereby selecting the selected multimedia menu item and the unselected multimedia menu item. Separate display, can be more clearly differentiated, not easy to cause confusion, improve the efficiency of selecting multimedia menu items. In addition, the terminal is in the first display area The unselected multimedia menu items are displayed in the domain, which improves the operation efficiency of multiple selections at the same time when the user quickly browses the multimedia menu items, and simplifies the operation of multiple selection.
图9是本申请实例提供的一种多媒体菜单项的选择装置的结构示意图。参见图9,该装置包括:FIG. 9 is a schematic structural diagram of a device for selecting a multimedia menu item according to an example of the present application. Referring to Figure 9, the device includes:
显示模块901,用于在第一显示区域中显示多媒体菜单,该多媒体菜单中包括多个多媒体菜单项;The display module 901 is configured to display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
第一确定模块902,用于当在第一显示区域中检测到第一指定操作时,从该多个多媒体菜单项中确定第一多媒体菜单项,第一多媒体菜单项为在第一显示区域中检测到的第一指定操作所作用的多媒体菜单项;The first determining module 902 is configured to determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, where the first multimedia menu item is a multimedia menu item acting on the first specified operation detected in the display area;
第二确定模块903,用于根据第一多媒体菜单项确定第一目标菜单项;a second determining module 903, configured to determine a first target menu item according to the first multimedia menu item;
其中,第二确定模块903可以将第一多媒体菜单项确定为第一目标菜单项;或者,基于第一多媒体菜单项,创建第一临时菜单项,并将第一多媒体菜单项从第一显示区域中删除,将第一临时菜单项确定为第一目标菜单项;The second determining module 903 may determine the first multimedia menu item as the first target menu item; or create a first temporary menu item based on the first multimedia menu item, and the first multimedia menu The item is deleted from the first display area, and the first temporary menu item is determined as the first target menu item;
第一填充模块904,用于当检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结束点坐标位于第二显示区域时,将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,第二显示区域用于显示多媒体菜单中已选择的多媒体菜单项。The first filling module 904 is configured to: when the first drag operation for the first target menu item is detected and the end point coordinate of the first drag operation is located in the second display area, the menu data in the first target menu item is The blank option slot is filled into the second display area to complete the selection of the multimedia menu item, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
其中,上述第一显示区域和第二显示区域可以位于同一显示界面也可以位于不同的显示界面。The first display area and the second display area may be located on the same display interface or may be located on different display interfaces.
可选地,第二确定模块903包括:Optionally, the second determining module 903 includes:
第一创建单元,用于创建第一空白临时选项槽;a first creating unit, configured to create a first blank temporary option slot;
填充单元,用于将第一多媒体菜单项中的菜单数据填充到第一空白 临时选项槽中,得到第一临时菜单项;a filling unit for filling menu data in the first multimedia menu item to the first blank In the temporary option slot, the first temporary menu item is obtained;
删除单元,用于将所述第一多媒体菜单项从所述第一显示区域中删除;以及a deleting unit, configured to delete the first multimedia menu item from the first display area;
确定单元,用于将所述第一临时菜单项确定为所述第一目标菜单项。a determining unit, configured to determine the first temporary menu item as the first target menu item.
可选地,该装置还包括:Optionally, the device further includes:
第一判断模块,用于判断第二显示区域中是否包括空白选项槽;a first determining module, configured to determine whether a blank option slot is included in the second display area;
第一创建模块,用于如果第二显示区域中不包括空白选项槽,则在第二显示区域中创建空白选项槽。The first creating module is configured to create a blank option slot in the second display area if the blank option slot is not included in the second display area.
可选地,该装置还包括:Optionally, the device further includes:
第二判断模块,用于判断第一目标菜单项的中心位置是否超过第一界线,第一界线为第一显示区域与第二显示区域之间的界线;a second determining module, configured to determine whether a center position of the first target menu item exceeds a first boundary line, where the first boundary line is a boundary between the first display area and the second display area;
第二填充模块,用于当第一目标菜单项的中心位置超过第一界线时,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中。The second filling module is configured to fill the menu data in the first target menu item into the blank option slot in the second display area when the center position of the first target menu item exceeds the first boundary line.
可选地,该装置还包括:Optionally, the device further includes:
第三判断模块,用于判断第二显示区域中已显示的多媒体菜单项的个数是否达到预设个数;a third determining module, configured to determine whether the number of multimedia menu items displayed in the second display area reaches a preset number;
第三填充模块,用于当第二显示区域中已显示的多媒体菜单项的个数未达到预设个数时,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中。a third filling module, configured to: when the number of the multimedia menu items that have been displayed in the second display area does not reach the preset number, fill the menu data in the first target menu item to the blank option in the second display area In the slot.
可选地,该装置还包括:Optionally, the device further includes:
第三确定模块,用于当在第二显示区域中检测到第二指定操作时,从第二显示区域显示的多媒体菜单项中确定第二多媒体菜单项,第二多媒体菜单项为在第二显示区域中检测到的第二指定操作所作用的菜单项;a third determining module, configured to: when the second specified operation is detected in the second display area, determine a second multimedia menu item from the multimedia menu item displayed by the second display area, where the second multimedia menu item is a menu item acting on the second specified operation detected in the second display area;
第四确定模块,用于将第二多媒体菜单项确定为第二目标菜单项; 或者,基于第二多媒体菜单项,创建第二临时菜单项,并将第二多媒体菜单项从第二显示区域中删除,将第二临时菜单项确定为第二目标菜单项;a fourth determining module, configured to determine the second multimedia menu item as the second target menu item; Or, based on the second multimedia menu item, creating a second temporary menu item, and deleting the second multimedia menu item from the second display area, and determining the second temporary menu item as the second target menu item;
第二创建模块,用于当检测到针对第二目标菜单项的第二拖拽操作且第二拖拽操作的结束点坐标位于第一显示区域时,在第一显示区域中创建空白选项槽;a second creating module, configured to: when a second drag operation for the second target menu item is detected and an end point coordinate of the second drag operation is located in the first display area, creating a blank option slot in the first display area;
第四填充模块,用于将第二目标菜单项中的菜单数据填充到第一显示区域中的该空白选项槽中。And a fourth filling module, configured to fill the menu data in the second target menu item into the blank option slot in the first display area.
可选地,第四创建模块包括:Optionally, the fourth creating module includes:
确定单元,用于确定第二目标菜单项所属的信息类型;a determining unit, configured to determine a type of information to which the second target menu item belongs;
第二创建单元,用于在第一显示区域中该信息类型所在的子区域中创建空白选项槽。And a second creating unit, configured to create a blank option slot in the sub-area where the information type is located in the first display area.
可选地,该多媒体信息包括视频信息和音频信息,该音频信息包括歌曲。Optionally, the multimedia information includes video information and audio information, the audio information including a song.
在本申请实例中,终端在第一显示区域中显示多媒体菜单。当终端在第一显示区域中检测到第一指定操作时,可以从该多媒体菜单的多个多媒体菜单项中确定第一多媒体菜单项,之后,该终端可以基于第一多媒体菜单项确定第一目标菜单项。当检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结束点坐标位于第二显示区域时,将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中。也即是,第一显示区域用于显示多媒体菜单中未选择的多媒体菜单项,第二显示区域用于显示已选择的多媒体菜单项,从而将已选择的多媒体菜单项和未选择的多媒体菜单项分开显示,可以较为明显地进行区分,不容易造成混淆,提高了选择多媒体菜单项的效率。In the example of the present application, the terminal displays the multimedia menu in the first display area. When the terminal detects the first specified operation in the first display area, the first multimedia menu item may be determined from the plurality of multimedia menu items of the multimedia menu, after which the terminal may be based on the first multimedia menu item Determine the first target menu item. When the first drag operation for the first target menu item is detected and the end point coordinates of the first drag operation are located in the second display area, the menu data in the first target menu item is filled to the blank of the second display area In the option slot. That is, the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, and the second display area is for displaying the selected multimedia menu item, thereby selecting the selected multimedia menu item and the unselected multimedia menu item. Separate display, can be more clearly differentiated, not easy to cause confusion, improve the efficiency of selecting multimedia menu items.
需要说明的是:上述实例提供的多媒体菜单项的选择装置在多媒体 菜单项的选择时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实例提供的多媒体菜单项的选择装置与多媒体菜单项的选择方法实例属于同一构思,其具体实现过程详见方法实例,这里不再赘述。It should be noted that the selection device of the multimedia menu item provided by the above example is in multimedia When selecting a menu item, only the division of each functional module described above is exemplified. In actual application, the above function assignment can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules, Complete all or part of the functions described above. In addition, the selection device of the multimedia menu item provided by the above example belongs to the same concept as the example of the selection method of the multimedia menu item. For the specific implementation process, refer to the method example, and details are not described herein again.
图10是本申请实例提供的一种终端结构示意图。参见图10,终端1000可以包括通信单元1010、包括有一个或一个以上计算机可读存储介质的存储器1020、输入单元1030、显示单元1040、传感器1050、音频电路1060、WIFI(Wireless Fidelity,无线保真)模块1070、包括有一个或者一个以上处理核心的处理器1080、以及电源1090等部件。本领域技术人员可以理解,图10中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:FIG. 10 is a schematic structural diagram of a terminal provided by an example of the present application. Referring to FIG. 10, the terminal 1000 may include a communication unit 1010, a memory 1020 including one or more computer readable storage media, an input unit 1030, a display unit 1040, a sensor 1050, an audio circuit 1060, and a WIFI (Wireless Fidelity). The module 1070 includes a processor 1080 having one or more processing cores, and a power supply 1090 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 10 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements. among them:
通信单元1010可用于收发信息或通话过程中,信号的接收和发送,该通信单元1010可以为RF(Radio Frequency,射频)电路、路由器、调制解调器、等网络通信设备。特别地,当通信单元1010为RF电路时,将基站的下行信息接收后,交由一个或者一个以上处理器1080处理;另外,将涉及上行的数据发送给基站。通常,作为通信单元的RF电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,通信单元1010还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、 CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。存储器1020可用于存储软件程序以及模块,处理器1080通过运行存储在存储器1020的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器1020可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端1000的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1020可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器1020还可以包括存储器控制器,以提供处理器1080和输入单元1030对存储器1020的访问。The communication unit 1010 can be used for transmitting and receiving information and receiving and transmitting signals during a call. The communication unit 1010 can be an RF (Radio Frequency) circuit, a router, a modem, or the like. Specifically, when the communication unit 1010 is an RF circuit, the downlink information of the base station is received, and then processed by one or more processors 1080; in addition, data related to the uplink is transmitted to the base station. Generally, RF circuits as communication units include, but are not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a LNA (Low Noise Amplifier, low). Noise amplifier), duplexer, etc. In addition, the communication unit 1010 can also communicate with the network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service) )Wait. The memory 1020 can be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing by running software programs and modules stored in the memory 1020. The memory 1020 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 1000 (such as audio data, phone book, etc.) and the like. Moreover, memory 1020 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1020 can also include a memory controller to provide access to memory 1020 by processor 1080 and input unit 1030.
输入单元1030可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。优选地,输入单元1030可包括触敏表面1031以及其他输入设备1032。触敏表面1031,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面1031上或在触敏表面1031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1080,并能接收处理器1080发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面1031。除了触敏表面1031,输入单元1030还可以包括其他输入设备1032。优选地,其 他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 Input unit 1030 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. Preferably, input unit 1030 can include touch-sensitive surface 1031 and other input devices 1032. Touch-sensitive surface 1031, also known as a touch display or touchpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any touch-sensitive surface 1031 or The operation near the touch-sensitive surface 1031) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 1031 may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 1080 is provided and can receive commands from the processor 1080 and execute them. In addition, the touch sensitive surface 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 1031, the input unit 1030 can also include other input devices 1032. Preferably, its His input device 1032 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及终端1000的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元1040可包括显示面板1041,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板1041。进一步的,触敏表面1031可覆盖显示面板1041,当触敏表面1031检测到在其上或附近的触摸操作后,传送给处理器1080以确定触摸事件的类型,随后处理器1080根据触摸事件的类型在显示面板1041上提供相应的视觉输出。虽然在图10中,触敏表面1031与显示面板1041是作为两个独立的部件来实现输入和输入功能,但是在某些实例中,可以将触敏表面1031与显示面板1041集成而实现输入和输出功能。 Display unit 1040 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 1000, which can be constructed from graphics, text, icons, video, and any combination thereof. The display unit 1040 may include a display panel 1041. Alternatively, the display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 1031 can cover the display panel 1041, and when the touch-sensitive surface 1031 detects a touch operation thereon or nearby, it is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 according to the touch event The type provides a corresponding visual output on display panel 1041. Although in FIG. 10, the touch-sensitive surface 1031 and the display panel 1041 are implemented as two separate components to implement input and input functions, in some examples, the touch-sensitive surface 1031 can be integrated with the display panel 1041 to implement input and Output function.
终端1000还可包括至少一种传感器1050,比如光传感器、运动传感器以及其他传感器。光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1041的亮度,接近传感器可在终端1000移动到耳边时,关闭显示面板1041和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端1000还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Terminal 1000 can also include at least one type of sensor 1050, such as a light sensor, motion sensor, and other sensors. The light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 1041 and/or the backlight when the terminal 1000 moves to the ear. . As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal 1000 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
音频电路1060、扬声器1061,传声器1062可提供用户与终端1000之间的音频接口。音频电路1060可将接收到的音频数据转换后的电信号,传输到扬声器1061,由扬声器1061转换为声音信号输出;另一方面,传声器1062将收集的声音信号转换为电信号,由音频电路1060接收后转 换为音频数据,再将音频数据输出处理器1080处理后,经通信单元1010以发送给比如另一终端,或者将音频数据输出至存储器1020以便进一步处理。音频电路1060还可能包括耳塞插孔,以提供外设耳机与终端1000的通信。 Audio circuit 1060, speaker 1061, and microphone 1062 can provide an audio interface between the user and terminal 1000. The audio circuit 1060 can transmit the converted electrical data of the received audio data to the speaker 1061, and convert it into a sound signal output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, by the audio circuit 1060. After receiving The audio data is converted to audio data, and then processed by the audio data output processor 1080, sent to, for example, another terminal via the communication unit 1010, or the audio data is output to the memory 1020 for further processing. The audio circuit 1060 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 1000.
为了实现无线通信,该终端上可以配置有无线通信单元1070,该无线通信单元1070可以为WIFI模块。WIFI属于短距离无线传输技术,终端1000通过无线通信单元1070可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图中示出了无线通信单元1070,但是可以理解的是,其并不属于终端1000的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。In order to implement wireless communication, the terminal may be configured with a wireless communication unit 1070, which may be a WIFI module. WIFI is a short-range wireless transmission technology. The terminal 1000 can help a user to send and receive emails, browse web pages, and access streaming media through the wireless communication unit 1070, which provides wireless broadband Internet access for users. Although the wireless communication unit 1070 is shown in the drawings, it can be understood that it does not belong to the essential configuration of the terminal 1000, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器1080是终端1000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1020内的软件程序和/或模块,以及调用存储在存储器1020内的数据,执行终端1000的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1080可包括一个或多个处理核心;优选的,处理器1080可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器10100中。The processor 1080 is the control center of the terminal 1000, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1020, and recalling data stored in the memory 1020, The various functions and processing data of the terminal 1000 are performed to perform overall monitoring of the mobile phone. Optionally, the processor 1080 may include one or more processing cores; preferably, the processor 1080 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 10100.
终端1000还包括给各个部件供电的电源1090(比如电池),优选的,电源可以通过电源管理系统与处理器1080逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源1060还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal 1000 also includes a power source 1090 (such as a battery) for powering various components. Preferably, the power source can be logically coupled to the processor 1080 through a power management system to manage functions such as charging, discharging, and power management through the power management system. The power supply 1060 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
尽管未示出,终端1000还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the terminal 1000 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
具体而言,在本申请的一些实例中,上述存储器1020将存储有一个 或者一个以上程序,且经配置由一个或者一个以上处理器1080执行。In particular, in some examples of the present application, the above memory 1020 will store one Or more than one program, and configured to be executed by one or more processors 1080.
上述一个或者一个以上程序可以包括如下指令模块:The one or more programs described above may include the following instruction modules:
显示模块901,用于在第一显示区域中显示多媒体菜单,该多媒体菜单中包括多个多媒体菜单项;The display module 901 is configured to display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
第一确定模块902,用于当在第一显示区域中检测到第一指定操作时,从该多个多媒体菜单项中确定第一多媒体菜单项,第一多媒体菜单项为在第一显示区域中检测到的第一指定操作所作用的多媒体菜单项;The first determining module 902 is configured to determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, where the first multimedia menu item is a multimedia menu item acting on the first specified operation detected in the display area;
第二确定模块903,用于根据第一多媒体菜单项确定第一目标菜单项;a second determining module 903, configured to determine a first target menu item according to the first multimedia menu item;
第一填充模块904,用于当检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结束点坐标位于第二显示区域时,将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,第二显示区域用于显示多媒体菜单中已选择的多媒体菜单项。The first filling module 904 is configured to: when the first drag operation for the first target menu item is detected and the end point coordinate of the first drag operation is located in the second display area, the menu data in the first target menu item is The blank option slot is filled into the second display area to complete the selection of the multimedia menu item, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
上述各实例中的各模块也可以为指令模块而包含在存储器1020中。Each of the modules in the above examples may also be included in the memory 1020 as an instruction module.
在本实施例中,终端还包括有一个或者一个以上的程序,这一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行,所述一个或者一个以上程序包含用于进行本发明实施例提供的如下所述的多媒体菜单项的选择方法的指令,包括:In this embodiment, the terminal further includes one or more programs, the one or more programs being stored in the memory and configured to be executed by one or more processors, the one or more programs including The instructions for performing the selection method of the multimedia menu item as described in the embodiment of the present invention include:
在第一显示区域中显示多媒体菜单,该多媒体菜单中包括多个多媒体菜单项;Displaying a multimedia menu in the first display area, the multimedia menu including a plurality of multimedia menu items;
当在第一显示区域中检测到第一指定操作时,从该多个多媒体菜单项中确定第一多媒体菜单项,第一多媒体菜单项为在第一显示区域中检测到的手势操作所作用的多媒体菜单项;Determining a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, the first multimedia menu item being a gesture detected in the first display area The multimedia menu item to which the operation works;
根据第一多媒体菜单项确定第一目标菜单项;Determining a first target menu item according to the first multimedia menu item;
当检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结 束点坐标位于第二显示区域时,将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,第二显示区域用于显示该多媒体菜单中已选择的多媒体菜单项。When the first drag operation for the first target menu item is detected and the knot of the first drag operation When the beam point coordinates are located in the second display area, the menu data in the first target menu item is filled into the blank option slot of the second display area to complete the selection of the multimedia menu item, and the second display area is used to display the multimedia menu. The multimedia menu item that has been selected.
可选地,基于第一多媒体菜单项,创建第一临时菜单项,包括:Optionally, the first temporary menu item is created based on the first multimedia menu item, including:
创建第一空白临时选项槽;Create a first blank temporary option slot;
将第一多媒体菜单项中的菜单数据填充到第一空白临时选项槽中,得到第一临时菜单项。The menu data in the first multimedia menu item is filled into the first blank temporary option slot to obtain a first temporary menu item.
可选地,将第一多媒体菜单项中的菜单数据填充到第二显示区域中的空白选项槽中之前,还包括:Optionally, before the menu data in the first multimedia menu item is filled into the blank option slot in the second display area, the method further includes:
判断第二显示区域中是否包括空白选项槽;Determining whether a blank option slot is included in the second display area;
如果第二显示区域中不包括空白选项槽,则在第二显示区域中创建空白选项槽。If a blank option slot is not included in the second display area, a blank option slot is created in the second display area.
可选地,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中之前,还包括:Optionally, before the menu data in the first target menu item is filled into the blank option slot in the second display area, the method further includes:
判断第一目标菜单项的中心位置是否超过第一界线,第一界线为第一显示区域与第二显示区域之间的界线;Determining whether a center position of the first target menu item exceeds a first boundary line, where the first boundary line is a boundary between the first display area and the second display area;
当第一目标菜单项的中心位置超过第一界线时,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中。When the center position of the first target menu item exceeds the first boundary line, the menu data in the first target menu item is filled into the blank option slot in the second display area.
可选地,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中之前,还包括:Optionally, before the menu data in the first target menu item is filled into the blank option slot in the second display area, the method further includes:
判断第二显示区域中已显示的多媒体菜单项的个数是否达到预设个数;Determining whether the number of multimedia menu items displayed in the second display area reaches a preset number;
当第二显示区域中已显示的多媒体菜单项的个数未达到预设个数时,将第一目标菜单项中的菜单数据填充到第二显示区域中的空白选项槽中。When the number of multimedia menu items displayed in the second display area does not reach the preset number, the menu data in the first target menu item is filled into the blank option slot in the second display area.
可选地,该方法指令还包括: Optionally, the method instruction further includes:
当在第二显示区域中检测到第二指定操作时,从第二显示区域显示的多媒体菜单项中确定第二多媒体菜单项,第二多媒体菜单项为在第二显示区域中检测到的第二指定操作所作用的多媒体菜单项;When the second specifying operation is detected in the second display area, the second multimedia menu item is determined from the multimedia menu items displayed by the second display area, and the second multimedia menu item is detected in the second display area The multimedia menu item to which the second specified operation is applied;
将第二多媒体菜单项确定为第二目标菜单项;或者,基于第二多媒体菜单项,创建第二临时菜单项,并将第二多媒体菜单项从第二显示区域中删除,将第二临时菜单项确定为第二目标菜单项;Determining the second multimedia menu item as the second target menu item; or, based on the second multimedia menu item, creating the second temporary menu item and deleting the second multimedia menu item from the second display area Determining the second temporary menu item as the second target menu item;
当检测到针对第二目标菜单项的第二拖拽操作且第二拖拽操作的结束点坐标位于第一显示区域时,在第一显示区域中创建空白选项槽;When a second drag operation for the second target menu item is detected and an end point coordinate of the second drag operation is located in the first display area, a blank option slot is created in the first display area;
将第二目标菜单项中的菜单数据填充到第一显示区域中的该空白选项槽中。The menu data in the second target menu item is filled into the blank option slot in the first display area.
可选地,在第一显示区域中创建空白选项槽,包括:Optionally, creating a blank option slot in the first display area, including:
确定第二目标菜单项所属的信息类型;Determining the type of information to which the second target menu item belongs;
在第一显示区域中该信息类型所在的子区域中创建空白选项槽。A blank option slot is created in the sub-area in which the information type is located in the first display area.
可选地,该多媒体信息包括视频信息和音频信息,该音频信息包括歌曲。Optionally, the multimedia information includes video information and audio information, the audio information including a song.
在本申请实例中,终端在第一显示区域中显示该多媒体菜单。当终端在第一显示区域中检测到第一指定操作时,可以从该多媒体菜单的多个多媒体菜单项中确定第一多媒体菜单项,之后,该终端可以基于第一多媒体菜单项确定第一目标菜单项。当检测到针对第一目标菜单项的第一拖拽操作且第一拖拽操作的结束点坐标位于第二显示区域时,将第一目标菜单项中的菜单数据填充到第二显示区域的空白选项槽中。也即是,第一显示区域用于显示多媒体菜单中未选择的多媒体菜单项,第二显示区域用于显示已选择的多媒体菜单项,从而将已选择的多媒体菜单项和未选择的多媒体菜单项分开显示,可以较为明显地进行区分,不容易造成混淆,提高了选择多媒体菜单项的效率。 In the example of the present application, the terminal displays the multimedia menu in the first display area. When the terminal detects the first specified operation in the first display area, the first multimedia menu item may be determined from the plurality of multimedia menu items of the multimedia menu, after which the terminal may be based on the first multimedia menu item Determine the first target menu item. When the first drag operation for the first target menu item is detected and the end point coordinates of the first drag operation are located in the second display area, the menu data in the first target menu item is filled to the blank of the second display area In the option slot. That is, the first display area is for displaying the multimedia menu item that is not selected in the multimedia menu, and the second display area is for displaying the selected multimedia menu item, thereby selecting the selected multimedia menu item and the unselected multimedia menu item. Separate display, can be more clearly differentiated, not easy to cause confusion, improve the efficiency of selecting multimedia menu items.
本领域普通技术人员可以理解实现上述实例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,也即这些程序可被相关硬件执行以实现上述实例的全部或部分步骤。所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。上述计算机可读存储介质可以是非易失性的计算机可读存储介质。Those skilled in the art can understand that all or part of the steps of implementing the above examples may be completed by hardware, or may be instructed by a program to perform related hardware, that is, the programs may be executed by related hardware to implement all or part of the steps of the above examples. . The program may be stored in a computer readable storage medium, which may be a read only memory, a magnetic disk or an optical disk or the like. The computer readable storage medium described above may be a non-transitory computer readable storage medium.
以上所述仅为本申请的较佳实例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。 The above description is only a preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application are included in the scope of protection of the present application. within.

Claims (20)

  1. 一种多媒体菜单项的选择方法,所述方法应用于多媒体播放应用中用户选择多媒体菜单项的场景,其中,所述方法包括:A method for selecting a multimedia menu item, the method being applied to a scenario in which a user selects a multimedia menu item in a multimedia playback application, wherein the method includes:
    在第一显示区域中显示多媒体菜单,所述多媒体菜单中包括多个多媒体菜单项;Displaying a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
    当在所述第一显示区域中检测到第一指定操作时,从所述多个多媒体菜单项中确定第一多媒体菜单项;其中,所述第一多媒体菜单项为在所述第一显示区域中检测到的所述第一指定操作所作用的多媒体菜单项;Determining a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area; wherein the first multimedia menu item is in the a multimedia menu item that is detected by the first specified operation detected in the first display area;
    根据所述第一多媒体菜单项确定第一目标菜单项;以及Determining a first target menu item according to the first multimedia menu item;
    当检测到针对所述第一目标菜单项的第一拖拽操作且所述第一拖拽操作的结束点坐标位于第二显示区域时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域的空白选项槽中,以完成多媒体菜单项的选择;其中,所述第二显示区域用于显示所述多媒体菜单中已选择的多媒体菜单项。When the first drag operation for the first target menu item is detected and the end point coordinates of the first drag operation are located in the second display area, the menu data in the first target menu item is filled to In the blank option slot of the second display area, the selection of the multimedia menu item is completed; wherein the second display area is used to display the selected multimedia menu item in the multimedia menu.
  2. 如权利要求1所述的方法,其特征在于,所述根据所述第一多媒体菜单项确定第一目标菜单项包括:The method of claim 1, wherein the determining the first target menu item according to the first multimedia menu item comprises:
    将所述第一多媒体菜单项确定为第一目标菜单项。The first multimedia menu item is determined as a first target menu item.
  3. 如权利要求1所述的方法,其特征在于,所述根据所述第一多媒体菜单项确定第一目标菜单项包括:The method of claim 1, wherein the determining the first target menu item according to the first multimedia menu item comprises:
    基于所述第一多媒体菜单项,创建第一临时菜单项,并将所述第一多媒体菜单项从所述第一显示区域中删除,将所述第一临时菜单项确定为所述第一目标菜单项。Creating a first temporary menu item based on the first multimedia menu item, and deleting the first multimedia menu item from the first display area, determining the first temporary menu item as The first target menu item is described.
  4. 如权利要求3所述的方法,其特征在于,所述基于所述第一多媒体菜单项,创建第一临时菜单项,包括: The method of claim 3, wherein the creating the first temporary menu item based on the first multimedia menu item comprises:
    创建第一空白临时选项槽;Create a first blank temporary option slot;
    将所述第一多媒体菜单项中的菜单数据填充到所述第一空白临时选项槽中,得到所述第一临时菜单项。Filling the menu data in the first multimedia menu item into the first blank temporary option slot to obtain the first temporary menu item.
  5. 如权利要求1所述的方法,其特征在于,所述将所述第一目标菜单项中的菜单数据填充到所述第二显示区域中的空白选项槽中之前,还包括:The method of claim 1, wherein the filling of the menu data in the first target menu item into the blank option slot in the second display area further comprises:
    判断所述第二显示区域中是否包括空白选项槽;Determining whether a blank option slot is included in the second display area;
    如果所述第二显示区域中不包括空白选项槽,则在所述第二显示区域中创建空白选项槽。If the blank option slot is not included in the second display area, a blank option slot is created in the second display area.
  6. 如权利要求1-5任一权利要求所述的方法,其特征在于,所述将所述第一目标菜单项中的菜单数据填充到所述第二显示区域中的空白选项槽中之前,还包括:The method according to any one of claims 1 to 5, wherein the menu data in the first target menu item is filled in a blank option slot in the second display area, include:
    判断所述第一目标菜单项的中心位置是否超过第一界线,所述第一界线为所述第一显示区域与所述第二显示区域之间的界线;Determining whether a center position of the first target menu item exceeds a first boundary line, where the first boundary line is a boundary between the first display area and the second display area;
    当所述第一目标菜单项的中心位置超过所述第一界线时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域中的空白选项槽中。When the center position of the first target menu item exceeds the first boundary line, the menu data in the first target menu item is filled into a blank option slot in the second display area.
  7. 如权利要求1-6任一权利要求所述的方法,其特征在于,所述将所述第一目标菜单项中的菜单数据填充到所述第二显示区域中的空白选项槽中之前,还包括:The method according to any one of claims 1 to 6, wherein the menu data in the first target menu item is filled in a blank option slot in the second display area, include:
    判断所述第二显示区域中已显示的多媒体菜单项的个数是否达到预设个数;Determining whether the number of multimedia menu items displayed in the second display area reaches a preset number;
    当所述第二显示区域中已显示的多媒体菜单项的个数未达到预设个数时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域中的空白选项槽中。When the number of the multimedia menu items that have been displayed in the second display area does not reach the preset number, the menu data in the first target menu item is filled into the blank option slot in the second display area. in.
  8. 如权利要求1所述的方法,其特征在于,所述方法还包括: The method of claim 1 wherein the method further comprises:
    当在所述第二显示区域中检测到第二指定操作时,从所述第二显示区域显示的多媒体菜单项中确定第二多媒体菜单项,所述第二多媒体菜单项为在所述第二显示区域中检测到的所述第二指定操作所作用的多媒体菜单项;Determining a second multimedia menu item from a multimedia menu item displayed in the second display area when the second designation operation is detected in the second display area, the second multimedia menu item being a multimedia menu item that is detected by the second specified operation detected in the second display area;
    将所述第二多媒体菜单项确定为第二目标菜单项;或者,基于所述第二多媒体菜单项,创建第二临时菜单项,并将所述第二多媒体菜单项从所述第二显示区域中删除,将所述第二临时菜单项确定为所述第二目标菜单项;Determining the second multimedia menu item as a second target menu item; or, based on the second multimedia menu item, creating a second temporary menu item and the second multimedia menu item from Deleting in the second display area, determining the second temporary menu item as the second target menu item;
    当检测到针对所述第二目标菜单项的第二拖拽操作且所述第二拖拽操作的结束点坐标位于所述第一显示区域时,在所述第一显示区域中创建空白选项槽;以及Creating a blank option slot in the first display area when a second drag operation for the second target menu item is detected and an end point coordinate of the second drag operation is located in the first display area ;as well as
    将所述第二目标菜单项中的菜单数据填充到所述第一显示区域中的所述空白选项槽中。Filling the menu data in the second target menu item into the blank option slot in the first display area.
  9. 如权利要求8所述的方法,其特征在于,所述在所述第一显示区域中创建空白选项槽,包括:The method of claim 8, wherein the creating a blank option slot in the first display area comprises:
    确定所述第二目标菜单项所属的信息类型;Determining a type of information to which the second target menu item belongs;
    在所述第一显示区域中所述信息类型所在的子区域中创建空白选项槽。A blank option slot is created in the sub-area in which the information type is located in the first display area.
  10. 如权利要求1所述的方法,其特征在于,所述多媒体信息包括视频信息和音频信息,所述音频信息包括歌曲。The method of claim 1 wherein said multimedia information comprises video information and audio information, said audio information comprising a song.
  11. 如权利要求1所述的方法,其特征在于,所述第一显示区域和所述第二显示区域位于同一显示界面。The method of claim 1 wherein said first display area and said second display area are located on the same display interface.
  12. 一种多媒体菜单项的选择装置,其特征在于,所述装置包括:A device for selecting a multimedia menu item, the device comprising:
    一个或一个以上存储器;One or more memories;
    一个或一个以上处理器;其中,One or more processors; among them,
    所述一个或一个以上存储器存储有一个或者一个以上指令模块,经 配置由所述一个或者一个以上处理器执行;其中,The one or more memories store one or more instruction modules, via Configuring by the one or more processors; wherein
    所述一个或者一个以上指令模块包括:The one or more instruction modules include:
    显示模块,用于在第一显示区域中显示多媒体菜单,所述多媒体菜单中包括多个多媒体菜单项;a display module, configured to display a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
    第一确定模块,用于当在所述第一显示区域中检测到第一指定操作时,从所述多个多媒体菜单项中确定第一多媒体菜单项,其中,所述第一多媒体菜单项为在所述第一显示区域中检测到的所述第一指定操作所作用的多媒体菜单项;a first determining module, configured to determine a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, where the first multimedia The volume menu item is a multimedia menu item that is acted upon by the first specified operation detected in the first display area;
    第二确定模块,用于根据所述第一多媒体菜单项确定第一目标菜单项;以及a second determining module, configured to determine a first target menu item according to the first multimedia menu item;
    第一填充模块,用于当检测到针对所述第一目标菜单项的第一拖拽操作且所述第一拖拽操作的结束点坐标位于第二显示区域时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,其中,所述第二显示区域用于显示所述多媒体菜单中已选择的多媒体菜单项。a first filling module, configured to: when the first drag operation for the first target menu item is detected and an end point coordinate of the first drag operation is located in the second display area, the first target menu is The menu data in the item is filled into the blank option slot of the second display area to complete the selection of the multimedia menu item, wherein the second display area is used to display the selected multimedia menu item in the multimedia menu.
  13. 如权利要求12所述的装置,其特征在于,所述第二确定模块包括:The apparatus of claim 12, wherein the second determining module comprises:
    第一创建单元,用于创建第一空白临时选项槽;a first creating unit, configured to create a first blank temporary option slot;
    填充单元,用于将所述第一多媒体菜单项中的菜单数据填充到所述第一空白临时选项槽中,得到所述第一临时菜单项;a filling unit, configured to fill the menu data in the first multimedia menu item into the first blank temporary option slot to obtain the first temporary menu item;
    删除单元,用于将所述第一多媒体菜单项从所述第一显示区域中删除;以及a deleting unit, configured to delete the first multimedia menu item from the first display area;
    确定单元,用于将所述第一临时菜单项确定为所述第一目标菜单项。a determining unit, configured to determine the first temporary menu item as the first target menu item.
  14. 如权利要求12所述的装置,其特征在于,所述装置还包括:The device of claim 12, wherein the device further comprises:
    第一判断模块,用于判断所述第二显示区域中是否包括空白选项槽;a first determining module, configured to determine whether a blank option slot is included in the second display area;
    第一创建模块,用于如果所述第二显示区域中不包括空白选项槽, 则在所述第二显示区域中创建空白选项槽。a first creating module, if a blank option slot is not included in the second display area, A blank option slot is then created in the second display area.
  15. 如权利要求12-14任一权利要求所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 12-14, wherein the device further comprises:
    第二判断模块,用于判断所述第一目标菜单项的中心位置是否超过第一界线,所述第一界线为所述第一显示区域与所述第二显示区域之间的界线;a second determining module, configured to determine whether a center position of the first target menu item exceeds a first boundary line, where the first boundary line is a boundary between the first display area and the second display area;
    第二填充模块,用于当所述第一目标菜单项的中心位置超过所述第一界线时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域中的空白选项槽中。a second filling module, configured to fill menu data in the first target menu item to a blank option in the second display area when a center position of the first target menu item exceeds the first boundary line In the slot.
  16. 如权利要求12-15所述的装置,其特征在于,所述装置还包括:The device of any of claims 12-15, wherein the device further comprises:
    第三判断模块,用于判断所述第二显示区域中已显示的多媒体菜单项的个数是否达到预设个数;a third determining module, configured to determine whether the number of the multimedia menu items displayed in the second display area reaches a preset number;
    第三填充模块,用于当所述第二显示区域中已显示的多媒体菜单项的个数未达到预设个数时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域中的空白选项槽中。a third filling module, configured to fill the menu data in the first target menu item to the second when the number of the multimedia menu items displayed in the second display area does not reach a preset number In the blank option slot in the display area.
  17. 如权利要求12所述的装置,其特征在于,所述装置还包括:The device of claim 12, wherein the device further comprises:
    第三确定模块,用于当在所述第二显示区域中检测到第二指定操作时,从所述第二显示区域显示的多媒体菜单项中确定第二多媒体菜单项,所述第二多媒体菜单项为在所述第二显示区域中检测到的所述第二指定操作所作用的菜单项;a third determining module, configured to determine a second multimedia menu item from the multimedia menu item displayed in the second display area when the second specified operation is detected in the second display area, the second The multimedia menu item is a menu item that is acted upon by the second specified operation detected in the second display area;
    第四确定模块,用于将所述第二多媒体菜单项确定为第二目标菜单项;或者,基于所述第二多媒体菜单项,创建第二临时菜单项,并将所述第二多媒体菜单项从所述第二显示区域中删除,将所述第二临时菜单项确定为所述第二目标菜单项;a fourth determining module, configured to determine the second multimedia menu item as a second target menu item; or, based on the second multimedia menu item, create a second temporary menu item, and Two multimedia menu items are deleted from the second display area, and the second temporary menu item is determined as the second target menu item;
    第二创建模块,用于当检测到针对所述第二目标菜单项的第二拖拽操作且所述第二拖拽操作的结束点坐标位于所述第一显示区域时,在所 述第一显示区域中创建空白选项槽;及a second creating module, configured to: when a second drag operation for the second target menu item is detected and an end point coordinate of the second drag operation is located in the first display area, Creating a blank option slot in the first display area; and
    第四填充模块,用于将所述第二目标菜单项中的菜单数据填充到所述第一显示区域中的所述空白选项槽中。And a fourth filling module, configured to fill the menu data in the second target menu item into the blank option slot in the first display area.
  18. 如权利要求17所述的装置,其特征在于,所述第四创建模块包括:The apparatus of claim 17, wherein the fourth creation module comprises:
    确定单元,用于确定所述第二目标菜单项所属的信息类型;a determining unit, configured to determine a type of information to which the second target menu item belongs;
    第二创建单元,用于在所述第一显示区域中所述信息类型所在的子区域中创建空白选项槽。And a second creating unit, configured to create a blank option slot in the sub-area in which the information type is located in the first display area.
  19. 如权利要求12所述的装置,其特征在于,所述多媒体信息包括视频信息和音频信息,所述音频信息包括歌曲。The apparatus of claim 12 wherein said multimedia information comprises video information and audio information, said audio information comprising a song.
  20. 一种非易失性计算机可读存储介质,其特征在于,存储有计算机可读指令,可以使一个或一个以上处理器执行以下处理:A non-transitory computer readable storage medium, characterized by storing computer readable instructions that cause one or more processors to perform the following processing:
    在第一显示区域中显示多媒体菜单,所述多媒体菜单中包括多个多媒体菜单项;Displaying a multimedia menu in the first display area, where the multimedia menu includes a plurality of multimedia menu items;
    当在所述第一显示区域中检测到第一指定操作时,从所述多个多媒体菜单项中确定第一多媒体菜单项,其中,所述第一多媒体菜单项为在所述第一显示区域中检测到的所述第一指定操作所作用的多媒体菜单项;Determining a first multimedia menu item from the plurality of multimedia menu items when the first specified operation is detected in the first display area, wherein the first multimedia menu item is in the a multimedia menu item that is detected by the first specified operation detected in the first display area;
    根据所述第一多媒体菜单项确定第一目标菜单项;以及Determining a first target menu item according to the first multimedia menu item;
    当检测到针对所述第一目标菜单项的第一拖拽操作且所述第一拖拽操作的结束点坐标位于第二显示区域时,将所述第一目标菜单项中的菜单数据填充到所述第二显示区域的空白选项槽中,以完成多媒体菜单项的选择,所述第二显示区域用于显示所述多媒体菜单中已选择的多媒体菜单项。 When the first drag operation for the first target menu item is detected and the end point coordinates of the first drag operation are located in the second display area, the menu data in the first target menu item is filled to In the blank option slot of the second display area, the selection of the multimedia menu item is completed, and the second display area is used to display the selected multimedia menu item in the multimedia menu.
PCT/CN2017/071345 2016-01-29 2017-01-17 Selection method, device and storage medium for multimedia menu item WO2017128986A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610064517.6 2016-01-29
CN201610064517.6A CN105739839B (en) 2016-01-29 2016-01-29 The selection method and device of multimedia menu item

Publications (1)

Publication Number Publication Date
WO2017128986A1 true WO2017128986A1 (en) 2017-08-03

Family

ID=56247902

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071345 WO2017128986A1 (en) 2016-01-29 2017-01-17 Selection method, device and storage medium for multimedia menu item

Country Status (2)

Country Link
CN (1) CN105739839B (en)
WO (1) WO2017128986A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356175A (en) * 2021-12-29 2022-04-15 广州趣丸网络科技有限公司 Method and device for realizing annular rolling list
CN116540997A (en) * 2023-07-07 2023-08-04 杭州朗和科技有限公司 Data type declaration method, medium, device and computing equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739839B (en) * 2016-01-29 2019-05-31 腾讯科技(深圳)有限公司 The selection method and device of multimedia menu item
CN108803975B (en) * 2018-06-22 2021-12-28 珠海豹趣科技有限公司 Instruction processing method and device and electronic equipment
CN109101160B (en) * 2018-08-20 2021-07-09 深圳市创凯智能股份有限公司 Terminal control method, terminal, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101896880A (en) * 2008-01-29 2010-11-24 三星电子株式会社 Method for providing graphical user interface (GUI) using divided screen and multimedia device using the same
CN102955653A (en) * 2011-08-26 2013-03-06 苹果公司 Device, method, and graphical user interface for navigating and previewing content items
CN105739839A (en) * 2016-01-29 2016-07-06 腾讯科技(深圳)有限公司 Multimedia menu item selection method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097389A (en) * 1997-10-24 2000-08-01 Pictra, Inc. Methods and apparatuses for presenting a collection of digital media in a media container
KR20060133389A (en) * 2005-06-20 2006-12-26 엘지전자 주식회사 Method and apparatus for processing data of mobile terminal
CN104991720A (en) * 2015-06-30 2015-10-21 努比亚技术有限公司 Icon moving method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101896880A (en) * 2008-01-29 2010-11-24 三星电子株式会社 Method for providing graphical user interface (GUI) using divided screen and multimedia device using the same
CN102955653A (en) * 2011-08-26 2013-03-06 苹果公司 Device, method, and graphical user interface for navigating and previewing content items
CN105739839A (en) * 2016-01-29 2016-07-06 腾讯科技(深圳)有限公司 Multimedia menu item selection method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356175A (en) * 2021-12-29 2022-04-15 广州趣丸网络科技有限公司 Method and device for realizing annular rolling list
CN114356175B (en) * 2021-12-29 2023-08-11 广州趣丸网络科技有限公司 Method and device for realizing annular rolling list
CN116540997A (en) * 2023-07-07 2023-08-04 杭州朗和科技有限公司 Data type declaration method, medium, device and computing equipment
CN116540997B (en) * 2023-07-07 2023-09-26 杭州朗和科技有限公司 Data type declaration method, medium, device and computing equipment

Also Published As

Publication number Publication date
CN105739839A (en) 2016-07-06
CN105739839B (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US11237724B2 (en) Mobile terminal and method for split screen control thereof, and computer readable storage medium
CN106406712B (en) Information display method and device
TWI525522B (en) Target element moving method, device and electronic equipment thereof
WO2019015404A1 (en) Method and apparatus for switching applications in split screen mode, and related device thereof
US10372320B2 (en) Device and method for operating on touch screen, and storage medium
WO2014206101A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
WO2017128986A1 (en) Selection method, device and storage medium for multimedia menu item
TWI520043B (en) Method, device and moving terminal for examining messages
US11079930B2 (en) Method and terminal for displaying a plurality of content cards
WO2016119580A1 (en) Method, device and terminal for starting voice input function of terminal
CN107493389A (en) Singlehanded mode implementation method, terminal and computer-readable medium
WO2015043194A1 (en) Virtual keyboard display method and apparatus, and terminal
CN106375179B (en) Method and device for displaying instant communication message
KR101600999B1 (en) Method, apparatus and terminal device, program and storage medium for selecting character
JP6027694B2 (en) Slide operation response method, slide operation response device, terminal device, program, and recording medium
US9798713B2 (en) Method for configuring application template, method for launching application template, and mobile terminal device
WO2015000429A1 (en) Intelligent word selection method and device
CN105022552A (en) Message list display method and apparatus
WO2015000430A1 (en) Intelligent word selection method and device
CN103634717A (en) Method, device and terminal equipment utilizing earphone to control
WO2015035794A1 (en) Message display method, apparatus, and terminal device
WO2015014135A1 (en) Mouse pointer control method and apparatus, and terminal device
CN104238931B (en) Information input method and device and electronic equipment
WO2019047129A1 (en) Method for moving application icons, and terminal
WO2015024393A1 (en) Method, apparatus, and terminal for sending sms message

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17743601

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17743601

Country of ref document: EP

Kind code of ref document: A1