Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
For further explanation of the present application, the following examples are provided:
fig. 1A is a flowchart illustrating a viewing method of a page according to an exemplary embodiment of the present invention, fig. 1B is a first interface diagram illustrating the viewing method of the page according to an exemplary embodiment of the present invention, fig. 1C is a second interface diagram illustrating the viewing method of the page according to an exemplary embodiment of the present invention, fig. 1D is a third interface diagram illustrating the viewing method of the page according to an exemplary embodiment of the present invention, and fig. 1E is a fourth interface diagram illustrating the viewing method of the page according to an exemplary embodiment of the present invention; as shown in fig. 1A, the method comprises the following steps:
step 101, when a preset application program is operated and a preset operation triggered in a preset area of a touch screen is detected, determining an element to be selected of a selector control on a preset application program interface.
In one embodiment, the default application may be an application that is frequently executed by the user to view information, such as an application that is frequently executed by the user to view historical information.
In an embodiment, the preset operation may be a click operation, such as a click operation; in an embodiment, the preset operation may also be a sliding operation.
In an embodiment, the preset area may be a preset range around the position where the selector control is located; in yet another embodiment, the preset area may also be where the selector control is located.
In one embodiment, the selector control is displayed in a first preset form at a first preset position of the preset application program interface. In an embodiment, the first preset form may be understood as a shape form, a color, a solid or planar form, and the like of the selector control, for example, as shown in fig. 1B and 1C, the selector control is displayed in a dot form, selected elements in the selector control are displayed as black dots, unselected elements are displayed as gray dots, and may be in other shapes besides dots, and the selector control is not limited to a black and planar form, and may also be in a color or solid form; as shown in FIG. 1D, the selector control may also be displayed in a date form; as shown in fig. 1E, the selector control may also be icon information, such as a curve style or a histogram style; in a further embodiment, the first predetermined form may also be understood as a form of display, such as a form of floating display.
In an embodiment, the first predetermined location may be an interface top end of a predetermined application, as shown in fig. 1B-1E; in another embodiment, the first predetermined position may also be the bottom end of the interface; in an embodiment, the first preset position may be any position in the interface.
In an embodiment, a method for determining an element to be selected of a selector control on a preset application program interface may refer to the embodiment shown in fig. 2, and will not be described in detail here.
And 102, controlling a preset application program to switch the display form of the element to be selected, and opening an information detail page corresponding to the element to be selected.
In an embodiment, the display form of the element to be selected may be switched to a preset selected form, for example, a gray dot corresponding to the element 4 shown in fig. 1B is marked as a black dot.
In an embodiment, the candidate element may also be moved to a second preset position for highlighting the element in the form of the selected element, e.g., if the selector control is at the top of the preset application interface, the second preset position may be set to the rightmost or middle position of the selector control.
In an embodiment, after determining the element to be selected, the display form of each intermediate element between the currently selected element and the element to be selected may be sequentially switched from unselected to selected and then from selected to unselected, after the display form of the last intermediate element is switched to unselected, the display form of the element to be selected may be switched to selected, correspondingly, the information detail page corresponding to each intermediate element between the currently selected element and the element to be selected may be sequentially opened, and the corresponding information detail page may be closed after displaying for a preset time, for example, referring to fig. 1B, if the currently selected element is element 1, the currently displayed page is page 1, and the element to be selected is element 4, the display forms of element 2 and element 3 may be sequentially switched to selected and switched from selected to unselected, correspondingly, the page 2 corresponding to the element 2 is sequentially opened and the page 2 is closed after the preset time is displayed, then the page 3 corresponding to the element 3 is opened and the page 3 is closed after the preset time is displayed, and then the page 4 corresponding to the element 4 is opened. The display time of the intermediate pages such as the page 2, the page 3 and the like can be preset and stored in the mobile device, for example, the display time of the intermediate pages such as the page 2, the page 3 and the like is 1 second, that is, after each intermediate page is opened and displayed for 1 second, the next page is opened and displayed, and finally, the page corresponding to the element to be selected is opened and kept to be displayed. Therefore, the user can visually see the page corresponding to each intermediate element between the current element and the element to be selected, and further visually find the contrast relation between the data or the graph and the like of each page.
In an embodiment, after the element to be selected is determined, the display form of the currently selected element may also be directly switched to unselected, the display form of the element to be selected is switched to selected, correspondingly, the page corresponding to the currently selected element is closed, and the information detail page corresponding to the element to be selected is opened and kept to be displayed.
In one embodiment, switching the display form of the element to be selected may be accomplished by changing the display style and display position of the element, e.g., see FIG. 1B, the display style of the selected element is a black dot, the display position slides from the middle to the rightmost axis of the selector control, and the non-selected elements are gray dots; in another embodiment, it is also possible to change only the display style of the elements, but not change the display positions, that is, the display positions of the elements are not changed, the display style of the selected element is changed to a black dot, and the unselected elements are changed to gray dots; in yet another embodiment, it is also possible to change only the display position of the elements, but not the display style of the elements, i.e., the display position of the selected element is slid to a preset position, such as the right-most axis of the selector control, but the display style is unchanged.
In an embodiment, the operation for triggering the selection may be completed by a click operation or a slide operation, and both the operations may implement the above-mentioned changing of the element display style and the display position, or changing only the element display style without changing the display position, or changing only the element display position without changing the display position.
As can be seen from the above description, in the embodiment of the present invention, through the above steps 101 to 102, when the preset application is run, it can be detected whether the preset operation is triggered, and when the preset operation is detected, the element to be selected of the selector control on the preset application interface is changed, so that the information detail page corresponding to the element to be selected is viewed, the operation of viewing information by the user through the preset application is simplified, the display aesthetics of the information in the information detail page is considered, and the user experience is improved.
FIG. 2 is a schematic flow chart illustrating the determination of an element to be selected according to a preset operation according to another exemplary embodiment of the present invention; as shown in fig. 2, the method comprises the following steps:
step 201, detecting a preset operation occurring in a preset area of the touch screen, and executing step 202 and step 203.
In an embodiment, the preset operation may be a click operation, as shown in fig. 1C, the user may perform a click operation (e.g., a single click or a double click) on a dot corresponding to the element 4 in the selector control; in yet another embodiment, the preset operation may be a slide operation, and as shown in fig. 1B, the user may slide to the right at the position of the element 4 in the selector control, triggering a slide-type preset operation.
Step 202, when the preset operation is a sliding operation, determining an element to be selected according to a sliding track of the sliding operation on the touch screen, and executing step 204.
In an embodiment, the element to be selected may be determined according to the length of the sliding track, for example, when the length of the sliding track is 20 to 25 pixels, the element of the selector control corresponding to a third page before the current page is determined as the element to be selected; in a further embodiment, the candidate element may also be determined according to the start position of the sliding track, for example, if the start position is located at the position of the element 4, the element 4 may be set as the candidate element.
Step 203, when the preset operation is a click operation, determining an element to be selected according to the click position of the click operation on the touch screen, and executing step 204.
In an embodiment, the element to be selected may be determined according to a position where the click operation occurs, for example, as shown in fig. 1C, when the user triggers the click operation on a dot corresponding to the element 4 in the selector control, the mobile device may determine that the element to be selected is the element 4.
And 204, controlling the preset application program to switch the display form of the element to be selected, and opening an information detail page corresponding to the element to be selected.
In one embodiment, the selector control may include N elements, each for marking one page of information, where N is a natural number greater than 1.
In one embodiment, the description of step 204 can be found in the description of step 102 of the embodiment shown in fig. 1A, and will not be described in detail here.
In the embodiment, when the preset operation is detected, the element to be selected of the selector control on the preset application program interface is changed, so that the information detail page corresponding to the element to be selected is checked, the operation that a user checks information through the preset application program is simplified, the information display attractiveness of the information in the information detail page is considered, and the user experience is improved.
Corresponding to the above-mentioned page viewing method, the present application also proposes a schematic structure diagram of a mobile device according to an exemplary embodiment of the present application, shown in fig. 3.
As shown in fig. 3, at the hardware level, the mobile device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, but may also include hardware required for other services. The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form a viewing device of the page on a logic level. Of course, besides the software implementation, the present application does not exclude other implementations, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or logic devices.
FIG. 4 is a schematic diagram of a structure of a viewing device for a page in accordance with an exemplary embodiment of the present invention; as shown in fig. 4, the viewing means of the page may include: a determination module 41 and a viewing module 42. Wherein:
the determining module 41 is configured to determine, when a preset application is run and a preset operation triggered in a preset region of the touch screen is detected, an element to be selected of a selector control on a preset application interface, where the selector control is displayed at a first preset position of the preset application interface in a first preset form;
the viewing module 42 is configured to control the preset application program to switch the display form of the element to be selected, and open the information detail page corresponding to the element to be selected
FIG. 5 shows a schematic structural diagram of a viewing device for a page in accordance with a further exemplary embodiment of the present invention; as shown in fig. 5, based on the embodiment shown in fig. 4, in an embodiment, the viewing module 42 includes:
a first switching unit 421, configured to switch a display form of an element to be selected to a preset selected form; and/or the presence of a gas in the gas,
the moving unit 422 is configured to move the element to be selected to a second preset position, where the second preset position is used to highlight the selected element.
In one embodiment, the viewing module 42 includes:
a second switching unit 423, configured to sequentially switch the display form of each intermediate element between the currently selected element and the element to be selected from unselected to selected and then from selected to unselected, and after switching the display form of the last intermediate element to unselected, switch the display form of the element to be selected to selected;
in one embodiment, the viewing module 42 includes:
the first display unit 424 is configured to sequentially perform operations of opening and displaying a preset time and then closing a page corresponding to each intermediate element between the currently selected element and the element to be selected, and after closing a page corresponding to the last intermediate element, open and keep displaying an information detail page corresponding to the element to be selected.
In one embodiment, viewing module 42 includes:
a third switching unit 425, configured to switch the display form of the currently selected element to unselected, and switch the display form of the element to be selected to selected;
the viewing module 42 includes:
and the second display unit 426 is configured to close the page corresponding to the currently selected element, and open and keep displaying the information detail page corresponding to the element to be selected.
In an embodiment, the preset operation triggered by the preset area of the touch screen includes:
sliding operation of an area where a selector control of the touch screen is located; or,
the determination module 41 includes:
the first determining unit 411 is configured to determine, when the preset operation is a sliding operation, an element to be selected according to a sliding track of the sliding operation on the touch screen.
In an embodiment, the preset operation triggered by the preset area of the touch screen includes: and clicking the position of the element to be selected of the touch screen.
The determination module 41 includes:
and a second determining unit 412, configured to determine, when the preset operation is a click operation, an element to be selected according to a click position of the click operation on the touch screen.
In one embodiment, the selector control is displayed at a first preset position in a first preset form, including:
the selector control is displayed at a first preset position in a preset graphic mark mode; or
The selector control is displayed at a first preset position in a date mode; or
The selector control is displayed in a first preset position in the form of a preset chart.
In one embodiment, the selector control includes N elements, each element for marking one information page, where N is a natural number greater than 1.
According to the technical scheme, the mobile device can detect whether the preset operation is triggered or not when the preset application program is operated, and changes the to-be-selected element of the selector control on the preset application program interface when the preset operation is detected, so that the information detail page corresponding to the to-be-selected element can be checked, the operation that a user checks information through the preset application program is simplified, the information display attractiveness of the information in the information detail page is considered, and the user experience is improved.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.