CN113613052B - Method, device and equipment for switching focuses of Web pages - Google Patents

Method, device and equipment for switching focuses of Web pages Download PDF

Info

Publication number
CN113613052B
CN113613052B CN202110744251.0A CN202110744251A CN113613052B CN 113613052 B CN113613052 B CN 113613052B CN 202110744251 A CN202110744251 A CN 202110744251A CN 113613052 B CN113613052 B CN 113613052B
Authority
CN
China
Prior art keywords
focus
view module
web page
view
module
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
CN202110744251.0A
Other languages
Chinese (zh)
Other versions
CN113613052A (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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data Technology 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202110744251.0A priority Critical patent/CN113613052B/en
Publication of CN113613052A publication Critical patent/CN113613052A/en
Application granted granted Critical
Publication of CN113613052B publication Critical patent/CN113613052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4782Web browsing, e.g. WebTV
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Abstract

The invention discloses a method, a device and equipment for switching focuses of Web pages, and the method, the device and the equipment are used for considering that when a user switches the focuses, the user usually tries to move the focuses to a view module which is closest to the current focus in a specified direction in subconscious sense, so that the distances between all view modules on the specified direction side of the view module where the current focus is located and the view module where the current focus is located can be calculated based on the received specified direction, the focuses of the Web pages are located on a target view module which is closest to the calculated view module where the current focus is located, and even if the view modules in the Web pages are randomly arranged, the focuses can be switched according to the real intention of the user by using the method for switching the focuses, so that the user can flexibly arrange the try modules in the Web pages according to the preference of the user, and the user experience is improved.

Description

Method, device and equipment for switching focuses of Web pages
Technical Field
The invention relates to the field of Web pages, in particular to a focus switching method of a Web page, and further relates to a focus switching device and equipment of the Web page.
Background
A plurality of view modules are generally arranged on the Web pages, and each view module is provided with a corresponding link, and a user can enter the corresponding link by clicking a designated view module, wherein the user can select the view module through four direction keys, namely, the focus of the Web page (the selected view module) is switched.
Obviously, the arrangement mode of the view modules on the Web page is greatly limited, a user cannot independently and flexibly arrange the positions of the view modules, and once the view modules are irregularly distributed, the focus cannot be switched through the up-down, left-right and left direction keys, so that the user experience is influenced.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a focus switching method of a Web page, which can be used for switching focuses according to the real intention of a user even if all view modules in the Web page are randomly arranged, so that the user can flexibly arrange try modules in the Web page according to the preference of the user, and the user experience is improved; another object of the present invention is to provide a device and an apparatus for switching a focus of a Web page, wherein even though each view module in the Web page is randomly arranged, the focus can be switched according to a real intention of a user by using the method for switching a focus in the present application, so that the user can flexibly arrange the view modules in the Web page according to a preference of the user, thereby improving user experience.
In order to solve the technical problem, the invention provides a method for switching focuses of a Web page, which comprises the following steps:
when a direction instruction is received, determining a specified direction in the direction instruction;
determining all view modules which are positioned at one side of the specified direction of the view module where the current focus is positioned in the Web page and using the view modules as alternative view modules;
taking the candidate view module closest to the view module where the current focus is located as a target view module;
and the focus of the Web page is positioned in the target view module.
Preferably, after determining all the view modules located on the specified direction side of the view module where the current focus is located in the Web page and using the view modules as candidate view modules, before using the candidate view module closest to the view module where the current focus is located as a target view module, the method for switching the focus of the Web page further includes:
determining a currently selected focus searching strategy;
if the focus searching strategy is an overlapping priority strategy, taking the alternative view module which has intersection with the corresponding area in the specified direction and is closest to the view module where the current focus is located as a target view module, and executing the step of enabling the focus of the Web page to fall on the target view module;
if the focus searching strategy is a distance priority strategy, executing the step of taking the candidate view module closest to the view module where the current focus is located as a target view module;
the corresponding area in the specified direction refers to an area through which the view module where the current focus is located infinitely translates towards the specified direction.
Preferably, the method for switching the focus of the Web page further includes:
and responding to a focus searching strategy modification instruction, and modifying the current focus searching strategy into the focus searching strategy specified by the focus searching strategy modification instruction.
Preferably, after the direction instruction is determined when the direction instruction is received, and after determining the specified direction in the direction instruction, before determining all view modules located on the specified direction side of the view module where the current focus is located in the Web page and serving as the alternative view module, the method for switching the focus of the Web page further includes:
judging whether the element quick selection function is started or not;
if so, the focus of the Web page is positioned on a preset element corresponding to the specified direction;
if not, executing the step of determining all view modules positioned at one side of the specified direction of the view module at which the current focus is positioned in the Web page and using the view modules as alternative view modules;
wherein an element refers to the view module.
Preferably, the method for switching the focus of the Web page further includes:
and responding to a switch instruction of the element shortcut selected function, and switching the switch state of the element shortcut selected function once.
Preferably, the taking the candidate view module closest to the view module at which the current focus is located as the target view module specifically includes:
taking the minimum pixel point distance between the view module where the current focus is located and the alternative view module as the distance between the current focus and the alternative view module;
and taking the candidate view module closest to the view module with the current focus as a target view module.
Preferably, the method for switching the focus of the Web page further includes:
when the Web page is entered for the first time after the Web page is started, judging whether a default focus-falling element exists;
if so, the focus of the Web page is located at the default focus-located element;
if not, the focus of the Web page is positioned in the view module where the focus recorded at the last shutdown time is positioned.
Preferably, the method for switching the focus of the Web page further includes:
in response to a setting instruction, setting a view module specified in the setting instruction as the default in-focus element.
In order to solve the above technical problem, the present invention further provides a device for switching a focus of a Web page, including:
the receiving module is used for determining the designated direction in the direction instruction when the direction instruction is received;
the determining module is used for determining all view modules which are positioned at one side of the specified direction of the view module where the current focus is positioned in the Web page and is used as an alternative view module;
the selection module is used for taking the candidate view module closest to the view module where the current focus is located as a target view module;
and the focus falling module is used for falling the focus of the Web page into the target view module.
In order to solve the above technical problem, the present invention further provides a device for switching a focus of a Web page, including:
a memory for storing a computer program;
a processor for implementing the steps of the method for switching the focus of a Web page as described above when executing the computer program.
The invention provides a method for switching focuses of Web pages, which is characterized in that when a user switches the focuses, the user usually tries to move the focuses to a view module which is closest to the current focus in a specified direction in a subconscious manner, so that the distances between all view modules on the specified direction side of the view module where the current focus is located and the view module where the current focus is located can be calculated based on the received specified direction, the focuses of the Web pages are located on a target view module which is calculated to be closest to the view module where the current focus is located, and even if the view modules in the Web pages are randomly arranged, the focuses can be switched according to the real intention of the user by using the method for switching the focuses, so that the view modules in the Web pages can be flexibly arranged according to the preference of the user, and the user experience is improved.
The invention also provides a device and equipment for switching the focus of the Web page, and the device and equipment have the same beneficial effects as the method for switching the focus of the Web page.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for switching a focus of a Web page according to the present invention;
fig. 2 is a schematic structural diagram of a focus switching device of a Web page provided in the present invention;
fig. 3 is a schematic structural diagram of a device for switching a focus of a Web page provided by the present invention.
Detailed Description
The core of the invention is to provide a method for switching focuses of Web pages, even if all view modules in the Web pages are randomly and disorderly arranged, the focuses can be switched according to the real intention of a user by the method for switching focuses, so that the user can flexibly arrange the trying modules in the Web pages according to the preference of the user, and the user experience is improved; the other core of the present invention is to provide a device and an apparatus for switching focuses of a Web page, so that even if the view modules in the Web page are randomly arranged, the focuses can be switched according to the real intention of the user by using the method for switching focuses in the present application, so that the user can flexibly arrange the view modules in the Web page according to the preference of the user, and the user experience is improved.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for switching a focus of a Web page provided by the present invention, where the method for switching a focus of a Web page includes:
s101: when a direction instruction is received, determining a specified direction in the direction instruction;
specifically, in view of the technical problems in the background art, the method for switching a focus in the embodiment of the present invention is directed to an up-down, left-right, and directional instruction generated on a human-computer interaction device in an intelligent device, so that in this step, the directional instruction may be received first, and a specified direction therein may be determined.
S102: determining all view modules which are positioned at one side of the specified direction of the view module where the current focus is positioned in the Web page and using the view modules as alternative view modules;
specifically, since the direction specifier is actually a user who specifies a direction while viewing the Web page (including the view module where the current focus is located and the layout of all the view modules), the user is supposed to move the focus to the view module on the specified direction side of the view module where the current focus is located, and therefore, in this step, all the view modules located on the specified direction side of the view module where the current focus is located are first determined and used as alternative view modules, so that the next focus position is determined based on the alternative view modules in the subsequent step.
S103: taking an alternative view module closest to a view module where the current focus is positioned as a target view module;
specifically, when the target view module is determined among all the alternative view modules, it is considered that, for a user, after the view module where the current focus is located is seen and the target view module desired in the heart is determined, a general idea is to move the focus to the target view module desired in the heart step by step from the view module where the current focus is located along a path of a closest view module, so that the alternative view module closest to the view module where the current focus is located is taken as the target view module in the application, which is more in line with the expectation of a focus moving mode in the heart of the user, and improves user experience.
S104: the focus of the Web page is placed at the target view module.
Specifically, after the target view module is found, the focus of the Web page is placed on the target view module, so that the focus can be switched.
The invention provides a method for switching focuses of Web pages, which considers that when a user switches the focuses, the user usually tries to move the focuses to a view module which is closest to the current focus in a specified direction in subconscious, therefore, in the method, based on the received specified direction, the distances between all view modules on the specified direction side of the view module where the current focus is located and the view module where the current focus is located can be calculated, and the focuses of the Web pages are located on a target view module which is closest to the calculated view module where the current focus is located, even if all view modules in the Web pages are randomly arranged, the focuses can be switched according to the real intention of the user by using the method for switching the focuses, so that the view modules in the Web pages can be flexibly arranged according to the preference of the user, and the user experience is improved.
On the basis of the above-described embodiment:
as a preferred embodiment, after determining all view modules located on one side of the view module where the current focus is located in the specified direction and serving as candidate view modules in the Web page, and before taking the candidate view module closest to the view module where the current focus is located as a target view module, the method for switching the focus of the Web page further includes:
determining a currently selected focus searching strategy;
if the focus searching strategy is an overlapping priority strategy, taking an alternative view module which has intersection with a corresponding area in the specified direction and is closest to the view module where the current focus is located as a target view module, and executing the step of enabling the focus of the Web page to fall on the target view module;
if the focus searching strategy is a distance priority strategy, executing a step of taking an alternative view module closest to the view module where the current focus is located as a target view module;
the corresponding area in the designated direction refers to an area through which the view module at the current focus point infinitely translates towards the designated direction.
Specifically, considering that the expectations of moving focuses of different users may not be the same, the embodiment of the present invention adds an overlap priority policy to perform auto focus finding, where the auto focus finding manner in the previous embodiment is referred to as a distance priority policy, when the overlap priority policy is selected, an intersection exists between the candidate view module and a corresponding region in the specified direction, and the candidate view module closest to the view module where the current focus is located is used as the target view module, for example, when the specified direction is right, if an intersection exists between a certain candidate view module and a region through which the view module where the current focus is located is infinitely translated in the specified direction, it is considered that the candidate view module and the view module where the current focus is located overlap in a horizontally extending space, so that the focus is preferentially moved to such a view module, which also meets the expectations of a part of users for focus moving manners.
Of course, in addition to the two auto focus seeking strategies, the auto focus seeking strategy may also be of other various types, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the method for switching the focus of the Web page further includes:
and responding to the focus searching strategy modification instruction, and modifying the current focus searching strategy into the focus searching strategy specified by the focus searching strategy modification instruction.
Specifically, in order to facilitate a user to actively modify and specify the focus searching strategy, the embodiment of the present invention provides a modification interface for the focus searching strategy, and the user may actively send a focus searching strategy modification instruction through a human-computer interaction device, so as to complete specification of the focus searching strategy and further improve user experience.
As a preferred embodiment, when receiving a direction instruction, after determining a specified direction in the direction instruction, and before determining all view modules located on one side of the specified direction of the view module where the current focus is located in the Web page and serving as alternative view modules, the method for switching the focus of the Web page further includes:
judging whether the element quick selection function is started or not;
if so, the focus of the Web page is positioned on a preset element corresponding to the specified direction;
if not, executing the step of determining all view modules positioned at one side of the specified direction of the view module at which the current focus is positioned in the Web page as alternative view modules;
wherein an element refers to a view module.
Specifically, considering that in some cases, the number of usage requirements of a user for view modules is small, for example, the user is usually accustomed to click two view modules of the view modules, or there are a few view modules that are frequently clicked and are relatively preferred, but actually, the number of view modules in a Web page is large, in this case, the user may still need to move a focus one time until the focus is moved to a view module that the user wants to fall on.
Certainly, when a user wants to normally use the four-way key to move the element focus, the user may also turn off the element shortcut selection function, and the switching of the function may be implemented by one key on the human-computer interaction device, which is not limited herein.
In the embodiment of the present invention, when the element quick selection function is activated, corresponding preset elements may be set for other cases on the human-computer interaction device in addition to setting corresponding preset elements for the direction key.
As a preferred embodiment, the method for switching the focus of the Web page further includes:
and responding to the switch instruction of the element shortcut selected function, and switching the switch state of the element shortcut selected function once.
Specifically, in order to facilitate a user to switch between different focus moving modes, a switch interface of the element quick selection function is provided in the embodiment of the invention, and the user can generate a switch instruction of the element quick selection function through a human-computer interaction device, so that the switch of the switch state of the element quick selection function is realized.
As a preferred embodiment, taking the candidate view module closest to the view module at which the current focus is located as the target view module specifically includes:
taking the minimum pixel point distance between the view module where the current focus is located and the alternative view module as the distance between the current focus and the alternative view module;
and taking the candidate view module closest to the view module with the current focus as a target view module.
Specifically, the minimum pixel point distance between the view module where the current focus is located and the alternative view module is used as the distance between the view module and the alternative view module, so that the judgment habit of the user on the distance between the view modules in the visual sense is better met, and the user experience is further improved.
Of course, there may be other distance calculation methods besides the distance calculation method, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the method for switching the focus of the Web page further includes:
judging whether default focus falling elements exist or not when a Web page is entered for the first time after starting up;
if so, the focus of the Web page is positioned at a default focus-falling element;
if not, the focus of the Web page is positioned in the view module where the focus is recorded at the last shutdown time.
Specifically, in order to further improve user experience, in the embodiment of the present invention, under the condition that the system does not have the specified default focus dropping element, when entering the Web page for the first time after starting up, the focus of the Web page is dropped in the view module where the focus recorded at the time of last shutdown is located, and under the condition that the system has the default focus dropping element, when entering the Web page for the first time after starting up, the focus of the Web page can be dropped in the default focus dropping element.
The default focus-dropping element may be a default specification of a system or a specification set by a user, which is not limited herein in the embodiments of the present invention.
As a preferred embodiment, the method for switching the focus of the Web page further includes:
in response to the setting instruction, the view module specified in the setting instruction is set as a default in-focus element.
Specifically, in order to facilitate a user to select a favorite focus-falling element when the user enters a Web page for the first time after starting up, a setting interface of a default focus-falling element is provided in the embodiment of the invention, and the user can generate a setting instruction through a human-computer interaction device, so that the default focus-falling element selected by the user is set.
Of course, the user may also autonomously close the default focus-dropping element mode, and select to drop the focus of the Web page to the view module where the focus recorded at the last time of power-off is located when entering the Web page for the first time after power-on.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a focus switching device for a Web page provided in the present invention, where the focus switching device for the Web page includes:
the receiving module 21 is configured to determine a specified direction in the direction instruction when the direction instruction is received;
the determining module 22 is configured to determine all view modules located on one side of the specified direction of the view module where the current focus is located in the Web page, and use the view modules as alternative view modules;
the selection module 23 is configured to use an alternative view module closest to the view module where the current focus is located as a target view module;
and the focus falling module 24 is used for falling the focus of the Web page into the target view module.
For the introduction of the device for switching a focus of a Web page provided in the embodiment of the present invention, reference is made to the foregoing embodiment of the method for switching a focus of a Web page, and details of the embodiment of the present invention are not described herein again.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a focus switching device of a Web page provided in the present invention, where the focus switching device of the Web page includes:
a memory 31 for storing a computer program;
a processor 32 for implementing the steps of the focus switching method of the Web page as in the previous embodiments when executing the computer program.
For introducing the device for switching the focus of the Web page provided by the embodiment of the present invention, please refer to the foregoing embodiment of the method for switching the focus of the Web page, which is not described herein again.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part. It should also be noted that, in the present specification, 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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A method for switching the focus of a Web page is characterized by comprising the following steps:
when a direction instruction is received, determining a specified direction in the direction instruction;
determining all view modules which are positioned at one side of the specified direction of the view module where the current focus is positioned in the Web page and using the view modules as alternative view modules;
taking the candidate view module closest to the view module where the current focus is located as a target view module;
the focus of the Web page is positioned in the target view module;
after determining all the view modules located on one side of the view module where the current focus is located in the specified direction in the Web page and using the view modules as the alternative view modules, and before using the alternative view module closest to the view module where the current focus is located as the target view module, the method for switching the focuses of the Web page further comprises the following steps:
determining a currently selected focus searching strategy;
if the focus searching strategy is an overlapping priority strategy, taking the alternative view module which has intersection with the corresponding area in the specified direction and is closest to the view module where the current focus is located as a target view module, and executing the step of enabling the focus of the Web page to fall on the target view module;
if the focus searching strategy is a distance priority strategy, executing the step of taking the candidate view module closest to the view module where the current focus is located as a target view module;
the corresponding area in the designated direction refers to an area through which the view module at the current focus point infinitely translates towards the designated direction.
2. The method for switching the focus of a Web page according to claim 1, wherein the method for switching the focus of a Web page further comprises:
and responding to a focus searching strategy modification instruction, and modifying the current focus searching strategy into the focus searching strategy specified by the focus searching strategy modification instruction.
3. The method for switching the focus of the Web page according to claim 1, wherein after determining the specified direction in the direction instruction when the direction instruction is received, and before determining all view modules located on one side of the specified direction of the view module where the current focus is located in the Web page and serving as the alternative view modules, the method for switching the focus of the Web page further comprises:
judging whether the element quick selection function is started or not;
if so, the focus of the Web page is located in a preset element corresponding to the specified direction;
if not, executing the step of determining all view modules positioned at one side of the specified direction of the view module where the current focus is positioned in the Web page and using the view modules as alternative view modules;
wherein an element refers to the view module.
4. The method of switching the focus of a Web page of claim 3, further comprising:
and responding to a switch instruction of the element shortcut selected function, and switching the switch state of the element shortcut selected function once.
5. The method for switching the focus of the Web page according to claim 1, wherein the step of using the candidate view module closest to the view module where the current focus is located as the target view module specifically comprises:
taking the minimum pixel point distance between the view module where the current focus is located and the alternative view module as the distance between the view module and the alternative view module;
and taking the candidate view module closest to the view module with the current focus as a target view module.
6. The method for switching the focus of a Web page according to any one of claims 1 to 5, wherein the method for switching the focus of a Web page further comprises:
when the Web page is entered for the first time after the Web page is started, judging whether a default focus-falling element exists;
if so, the focus of the Web page is positioned at the default focus-positioned element;
if not, the focus of the Web page is positioned in the view module where the focus recorded at the last shutdown time is positioned.
7. The method for switching the focus of a Web page of claim 6, wherein the method for switching the focus of a Web page further comprises:
in response to a setting instruction, setting a view module specified in the setting instruction as the default in-focus element.
8. A focus switching apparatus for a Web page, comprising:
the receiving module is used for determining the designated direction in the direction instruction when the direction instruction is received;
the determining module is used for determining all view modules which are positioned at one side of the specified direction of the view module where the current focus is positioned in the Web page and is used as an alternative view module;
the selection module is used for taking the candidate view module closest to the view module where the current focus is positioned as a target view module;
the focus falling module is used for falling the focus of the Web page into the target view module;
after determining that all the view modules located on one side of the view module where the current focus is located in the specified direction in the Web page are used as the candidate view modules, and before using the candidate view module closest to the view module where the current focus is located as the target view module, the focus switching device of the Web page further includes:
determining a currently selected focus searching strategy;
if the focus searching strategy is an overlapping priority strategy, taking the alternative view module which has intersection with the corresponding area in the specified direction and is closest to the view module where the current focus is located as a target view module, and executing the step of enabling the focus of the Web page to fall on the target view module;
if the focus searching strategy is a distance priority strategy, executing the step of taking the alternative view module closest to the view module where the current focus is located as a target view module;
the corresponding area in the specified direction refers to an area through which the view module where the current focus is located infinitely translates towards the specified direction.
9. A focus switching apparatus for a Web page, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for focus switching of a Web page according to any one of claims 1 to 7 when executing said computer program.
CN202110744251.0A 2021-06-30 2021-06-30 Method, device and equipment for switching focuses of Web pages Active CN113613052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110744251.0A CN113613052B (en) 2021-06-30 2021-06-30 Method, device and equipment for switching focuses of Web pages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110744251.0A CN113613052B (en) 2021-06-30 2021-06-30 Method, device and equipment for switching focuses of Web pages

Publications (2)

Publication Number Publication Date
CN113613052A CN113613052A (en) 2021-11-05
CN113613052B true CN113613052B (en) 2023-02-28

Family

ID=78337130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110744251.0A Active CN113613052B (en) 2021-06-30 2021-06-30 Method, device and equipment for switching focuses of Web pages

Country Status (1)

Country Link
CN (1) CN113613052B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677392A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Current focus moving method and device used for interactive personal TV terminal
CN102609521A (en) * 2012-02-10 2012-07-25 深圳创维数字技术股份有限公司 Webpage focus element switching method and digital television receiving terminal
CN104598248A (en) * 2015-02-03 2015-05-06 安徽广电信息网络股份有限公司 Focus switching method based on HTML (hypertext markup language) webpage
CN105812945A (en) * 2014-12-30 2016-07-27 阿里巴巴集团控股有限公司 Information input method, device and smart terminal
WO2018120492A1 (en) * 2016-12-30 2018-07-05 百度在线网络技术(北京)有限公司 Page processing method, mobile terminal, device and computer storage medium
CN112416189A (en) * 2019-08-23 2021-02-26 北京字节跳动网络技术有限公司 Cross-page focus searching method and device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013169882A2 (en) * 2012-05-09 2013-11-14 Yknots Industries Llc Device, method, and graphical user interface for moving and dropping a user interface object
WO2014187280A1 (en) * 2013-07-24 2014-11-27 中兴通讯股份有限公司 Method and system for controlling focus moving on webpage
CN105578294B (en) * 2014-10-15 2018-12-21 优视科技有限公司 Browse switching handling method, apparatus and system
CN105812944B (en) * 2014-12-29 2019-01-18 深圳Tcl新技术有限公司 Interface focus control method for movement and device
CN110321497B (en) * 2019-07-09 2022-03-22 网易(杭州)网络有限公司 Interface navigation method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101677392A (en) * 2008-09-19 2010-03-24 中兴通讯股份有限公司 Current focus moving method and device used for interactive personal TV terminal
CN102609521A (en) * 2012-02-10 2012-07-25 深圳创维数字技术股份有限公司 Webpage focus element switching method and digital television receiving terminal
CN105812945A (en) * 2014-12-30 2016-07-27 阿里巴巴集团控股有限公司 Information input method, device and smart terminal
CN104598248A (en) * 2015-02-03 2015-05-06 安徽广电信息网络股份有限公司 Focus switching method based on HTML (hypertext markup language) webpage
WO2018120492A1 (en) * 2016-12-30 2018-07-05 百度在线网络技术(北京)有限公司 Page processing method, mobile terminal, device and computer storage medium
CN112416189A (en) * 2019-08-23 2021-02-26 北京字节跳动网络技术有限公司 Cross-page focus searching method and device and electronic equipment

Also Published As

Publication number Publication date
CN113613052A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
US20210342041A1 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
CN103546818B (en) The focus control method of the list display interface of intelligent television and device
EP1928160B1 (en) Idle screen arrangement structure and idle screen display method for mobile terminal
US20220155922A1 (en) Side-toolbar-display method, terminal, and storage medium
US20150089410A1 (en) Method and portable terminal for moving icon
CN109589605B (en) Game display control method and device
KR20020000177A (en) Method and apparatus for displaying a multi-level menu
CN105573778B (en) Application program starting method and terminal
CN103546822A (en) Instruction mode switchover method and device based on intelligent television interface
CN108566564B (en) Page focus jumping method, television and computer readable storage medium
CN103561338A (en) Instruction mode switching method and device based on intelligent television interface
CN101872284A (en) Display mode switching method of functional keys and terminal
JP2013218495A (en) Display control device, display control method, and program
US20170269823A1 (en) Control Display Method and Device, and Terminal
CN105955573A (en) Mobile terminal application switching method and system
US20230091771A1 (en) Device Control Method, Storage Medium, and Non-Transitory Computer-Readable Electronic Device
JP2005242731A (en) Display method and display device
EP3955096A1 (en) Method, device and apparatus for controlling touch operation mode, and storage medium
US20170269961A1 (en) Application program switching method and apparatus, and electronic terminal
CN113613052B (en) Method, device and equipment for switching focuses of Web pages
CN114415894A (en) Terminal split screen processing method, device, equipment and medium
WO2021238190A1 (en) Focus control method, television, and storage medium
US11016788B2 (en) Application launching method and display device
CN111338545A (en) Image processing method, assembly, electronic device and storage medium
CN108737870A (en) A kind of soft keyboard key assignments selection 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
GR01 Patent grant
GR01 Patent grant