Front-end route caching method and system
By creating cached databases and cache tables in a single-page data management system, the access paths are managed in real time, and the problem of path loss is solved, realizing accurate data output and efficient management.
Patent Information
- Application Number
- CN202411427476.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-01-10
AI Technical Summary
In a single-page data management system, multi-level viewing of details can easily lead to path loss and cannot return to the initial page correctly, reducing work efficiency.
By creating cache databases and cache tables in real time in a single page data management system, detecting user access instructions in real time, generating the latest access path, and judging its consistency with the historical path. If it is inconsistent, it will jump to the next layer of routes and output the target Data, avoid cache errors.
Ensure the path accuracy of the data management system, avoid cache errors, and improve work efficiency.
Smart Images

Figure CN119299374A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a front-end routing cache method and system. Background Art
[0002] With the advancement of science and technology and the rapid development of the times, the digital economy has also developed rapidly, and all walks of life are undergoing digital transformation, which has led to an increasing demand for online data management using existing technologies.
[0003] Among them, with the digital development of enterprises, existing technologies have also developed corresponding single-page application data management systems, and further use this data management system to complete the management of internal enterprise data to complete the digital transformation of the enterprise.
[0004] Furthermore, in the process of applying the data management system in the prior art, most of the time, it is necessary to view the data information within the system, wherein, in the process of viewing the data information, it is usually necessary to click to view the details, however, in the process of entering the details page, it is usually necessary to continue to click to drill down to view the details, and this multi-level viewing method may cause an error in the return method of the data management system, resulting in the loss of the path, resulting in the inability to correctly return to the initial page, which correspondingly reduces work efficiency. Summary of the invention
[0005] Based on this, the purpose of the present invention is to provide a front-end routing caching method and system to solve the problem that in the process of entering the details page in the prior art, multi-level viewing is usually required, which makes the path easily lost and results in the inability to correctly return to the initial page.
[0006] The first aspect of the embodiment of the present invention proposes:
[0007] A front-end routing caching method, wherein the method comprises:
[0008] Based on preset rules, a corresponding cache database is created in real time in a single-page data management system through a preset browser, and a corresponding cache table is created in real time inside the cache database;
[0009] When it is detected in real time that a user accesses the single-page data management system, a corresponding access instruction is detected in real time, and routing management is performed on the access instruction through a preset routing object to generate a corresponding latest access path in real time;
[0010] Determine in real time whether the target data can be queried according to the latest access path;
[0011] If it is determined in real time that the target data can be queried according to the latest access path, the historical access path corresponding to the target data is detected in real time in the cache table, and it is determined in real time whether the latest access path is consistent with the historical access path;
[0012] If it is determined in real time that the latest access path is inconsistent with the historical access path, the next layer of routing is jumped accordingly, and the target timestamp corresponding to the target data is detected in real time to output the target data according to the target timestamp.
[0013] The beneficial effect of the present invention is that by constructing the corresponding cache database and cache table in advance inside the single-page data management system, the corresponding latest access path can be generated after receiving the user's access instruction in real time. Based on this, a corresponding judgment is made, and after judging that the current latest access path is inconsistent with the historical access path, it is necessary to immediately jump to the next layer of routing. Based on this, the corresponding target timestamp is further detected, and the target data required by the current user is output accordingly, so that cache errors will not occur, and work efficiency is improved at the same time.
[0014] Furthermore, the step of creating a corresponding cache database in real time in the single-page data management system through a preset browser based on preset rules includes:
[0015] When it is detected in real time that the single-page data management system is created, the preset browser is called out accordingly;
[0016] The preset browser sends a corresponding creation instruction to the single-page data management system in real time, and the cache data in the single-page data management system is integrated and processed through the creation instruction to create the corresponding cache database, and the creation instruction is unique.
[0017] Furthermore, the step of creating a corresponding cache table in real time inside the cache database includes:
[0018] When the cache database is created in real time, the corresponding cache data set contained in the cache database is detected in real time;
[0019] Performing a full scan on the cache data set to detect a number of corresponding cache types in real time;
[0020] A cache subset corresponding to each cache type is matched in the cache data set, and each cache type and the corresponding cache subset are integrated to generate the cache table accordingly. The cache table is unique.
[0021] Furthermore, the step of determining in real time whether the target data can be queried according to the latest access path includes:
[0022] If it is determined in real time that the target data cannot be queried according to the latest access path, a routing jump is performed accordingly, and the latest access path is directly stored and uploaded to the cache table.
[0023] Furthermore, the step of determining in real time whether the latest access path is consistent with the historical access path includes:
[0024] If it is determined in real time that the latest access path is consistent with the historical access path, the previous layer of routing is returned accordingly, and the target data is deleted in real time according to the target timestamp, and the target timestamp is unique.
[0025] Furthermore, the method further comprises:
[0026] When the target data is acquired in real time, a corresponding cache report is generated in real time according to the target data;
[0027] The cache report is encrypted in real time to generate a corresponding encrypted cache report, and the encrypted cache report is sent to the user terminal of the user accordingly.
[0028] Furthermore, the step of performing real-time encryption processing on the cache report to generate a corresponding encrypted cache report includes:
[0029] When the cache report is obtained in real time, a full scan is performed on the cache report to detect a number of numbers and letters correspondingly contained in the cache report;
[0030] A number of the numbers and the letters are randomly arranged and combined to generate a number of serial numbers accordingly, and a serial number is randomly selected as an encryption key of the cache report to generate the encrypted cache report accordingly.
[0031] The second aspect of the embodiment of the present invention proposes:
[0032] A front-end routing cache system, wherein the system comprises:
[0033] A creation module, used to create a corresponding cache database in real time in a single-page data management system through a preset browser based on preset rules, and to create a corresponding cache table in real time inside the cache database;
[0034] A detection module, for detecting in real time when a user is detected accessing the single-page data management system, detecting in real time a corresponding access instruction, and performing routing management on the access instruction through a preset routing object, so as to generate in real time a corresponding latest access path;
[0035] A judgment module, used to judge in real time whether the target data can be queried according to the latest access path;
[0036] An execution module, for detecting in real time a historical access path corresponding to the target data in the cache table, and determining in real time whether the latest access path is consistent with the historical access path, if it is determined in real time that the target data can be queried according to the latest access path;
[0037] The output module is used to jump to the next layer of routing if it is determined in real time that the latest access path is inconsistent with the historical access path, and to detect the target timestamp corresponding to the target data in real time to output the target data according to the target timestamp.
[0038] Furthermore, the creation module is specifically used for:
[0039] When it is detected in real time that the single-page data management system is created, the preset browser is called out accordingly;
[0040] The preset browser sends a corresponding creation instruction to the single-page data management system in real time, and the cache data in the single-page data management system is integrated and processed through the creation instruction to create the corresponding cache database, and the creation instruction is unique.
[0041] Furthermore, the creation module is specifically used for:
[0042] When the cache database is created in real time, the corresponding cache data set contained in the cache database is detected in real time;
[0043] Performing a full scan on the cache data set to detect a number of corresponding cache types in real time;
[0044] A cache subset corresponding to each cache type is matched in the cache data set, and each cache type and the corresponding cache subset are integrated to generate the cache table accordingly. The cache table is unique.
[0045] Furthermore, the judgment module is specifically used for:
[0046] If it is determined in real time that the target data cannot be queried according to the latest access path, a routing jump is performed accordingly, and the latest access path is directly stored and uploaded to the cache table.
[0047] Furthermore, the execution module is specifically used for:
[0048] If it is determined in real time that the latest access path is consistent with the historical access path, the previous layer of routing is returned accordingly, and the target data is deleted in real time according to the target timestamp, and the target timestamp is unique.
[0049] Furthermore, the front-end routing cache system also includes an encryption module, which is specifically used for:
[0050] When the target data is acquired in real time, a corresponding cache report is generated in real time according to the target data;
[0051] The cache report is encrypted in real time to generate a corresponding encrypted cache report, and the encrypted cache report is sent to the user terminal of the user accordingly.
[0052] Furthermore, the encryption module is specifically used for:
[0053] When the cache report is obtained in real time, a full scan is performed on the cache report to detect a number of numbers and letters correspondingly contained in the cache report;
[0054] A number of the numbers and the letters are randomly arranged and combined to generate a number of serial numbers accordingly, and a serial number is randomly selected as an encryption key of the cache report to generate the encrypted cache report accordingly.
[0055] The third aspect of the embodiment of the present invention proposes:
[0056] A computer comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the front-end routing cache method as described above when executing the computer program.
[0057] The fourth aspect of the embodiments of the present invention proposes:
[0058] A readable storage medium stores a computer program, wherein the program, when executed by a processor, implements the front-end routing cache method as described above.
[0059] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A flowchart of a front-end routing cache method provided by the first embodiment of the present invention;
[0061] Figure 2 This is a structural block diagram of a front-end routing cache system provided in the third embodiment of the present invention.
[0062] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0063] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0064] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0065] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0066] See also Figure 1 , shown is a front-end routing cache method provided by the first embodiment of the present invention. The front-end routing cache method provided by this embodiment can output the target data required by the user accordingly, so that cache errors will not occur, and at the same time, work efficiency is improved.
[0067] Specifically, this embodiment provides:
[0068] A front-end routing cache method specifically includes the following steps:
[0069] Step S10, creating a corresponding cache database in real time in the single-page data management system through a preset browser based on preset rules, and creating a corresponding cache table in real time inside the cache database;
[0070] Step S20, when it is detected in real time that a user accesses the single-page data management system, a corresponding access instruction is detected in real time, and routing management is performed on the access instruction through a preset routing object to generate a corresponding latest access path in real time;
[0071] Step S30, determining in real time whether the target data can be queried according to the latest access path;
[0072] Step S40: If it is determined in real time that the target data can be queried according to the latest access path, the historical access path corresponding to the target data is detected in real time in the cache table, and it is determined in real time whether the latest access path is consistent with the historical access path;
[0073] Step S50: If it is determined in real time that the latest access path is inconsistent with the historical access path, the next layer of routing is jumped accordingly, and the target timestamp corresponding to the target data is detected in real time to output the target data according to the target timestamp.
[0074] Specifically, in the present embodiment, it should be noted that, in order to quickly and accurately complete data caching and to output the target data required by the user, it is necessary to accurately obtain the user's needs and the storage path corresponding to the target data. Based on this, in order to further improve the efficiency of data caching, the present invention will perform corresponding preprocessing on the existing single-page data management system before actual application. Preferably, when the server set in the background detects in real time that the single-page data management system has been created or is being created, the front-end routing caching method will be started accordingly. Preferably, the present invention will create the required cache database in real time within the current single-page data management system according to pre-set rules and existing browsers. At the same time, in order to facilitate subsequent matching and identification, the present invention will further create a corresponding cache table within the current cache database for subsequent processing.
[0075] Furthermore, in the actual application process, when it is detected in real time that the user has accessed the above-mentioned single-page data management system through the existing user terminal, in order to accurately obtain the user's needs, the present invention will further detect the access instruction corresponding to the current user, and at the same time, immediately perform corresponding routing management on the current access instruction through the pre-set routing object, and can further output the latest access path adapted to the current access instruction. Based on this, it is necessary to further determine in real time whether the data required by the current user can be queried according to the latest access path. Specifically, if so, it is necessary to further verify the accuracy of the current data. Preferably, the present invention will further detect the historical access path corresponding to the current target data through the above-mentioned cache table in real time, and further determine whether the current historical access path is consistent with the current latest access path. Specifically, if not, it is necessary to further jump to the next layer of routing, and further detect the target timestamp corresponding to the current target data, and finally output the above-mentioned target data according to the target timestamp, so that the data required by the user can be accurately and effectively output, which correspondingly improves the work efficiency.
[0076] Second embodiment
[0077] Furthermore, the step of creating a corresponding cache database in real time in the single-page data management system through a preset browser based on preset rules includes:
[0078] When it is detected in real time that the single-page data management system is created, the preset browser is called out accordingly;
[0079] The preset browser sends a corresponding creation instruction to the single-page data management system in real time, and the cache data in the single-page data management system is integrated and processed through the creation instruction to create the corresponding cache database, and the creation instruction is unique.
[0080] Furthermore, the step of creating a corresponding cache table in real time inside the cache database includes:
[0081] When the cache database is created in real time, the corresponding cache data set contained in the cache database is detected in real time;
[0082] Performing a full scan on the cache data set to detect a number of corresponding cache types in real time;
[0083] A cache subset corresponding to each cache type is matched in the cache data set, and each cache type and the corresponding cache subset are integrated to generate the cache table accordingly. The cache table is unique.
[0084] Furthermore, the step of determining in real time whether the target data can be queried according to the latest access path includes:
[0085] If it is determined in real time that the target data cannot be queried according to the latest access path, a routing jump is performed accordingly, and the latest access path is directly stored and uploaded to the cache table.
[0086] Furthermore, the step of determining in real time whether the latest access path is consistent with the historical access path includes:
[0087] If it is determined in real time that the latest access path is consistent with the historical access path, the previous layer of routing is returned accordingly, and the target data is deleted in real time according to the target timestamp, and the target timestamp is unique.
[0088] Furthermore, the method further comprises:
[0089] When the target data is acquired in real time, a corresponding cache report is generated in real time according to the target data;
[0090] The cache report is encrypted in real time to generate a corresponding encrypted cache report, and the encrypted cache report is sent to the user terminal of the user accordingly.
[0091] Furthermore, the step of performing real-time encryption processing on the cache report to generate a corresponding encrypted cache report includes:
[0092] When the cache report is obtained in real time, a full scan is performed on the cache report to detect a number of numbers and letters correspondingly contained in the cache report;
[0093] A number of the numbers and the letters are randomly arranged and combined to generate a number of serial numbers accordingly, and a serial number is randomly selected as an encryption key of the cache report to generate the encrypted cache report accordingly.
[0094] In addition, in this embodiment, it is also necessary to explain that after the single-page data management system is created and detected in real time through the above steps, in order to further improve the cache efficiency and accuracy of the system, preferably, the present invention will first call out the existing browser, and further send a corresponding construction instruction to the current data management system through the browser. Based on this, the various types of cache data contained in the current data management system are integrated and processed accordingly through the construction instruction, so that the required cache database can be further obtained. Further, in order to obtain the required cache table, the current cache database needs to be processed twice. Specifically, the present invention will first detect the cache data set corresponding to the current cache database. At the same time, the cache data in the current cache data set is classified and processed to detect several cache types. Based on this, each current cache type can be used as a matching object to further match the cache subset adapted to each cache type in the above cache data set. Based on this, finally, each current cache type and the corresponding cache subset only need to be integrated one-to-one, so as to further construct the required cache table for subsequent processing.
[0095] Furthermore, after the target data required by the user is finally output through the above steps, in order to further improve the confidentiality performance of the current target data, preferably, the present invention will first generate a corresponding cache report in real time based on the current target data, and at the same time, immediately encrypt the current cache report. Specifically, the present invention will further detect a number of numbers and letters contained in the current cache report, and preferably, immediately randomly arrange and combine the current numbers and letters to generate a number of corresponding serial numbers. Based on this, a serial number can be randomly selected as the encryption key of the current cache report to complete the corresponding encryption processing, and finally the encrypted cache report is sent to the user terminal of the current user for subsequent processing.
[0096] See also Figure 2 , the third embodiment of the present invention provides:
[0097] A front-end routing cache system, wherein the system comprises:
[0098] A creation module, used to create a corresponding cache database in real time in a single-page data management system through a preset browser based on preset rules, and to create a corresponding cache table in real time inside the cache database;
[0099] A detection module, for detecting in real time when a user is detected accessing the single-page data management system, detecting in real time a corresponding access instruction, and performing routing management on the access instruction through a preset routing object, so as to generate in real time a corresponding latest access path;
[0100] A judgment module, used to judge in real time whether the target data can be queried according to the latest access path;
[0101] An execution module, for detecting in real time a historical access path corresponding to the target data in the cache table, and determining in real time whether the latest access path is consistent with the historical access path, if it is determined in real time that the target data can be queried according to the latest access path;
[0102] The output module is used to jump to the next layer of routing if it is determined in real time that the latest access path is inconsistent with the historical access path, and to detect the target timestamp corresponding to the target data in real time to output the target data according to the target timestamp.
[0103] Furthermore, the creation module is specifically used for:
[0104] When it is detected in real time that the single-page data management system is created, the preset browser is called out accordingly;
[0105] The preset browser sends a corresponding creation instruction to the single-page data management system in real time, and the cache data in the single-page data management system is integrated and processed through the creation instruction to create the corresponding cache database, and the creation instruction is unique.
[0106] Furthermore, the creation module is specifically used for:
[0107] When the cache database is created in real time, the corresponding cache data set contained in the cache database is detected in real time;
[0108] Performing a full scan on the cache data set to detect a number of corresponding cache types in real time;
[0109] A cache subset corresponding to each cache type is matched in the cache data set, and each cache type and the corresponding cache subset are integrated to generate the cache table accordingly. The cache table is unique.
[0110] Furthermore, the judgment module is specifically used for:
[0111] If it is determined in real time that the target data cannot be queried according to the latest access path, a routing jump is performed accordingly, and the latest access path is directly stored and uploaded to the cache table.
[0112] Furthermore, the execution module is specifically used for:
[0113] If it is determined in real time that the latest access path is consistent with the historical access path, the previous layer of routing is returned accordingly, and the target data is deleted in real time according to the target timestamp, and the target timestamp is unique.
[0114] Furthermore, the front-end routing cache system also includes an encryption module, which is specifically used for:
[0115] When the target data is acquired in real time, a corresponding cache report is generated in real time according to the target data;
[0116] The cache report is encrypted in real time to generate a corresponding encrypted cache report, and the encrypted cache report is sent to the user terminal of the user accordingly.
[0117] Furthermore, the encryption module is specifically used for:
[0118] When the cache report is obtained in real time, a full scan is performed on the cache report to detect a number of numbers and letters correspondingly contained in the cache report;
[0119] A number of the numbers and the letters are randomly arranged and combined to generate a number of serial numbers accordingly, and a serial number is randomly selected as an encryption key of the cache report to generate the encrypted cache report accordingly.
[0120] A fourth embodiment of the present invention provides a computer, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the front-end routing cache method as described above when executing the computer program.
[0121] A fifth embodiment of the present invention provides a readable storage medium, on which a computer program is stored, wherein when the program is executed by a processor, the front-end routing cache method as described above is implemented.
[0122] In summary, the front-end routing cache method and system provided by the above embodiments of the present invention can output the target data required by the user accordingly, thereby preventing cache errors and improving work efficiency.
[0123] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0124] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0125] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0126] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0127] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0128] The above-described embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. A front-end routing cache method, characterized in that: The method comprises: Based on preset rules, a corresponding cache database is created in real time in a single-page data management system through a preset browser, and a corresponding cache table is created in real time inside the cache database; When it is detected in real time that a user accesses the single-page data management system, a corresponding access instruction is detected in real time, and routing management is performed on the access instruction through a preset routing object to generate a corresponding latest access path in real time; Determine in real time whether the target data can be queried according to the latest access path; If it is determined in real time that the target data can be queried according to the latest access path, the historical access path corresponding to the target data is detected in real time in the cache table, and it is determined in real time whether the latest access path is consistent with the historical access path; If it is determined in real time that the latest access path is inconsistent with the historical access path, the next layer of routing is jumped accordingly, and the target timestamp corresponding to the target data is detected in real time to output the target data according to the target timestamp.
2. The front-end routing cache method according to claim 1, characterized in that: The step of creating a corresponding cache database in real time in the single-page data management system through a preset browser based on preset rules includes: When it is detected in real time that the single-page data management system is created, the preset browser is called out accordingly; The preset browser sends a corresponding creation instruction to the single-page data management system in real time, and the cache data in the single-page data management system is integrated and processed through the creation instruction to create the corresponding cache database, and the creation instruction is unique.
3. The front-end routing cache method according to claim 2, characterized in that: The step of creating a corresponding cache table in real time inside the cache database includes: When the cache database is created in real time, the corresponding cache data set contained in the cache database is detected in real time; Performing a full scan on the cache data set to detect a number of corresponding cache types in real time; A cache subset corresponding to each cache type is matched in the cache data set, and each cache type and the corresponding cache subset are integrated to generate the cache table accordingly. The cache table is unique.
4. The front-end routing cache method according to claim 1, characterized in that: The step of determining in real time whether the target data can be queried according to the latest access path includes: If it is determined in real time that the target data cannot be queried according to the latest access path, a routing jump is performed accordingly, and the latest access path is directly stored and uploaded to the cache table.
5. The front-end routing cache method according to claim 1, characterized in that: The step of determining in real time whether the latest access path is consistent with the historical access path comprises: If it is determined in real time that the latest access path is consistent with the historical access path, the previous layer of routing is returned accordingly, and the target data is deleted in real time according to the target timestamp, and the target timestamp is unique.
6. The front-end routing cache method according to claim 1, characterized in that: The method further comprises: When the target data is acquired in real time, a corresponding cache report is generated in real time according to the target data; The cache report is encrypted in real time to generate a corresponding encrypted cache report, and the encrypted cache report is sent to the user terminal of the user accordingly.
7. The front-end routing cache method according to claim 6, characterized in that: The step of performing real-time encryption processing on the cache report to generate a corresponding encrypted cache report includes: When the cache report is obtained in real time, a full scan is performed on the cache report to detect a number of numbers and letters correspondingly contained in the cache report; A number of the numbers and the letters are randomly arranged and combined to generate a number of serial numbers accordingly, and a serial number is randomly selected as an encryption key of the cache report to generate the encrypted cache report accordingly.
8. A front-end routing cache system, characterized in that: The system comprises: A creation module, used to create a corresponding cache database in real time in a single-page data management system through a preset browser based on preset rules, and to create a corresponding cache table in real time inside the cache database; A detection module, for detecting in real time when a user is detected accessing the single-page data management system, detecting in real time a corresponding access instruction, and performing routing management on the access instruction through a preset routing object, so as to generate in real time a corresponding latest access path; A judgment module, used to judge in real time whether the target data can be queried according to the latest access path; An execution module, for detecting in real time a historical access path corresponding to the target data in the cache table, and determining in real time whether the latest access path is consistent with the historical access path, if it is determined in real time that the target data can be queried according to the latest access path; The output module is used to jump to the next layer of routing if it is determined in real time that the latest access path is inconsistent with the historical access path, and to detect the target timestamp corresponding to the target data in real time to output the target data according to the target timestamp.
9. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the front-end routing cache method according to any one of claims 1 to 7 is implemented.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the front-end routing cache method as described in any one of claims 1 to 7 is implemented.