CN110321195B - Data caching method for operation page, electronic device and readable storage medium - Google Patents
Data caching method for operation page, electronic device and readable storage medium Download PDFInfo
- Publication number
- CN110321195B CN110321195B CN201910457057.7A CN201910457057A CN110321195B CN 110321195 B CN110321195 B CN 110321195B CN 201910457057 A CN201910457057 A CN 201910457057A CN 110321195 B CN110321195 B CN 110321195B
- Authority
- CN
- China
- Prior art keywords
- operation page
- user
- preset
- current operation
- page
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a process optimization technology, and provides a data caching method of an operation page, an electronic device and a readable storage medium, wherein the method comprises the following steps: when a user initiates a preset service flow, acquiring a caching time threshold value which is preset for each operation page in the preset service flow; after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time before the user operates again on the current operation page; if the retention time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, verifying the identity of the user operating on the current operation page according to a preset rule; and if the user identity authentication is passed, caching the operation data of the user on the current operation page. The invention effectively avoids the condition that the cache data of the user operation page is lost due to overlong operation retention time, and improves the working efficiency.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data caching method for an operation page, an electronic device, and a readable storage medium.
Background
When a user operates a page in a business process, the user often goes to operate the page after a certain time in the operation process, for example, when various information is filled, the user needs to search related information and then fill the information in the operation page. When a user goes to operate a page after a certain time, the user often clicks an operation page button and then an error is reported to prompt that the current operation page is overdue, the user needs to refresh the page and re-fill the data which is previously filled in the operation page, the efficiency is low, and the user experience is poor.
Disclosure of Invention
The invention aims to provide a data caching method of an operation page, an electronic device and a readable storage medium, aiming at effectively avoiding the cache data loss of the operation page of a user and improving the working efficiency.
In order to achieve the above object, the present invention provides an electronic device, which includes a memory and a processor, wherein the memory stores a data cache system of an operation page that can be executed on the processor, and when executed by the processor, the data cache system of the operation page implements the following steps:
when a user initiates a preset service flow, acquiring a cache time threshold value which is preset for each operation page in the preset service flow;
after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time before the user operates again on the current operation page;
if the retention time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, verifying the identity of the user operating on the current operation page according to a preset rule;
and if the user identity authentication is passed, caching the operation data of the user on the current operation page.
Preferably, before the step of obtaining the cache time threshold value set in advance for each operation page in the preset service flow when the user initiates the preset service flow, the method further includes:
decomposing a preset business process into one or more operation pages, and setting a corresponding cache time threshold value for each operation page decomposed in the preset business process; and setting the cache time thresholds corresponding to the operation pages in the preset business process to be the same or different.
Preferably, if the staying time is greater than or equal to a cache time threshold value correspondingly set on the current operation page, the step of verifying the identity of the user operating on the current operation page according to a preset rule includes:
if the retention time is larger than or equal to a cache time threshold value correspondingly set by the current operation page, locking the current operation page, and verifying the identity of the user operating on the current operation page according to a preset rule;
if the user identity authentication is passed, the step of caching the operation data of the user on the current operation page comprises the following steps:
and if the user identity authentication is passed, caching the operation data of the user on the current operation page, and unlocking the current operation page so that the user can continuously operate on the current operation page.
Preferably, after the step of starting a timer and recording the staying time of the user before the user performs the operation again on the current operation page in the preset service flow after detecting that the user performs the operation on the current operation page, the method further includes:
counting the times of stay time greater than or equal to a correspondingly set cache time threshold value appearing in each operation page of the preset service flow within a preset time, and screening out the operation pages of which the times of stay time greater than or equal to the correspondingly set cache time threshold value exceed the preset threshold value;
and pushing the relevant information of the screened operation page to preset equipment.
In addition, in order to achieve the above object, the present invention further provides a data caching method for an operation page, where the data caching method for the operation page includes:
when a user initiates a preset service flow, acquiring a cache time threshold value which is preset for each operation page in the preset service flow;
after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time before the user operates again on the current operation page;
if the retention time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, verifying the identity of the user operating on the current operation page according to a preset rule;
and if the user identity authentication is passed, caching the operation data of the user on the current operation page.
Preferably, before the step of obtaining the cache time threshold value set in advance for each operation page in the preset service flow when the user initiates the preset service flow, the method further includes:
decomposing a preset business process into one or more operation pages, and setting a corresponding cache time threshold value for each operation page decomposed in the preset business process; and setting the cache time thresholds corresponding to the operation pages in the preset business process to be the same or different.
Preferably, if the staying time is greater than or equal to a cache time threshold value correspondingly set on the current operation page, the step of verifying the identity of the user operating on the current operation page according to a preset rule includes:
if the retention time is larger than or equal to a cache time threshold value correspondingly set by the current operation page, locking the current operation page, and verifying the identity of the user operating on the current operation page according to a preset rule;
if the user identity authentication is passed, the step of caching the operation data of the user on the current operation page comprises the following steps:
and if the user identity authentication is passed, caching the operation data of the user on the current operation page, and unlocking the current operation page so that the user can continuously operate on the current operation page.
Preferably, after the step of starting a timer and recording the staying time of the user before the user performs the operation again on the current operation page in the preset service flow after detecting that the user performs the operation on the current operation page, the method further includes:
counting the times of stay time greater than or equal to a correspondingly set cache time threshold value appearing in each operation page of the preset service flow within a preset time, and screening out the operation pages of which the times of stay time greater than or equal to the correspondingly set cache time threshold value exceed the preset threshold value;
and pushing the relevant information of the screened operation page to preset equipment.
Preferably, if the staying time is greater than or equal to a cache time threshold value correspondingly set on the current operation page, the step of verifying the identity of the user operating on the current operation page according to a preset rule includes:
if the staying time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, acquiring an account name, a password, a fingerprint and/or facial information of the user, and verifying the acquired account name, password, fingerprint and/or facial information to verify the identity of the user operating on the current operation page.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium storing a data caching system of an operation page, where the data caching system of the operation page is executable by at least one processor, so that the at least one processor performs the steps of the data caching method of the operation page as described above.
According to the data caching method, the electronic device and the readable storage medium for the operation pages, the corresponding caching time threshold is preset for each operation page in the preset business process; after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time of the user before the user operates on the current operation page again; if the retention time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, verifying the identity of the user operating on the current operation page according to a preset rule; and if the user identity authentication is passed, caching the operation data of the user on the current operation page. Because the corresponding cache time threshold value can be set for each operation page, when the operation stay time of the user on the current operation page exceeds the corresponding cache time threshold value, the operation data of the user on the current operation page is cached in time, the condition that the cache data of the user operation page is lost due to overlong operation stay time is effectively avoided, and the working efficiency is improved.
Drawings
FIG. 1 is a diagram illustrating an operating environment of a data caching system 10 for pages of operation according to a preferred embodiment of the present invention;
fig. 2 is a flowchart illustrating a data caching method for an operation page according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a data caching system for an operation page. Referring to FIG. 1, a diagram of an operating environment of a data caching system 10 for pages of operation according to an embodiment of the present invention is shown.
In the present embodiment, the data caching system 10 of the operation page is installed and operated in the electronic device 1. The electronic device 1 may include, but is not limited to, a memory 11, a processor 12, and a display 13. Fig. 1 only shows the electronic device 1 with components 11-13, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may alternatively be implemented.
The memory 11 is at least one type of readable computer storage medium, and the memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, such as a hard disk or a memory of the electronic device 1. The memory 11 may also be an external storage device of the electronic apparatus 1 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic apparatus 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic apparatus 1. The memory 11 is used for storing application software installed in the electronic device 1 and various types of data, such as program codes of the data caching system 10 of the operation page. The memory 11 may also be used for temporarily storing data that has been output or is to be output.
The processor 12 may be, in some embodiments, a Central Processing Unit (CPU), a microprocessor or other data Processing chip, and is used for running program codes stored in the memory 11 or Processing data, such as the data cache system 10 executing the operation pages.
The display 13 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 13 is used for displaying information processed in the electronic apparatus 1 and displaying a visual user interface, such as a cache time threshold, a dwell time, a user identity interface, and the like, which are set corresponding to each operation page. The components 11-13 of the electronic device 1 communicate with each other via a system bus.
The data caching system 10 for manipulating pages includes at least one computer readable instruction stored in the memory 11, which is executable by the processor 12 to implement embodiments of the present application.
When executed by the processor 12, the data caching system 10 of the above operation page implements the following steps:
step S1, when a user initiates a preset service process, obtaining a cache time threshold value which is preset for each operation page in the preset service process;
step S2, after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time before the user operates again on the current operation page;
step S3, if the stay time is larger than or equal to the cache time threshold value correspondingly set by the current operation page, verifying the user identity operated on the current operation page according to a preset rule;
and step S4, if the user identity authentication is passed, caching the operation data of the user on the current operation page.
In this embodiment, the data caching system of the operation page receives a preset service flow initiated by a user, for example, receives a preset service flow initiated by the user through a terminal such as a mobile phone, a tablet computer, and a self-service terminal device, such as a preset service flow initiated by the user on a client pre-installed in the terminal such as the mobile phone, the tablet computer, and the self-service terminal device, or a preset service flow initiated by the user on a browser system in the terminal such as the mobile phone, the tablet computer, and the self-service terminal device.
In this embodiment, for a plurality of preset service flows, the preset service flow may be decomposed into a plurality of operation pages in advance, and a cache time threshold is set for each operation page, so that the operation pages are cached according to the cache time thresholds corresponding to the operation pages in the following. The preset business process comprises common business processes of financial institutions, such as an online transfer business process, an online loan business process and the like. In this embodiment, the cache time threshold of each operation page can be flexibly set. For example, different cache time thresholds may be set for operation pages of different process links, and certainly, the cache time thresholds set for the different process links may also be set to be the same. In an optional implementation manner, the corresponding cache time threshold may be set according to the actual time consumption states of the different process links operating the page. In another optional implementation, the different process link operation pages may also be classified, for example, the different process link operation pages are divided into an important node operation page and a non-important node operation page according to the importance degree of the service node where the operation page is located, different priority levels are set for the important node operation page and the non-important node operation page, and then the preset cache time threshold corresponding to each process link operation page is set according to the priority levels; and the user can also be supported to customize and configure the cache time threshold values corresponding to the operation pages of different process links. For example, taking the online loan service process as an example, when setting corresponding different cache time thresholds according to the actual time consumption states of different process link operation pages, the cache time threshold of the process link operation page for uploading specific certification materials or filling in various data should be set to be smaller than the cache time threshold of the process link operation page that only needs to be clicked and confirmed by the user. So as to avoid the data loss caused by overlong operation time of the operation page of the process link of uploading specific certification materials or filling various data by the user. For another example, in the online transfer service process, the process link operation page for filling the transfer related information is a key operation page of the online transfer service process, so that the cache time threshold of the process link operation page for filling the transfer related information can be set to be smaller than that of other general process link operation pages. In addition, the preset business process can be decomposed into various operation pages, and a cache time threshold value is set for each operation page; different operation pages of the preset business process can be divided into different categories (such as time-consuming long-category pages or importance-high-category pages) and corresponding cache time thresholds are respectively set for the operation pages of the different categories; of course, the cache time threshold corresponding to one or more operation pages may also be configured by the user in a customized manner, and the default cache time threshold is set when the user is not configured.
After receiving a preset business process initiated by a user, monitoring the operation of the user on an operation page of each process link in the preset business process. In this embodiment, the operation time information of the user on the operation page in each process link is monitored by using a timer. When a user enters an operation page of a certain current process link, after it is detected that the user performs an operation on the current operation page (for example, the user performs the operation on the current operation page by touching or pressing a screen, or performs the operation on the current operation page by clicking a mouse or inputting information, etc.), a timer is started to start timing, and a retention time (defined as an operation retention time in this embodiment) before the user performs the operation again on the current operation page is recorded, that is, an interval time between two consecutive operations of the user on the current operation page, that is, an operation retention time, is recorded. And when the user operates again on the current operation page, automatically clearing the timer and restarting timing. Namely, if the user performs the operation again on the current operation page, the operation stay time of the user performing the operation again on the current operation page is continuously monitored. For example, in this embodiment, the operation retention time t of the user on the operation page of a certain flow link in normal operation is recorded by the timer, and whether a cache critical point occurs is determined according to the operation retention time t and the cache time threshold of the operation page of the flow link. When the cache critical point appears, the timer outputs a logic zero value after the operation retention time of the user exceeds a preset cache time threshold value, and the logic zero value triggers subsequent operations (locking an operation page, popping a login box and the like).
And comparing the recorded operation stay time of the user on the operation page of the current flow link with a cache time threshold value which is preset for the operation page of the current flow link. If the recorded operation stay time of the user on the operation page of the current process link is greater than or equal to the caching time threshold value preset for the operation page of the current process link, the operation stay time of the user on the operation page of the current flow link is too long, and the risk of losing the cache data of the operation page exists, the operation page of the current process link is locked (for example, the operation page of the current process link can be automatically set to be in an inoperable state), and the identity of the currently operated user is verified according to a preset rule, the verification is passed, the operation data of the user on the operation page of the current process link is cached, the cached data is confirmed to be valid and correct, therefore, the situation that the cache data is lost due to error reporting generated after a certain cache time is exceeded because the operation time of the user for operating the page in the current flow link is too long is avoided. According to the embodiment, data loss of the operation page can be reduced, the situation that the user repeatedly inputs data due to cache data loss is reduced, and the working efficiency and the user experience of the user are improved. In addition, if the recorded operation retention time of the user on the operation page of the current flow link is less than the cache time threshold value preset for the operation page of the current flow link, it indicates that the operation retention time of the user on the operation page of the current flow link is normal, and there is no risk of losing cache data of the operation page, and the operation page of the current flow link is continuously provided to wait for the user operation. When the operation page of the current flow link is locked and the identity of the currently operated user is verified according to a preset rule, if the user identity verification fails (if the user name and password are input incorrectly or the number of continuous input errors exceeds a certain number of times, such as 3 times), the operation page of the current flow link is continuously locked until the verification passes.
In this embodiment, the operation page of the current process link is locked, and when the identity of the currently operated user is verified according to the preset rule, a preset login box can be popped up, so that the user can input a user name and a password on the preset login box to log in. The user may also be prompted to enter fingerprint, iris, facial information, etc. to verify the user's identity through fingerprint recognition, iris recognition, facial recognition, etc.
In the embodiment, a corresponding cache time threshold is preset for each operation page in a preset service flow; after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time before the user operates again on the current operation page; if the retention time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, verifying the identity of the user operating on the current operation page according to a preset rule; and if the user identity authentication is passed, caching the operation data of the user on the current operation page. Because the corresponding cache time threshold value can be set for each operation page, when the operation stay time of the user on the current operation page exceeds the corresponding cache time threshold value, the operation data of the user on the current operation page is cached in time, the condition that the cache data of the operation page of the user is lost due to overlong operation stay time is effectively avoided, and the working efficiency is improved.
In an alternative embodiment, when the data caching system 10 of the operation page is executed by the processor 12, the following steps are further implemented:
counting the times of stay time greater than or equal to a correspondingly set cache time threshold value appearing in each operation page of the preset service flow within a preset time, and screening out the operation pages of which the times of stay time greater than or equal to the correspondingly set cache time threshold value exceed the preset threshold value; and pushing the relevant information of the screened operation page to preset equipment.
In this embodiment, the number of times that the operation retention time of the operation page of each process link in the preset service process is greater than or equal to the corresponding cache time threshold value in the preset time is counted, which is defined as the number of times that the cache critical point occurs in this embodiment. Screening a process link operation page with the occurrence frequency of the cache critical point exceeding a preset frequency threshold; and pushing the relevant information of the screened flow link operation page to preset equipment. Specifically, a flow link operation page where a cache critical point frequently appears within a preset time period (for example, within the last 1 month) is analyzed in real time or at regular time according to a predetermined first analysis algorithm, and related personnel are reminded to find out a reason or optimize the flow link operation page. For example, counting the times of occurrence of the cache critical point in each process link operation page in the user loan process within a preset time period (for example, within the last 1 month), finding out the process link operation page in which the times of occurrence of the cache critical point in the user loan process within the preset time period (for example, within the last 1 month) exceed a preset cache time threshold, sending the found information about the process link operation page in which the cache critical point frequently occurs to relevant management personnel, the relevant management personnel can find out the reason why the cache critical point frequently occurs in the process link operation page, if the operation page of the flow link is unreasonably set, the user operation is easy to stay for too long time to frequently generate the state of caching the critical point, the corresponding optimization can be performed on the operation page of the process link with the frequently occurring cache critical point, so that the working efficiency and the operation experience of the user are improved. The relevant management personnel can also analyze whether the cache time threshold value preset for the flow link operation page is too small according to the received flow link operation page relevant information with the cache critical point, so that the cache critical point often appears on the flow link operation page, and can reasonably adjust the cache time threshold value preset for each flow link operation page according to the fed back flow link operation page relevant information with the cache critical point often appearing, so as to reasonably adapt to the user operation. The method can avoid the frequent occurrence of cache critical points and can ensure that the cache data loss of the operation page is reduced.
As shown in fig. 2, fig. 2 is a schematic flowchart of an embodiment of a data caching method for an operation page, where the data caching method for the operation page includes the following steps:
step S10, when a user initiates a preset service process, obtaining a cache time threshold value which is preset for each operation page in the preset service process;
step S20, after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time before the user operates again on the current operation page;
step S30, if the stay time is larger than or equal to the cache time threshold value correspondingly set by the current operation page, verifying the user identity operated on the current operation page according to a preset rule;
and step S40, if the user identity authentication is passed, caching the operation data of the user on the current operation page.
In this embodiment, the data caching system of the operation page receives a preset service flow initiated by a user, for example, receives a preset service flow initiated by the user through a terminal such as a mobile phone, a tablet computer, and a self-service terminal device, such as a preset service flow initiated by the user on a client pre-installed in the terminal such as the mobile phone, the tablet computer, and the self-service terminal device, or a preset service flow initiated by the user on a browser system in the terminal such as the mobile phone, the tablet computer, and the self-service terminal device.
In this embodiment, for a plurality of preset service flows, the preset service flow may be decomposed into a plurality of operation pages in advance, and a cache time threshold is set for each operation page, so that the operation pages are cached according to the cache time thresholds corresponding to the operation pages in the following. The preset business process comprises common business processes of financial institutions, such as an online transfer business process, an online loan business process and the like. In this embodiment, the cache time threshold of each operation page can be flexibly set. For example, different cache time thresholds may be set for operation pages of different process links, and certainly, the cache time thresholds set for the different process links may also be set to be the same. In an optional implementation manner, the corresponding cache time threshold may be set according to the actual time consumption states of the operation pages of different process links. In another optional implementation, the different process link operation pages may also be classified, for example, the different process link operation pages are divided into an important node operation page and a non-important node operation page according to the importance degree of the service node where the operation page is located, different priority levels are set for the important node operation page and the non-important node operation page, and then the preset cache time threshold corresponding to each process link operation page is set according to the priority levels; and the user can also be supported to customize and configure the cache time threshold values corresponding to the operation pages of different process links. For example, taking the online loan service process as an example, when setting corresponding different cache time thresholds according to the actual time consumption states of different process link operation pages, the cache time threshold of the process link operation page for uploading specific certification materials or filling in various data should be set to be smaller than the cache time threshold of the process link operation page that only needs to be clicked and confirmed by the user. So as to avoid the data loss caused by overlong operation time of the operation page of the process link of uploading specific certification materials or filling various data by the user. For another example, in the online transfer service process, the process link operation page for filling the transfer related information is a key operation page of the online transfer service process, so that the cache time threshold of the process link operation page for filling the transfer related information can be set to be smaller than that of other general process link operation pages. In addition, the preset business process can be decomposed into various operation pages, and a cache time threshold value is set for each operation page; different operation pages of the preset business process can be divided into different categories (such as time-consuming long-category pages or importance-high-category pages) and corresponding cache time thresholds are respectively set for the operation pages of the different categories; certainly, the cache time threshold corresponding to one or more operation pages may also be configured by the user in a customized manner, and the cache time threshold that is not configured by the user is set as a preset default cache time threshold.
After receiving a preset business process initiated by a user, monitoring the operation of the user on an operation page of each process link in the preset business process. In this embodiment, the operation time information of the user operating the page in each process link is monitored by using a timer. When a user enters an operation page of a certain current process link, after detecting that the user performs an operation on the current operation page (for example, performs an operation on the current operation page by touching or pressing a screen, or performs an operation on the current operation page by clicking a mouse, inputting information, or the like), starting a timer to start timing, and recording a retention time (defined as an operation retention time in this embodiment) before the user performs a re-operation on the current operation page, that is, an interval time between two consecutive operations of the user on the current operation page, that is, an operation retention time. And when the user operates again on the current operation page, automatically clearing the timer and restarting timing. Namely, if the user performs the operation again on the current operation page, the operation stay time of the user performing the operation again on the current operation page is continuously monitored. For example, in this embodiment, the operation retention time t of the user on the operation page of a certain flow link in normal operation is recorded by the timer, and whether a cache critical point occurs is determined according to the operation retention time t and the cache time threshold of the operation page of the flow link. When the cache critical point appears, the timer outputs a logic zero value after the operation retention time of the user exceeds a preset cache time threshold value, and the logic zero value triggers the subsequent operation (locking an operation page, popping a login box and the like).
And comparing the recorded operation stay time of the user on the operation page of the current flow link with a cache time threshold value which is preset for the operation page of the current flow link. If the recorded operation stay time of the user on the operation page of the current process link is greater than or equal to the caching time threshold value preset for the operation page of the current process link, the operation stay time of the user on the operation page of the current flow link is too long, and the risk of losing the cache data of the operation page exists, the operation page of the current process link is locked (for example, the operation page of the current process link can be automatically set to be in an inoperable state), and the identity of the currently operated user is verified according to a preset rule, the verification is passed, the operation data of the user on the operation page of the current process link is cached, the cached data is confirmed to be valid and correct, therefore, the condition that the cache data is lost due to error reporting after a certain cache time is exceeded because the operation time of the user for operating the page in the current flow link is overlong is avoided. According to the embodiment, data loss of the operation page can be reduced, the situation that the user repeatedly inputs data due to cache data loss is reduced, and the working efficiency and the user experience of the user are improved. In addition, if the recorded operation retention time of the user on the operation page of the current flow link is less than the cache time threshold value preset for the operation page of the current flow link, it indicates that the operation retention time of the user on the operation page of the current flow link is normal, and there is no risk of losing cache data of the operation page, and the operation page of the current flow link is continuously provided to wait for the user operation. When the operation page of the current flow link is locked and the identity of the currently operated user is verified according to a preset rule, if the user identity verification fails (if the user name and password are input wrongly or the number of times of continuous input mistakes exceeds a certain number of times, such as 3 times), the operation page of the current flow link is continuously locked until the verification passes.
In this embodiment, the operation page of the current process link is locked, and when the identity of the currently operated user is verified according to the preset rule, a preset login box can be popped up, so that the user can input a user name and a password on the preset login box to log in. The user may also be prompted to enter fingerprint, iris, facial information, etc. to verify the user's identity through fingerprint recognition, iris recognition, facial recognition, etc.
In the embodiment, a corresponding cache time threshold is preset for each operation page in a preset service flow; after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time before the user operates again on the current operation page; if the retention time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, verifying the identity of the user operating on the current operation page according to a preset rule; and if the user identity authentication is passed, caching the operation data of the user on the current operation page. Because the corresponding cache time threshold value can be set for each operation page, when the operation stay time of the user on the current operation page exceeds the corresponding cache time threshold value, the operation data of the user on the current operation page is cached in time, the condition that the cache data of the user operation page is lost due to overlong operation stay time is effectively avoided, and the working efficiency is improved.
Further, in an optional embodiment, the method further comprises the following steps:
counting the times of stay time greater than or equal to a correspondingly set cache time threshold value appearing in each operation page of the preset service flow within a preset time, and screening out the operation pages of which the times of stay time greater than or equal to the correspondingly set cache time threshold value exceed the preset threshold value; and pushing the relevant information of the screened operation page to preset equipment.
In this embodiment, the number of times that the operation retention time of the operation page of each process link in the preset service process is greater than or equal to the corresponding cache time threshold value within the preset time is counted, which is defined as the number of times that the cache critical point occurs in this embodiment. Screening out a flow link operation page with the occurrence frequency of the cache critical point exceeding a preset frequency threshold; and pushing the relevant information of the screened flow link operation page to preset equipment. Specifically, a flow link operation page where a cache critical point frequently appears within a preset time period (for example, within the last 1 month) is analyzed in real time or at regular time according to a predetermined first analysis algorithm, and related personnel are reminded to find out a reason or optimize the flow link operation page. For example, counting the times of occurrence of the cache critical point in each process link operation page in the user loan process within a preset time period (for example, within the last 1 month), finding out the process link operation page in which the times of occurrence of the cache critical point in the user loan process within the preset time period (for example, within the last 1 month) exceed a preset cache time threshold, sending the found information about the process link operation page in which the cache critical point frequently occurs to relevant management personnel, the relevant management personnel can find out the reason why the cache critical point frequently occurs in the process link operation page, if the operation page of the flow link is unreasonably set, the user operation is easy to stay for too long time to frequently generate the state of caching the critical point, the corresponding optimization can be performed on the operation page of the process link with the frequently occurring cache critical point, so that the working efficiency and the operation experience of the user are improved. The relevant management personnel can also analyze whether the cache time threshold value preset for the flow link operation page is too small according to the received flow link operation page relevant information with the cache critical point, so that the cache critical point often appears on the flow link operation page, and can reasonably adjust the cache time threshold value preset for each flow link operation page according to the fed back flow link operation page relevant information with the cache critical point often appearing, so as to reasonably adapt to the user operation. The method can avoid frequent cache critical points and ensure that the cache data loss of the operation page is reduced.
In addition, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a data caching system of an operation page, where the data caching system of the operation page is executable by at least one processor, so that the at least one processor executes the steps of the data caching method of the operation page in the foregoing embodiment, and the specific implementation processes of the steps S10, S20, S30, etc. of the data caching method of the operation page are as described above, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. Additionally, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
Those skilled in the art can implement the invention in various modifications, such as features from one embodiment can be used in another embodiment to yield yet a further embodiment, without departing from the scope and spirit of the invention. Any modification, equivalent replacement and improvement made within the technical idea of using the present invention should be within the scope of the right of the present invention.
Claims (8)
1. An electronic device, comprising a memory and a processor, wherein the memory stores thereon a data caching system of an operation page executable on the processor, and the data caching system of the operation page implements the following steps when executed by the processor:
decomposing a preset business process into one or more operation pages, and setting a corresponding cache time threshold value for each operation page decomposed in the preset business process; setting the caching time thresholds corresponding to the operation pages in the preset business process to be the same or different;
when a user initiates a preset service flow, acquiring a cache time threshold value which is preset for each operation page in the preset service flow;
after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time before the user operates again on the current operation page;
if the retention time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, verifying the identity of the user operating on the current operation page according to a preset rule;
if the user identity authentication is passed, caching the operation data of the user on the current operation page;
wherein the setting of the corresponding cache time threshold for each operation page decomposed in the preset service flow includes:
the method comprises the steps of dividing operation pages of different process links into an important node operation page and a non-important node operation page, setting different priority levels for the important node operation page and the non-important node operation page, and setting a preset cache time threshold corresponding to each process link operation page according to the priority levels.
2. The electronic device according to claim 1, wherein the step of verifying the identity of the user operating on the current operation page according to a preset rule if the staying time is greater than or equal to a cache time threshold value correspondingly set to the current operation page comprises:
if the retention time is larger than or equal to a cache time threshold value correspondingly set by the current operation page, locking the current operation page, and verifying the identity of the user operating on the current operation page according to a preset rule;
if the user identity authentication is passed, the step of caching the operation data of the user on the current operation page comprises the following steps:
and if the user identity authentication is passed, caching the operation data of the user on the current operation page, and unlocking the current operation page so that the user can continuously operate on the current operation page.
3. The electronic device according to claim 1 or 2, wherein after the step of starting a timer and recording the staying time of the user before performing the operation again on the current operation page after detecting that the user performs the operation on the current operation page in the preset business process, the method further comprises:
counting the times of stay time greater than or equal to a correspondingly set cache time threshold value appearing in each operation page of the preset service flow within a preset time, and screening out the operation pages of which the times of stay time greater than or equal to the correspondingly set cache time threshold value exceed the preset threshold value;
and pushing the relevant information of the screened operation page to preset equipment.
4. A data caching method for an operation page is characterized by comprising the following steps:
decomposing a preset business process into one or more operation pages, and setting a corresponding cache time threshold value for each operation page decomposed in the preset business process; setting the caching time thresholds corresponding to the operation pages in the preset business process to be the same or different;
when a user initiates a preset service flow, acquiring a cache time threshold value which is preset for each operation page in the preset service flow;
after detecting that the user operates on the current operation page in the preset business process, starting a timer and recording the stay time of the user before the user operates on the current operation page again;
if the retention time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, verifying the identity of the user operating on the current operation page according to a preset rule;
if the user identity authentication is passed, caching the operation data of the user on the current operation page;
wherein the setting of the corresponding cache time threshold for each operation page decomposed in the preset service flow includes:
the method comprises the steps of dividing operation pages of different process links into an important node operation page and a non-important node operation page, setting different priority levels for the important node operation page and the non-important node operation page, and setting a preset cache time threshold corresponding to each process link operation page according to the priority levels.
5. The data caching method for the operation page according to claim 4, wherein the step of verifying the identity of the user operating on the current operation page according to a preset rule if the staying time is greater than or equal to a caching time threshold value correspondingly set to the current operation page comprises:
if the retention time is larger than or equal to a cache time threshold value correspondingly set by the current operation page, locking the current operation page, and verifying the identity of the user operating on the current operation page according to a preset rule;
if the user identity authentication is passed, the step of caching the operation data of the user on the current operation page comprises the following steps:
and if the user identity authentication is passed, caching the operation data of the user on the current operation page, and unlocking the current operation page so that the user can continuously operate on the current operation page.
6. The method for caching data of an operation page according to claim 4 or 5, wherein after the step of starting a timer and recording a staying time until a user performs a re-operation on the current operation page after detecting that the user performs the operation on the current operation page in the preset business process, the method further comprises:
counting the times of stay time greater than or equal to a correspondingly set cache time threshold value appearing in each operation page of the preset service flow within a preset time, and screening out the operation pages of which the times of stay time greater than or equal to the correspondingly set cache time threshold value exceed the preset threshold value;
and pushing the relevant information of the screened operation page to preset equipment.
7. The data caching method for the operation page according to claim 4 or 5, wherein the step of verifying the identity of the user operating on the current operation page according to a preset rule if the staying time is greater than or equal to a caching time threshold value correspondingly set to the current operation page comprises:
if the staying time is larger than or equal to a cache time threshold value correspondingly set on the current operation page, acquiring an account name, a password, a fingerprint and/or facial information of the user, and verifying the acquired account name, password, fingerprint and/or facial information to verify the identity of the user operating on the current operation page.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a data caching system of an operation page, which when executed by a processor implements the steps of the data caching method of an operation page according to any one of claims 4 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910457057.7A CN110321195B (en) | 2019-05-29 | 2019-05-29 | Data caching method for operation page, electronic device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910457057.7A CN110321195B (en) | 2019-05-29 | 2019-05-29 | Data caching method for operation page, electronic device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110321195A CN110321195A (en) | 2019-10-11 |
CN110321195B true CN110321195B (en) | 2022-07-08 |
Family
ID=68119163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910457057.7A Active CN110321195B (en) | 2019-05-29 | 2019-05-29 | Data caching method for operation page, electronic device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110321195B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632301A (en) * | 2017-03-15 | 2018-10-09 | 腾讯科技(深圳)有限公司 | A kind of log in renews processing method and terminal after state fails |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080177994A1 (en) * | 2003-01-12 | 2008-07-24 | Yaron Mayer | System and method for improving the efficiency, comfort, and/or reliability in Operating Systems, such as for example Windows |
US11216720B2 (en) * | 2015-10-08 | 2022-01-04 | Shanghai Zhaoxin Semiconductor Co., Ltd. | Neural network unit that manages power consumption based on memory accesses per period |
CN109756495A (en) * | 2018-12-29 | 2019-05-14 | 广东盈世计算机科技有限公司 | A kind of Mail Clients and its email processing method |
-
2019
- 2019-05-29 CN CN201910457057.7A patent/CN110321195B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632301A (en) * | 2017-03-15 | 2018-10-09 | 腾讯科技(深圳)有限公司 | A kind of log in renews processing method and terminal after state fails |
Non-Patent Citations (1)
Title |
---|
基于空间局部性的PCM和DRAM混合内存页面调度算法;刘巍;《中国科技论文》;20140131;第9卷(第1期);第53-57页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110321195A (en) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109857592B (en) | Data recovery control method, server and storage medium | |
CN110602052B (en) | Micro-service processing method and server | |
CN106650350B (en) | Identity authentication method and system | |
CN110597511B (en) | Page automatic generation method, system, terminal equipment and storage medium | |
EP3396558B1 (en) | Method for user identifier processing, terminal and nonvolatile computer readable storage medium thereof | |
CN110113315B (en) | Service data processing method and device | |
CN109241014B (en) | Data processing method and device and server | |
US9558346B1 (en) | Information processing systems with security-related feedback | |
WO2019061664A1 (en) | Electronic device, user's internet surfing data-based product recommendation method, and storage medium | |
CN109766483B (en) | Regular expression generation method, device, computer equipment and storage medium | |
CN112835682B (en) | Data processing method, device, computer equipment and readable storage medium | |
CN110851298A (en) | Abnormality analysis and processing method, electronic device, and storage medium | |
CN111178147A (en) | Screen crushing and grading method, device, equipment and computer readable storage medium | |
CN110598996A (en) | Risk processing method and device, electronic equipment and storage medium | |
CN107239325B (en) | Document data processing method and device | |
WO2015106710A1 (en) | Contact information processing method, apparatus, and system | |
CN113392303A (en) | Background blasting method, device, equipment and computer readable storage medium | |
CN108491466B (en) | Electronic device, access instruction information acquisition method, and storage medium | |
US11899770B2 (en) | Verification method and apparatus, and computer readable storage medium | |
CN110321195B (en) | Data caching method for operation page, electronic device and readable storage medium | |
CN112182520B (en) | Identification method and device of illegal account number, readable medium and electronic equipment | |
CN112328996A (en) | Operation authentication method, device, equipment and storage medium based on DCS system | |
CN110442466B (en) | Method, device, computer equipment and storage medium for preventing repeated access request | |
CN114756850A (en) | Data acquisition method, device, equipment and storage medium | |
US11914704B2 (en) | Method and system for detecting coordinated attacks against computing resources using statistical analyses |
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 |