CN114047991A - Focus movement sequence determination method and device - Google Patents

Focus movement sequence determination method and device Download PDF

Info

Publication number
CN114047991A
CN114047991A CN202111349798.7A CN202111349798A CN114047991A CN 114047991 A CN114047991 A CN 114047991A CN 202111349798 A CN202111349798 A CN 202111349798A CN 114047991 A CN114047991 A CN 114047991A
Authority
CN
China
Prior art keywords
controls
input
determining
control
focus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111349798.7A
Other languages
Chinese (zh)
Inventor
刘少玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111349798.7A priority Critical patent/CN114047991A/en
Publication of CN114047991A publication Critical patent/CN114047991A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The application discloses a method and a device for determining a focus moving sequence, and belongs to the technical field of electronics. The specific scheme comprises the following steps: receiving a first input of a user on a target interface under the condition that the target interface is displayed; determining a moving sequence of a selection focus on the M controls according to the position relation between the M controls in the target interface and the input tracks corresponding to the first input; wherein M is an integer greater than or equal to 2.

Description

Focus movement sequence determination method and device
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a method and a device for determining a focus moving sequence.
Background
With the development of the vehicle-mounted communication technology, various application interfaces can be displayed on a display screen of the vehicle-mounted device. In the related art, a user can trigger the position of the selection focus to move in a mechanical input mode, so as to operate a certain control selected by the selection focus, however, under the condition that the number of controls displayed in an interface is large, the user needs to perform multiple inputs to determine the movement sequence of the focus to a desired position, and therefore the operation convenience is poor, and a lot of time is consumed.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for determining a focus moving sequence, which can solve the problems of poor operation convenience and high time cost in the process of selecting a control by a user.
In a first aspect, an embodiment of the present application provides a method for determining a focal point movement sequence, where the method includes: receiving a first input of a user on a target interface under the condition that the target interface is displayed; determining a moving sequence of a selection focus on the M controls according to the position relation between the M controls in the target interface and the input tracks corresponding to the first input; wherein M is an integer greater than or equal to 2.
In a second aspect, an embodiment of the present application provides a focus moving order determining apparatus, including: the device comprises a receiving module and a processing module; the receiving module is used for receiving a first input of a user on a target interface under the condition that the target interface is displayed; the processing module is used for determining the moving sequence of the selection focus on the M controls according to the position relation between the M controls in the target interface and the input track corresponding to the first input; wherein M is an integer greater than or equal to 2.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, a first input of a user on a target interface can be received under the condition that the target interface is displayed; determining a moving sequence of a selection focus on the M controls according to the position relation between the M controls in the target interface and the input tracks corresponding to the first input; wherein M is an integer greater than or equal to 2. According to the technical scheme, the moving sequence of the selection focus on the M controls can be determined according to the position relation between the M controls and the input tracks corresponding to the first input, so that a user can set the moving sequence of the focus of the controls through the first input, the user can set the arrangement positions of the controls according to personal use habits, the moving times of the selection focus are reduced, the operation convenience of the user for selecting the controls is improved, and the operation time is saved.
Drawings
Fig. 1 is one of schematic diagrams of a focus movement sequence determination method provided in an embodiment of the present application;
fig. 2 is one of interface operation diagrams of a focus movement sequence determination method according to an embodiment of the present application;
fig. 3 is a second schematic interface operation diagram of the method for determining a focal point moving sequence according to the embodiment of the present application;
fig. 4 is a third schematic interface operation diagram of a method for determining a focal point movement sequence according to the embodiment of the present application;
fig. 5 is a second schematic diagram of a focal point moving sequence determining method according to an embodiment of the present application;
fig. 6 is a fourth schematic view of an interface operation of the method for determining a focal point moving sequence according to the embodiment of the present application;
fig. 7 is a fifth schematic view of an interface operation of the method for determining a focal point moving sequence according to the embodiment of the present application;
fig. 8 is a schematic structural diagram of a focus movement sequence determination apparatus provided in an embodiment of the present application;
FIG. 9 is a hardware diagram of an electronic device provided by an embodiment of the present application;
fig. 10 is a second hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the focus movement sequence determination method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
In the method for determining a focal point movement sequence provided in the embodiment of the present application, an execution subject of the method for determining a focal point movement sequence may be an electronic device or a functional module or a functional entity capable of implementing the method for determining a focal point movement sequence in the electronic device, where the electronic device mentioned in the embodiment of the present application includes, but is not limited to, a vehicle-mounted device, a mobile phone, a tablet computer, a camera, a wearable device, and the like, and the method for determining a focal point movement sequence provided in the embodiment of the present application is described below with the electronic device as the execution subject.
As shown in fig. 1, an embodiment of the present application provides a method for determining a focal point movement sequence, which may include steps 101-102:
step 101, receiving a first input of a user on a target interface under the condition that the target interface is displayed.
Optionally, the first input may be a touch input of the user on the target interface, for example, the touch input may be a swipe input or a touch input.
Optionally, when the first input is a swiping input, the user input trajectory may be a trajectory formed by the user swiping input; when the first input is a touch input, the user input trajectory may be a line segment trajectory formed by connecting touch points by straight lines.
Optionally, the target interface may be an interface including M controls, where M is an integer greater than or equal to 2. The electronic device may output first prompt information in the case that M is greater than the second threshold, where the first prompt information may be used to prompt the user to custom select a movement sequence of the focus on the M controls.
It can be understood that, in the case that there are many controls in the target interface, a first prompt message is output to prompt the user whether to determine the focal point movement sequence of the multiple controls in a user-defined manner.
Specifically, under the condition that M is greater than the second threshold, that is, the number of controls in the target interface is greater than the second threshold, if the user wants to control the selection focus to select a certain control, the user may need to perform multiple inputs according to the system-defined selection focus movement sequence, and therefore, in order to improve the convenience of the user operation, the electronic device may output first prompt information to prompt the user to customize the movement sequence of the selection focus on the M controls according to the selection requirement of the controls.
Optionally, the first prompt message may be a voice prompt message or a text prompt message.
Based on the scheme, under the condition that M is larger than the second threshold value, the user can be prompted to self-define the moving sequence of the selection focus on the M controls, so that the selection focus can move among the controls according to the user-defined moving sequence, and the operation convenience of the user for selecting the controls can be improved.
And step 102, determining a moving sequence of the selection focus on the M controls according to the position relation between the M controls in the target interface and the input tracks corresponding to the first input.
It should be noted that the input trajectory may be a line trajectory that passes through all the controls in the target interface as far as possible. The selection focus refers to an indication mark which can be moved on a control in the interface through triggering of user input. For example, the selection focus may appear as a selection box.
Optionally, the electronic device may determine, on the input track, N marking points closest to the M controls, where one marking point corresponds to at least one control; and determining the moving sequence of the selected focus on the M controls according to the arrangement positions of the N marking points on the input track. Wherein N is a positive integer less than or equal to M.
Illustratively, as shown in fig. 2, N is equal to M. The electronic device may determine 8 mark points corresponding to 8 controls on the input track 21, where an arrow points to a forming direction of the input track 21, and according to arrangement positions of the 8 mark points on the input track 21, it may be determined that a moving sequence of the selection focus on the 8 controls is: control 1, control 5, control 2, control 6, control 3, control 7, control 4 and control 8.
Based on the scheme, the moving sequence of the selection focus on the M controls can be determined according to the arrangement positions of the N mark points on the input track, so that a user can set the moving sequence of the selection focus on the controls during the first input, and the tedious operation of arranging the controls is avoided.
Optionally, in a case that N is smaller than M, that is, in a case that the target mark point corresponds to at least two controls, the electronic device may determine the arrangement positions of the at least two controls according to distances from the at least two controls to the target mark point; the smaller the distance between the control and the target mark point is, the more front the arrangement position is, and the target mark point is one of the N mark points.
Exemplarily, as shown in fig. 3, the target mark point is taken as the mark point 31 as an example. Because the mark points of the control 5 and the control 9 on the input track 21 are both the mark points 31, the electronic device may respectively determine the distance from the control 5 to the mark points 31 and the distance from the control 9 to the mark points 31, and because the distance from the control 9 to the mark points 31 is greater than the distance from the control 5 to the mark points 31, the arrangement order of the control 5 and the control 9 may be: control 5, control 9. The moving sequence of the selection focus in the 9 controls of the target interface is as follows: control 1, control 5, control 9, control 2, control 6, control 3, control 7, control 4, and control 8.
Based on the scheme, under the condition that the target mark point corresponds to the at least two controls, the electronic equipment can determine the arrangement positions of the at least two controls according to the distances from the at least two controls to the target mark point, so that the input track does not need to be close to each control when the user performs the first input, the input fault tolerance of the user input is increased, and the input difficulty of the input track is reduced.
Optionally, after determining the N marker points, the electronic device may determine a first distance between each control and the corresponding marker point; screening K controls of which the first distance is smaller than or equal to a first threshold value from the M controls; then, determining the moving sequence of the selection focus on the K controls according to the arrangement positions of the mark points corresponding to the K controls on the input track; arranging (M-K) controls behind the K controls according to the sequence of the first distance from small to large; wherein K is a positive integer less than or equal to M.
For example, as shown in fig. 4, the marked points of the control 5, the control 9, and the control 10 on the input track 21 are marked points 41, and the electronic device may calculate the distance from each control to the marked points 41 according to the coordinates of the control and the coordinates of the marked points 41. Taking the distance from the control 9 to the mark point 41 and the distance from the control 10 to the mark point 41 as examples that are greater than the first threshold, the electronic device may arrange the control 9 and the control 10 behind the controls 1 to 8, and since the distance from the control 9 to the mark point 41 is smaller than the distance from the control 10 to the mark point 41, the electronic device may arrange the control 9 in front of the control 10. In summary, the final moving order of the selection focus on the 10 controls is: control 1, control 5, control 2, control 6, control 3, control 7, control 4, control 8, control 9, and control 10.
Based on the scheme, the controls with the first distance larger than the first threshold value can be arranged behind other controls, so that the electronic equipment can sequence all the controls according to the input track even if the difference of the arrangement positions of the controls is large in the target interface, and the arrangement positions are closer to the back as the first distance is larger, so that the psychology that a user can preferentially select common controls when inputting the input track is met, and the finally obtained selection focus moving sequence can better meet the use requirements of the user.
Optionally, the electronic device may receive a second input by the user to the target point in the input trajectory; and then in response to a second input, displaying a selection focus by default on a target control, which is the control closest to the target point among the M controls.
Based on the scheme, the user can self-define the control with the default selected focus display, so that the user can determine the initial position of the selected focus according to the selection requirement of the user on the control, and the operation convenience of the user for selecting the control is improved.
In the embodiment of the application, the moving sequence of the selection focus on the M controls can be determined according to the position relation between the M controls and the input tracks corresponding to the first input, so that a user can set the moving sequence of the focus of the controls through the first input, and the user can set the arrangement positions of the controls according to personal use habits, so that the moving times of the selection focus are reduced, the operation convenience of the user for selecting the controls is improved, and the operation time is saved.
Optionally, with reference to fig. 1, as shown in fig. 5, after the step 102, the method may further include steps 103 and 105:
and 103, receiving a third input of the mechanical input end by the user under the condition that the selection focus is displayed on the first control.
Specifically, in a case where the selection focus is displayed on the first control, if the user wants to control another control in the selection focus selection interface, the user may perform a third input on the mechanical input end, so that the electronic device receives the third input on the mechanical input end by the user.
Optionally, the first control is a control in a target interface currently displayed by the electronic device, and the first control may be a control selected by default for the selection focus, that is, the target control, or a control through which the selection focus passes in the process of moving to the control that the user wants to select.
Alternatively, the mechanical input end is a mechanical module loaded on the electronic device for receiving user input, for example, in the case that the electronic device is an in-vehicle device, the mechanical input end may be a mechanical slide button, a touch pad, a mechanical rocker, and the like.
Optionally, the third input is an operation input of the mechanical input end by the user. For example, in the case where the mechanical input is a mechanical slider, if the user wants to control the selection focus in the interface to select another control, the first input may be an input by which the user controls the mechanical slider to slide in the "previous" or "next" direction.
And step 104, responding to a third input, and determining a second control adjacent to the first control according to the moving sequence of the selection focus on the M controls.
After the electronic device receives the third input, the electronic device may determine an arrangement position of the first control in the M controls, and determine a control adjacent to the arrangement position of the first control as the second control according to an indication of the third input.
For example, as shown in fig. 6, taking M as 8 as an example, the target interface includes controls 1 to 8, if the moving order of the selection focus on the 8 controls is control 1, control 5, control 2, control 6, control 3, control 7, control 4, and control 8, and the first control is control 3, after the electronic device receives the third input, if the third input indicates "previous", the electronic device may determine control 6 as the second control; if the third input indicates "next," the electronic device may determine control 7 to be the second control.
It should be noted that the moving order of the selection focus on the M controls is the moving order of the selection focus determined in the above steps 101-102. The moving sequence is different from the default moving sequence of the selection focus, for example, if the moving sequence of the selection focus determined by steps 101-102 is: the default moving sequence of the system for selecting the focus can be control 1, control 2, control 3, control 4, control 5, control 6, control 7, and control 8.
And 105, canceling the display of the selection focus on the first control, and displaying the selection focus on the second control.
Illustratively, the first control is taken as control 3, and the second control is taken as control 6. As shown in fig. 7 (a), prior to receiving the third input, the electronic device may display a selection focus 71 on control 3; as shown in fig. 7 (b), after determining the control 6 as the second control, the electronic device may cancel the selection focus 71 on the display control 3 and display the selection focus 71 on the control 6.
In the embodiment of the application, if a user wants to operate a second control in a target interface, a third input can be performed on the mechanical input end, so that the electronic device determines the second control adjacent to the first control according to the moving sequence of the selection focus on the M controls.
Optionally, before the step 103, the method may further include the step 106:
and 106, displaying the input track of the user and displaying the selection focus on the target control under the condition that the M controls have the self-defined movement sequence of the selection focus.
Optionally, after the user defines the movement sequence of the selection focus on the M controls, the user may trigger the electronic device to store the selection focus defined movement sequence, that is, the target interface and the selection focus defined movement sequence of the M controls are stored correspondingly. Thereby avoiding the tedious operation of repeatedly setting.
Under the condition that the electronic equipment displays the target interface, the electronic equipment can judge whether the target interface has the selection focus self-defining moving sequence or not, namely whether the selection focus self-defining moving sequence stored corresponding to the target interface exists or not. If the M controls have the self-defined moving sequence of the selection focus, the input track can be displayed, and the selection focus is displayed on the target control.
Optionally, the electronic device may display the input trajectory with a preset transparency, so as to avoid a problem that displaying the input trajectory may interfere with a user viewing the target interface.
In the embodiment of the application, because the electronic device can display the input track, the user can determine the moving trend of the selection focus according to the input track, so that the user is helped to select the desired control more quickly.
It should be noted that, in the focus movement sequence determination method provided in the embodiment of the present application, the execution subject may be the focus movement sequence determination apparatus, or a control module in the focus movement sequence determination apparatus for executing the focus movement sequence determination method. In the embodiment of the present application, a focus movement order determination device executes a focus movement order determination method as an example, and the focus movement order determination device provided in the embodiment of the present application is described.
As shown in fig. 8, an embodiment of the present application further provides a focus movement order determination apparatus 800, including: a receiving module 801 and a processing module 802. The receiving module 801 is configured to receive a first input of a user on a target interface in a case that the target interface is displayed; the processing module 802 is configured to determine, according to a position relationship between M controls in the target interface and an input track corresponding to the first input, a moving sequence of a selection focus on the M controls; wherein M is an integer greater than or equal to 2.
Optionally, the processing module 802 is specifically configured to: determining N marking points which are closest to the M controls on the input track, wherein one marking point corresponds to at least one control; and determining the moving sequence of the selection focus on the M controls according to the arrangement positions of the N marking points on the input track.
Optionally, the processing module 802 is further configured to: under the condition that a target marking point corresponds to at least two controls, determining the arrangement positions of the at least two controls according to the distances from the at least two controls to the target marking point; the smaller the distance from the control to the target mark point is, the more forward the arrangement position is, and the target mark point is one of the N mark points.
Optionally, the processing module 802 is further configured to: determining a first distance between each control and the corresponding marking point; screening K controls of the M controls, wherein the first distance is smaller than or equal to a first threshold value; the processing module 802 is specifically configured to: determining the moving sequence of the selection focus on the K controls according to the arrangement positions of the mark points corresponding to the K controls on the input track; arranging (M-K) controls behind the K controls according to the sequence of the first distances from small to large; wherein K is a positive integer less than or equal to M.
Optionally, with continued reference to fig. 8, the apparatus 800 may further include an output module 803; the output module 803 is configured to output first prompt information when M is greater than a second threshold, where the first prompt information is used to prompt a user to customize a moving sequence of the selection focus on the M controls.
In the embodiment of the application, the moving sequence of the selection focus on the M controls can be determined according to the position relation between the M controls and the input tracks corresponding to the first input, so that a user can set the moving sequence of the focus of the controls through the first input, and the user can set the arrangement positions of the controls according to personal use habits, so that the moving times of the selection focus are reduced, the operation convenience of the user for selecting the controls is improved, and the operation time is saved.
The focus movement sequence determination apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The focus movement order determination device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The focus movement sequence determining apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 7, and is not described here again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and executable on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the foregoing method for determining a focus movement sequence, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1007 is configured to receive a first input of a user on a target interface when the target interface is displayed.
A processor 1010, configured to determine, according to a positional relationship between M controls in the target interface and an input track corresponding to the first input, a movement sequence of a selection focus on the M controls; wherein M is an integer greater than or equal to 2.
In the embodiment of the application, the moving sequence of the selection focus on the M controls can be determined according to the position relation between the M controls and the input tracks corresponding to the first input, so that a user can set the moving sequence of the focus of the controls through the first input, and the user can set the arrangement positions of the controls according to personal use habits, so that the moving times of the selection focus are reduced, the operation convenience of the user for selecting the controls is improved, and the operation time is saved.
Optionally, the processor 1010 is specifically configured to: determining N marking points which are closest to the M controls on the input track, wherein one marking point corresponds to at least one control; and determining the moving sequence of the selection focus on the M controls according to the arrangement positions of the N marking points on the input track.
In the embodiment of the application, the moving sequence of the selection focus on the M controls can be determined according to the arrangement positions of the N mark points on the input track, so that a user can set the moving sequence of the selection focus on the controls during the first input, thereby avoiding the tedious operation of arranging the controls.
Optionally, the processor 1010 is further configured to: under the condition that a target marking point corresponds to at least two controls, determining the arrangement positions of the at least two controls according to the distances from the at least two controls to the target marking point; the smaller the distance from the control to the target mark point is, the more forward the arrangement position is, and the target mark point is one of the N mark points.
In the embodiment of the application, under the condition that the target mark point corresponds to the at least two controls, the electronic device can determine the arrangement positions of the at least two controls according to the distances from the at least two controls to the target mark point, so that the input track does not need to be close to each control when a user performs first input, the input fault tolerance of the user is increased, and the input difficulty of the input track is reduced.
Optionally, the processor 1010 is further configured to: determining a first distance between each control and the corresponding marking point; screening K controls of the M controls, wherein the first distance is smaller than or equal to a first threshold value; the processor 1010 is specifically configured to: determining the moving sequence of the selection focus on the K controls according to the arrangement positions of the mark points corresponding to the K controls on the input track; arranging (M-K) controls behind the K controls according to the sequence of the first distances from small to large; wherein K is a positive integer less than or equal to M.
In the embodiment of the application, the controls with the first distance larger than the first threshold value can be arranged behind other controls, so that the electronic device can sequence all the controls according to the input track even if the difference of the arrangement positions of the controls is large in the target interface, and the arrangement positions are more behind as the first distance is larger, so that the psychology that a user can preferentially select common controls when inputting the input track is met, and finally the obtained selection focus moving sequence can better meet the use requirements of the user.
Optionally, the display unit 1006 or the audio output unit 1003 is configured to output first prompt information when M is greater than a second threshold, where the first prompt information is used to prompt a user to customize a moving sequence of the selection focus on the M controls.
In the embodiment of the application, under the condition that M is greater than the second threshold, the user can be prompted to self-define the moving sequence of the selection focus on the M controls, so that the selection focus can be moved among the controls according to the user-defined moving sequence, and the operation convenience of the user for selecting the controls can be improved.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing method for determining a focus moving sequence, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method for determining a focus movement sequence, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A focus movement order determination method, characterized by comprising:
receiving a first input of a user on a target interface under the condition that the target interface is displayed;
determining a moving sequence of a selection focus on the M controls according to the position relation between the M controls in the target interface and the input tracks corresponding to the first input;
wherein M is an integer greater than or equal to 2.
2. The method according to claim 1, wherein the determining, according to the positional relationship between the M controls in the target interface and the input tracks corresponding to the first input, the moving order of the selection focus on the M controls comprises:
determining N marking points which are closest to the M controls on the input track, wherein one marking point corresponds to at least one control;
determining the moving sequence of the selection focus on the M controls according to the arrangement positions of the N marking points on the input track;
wherein N is a positive integer less than or equal to M.
3. The method according to claim 2, wherein after determining the N marker points closest to the M controls on the input trajectory, the method further comprises:
under the condition that a target marking point corresponds to at least two controls, determining the arrangement positions of the at least two controls according to the distances from the at least two controls to the target marking point;
the smaller the distance from the control to the target mark point is, the more forward the arrangement position is, and the target mark point is one of the N mark points.
4. The focus movement order determination method according to claim 2, wherein after determining the N marker points closest to the M controls on the input trajectory, the method further comprises:
determining a first distance between each control and the corresponding marking point;
screening K controls of the M controls, wherein the first distance is smaller than or equal to a first threshold value;
determining a moving sequence of the selection focus on the M controls according to the arrangement positions of the N marking points on the input track, including:
determining the moving sequence of the selection focus on the K controls according to the arrangement positions of the mark points corresponding to the K controls on the input track;
arranging (M-K) controls behind the K controls according to the sequence of the first distances from small to large;
wherein K is a positive integer less than or equal to M.
5. The focus movement sequence determination method according to any one of claims 1 to 4, wherein before the receiving a first input by a user on the target interface, the method further comprises:
and outputting first prompt information when the M is larger than a second threshold, wherein the first prompt information is used for prompting a user to define the moving sequence of the selection focus on the M controls.
6. A focus movement order determination apparatus, characterized by comprising: the device comprises a receiving module and a processing module;
the receiving module is used for receiving a first input of a user on a target interface under the condition that the target interface is displayed;
the processing module is used for determining the moving sequence of the selection focus on the M controls according to the position relation between the M controls in the target interface and the input track corresponding to the first input;
wherein M is an integer greater than or equal to 2.
7. The apparatus according to claim 6, wherein the processing module is specifically configured to:
determining N marking points which are closest to the M controls on the input track, wherein one marking point corresponds to at least one control;
and determining the moving sequence of the selection focus on the M controls according to the arrangement positions of the N marking points on the input track.
8. The apparatus according to claim 7, wherein the processing module is further configured to:
under the condition that a target marking point corresponds to at least two controls, determining the arrangement positions of the at least two controls according to the distances from the at least two controls to the target marking point;
the smaller the distance from the control to the target mark point is, the more forward the arrangement position is, and the target mark point is one of the N mark points.
9. The apparatus according to claim 7, wherein the processing module is further configured to:
determining a first distance between each control and the corresponding marking point;
screening K controls of the M controls, wherein the first distance is smaller than or equal to a first threshold value;
the processing module is specifically configured to:
determining the moving sequence of the selection focus on the K controls according to the arrangement positions of the mark points corresponding to the K controls on the input track;
arranging (M-K) controls behind the K controls according to the sequence of the first distances from small to large;
wherein K is a positive integer less than or equal to M.
10. The apparatus according to any one of claims 6 to 9, wherein the apparatus further comprises an output module;
the output module is configured to output first prompt information when M is greater than a second threshold, where the first prompt information is used to prompt a user to customize a moving sequence of the selection focus on the M controls.
CN202111349798.7A 2021-11-15 2021-11-15 Focus movement sequence determination method and device Pending CN114047991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111349798.7A CN114047991A (en) 2021-11-15 2021-11-15 Focus movement sequence determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111349798.7A CN114047991A (en) 2021-11-15 2021-11-15 Focus movement sequence determination method and device

