Disclosure of Invention
In view of the above technical problems, the present invention provides a page pushing method and apparatus, a display terminal, and a computer-readable storage medium, which can quickly browse a common interface.
According to an aspect of the present invention, a page pushing method is provided, including:
determining at least one page to be accessed by a user according to the operation habits of the user;
and pushing the page key corresponding to the page to be accessed to a quick access bar so that a user can click the page key to access the corresponding page to be accessed.
In some embodiments of the invention, the user operation habit comprises at least one of user operation frequency and user common operation time sequence.
In some embodiments of the present invention, the page to be accessed includes at least one of a state browsing page and a parameter setting page, and the page key includes at least one of an interface skip key and a parameter setting key, where the interface skip key corresponds to the corresponding state browsing page and the parameter setting key corresponds to the corresponding parameter setting page.
In some embodiments of the present invention, the determining, according to the user operation habit, at least one page to be visited by the user includes:
determining the pushing priorities of all pages according to the operation habits of the user;
sorting the page identifiers of the pages according to the pushing priority;
and determining at least one page with the highest push priority as a page to be accessed.
In some embodiments of the present invention, the determining the push priority of the page according to the user operation habit includes:
detecting a current access page at a preset time interval;
adding 1 to the push priority of the current access page;
and subtracting 1 from the push priority of other pages except the current access page.
In some embodiments of the present invention, the determining the push priority of the page according to the user operation habit includes:
detecting whether the parameter setting value is changed at predetermined time intervals;
adding 1 to the pushing priority of the parameter setting page with the changed parameter setting value;
and subtracting 1 from the push priority of the parameter setting page with unchanged parameter setting value.
In some embodiments of the invention, the method further comprises: and under the condition that a plurality of pages with the same priority appear at the same time, preferentially pushing the page key of the page with the latest changed pushing priority to the quick access bar.
In some embodiments of the present invention, the determining, according to the user operation habit, at least one page to be visited by the user includes:
recording a page identifier corresponding to a page key under the condition that the page key is pressed, and recording access time of the page identifier;
acquiring last access time of the page identifier;
and under the condition that a plurality of pages with the same priority appear at the same time, preferentially pushing the pages with the same priority to the quick access bar, wherein the pages are closest to the last access time.
In some embodiments of the present invention, the determining, according to the user operation habit, at least one page to be visited by the user includes:
recording a page identifier corresponding to a page key under the condition that the page key is pressed, and recording access time of the page identifier;
acquiring last access time of the page identifier;
and determining at least one page visited by the user after the last visit time as a page to be visited.
In some embodiments of the present invention, the determining at least one page visited by the user after the last visit time as a page to be visited includes:
sequencing the pages accessed by the user after the last access time according to the distance from the last access time to the pages from near to far;
and determining at least one page closest to the last access time as a page to be accessed.
According to another aspect of the present invention, there is provided a page pushing apparatus, including:
the page to be visited determining module is used for determining at least one page to be visited by the user according to the operation habits of the user;
and the page key pushing module is used for pushing the page key corresponding to the page to be accessed to the quick access bar so that a user can click the page key to access the corresponding page to be accessed.
In some embodiments of the present invention, the page pushing apparatus is configured to perform an operation for implementing the page pushing method according to any of the above embodiments.
According to another aspect of the present invention, there is provided a page pushing apparatus, including:
a memory to store instructions;
a processor configured to execute the instructions to cause the apparatus to perform operations for implementing the page pushing method according to any of the above embodiments.
According to another aspect of the present invention, there is provided a display terminal, including the page pushing apparatus according to any of the above embodiments.
According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions, and when executed by a processor, the computer-readable storage medium implements the page pushing method according to any one of the above embodiments.
The invention can push the page according to the operation habit of the user, thereby realizing fast browsing of common interfaces and fast setting of parameters.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. 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.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a schematic diagram of some embodiments of a page pushing method according to the present invention. Preferably, this embodiment can be executed by the page pushing device of the present invention. The method comprises the following steps:
step 11, determining at least one (for example, K) pages to be accessed by the user according to the operation habits of the user, wherein K is the number of page keys in the quick access bar
In some embodiments of the present invention, the user operation habit includes at least one of user operation habits such as user operation frequency (user operation times) and user common operation time sequence.
And step 12, pushing the page key corresponding to the page to be accessed to a quick access bar so that a user can click the page key to access the corresponding page to be accessed.
Based on the page pushing method provided by the embodiment of the invention, the page can be pushed according to the operation habit of the user, so that the common interface can be browsed quickly, and the parameters can be set quickly. Therefore, the technical problems that the current industrial control touch screen has too many pages and cannot enter commonly used pages quickly are solved, and the technical problems that the current industrial control touch screen has too many parameters to be set and cannot set the parameters quickly are also solved.
The embodiment of the invention can be applied to the public touch screen in the fields of commercial air conditioners and the like, thereby improving the display interaction capacity of the industrial control touch screen and simplifying the complex flow of the touch screen in the operation process.
Fig. 2 is a schematic diagram of another embodiment of a page pushing method according to the present invention. Preferably, this embodiment can be executed by the page pushing device of the present invention. The method comprises steps 20-22.
Step 20, setting a quick access bar such as that shown in fig. 3, where the quick access bar may be displayed in or before the currently browsed page, and the quick access bar includes at least one page key, and each page key corresponds to a page to be accessed.
In some embodiments of the invention, the quick access bar may always be displayed in or before the currently viewed page.
In some embodiments of the invention, as shown in fig. 3, the method may further comprise: and a quick access key is arranged, and a user can display or hide the quick access bar by clicking the quick access key.
And step 21, determining at least one page to be accessed by the user according to the operation habits of the user.
In some embodiments of the present invention, the number of the pages to be accessed is equal to the number K of the quick access buttons in the quick access bar.
FIG. 3 is a diagram of a quick access bar in accordance with some embodiments of the invention. The quick access bar shown in fig. 3 is a semi-transparent icon, and the quick access bar is expanded in the center of the currently accessed page after clicking. 6 quick access keys can be displayed in the quick access column at most, and the 6 quick access keys are 6 pages to be accessed, which are determined to be accessed by the user according to the operation habits of the user.
In some embodiments of the invention, the at least one page to be accessed does not include a currently accessed page.
In some embodiments of the present invention, the user operation habit includes at least one of a user operation frequency (user operation times) and a user-used operation time sequence.
In some embodiments of the invention, the method further comprises: establishing a corresponding relation between a user and the operation habit of the user; and determining the user operation habit corresponding to the current user according to the user identification (such as the user login name).
In some embodiments of the present invention, the page to be accessed includes at least one of a state browsing page and a parameter setting page, and the page key includes at least one of an interface skip key and a parameter setting key, where the interface skip key corresponds to the corresponding state browsing page and the parameter setting key corresponds to the corresponding parameter setting page.
And step 22, pushing the page key corresponding to the page to be accessed to a quick access bar so that the user can click the page key to access the corresponding page to be accessed.
According to the embodiment of the invention, the page can be pushed according to the operation habit of the user, so that the common interfaces can be browsed quickly, and the parameters can be set quickly. The embodiment of the invention can improve the display interaction capacity of the industrial control touch screen and simplify the complex flow of the touch screen in the operation process.
In some embodiments of the present invention, the page pushing method may include:
the method comprises the steps that firstly, pages are pushed according to the sequence of the common operation time of a user;
pushing a page according to the operation frequency of the user;
and a third mode, namely, combining the first mode and the second mode, pushing the page according to the operation frequency of the user and the common operation time sequence of the user.
Specific examples of the first to third modes will be described below with reference to specific examples.
In a first mode
FIG. 4 is a diagram illustrating other embodiments of a page pushing method according to the present invention. Preferably, this embodiment can be executed by the page pushing device of the present invention. In the embodiment of fig. 4, the pages are pushed according to the time sequence of the common operation of the user. The method comprises the following steps:
and step 41, judging whether the current page key is pressed, wherein the page key comprises at least one of an interface skip key and a parameter setting key, and the like, the interface skip key corresponds to a corresponding state browsing page, and the parameter setting key corresponds to a corresponding parameter setting page.
And 42, recording the current page identifier (ID1) corresponding to the page key under the condition that the page key is pressed, and recording the access time of the page identifier.
And 43, acquiring the last access time of the page identifier.
And 44, sorting the page identifications (ID2) of the pages visited by the user after the last visit time according to the distance from the last visit time to the last visit time.
And step 45, eliminating the pages with the same page identification (ID2) as the current page identification (ID1) from the sorted pages. I.e. culling the currently visited page.
And step 46, determining at least one (for example, K) page closest to the last access time as a page to be accessed, wherein K is the number of the quick access keys in the quick access bar.
For example: in the quick access bar shown in fig. 3, page identifications (ID2) corresponding to pages that are the closest to the last access time of the currently accessed page may be displayed up to 6.
And step 47, pushing the page key corresponding to the page to be accessed to the quick access bar so that the user can click the page key to access the corresponding page to be accessed.
In some embodiments of the present invention, if the page key of the quick access bar is the interface jump key, the user can directly jump to the corresponding state browsing interface through the key in the quick access bar, and if the page key of the quick access bar is the parameter setting key, the user jumps to the parameter setting page where the key is located and enters the key setting state.
In some embodiments of the present invention, the page to be accessed includes at least one of a status browsing page and a parameter setting page.
In some embodiments of the present invention, if the parameter is a privilege level parameter, the parameter setting and the page jump can be performed only by inputting a corresponding privilege level password.
The embodiment of the invention can solve the problem that a user pushes one or more next interfaces or parameters which are accessed by the user habitually when the user views one interface or one parameter. Therefore, the embodiment of the invention can enable the user to quickly access the interface to be viewed and the parameters to be set.
Mode two
Fig. 5 is a schematic diagram of a page pushing method according to still another embodiment of the present invention. Preferably, this embodiment can be executed by the page pushing device of the present invention. In the embodiment of fig. 5, the page is pushed according to the operation frequency of the user. The method comprises the following steps:
step 51, detecting a current access page at preset time intervals; adding 1 to the push priority of the current access page; and subtracting 1 from the push priority of other pages except the current access page.
The embodiment of the invention can solve the problem that when a user finishes checking one interface, the user pushes the next interface which is accessed by one or more users habitually. Therefore, the embodiment of the invention can enable the user to quickly access the interface needing to be viewed.
Step 52, detecting whether the parameter setting value is changed at preset time intervals; when a set parameter is changed, setting the parameter on behalf of a user, and adding 1 to the push priority of a parameter setting page with the changed parameter setting value; and subtracting 1 from the push priority of the parameter setting page with unchanged parameter setting value.
In some embodiments of the present invention, the page push priority is 0 at the lowest and 256 at the highest.
The above-mentioned embodiment of the present invention can solve the problem of "pushing the next parameter that is habitually set by one or more users when the user has set one parameter". Therefore, the embodiment of the invention can enable the user to quickly access the parameters needing to be set.
And step 53, sequencing the page identifications of the pages according to the pushing priority.
And step 54, determining at least one (for example, K) page with the highest push priority as a page to be accessed, wherein K is the number of the quick access keys in the quick access bar.
And step 55, pushing the page key corresponding to the page to be accessed to the quick access bar so that the user can click the page key to access the corresponding page to be accessed.
The embodiment of the invention can solve the problem of how to push the interface or the parameter which is accessed by one or more users for many times in the using process of the user. Therefore, the embodiment of the invention can determine at least one page closest to the last access time through sequencing, so that a user can quickly access to an interface needing to be viewed and parameters needing to be set.
In some embodiments of the present invention, if the page key of the quick access bar is the interface jump key, the user can directly jump to the corresponding state browsing interface through the key in the quick access bar, and if the page key of the quick access bar is the parameter setting key, the user jumps to the parameter setting page where the key is located and enters the key setting state.
In some embodiments of the present invention, in the case that a plurality of pages with the same priority appear at the same time, the page key of the page with the latest changed push priority is preferentially pushed to the quick access bar.
For example: when a plurality of pages with the same push priority or set parameters appear at the same time, the old pages or parameters are replaced by the pages or parameters with the changed latest push priority.
The embodiment of the invention can preferentially push the page with the latest changed priority in a plurality of pages with the same priority, thereby further realizing fast and accurate browsing of common interfaces and fast and accurate parameter setting.
In some embodiments of the present invention, after step 52, the method may further comprise: judging whether the push priority is larger than a preset value (for example, 5); in case the push priority is greater than the predetermined value, step 53 is executed; otherwise, under the condition that the push-and-pull priority is not greater than the preset value, displaying the current state of the corresponding page case.
In some embodiments of the present invention, after step 53, the method may further comprise: removing the page with the same page identification (ID2) as the current page identification (ID1), namely removing the current access page from the sorted pages; step 54 is then performed.
In some embodiments of the present invention, if the parameter is a privilege level parameter, the parameter setting and the page jump can be performed only by inputting a corresponding privilege level password.
Mode III
FIG. 6 is a diagram illustrating a page pushing method according to still another embodiment of the present invention. Preferably, this embodiment can be executed by the page pushing device of the present invention. The embodiment of fig. 6 pushes pages according to the operation frequency of the user and the operation time sequence commonly used by the user. The method comprises the following steps:
step 60, recording a page identifier corresponding to the page key and recording the access time of the page identifier under the condition that the page key is pressed; and acquiring the last access time of the page identifier.
Step 61, detecting a current access page at preset time intervals; adding 1 to the push priority of the current access page; and subtracting 1 from the push priority of other pages except the current access page.
In some embodiments of the present invention, the page may be a status browsing page or a parameter setting interface.
Step 62, detecting whether the parameter setting value is changed at preset time intervals; adding 1 to the pushing priority of the parameter setting page with the changed parameter setting value; and subtracting 1 from the push priority of the parameter setting page with unchanged parameter setting value.
In some embodiments of the present invention, the page push priority is 0 at the lowest and 256 at the highest.
And 63, sequencing the page identifications of the pages according to the pushing priority.
And step 64, determining at least one (for example, K) page with the highest push priority as a page to be accessed, wherein K is the number of the quick access keys in the quick access bar.
And step 65, pushing the page key corresponding to the page to be accessed to the quick access bar so that the user can click the page key to access the corresponding page to be accessed.
And step 66, preferentially pushing the pages with the same priority to the quick access bar when the pages with the same priority appear at the same time and are closest to the last access time.
In the above embodiment of the present invention, the second mode (push according to the user operation frequency) is the main push mode, and the first mode (push according to the user common operation time sequence) is the auxiliary push mode, and when the push priorities conflict, the ID obtained by the first push mode is prioritized in the above embodiment of the present invention, and the two modes jointly determine to quickly access the push content in the field.
According to the embodiment of the invention, the page can be pushed according to the operation habit of the user, so that the common interfaces can be browsed quickly, and the parameters can be set quickly. The embodiment of the invention can improve the display interaction capacity of the industrial control touch screen and simplify the complex flow of the touch screen in the operation process.
Fig. 7 is a schematic diagram of some embodiments of a page pushing device according to the present invention. As shown in fig. 7, the page pushing apparatus may include a to-be-visited page determining module 71 and a page key pushing module 72, where:
the page to be visited determining module 71 is configured to determine at least one page to be visited that the user is going to visit according to the operation habit of the user.
In some embodiments of the present invention, the user operation habit includes at least one of user operation habits such as user operation frequency (user operation times) and user common operation time sequence.
The page key pushing module 72 is configured to push the page key corresponding to the page to be accessed to the quick access bar, so that the user can click the page key to access the corresponding page to be accessed.
In some embodiments of the present invention, the page pushing apparatus is configured to perform operations for implementing the page pushing method according to any of the above embodiments (for example, any of fig. 1 to 6).
Based on the page pushing device provided by the embodiment of the invention, the page can be pushed according to the operation habit of the user, so that the common interfaces can be browsed quickly, and the parameters can be set quickly. Therefore, the technical problems that the current industrial control touch screen has too many pages and cannot enter commonly used pages quickly are solved, and the technical problems that the current industrial control touch screen has too many parameters to be set and cannot set the parameters quickly are also solved.
The embodiment of the invention can be applied to the public touch screen in the fields of commercial air conditioners and the like, thereby improving the display interaction capacity of the industrial control touch screen and simplifying the complex flow of the touch screen in the operation process.
FIG. 8 is a schematic diagram of another embodiment of a page pushing apparatus according to the present invention. As shown in fig. 8, the page pushing apparatus may include a memory 81 and a processor 82, wherein:
a memory 81 for storing instructions.
A processor 82, configured to execute the instructions, so that the apparatus performs operations to implement the page pushing method according to any of the embodiments described above (for example, any of fig. 1 to 6).
According to the embodiment of the invention, the page can be pushed according to the operation habit of the user, so that the common interfaces can be browsed quickly, and the parameters can be set quickly. The embodiment of the invention can improve the display interaction capacity of the industrial control touch screen and simplify the complex flow of the touch screen in the operation process.
According to another aspect of the present invention, there is provided a display terminal, including the page pushing apparatus according to any of the above embodiments.
Based on the display terminal provided by the embodiment of the invention, the page can be pushed according to the operation habit of the user, so that the common interface can be browsed quickly, and the parameters can be set quickly. Therefore, the technical problems that the current industrial control touch screen has too many pages and cannot enter commonly used pages quickly are solved, and the technical problems that the current industrial control touch screen has too many parameters to be set and cannot set the parameters quickly are also solved.
The embodiment of the invention can be applied to the public touch screen in the fields of commercial air conditioners and the like, thereby improving the display interaction capacity of the industrial control touch screen and simplifying the complex flow of the touch screen in the operation process.
According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions, which when executed by a processor, implement the page pushing method according to any of the above embodiments (for example, any of fig. 1 to 6).
Based on the computer-readable storage medium provided by the embodiment of the invention, the page can be pushed according to the operation habit of the user, so that the common interface can be browsed quickly, and the parameters can be set quickly. Therefore, the technical problems that the current industrial control touch screen has too many pages and cannot enter commonly used pages quickly are solved, and the technical problems that the current industrial control touch screen has too many parameters to be set and cannot quickly set the parameters are also solved.
The embodiment of the invention can be applied to the public touch screen in the fields of commercial air conditioners and the like, thereby improving the display interaction capacity of the industrial control touch screen and simplifying the complex flow of the touch screen in the operation process.
Thus far, the present invention has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.