CN114047991B - Method and device for determining focus movement sequence - Google Patents

Method and device for determining focus movement sequence Download PDF

Info

Publication number
CN114047991B
CN114047991B CN202111349798.7A CN202111349798A CN114047991B CN 114047991 B CN114047991 B CN 114047991B CN 202111349798 A CN202111349798 A CN 202111349798A CN 114047991 B CN114047991 B CN 114047991B
Authority
CN
China
Prior art keywords
controls
input
control
determining
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.)
Active
Application number
CN202111349798.7A
Other languages
Chinese (zh)
Other versions
CN114047991A (en
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/CN114047991B/en
Publication of CN114047991A publication Critical patent/CN114047991A/en
Application granted granted Critical
Publication of CN114047991B publication Critical patent/CN114047991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 movement 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 the 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

Method and device for determining focus movement sequence
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a method and a device for determining a focus movement sequence.
Background
With the development of vehicle-mounted communication technology, various application interfaces can be displayed in a display screen of a vehicle-mounted device. In the related art, a user can trigger the position movement of the selection focus by means of mechanical input, so as to operate a control selected by the selection focus, however, under the condition that the number of controls displayed in the interface is large, the user needs to perform multiple inputs to determine the focus movement sequence to a desired position, so that the operation convenience is poor, and a large amount of time is required to be consumed.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for determining a focus movement 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 focus movement sequence, including: receiving a first input of a user on a target interface under the condition that the target interface is displayed; determining the 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 movement order determining apparatus, including: a receiving module and a processing module; the receiving module is used for receiving a first input of a user on the 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 tracks 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, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform 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 where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, the first input of the user on the target interface can be received under the condition of displaying the target interface; determining the 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 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 focus moving sequence 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.
Drawings
Fig. 1 is a schematic diagram of a focus movement sequence determining method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface operation of a method for determining a focus movement sequence according to an embodiment of the present application;
FIG. 3 is a second schematic diagram of an interface operation of the focus movement order determining method according to the embodiment of the present application;
FIG. 4 is a third diagram illustrating an interface operation of the focus movement order determining method according to the embodiment of the present application;
FIG. 5 is a second schematic diagram of a focus movement sequence determining method according to an embodiment of the present application;
FIG. 6 is a diagram showing an interface operation of a method for determining a focus movement sequence according to an embodiment of the present application;
FIG. 7 is a diagram showing an interface operation of a focus movement order determining method according to an embodiment of the present application;
fig. 8 is a schematic diagram of the structure of a focus movement order determining apparatus provided by an embodiment of the present application;
FIG. 9 is a schematic diagram of hardware of an electronic device according to an embodiment of the present application;
fig. 10 is a second hardware schematic of the electronic device according to the embodiment of the application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The focus movement sequence determining method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The execution subject of the focus movement sequence determining method provided by the embodiment of the present application may be an electronic device or a functional module or a functional entity in the electronic device capable of implementing the focus movement sequence determining method, 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, etc., and the focus movement sequence determining method provided by the embodiment of the present application is described below taking the electronic device as an execution subject.
As shown in fig. 1, an embodiment of the present application provides a focus movement order determining method, 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 contact input.
Alternatively, when the first input is a swipe input, the user input trajectory may be a trajectory formed by the user swipe input; when the first input is a touch point input, the user input track may be a line segment track formed by connecting touch points by a straight line.
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 when M is greater than the second threshold, where the first prompt information may be used to prompt a user to customize a movement sequence of the selection focus on the M controls.
It can be understood that, in the case that there are more controls in the target interface, a first prompt message is output to prompt the user whether to determine the focus movement sequence of the plurality of controls in a custom manner.
Specifically, if M is greater than the second threshold, that is, if 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 control, the user may need to perform multiple inputs according to the system-customized selection focus movement sequence, so, in order to improve the convenience of user operation, the electronic device may output a first prompt message to prompt the user to customize the movement sequence of the selection focus on the M controls according to the selection requirement of the control.
Optionally, the first prompt information may be a voice prompt information or a text prompt information.
Based on the scheme, the user can be prompted to customize the moving sequence of the selection focus on the M controls under the condition that M is larger than the second threshold, 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.
Step 102, 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 tracks corresponding to the first input.
It should be noted that, the input track may be a line track passing through all the controls in the target interface as much as possible. The selection focus refers to an indication mark which can be moved on a control in the interface by triggering input by a user. For example, the selection focus may appear as a selection box.
Optionally, the electronic device may determine N marker points closest to the M controls on the input track, where one marker 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. 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 the 8 controls on the input track 21, where the arrow points to the forming direction of the input track 21, and according to the arrangement positions of the 8 mark points on the input track 21, may determine that the 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, control 8.
Based on the above scheme, the moving sequence of the selection focus on the M controls can be determined according to the arrangement positions of the N marking points on the input track, so that the user can set the moving sequence of the selection focus on the controls when the first input is performed, and the tedious operation of arranging the controls is avoided.
Optionally, in a case where N is smaller than M, that is, in a case where the target mark point corresponds to at least two controls, the electronic device may determine an arrangement position of the at least two controls according to a distance between the at least two controls and the target mark point; the smaller the distance from the control to the target mark point is, the more the arrangement position is, and the target mark point is one of N mark points.
Illustratively, as shown in FIG. 3, a target mark point is taken as an example of mark point 31. Because the mark points of the control 5 and the control 9 on the input track 21 are the mark points 31, the electronic device can 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 sequence of the control 5 and the control 9 can be as follows: control 5 and 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, control 8.
Based on the above scheme, under the condition that the target mark point corresponds to at least two controls, the electronic device can determine the arrangement positions of the at least two controls according to the distance from the at least two controls to the target mark point, so that when a user performs first input, the user does not need to make an input track close to each control, thereby increasing the fault tolerance of the user input and reducing the input difficulty of the input track.
Optionally, after determining the N mark points, the electronic device may determine a first distance between each control and the corresponding mark point; k controls with the first distance smaller than or equal to a first threshold value are screened out of the M controls; then, the moving sequence of the selection focus on the K controls can be determined according to the arrangement positions of the marking points corresponding to the K controls on the input track; then arranging (M-K) controls behind the K controls according to the sequence from the first distance to the large distance; wherein K is a positive integer less than or equal to M.
Illustratively, as shown in fig. 4, the marking points of the control 5, the control 9 and the control 10 on the input track 21 are marking points 41, and the electronic device may calculate the distance from each control to the marking point 41 according to the coordinates of the control and the coordinates of the marking point 41. Taking the example that the distance from the control 9 to the marking point 41 and the distance from the control 10 to the marking point 41 are greater than the first threshold, the electronic device may arrange the control 9 and the control 10 behind the controls 1-8, and since the distance from the control 9 to the marking point 41 is smaller than the distance from the control 10 to the marking point 41, the electronic device may arrange the control 9 in front of the control 10. To sum up, the moving sequence of the selection focus on the 10 controls is finally obtained as follows: control 1, control 5, control 2, control 6, control 3, control 7, control 4, control 8, control 9, and control 10.
Based on the above scheme, because the controls with the first distance larger than the first threshold value can be arranged behind other controls, even if the control arrangement positions are different greatly in the target interface, the electronic equipment can also order all the controls according to the input track, and because the larger the first distance is, the more the arrangement positions are, the more the psychological that the user can preferentially select the common controls when inputting the input track is met, and therefore, the finally obtained selection focus moving sequence can be more in accordance with the use requirement of the user.
Optionally, the electronic device may receive a second input by the user to the target point in the input track; and then, in response to the second input, displaying the selection focus on a target control by default, wherein the target control is the control closest to the target point in M controls.
Based on the scheme, the user can customize the control displayed by default by selecting the focus, so that the user can determine the starting position of the focus according to the selection requirement of the user on the control, and the operation convenience of selecting the control by the user 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 the user can set the focus moving sequence of the controls through the first input, and the user can set the arrangement positions of the controls according to the personal use habit, thereby reducing the moving times of the selection focus, further improving the operation convenience of the user for selecting the controls and saving the operation time.
Optionally, as shown in fig. 5 in conjunction with fig. 1, after the step 102, the method may further include steps 103-105:
step 103, receiving a third input of the mechanical input end by a user under the condition that the selection focus is displayed on the first control.
Specifically, if the user wants to control other controls in the selection focus selection interface in the case where the selection focus is displayed on the first control, the user may perform a third input on the mechanical input end, so that the electronic device receives the third input of the user on the mechanical input end.
Optionally, the first control is one control in a target interface currently displayed by the electronic device, and the first control may be a control selected by default by the selection focus, that is, the target control may be the control, or a control through which the selection focus passes in a process of moving to the control that the user wants to select.
Alternatively, the mechanical input end is a mechanical module for receiving user input loaded on the electronic device, 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, or the like.
Optionally, the third input is an operation input of the mechanical input terminal by a user. For example, in the case where the mechanical input is a mechanical slide, if the user wants to control the selection focus in the interface to select another control, the first input may be an input that the user controls the mechanical slide to slide in the "previous" or "next" direction.
Step 104, responding to the 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, according to an indication of the third input, a control adjacent to the first control arrangement position as the second control.
For example, as shown in fig. 6, taking M as an example, the target interface includes a control 1-control 8, if the moving sequence of the selection focus on the 8 controls is a control 1, a control 5, a control 2, a control 6, a control 3, a control 7, a control 4, and a control 8, and the first control is a control 3, after the electronic device receives the third input, if the third input indicates "last", the electronic device may determine the control 6 as the second control; if the third input indicates "next," the electronic device can determine control 7 as the second control.
It should be noted that, the moving sequence of the selection focus on the M controls is the selection focus moving sequence determined by the steps 101 to 102. The movement sequence is different from the default movement sequence of the selection focus, for example, if the movement sequence of the selection focus determined by steps 101-102 is: and 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 selection focus displayed on the first control, and displaying the selection focus on the second control.
Illustratively, the first control is taken as a control 3, and the second control is taken as a control 6. As shown in fig. 7 (a), the electronic device can display a selection focus 71 on control 3 before receiving the third input; after determining control 6 as the second control, the electronic device may cancel the selection focus 71 on display control 3 and display the selection focus 71 on control 6, as shown in (b) of fig. 7.
In the embodiment of the application, if the user wants to operate the second control in the target interface, the 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, because the M controls are controls in the target interface and the arrangement sequence of the M controls is the custom focus movement sequence, a user can set the arrangement positions of the controls according to personal use habits, so that the movement 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, before the step 103, the method may further include a 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 selection focus custom moving sequence.
Optionally, after the user performs customization on the moving sequence of the selection focus on the M controls, the user may trigger the electronic device to store the selection focus customized moving sequence, that is, the target interface and the selection focus customized moving sequence of the M controls are stored correspondingly. Thereby avoiding the tedious operation of repeated 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 custom moving sequence, namely, whether the selection focus custom moving sequence stored corresponding to the target interface exists or not. If the M controls have the custom 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 track with a preset transparency, so as to avoid a problem that displaying the input track may cause interference to the user's viewing of the target interface.
In the embodiment of the application, the electronic equipment can display the input track, so that the user can determine the movement trend of the selection focus according to the input track, thereby helping the user to select the desired control more quickly.
It should be noted that, in the method for determining a focus movement sequence provided in the embodiment of the present application, the execution subject may be a focus movement sequence determining device, or a control module in the focus movement sequence determining device for executing the method for determining a focus movement sequence. In the embodiment of the present application, a focus movement sequence determining device executes a focus movement sequence determining method as an example, and the focus movement sequence determining 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 sequence determining apparatus 800, including: a receiving module 801 and a processing module 802. The receiving module 801 is configured to receive, when a target interface is displayed, a first input of a user on the target interface; the processing module 802 is configured to determine a movement sequence of the selection focus on the M controls according to a positional relationship 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.
Optionally, the processing module 802 is specifically configured to: n marking points closest to the M controls are determined on the input track, and 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 the target mark point corresponds to at least two controls, determining the arrangement positions of the at least two controls according to the distance from the at least two controls to the target mark point; the smaller the distance from the control to the target mark point is, the more 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 a corresponding mark point; k controls with the first distance smaller than or equal to a first threshold value are selected from the M controls; 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 marking points corresponding to the K controls on the input track; arranging (M-K) controls behind the K controls in the order from small to large according to the first distance; 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 the M is greater than a second threshold, where the first prompt information is configured to prompt a user to customize a movement 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 the user can set the focus moving sequence of the controls through the first input, and the user can set the arrangement positions of the controls according to the personal use habit, thereby reducing the moving times of the selection focus, further improving the operation convenience of the user for selecting the controls and saving the operation time.
The focus movement sequence determining device in the embodiment of the application can be a device, or can be a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The focus movement order determining 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, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The focus movement sequence determining device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 7, and in order to avoid repetition, a detailed description is omitted herein.
Optionally, as shown in fig. 9, an embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and capable of being executed on the processor 901, where the program or the instruction implements each process of the above embodiment of the focus moving sequence determining method when executed by the processor 901, and the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
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: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 1007 is configured to receive a first input of a user on the target interface when the target interface is displayed.
A processor 1010, configured to determine a movement sequence of a selection focus on the M controls according to a positional relationship between the M controls in the target interface and input tracks corresponding to the first input; 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 the user can set the focus moving sequence of the controls through the first input, and the user can set the arrangement positions of the controls according to the personal use habit, thereby reducing the moving times of the selection focus, further improving the operation convenience of the user for selecting the controls and saving the operation time.
Optionally, the processor 1010 is specifically configured to: n marking points closest to the M controls are determined on the input track, and 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 marking points on the input track, so that a user can set the moving sequence of the selection focus on the controls when the first input is carried out, and the tedious operation of arranging the controls is avoided.
Optionally, the processor 1010 is further configured to: under the condition that the target mark point corresponds to at least two controls, determining the arrangement positions of the at least two controls according to the distance from the at least two controls to the target mark point; the smaller the distance from the control to the target mark point is, the more 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 at least two controls, the electronic equipment can determine the arrangement positions of the at least two controls according to the distance from the at least two controls to the target mark point, so that when a user performs first input, the input track does not need to be close to each control, thereby increasing the fault tolerance of the user input and reducing the input difficulty of the input track.
Optionally, the processor 1010 is further configured to: determining a first distance between each control and a corresponding mark point; k controls with the first distance smaller than or equal to a first threshold value are selected from the M controls; 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 marking points corresponding to the K controls on the input track; arranging (M-K) controls behind the K controls in the order from small to large according to the first distance; wherein K is a positive integer less than or equal to M.
In the embodiment of the application, because the controls with the first distance larger than the first threshold value can be arranged behind other controls, even if the control arrangement positions are different greatly in the target interface, the electronic equipment can also order all the controls according to the input track, and because the larger the first distance is, the more the arrangement positions are, the more the psychological that the user can preferentially select the common controls when inputting the input track is met, and therefore, the finally obtained selection focus moving sequence can be more in accordance with the use requirement of the user.
Optionally, the display unit 1006 or the audio output unit 1003 is configured to output first prompt information when the M is greater than the second threshold, where the first prompt information is configured to prompt a user to customize a moving sequence of the selection focus on the M controls.
In the embodiment of the application, the user can be prompted to customize the moving sequence of the selection focus on the M controls under the condition that M is larger than the second threshold, 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.
It should be appreciated that in embodiments of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, where the graphics processor 10041 processes image data of still pictures or video obtained by an image capturing device (e.g., 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 can include two portions, 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, a joystick, and so forth, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1010 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned focus movement sequence determining method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running a program or instructions to realize each process of the above focus movement sequence determining method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (6)

1. A focus movement sequence 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 the 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;
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 tracks corresponding to the first input, wherein the determining comprises the following steps:
N marking points closest to the M controls are determined on the input track, and 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;
After the N mark points closest to the M controls are determined on the input track, the method further includes:
Under the condition that the target mark point corresponds to at least two controls, determining the arrangement positions of the at least two controls according to the distance from the at least two controls to the target mark point;
The smaller the distance from the control to the target mark point, the more front the arrangement position, wherein the target mark point is one of the N mark points, M is an integer greater than or equal to 2, and N is a positive integer less than or equal to M;
At least one marking point in the N marking points is not overlapped with any control in the M controls;
at least two controls corresponding to the target mark points are arranged in front of the control corresponding to the next mark point of the input track.
2. The focus movement order determination method according to claim 1, wherein after determining N marker points closest to the M controls on the input trajectory, the method further comprises:
determining a first distance between each control and a corresponding mark point;
K controls with the first distance smaller than or equal to a first threshold value are selected from the M controls;
The 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 comprises the following steps:
Determining the moving sequence of the selection focus on the K controls according to the arrangement positions of the marking points corresponding to the K controls on the input track;
arranging (M-K) controls behind the K controls in the order from small to large according to the first distance;
wherein K is a positive integer less than or equal to M.
3. The focus movement order determination method according to any one of claims 1-2, wherein said receiving a first input by a user on said target interface, said method further comprises:
and under the condition that M is larger than a second threshold value, outputting first prompt information, wherein the first prompt information is used for prompting a user to customize the moving sequence of the selection focus on the M controls.
4. A focus movement sequence determination apparatus, characterized by comprising: a receiving module and a processing module;
the receiving module is used for receiving a first input of a user on the 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 tracks corresponding to the first input;
The processing module is specifically configured to: n marking points closest to the M controls are determined on the input track, and 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;
The processing module is further configured to: under the condition that the target mark point corresponds to at least two controls, determining the arrangement positions of the at least two controls according to the distance from the at least two controls to the target mark point;
The smaller the distance from the control to the target mark point, the more front the arrangement position, wherein the target mark point is one of the N mark points, M is an integer greater than or equal to 2, and N is a positive integer less than or equal to M;
At least one marking point in the N marking points is not overlapped with any control in the M controls;
at least two controls corresponding to the target mark points are arranged in front of the control corresponding to the next mark point of the input track.
5. The focus movement sequence determination apparatus as defined in claim 4, wherein said processing module is further configured to:
determining a first distance between each control and a corresponding mark point;
K controls with the first distance smaller than or equal to a first threshold value are selected from the M controls;
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 marking points corresponding to the K controls on the input track;
arranging (M-K) controls behind the K controls in the order from small to large according to the first distance;
wherein K is a positive integer less than or equal to M.
6. The focus movement order determination apparatus according to any one of claims 4 to 5, characterized in that said apparatus further comprises an output module;
the output module is used for outputting first prompt information when the M is larger than a second threshold value, and the first prompt information is used for prompting a user to customize the moving sequence of the selection focus on the M controls.
CN202111349798.7A 2021-11-15 2021-11-15 Method and device for determining focus movement sequence Active CN114047991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111349798.7A CN114047991B (en) 2021-11-15 2021-11-15 Method and device for determining focus movement sequence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111349798.7A CN114047991B (en) 2021-11-15 2021-11-15 Method and device for determining focus movement sequence

Publications (2)

Publication Number Publication Date
CN114047991A CN114047991A (en) 2022-02-15
CN114047991B true CN114047991B (en) 2024-08-23

Family

ID=80209410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111349798.7A Active CN114047991B (en) 2021-11-15 2021-11-15 Method and device for determining focus movement sequence

Country Status (1)

Country Link
CN (1) CN114047991B (en)

Citations (1)

* 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

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
FR3003364A1 (en) * 2013-03-15 2014-09-19 France Telecom METHOD FOR PROCESSING A COMPOUND GESTURE, ASSOCIATED DEVICE AND USER TERMINAL
CN107179826B (en) * 2016-03-11 2021-08-31 松下知识产权经营株式会社 Gesture input system and gesture input method
US10884610B2 (en) * 2016-11-04 2021-01-05 Myscript System and method for recognizing handwritten stroke input
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
CN112351347B (en) * 2020-10-26 2024-02-09 深圳Tcl新技术有限公司 Screen focus moving display method, display device and storage medium
CN113360035B (en) * 2021-05-20 2024-04-26 维沃移动通信有限公司 Icon sorting method and device and electronic equipment

Patent Citations (1)

* 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

Also Published As

Publication number Publication date
CN114047991A (en) 2022-02-15

Similar Documents

Publication Publication Date Title
CN112162665B (en) Operation method and device
CN106681620A (en) Method and device for achieving terminal control
CN112540740A (en) Split screen display method and device, electronic equipment and readable storage medium
CN112817555B (en) Volume control method and volume control device
CN113485603B (en) Message display method and device and electronic equipment
CN113268182B (en) Application icon management method and electronic device
CN112433693B (en) Split screen display method and device and electronic equipment
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN113253883A (en) Application interface display method and device and electronic equipment
CN113407075B (en) Icon sorting method and device and electronic equipment
CN113885749A (en) Icon display method and device and electronic equipment
CN111831177B (en) Application icon display method and device and electronic equipment
CN112416199A (en) Control method and device and electronic equipment
CN111638828A (en) Interface display method and device
CN114047991B (en) Method and device for determining focus movement sequence
CN114222355B (en) Terminal power-saving display method and device and electronic equipment
CN112732392B (en) Application program running control method and device
CN114416264A (en) Message display method and device
CN114327173A (en) Information processing method and device and electronic equipment
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium
CN114115639A (en) Interface control method and device, electronic equipment and storage medium
CN113311982A (en) Information selection method and device
CN113126780A (en) Input method, input device, electronic equipment and readable storage medium
CN112764622A (en) Icon moving method and device and electronic equipment
CN112181229A (en) Icon display control method and device and electronic equipment

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
GR01 Patent grant
GR01 Patent grant