Publications (1)

Publication Number Publication Date
CN114047991A true CN114047991A (en) 2022-02-15

Family

ID=80209410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111349798.7A Pending CN114047991A (en) 2021-11-15 2021-11-15 Focus movement sequence determination method and device

Country Status (1)

Country Link
CN (1) CN114047991A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129688A (en) * 2006-11-17 2008-06-05 Xanavi Informatics Corp Input device equipped with dial switch
US20100100849A1 (en) * 2008-10-22 2010-04-22 Dr Systems, Inc. User interface systems and methods
US8281258B1 (en) * 2010-03-26 2012-10-02 Amazon Technologies Inc. Object traversal to select focus
CN103218129A (en) * 2013-03-11 2013-07-24 东莞宇龙通信科技有限公司 Method for adjusting application operation flow, and terminal thereof
US20140282154A1 (en) * 2013-03-15 2014-09-18 Orange Method for processing a compound gesture, and associated device and user terminal
US20170262062A1 (en) * 2016-03-11 2017-09-14 Panasonic Intellectual Property Management Co. Ltd. System and input method for receiving input in response to motion of user
CN109947256A (en) * 2019-03-27 2019-06-28 思特沃克软件技术(北京)有限公司 A kind of method and vehicular touch screen for reducing driver and watching the touch screen time attentively
CN112351347A (en) * 2020-10-26 2021-02-09 深圳Tcl新技术有限公司 Screen focus moving display method, display device and storage medium
CN113360035A (en) * 2021-05-20 2021-09-07 维沃移动通信有限公司 Icon sorting method and device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008129688A (en) * 2006-11-17 2008-06-05 Xanavi Informatics Corp Input device equipped with dial switch
US20100100849A1 (en) * 2008-10-22 2010-04-22 Dr Systems, Inc. User interface systems and methods
US8281258B1 (en) * 2010-03-26 2012-10-02 Amazon Technologies Inc. Object traversal to select focus
CN103218129A (en) * 2013-03-11 2013-07-24 东莞宇龙通信科技有限公司 Method for adjusting application operation flow, and terminal thereof
US20140282154A1 (en) * 2013-03-15 2014-09-18 Orange Method for processing a compound gesture, and associated device and user terminal
US20170262062A1 (en) * 2016-03-11 2017-09-14 Panasonic Intellectual Property Management Co. Ltd. System and input method for receiving input in response to motion of user
CN109947256A (en) * 2019-03-27 2019-06-28 思特沃克软件技术(北京)有限公司 A kind of method and vehicular touch screen for reducing driver and watching the touch screen time attentively
CN112351347A (en) * 2020-10-26 2021-02-09 深圳Tcl新技术有限公司 Screen focus moving display method, display device and storage medium
CN113360035A (en) * 2021-05-20 2021-09-07 维沃移动通信有限公司 Icon sorting method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN112162665B (en) Operation method and device
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
CN112433693B (en) Split screen display method and device and electronic equipment
WO2022253181A1 (en) Icon arrangement method and apparatus, and electronic device
CN113794795A (en) Information sharing method and device, electronic equipment and readable storage medium
CN112416199B (en) Control method and device and electronic equipment
CN113703634A (en) Interface display method and device
CN113485625A (en) Electronic equipment response method and device and electronic equipment
CN112269510B (en) Information processing method and device and electronic equipment
CN112162689B (en) Input method and device and electronic equipment
CN114416264A (en) Message display method and device
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium
CN114416269A (en) Interface display method and display device
CN113784192A (en) Screen projection method, screen projection device and electronic equipment
CN114047991A (en) Focus movement sequence determination method and device
CN114385562A (en) Text information deleting method and device and electronic equipment
CN114327173A (en) Information processing method and device and electronic equipment
CN114115639A (en) Interface control method and device, electronic equipment and storage medium
CN113515216A (en) Application program switching method and device and electronic equipment
CN113885981A (en) Desktop editing method and device and electronic equipment
CN113360035A (en) Icon sorting method and device and electronic equipment
CN113342241A (en) Target character selection method and device, electronic equipment and storage medium
CN113282223A (en) Display method, display device and electronic equipment
CN111752428A (en) Icon arrangement method and device, electronic equipment and medium
CN112035032B (en) Expression adding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination