IP Library Granted Patent US 10,210,275
Granted Patent B2
US 10,210,275 · App. 14/907,161 · Granted Feb 19, 2019

Method and system for controlling focus moving on webpage

Inventor: Sheng Yu (Shenzhen, CN)
Assignee: Xi'an Zhongxing New Software Co., Ltd.
G06F17/3089G06F17/30861
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,210,275
App. No.
14/907,161
Granted
Feb 19, 2019
Kind
B2
Abstract

A method and system for controlling focus moving on a webpage is provided, which includes that when an end position of a focus after moving is inconsistent with a determined target position, an moving offset tolerance zone is determined according to an initial position and the end position, and at least one auxiliary position is set in the determined moving offset tolerance zone; the initial position is made to correspond to one or more moving paths generated by the focus moving instruction, and the one or more moving paths are set to comprise a first path from the initial position to the set auxiliary position and a second path from the set auxiliary position to the target position, and the focus is controlled to directly move through the auxiliary position to the target position of the focus. In this way, the focus is avoided from moving to a position inconsistent with the target position, thereby improving accuracy and convenience of the focus moving.

Claims (30)

1. A method for controlling focus moving on a webpage, comprising:

when a focus moving instruction is detected, determining, by a touch-tone device, an initial position and a target position of the focus moving, and controlling, by the touch-tone device, a focus to move from the determined initial position to an end position;

when the end position of the focus moving is inconsistent with the determined target position, determining, by the touch-tone device, a moving offset tolerance zone according to the initial position and the end position, and setting, by the touch-tone device, at least one auxiliary position in the determined moving offset tolerance zone; and

making, by the touch-tone device, the initial position correspond to moving paths generated by the focus moving instruction, and setting, by the touch-tone device, the moving paths to comprise a first path from the initial position to the set at least one auxiliary position and a second path from the set at least one auxiliary position to the target position.

2. The method as claimed in claim 1 , wherein determining, by the touch-tone device, the moving offset tolerance zone according to the initial position and the end position comprises:

acquiring, by the touch-tone device, according to the initial position and the end position, a distance from the initial position to the end position; and

determining, by the touch-tone device, one circular sector area with a preset central angle, which takes the initial position as a center of a circle and takes the acquired distance as a radius, to be the moving offset tolerance zone.

3. The method as claimed in claim 1 , wherein after making, by the touch-tone device, the initial position correspond to the moving paths generated by the focus moving instruction, and setting, by the touch-tone device, the moving paths to comprise the first path from the initial position to the set at least one auxiliary position and the second path from the set at least one auxiliary position to the target position, the method further comprises:

performing, by the touch-tone device, mapping to the initial position, the target position, the first path and the second path and storing a result of a mapping operation.

4. The method as claimed in claim 3 , wherein after performing, by the touch-tone device, mapping to the initial position, the target position, the first path and the second path and storing the result of the mapping operation, the method further comprises:

when a focus moving instruction is detected, determining, by the touch-tone device, an initial position and a target position of the focus moving;

correspondingly searching, by the touch-tone device, for a stored path according to the determined initial position and the determined target position; and

when the stored path is searched, controlling, by the touch-tone device, the focus to move, according to the searched path, from the determined initial position to the target position.

5. The method as claimed in claim 1 , wherein setting, by the touch-tone device, the at least one auxiliary position in the determined moving offset tolerance zone comprises:

setting, by the touch-tone device, the at least one auxiliary position in the determined moving offset tolerance zone; and

setting, by the touch-tone device, an attribute of transparency or same color as a current webpage for the set at least one auxiliary position.

6. A touch-tone device, comprises a hardware processor and a storage, wherein the hardware processor is configured to execute program components stored on the storage, the program components comprising:

a control component, configured to, when a focus moving instruction is detected, determine an initial position and a target position of the focus moving, and control a focus to move from the determined initial position to an end position;

a processing component, configured to, when the end position of the focus moving is inconsistent with the determined target position, determine a moving offset tolerance zone according to the initial position and the end position, set at least one auxiliary position in the determined moving offset tolerance zone; and make the initial position correspond to moving paths generated by the focus moving instruction, and set the moving paths to comprise a first path from the initial position to the set at least one auxiliary position and a second path from the set at least one auxiliary position to the target position.

7. The device as claimed in claim 6 , wherein

the processing component is further configured to acquire, according to the initial position and the end position, a distance from the initial position to the end position; and

determine one circular sector area with a preset central angle, which takes the initial position as a center of a circle and takes the acquired distance as a radius, to be the moving offset tolerance zone.

8. The device as claimed in claim 6 , wherein:

the storage is configured to perform mapping to the initial position, the target position, the first path and the second path and storing a result of a mapping operation.

9. The device as claimed in claim 8 , wherein

the processing component is further configured to, when a focus moving instruction is detected, determine an initial position and a target position of the focus moving; and correspondingly search for a stored path according to the determined initial position and the determined target position; and

the control component is further configured to, when the stored path is searched, control the focus to move, according to the searched path, from the determined initial position to the target position.

10. The device as claimed in claim 6 , wherein,

the processing component is further configured to set the at least one auxiliary position in the determined moving offset tolerance zone, and

set an attribute of transparency or same color as a current webpage for the set at least one auxiliary position.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 27, 2018
From: ZTE CORPORATION
To: XI'AN ZHONGXING NEW SOFTWARE CO. LTD.
Reel/Frame 047855/0685 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 22, 2016
From: YU, SHENG
To: ZTE CORPORATION
Reel/Frame 037561/0907 →
Priority Claims (1)
CN 2013 1 0314854 · Jul 24, 2013 · national
Continuity (1)
Related Publication 20160162501A1 · Jun 9, 2016