Data processing method, system and equipment of enterprise exhaustion information display system and medium

By introducing a cache mechanism in the enterprise due diligence information display system, the number of network requests is reduced, the problems of response delay and server load are solved, and efficient data display and query speed are achieved.

CN120216583APending Publication Date: 2025-06-27天元大数据信用管理有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510377341.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-28
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In the prior art, when the enterprise due diligence system processes a large number of data indicators, frequent network requests lead to response delays and bandwidth waste, and unnecessary server load is easily generated during user operations.

Method used

By introducing a caching mechanism in the enterprise due diligence information display system, defining initial data variables and performing cache checks and data requests when the user clicks on the metric option, reducing duplicate requests and directly displaying data from the cached data.

Benefits of technology

It has improved the speed of batch due diligence in multiple dimensions of multiple enterprises, alleviated the pressure of server query, and realized an efficient indicator request and caching mechanism to ensure that users try to avoid duplicate requests during operation and quickly display the data required by users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120216583A_ABST
    Figure CN120216583A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data processing method, system and equipment of an enterprise exhaustion information display system and a medium, and belongs to the field of computer software. The data processing method comprises the following steps: defining an initial data variable related to a user index request and a cache; when a user clicks a certain index option at the front end, a data request function is called to perform cache check and data request, the cache check is used for determining an index list needing to be queried by the current request, and the data request is used for obtaining data from the rear end; and when the user accesses the cached index again, directly displaying the data from the cached data. By means of the technical scheme, the query speed of batch complete dispatching of multiple enterprises under multiple dimensions is increased, meanwhile, the query pressure of a server is relieved, an efficient index request and cache mechanism is achieved, it is ensured that repeated requests are avoided as much as possible in the user operation process, and data needed by a user is rapidly displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer software technology, and particularly to a data processing method, system, device and medium for an enterprise due diligence information display system. Background Art

[0002] With the development of Internet technology, Web applications have gradually become an important tool for enterprises to manage and operate data. In complex data processing scenarios, frequent network requests may lead to performance bottlenecks and poor user experience. Especially in enterprise due diligence systems involving a large number of data metrics, users may need to frequently view data of different metrics. The traditional method of obtaining data through network requests by each click is likely to cause response delays and bandwidth waste.

[0003] In the field of enterprise credit investigation, account managers often need to conduct preliminary batch due diligence inquiries on a list of enterprises. Different due diligence purposes require different query metrics, and during the due diligence process, account managers often add or modify due diligence query metrics according to the information obtained midway.

[0004] In the prior art, many applications update the display by re-requesting data from the backend every time there is a user interaction. Although this method is simple, when the network is unstable or the data volume is large, it will not only cause slow page loading, but also may generate unnecessary server load. Therefore, how to effectively reduce the number of network requests and improve the efficiency of data display has become an urgent problem to be solved in the current technical field. Summary of the Invention

[0005] The purpose of the embodiments of the present invention is to provide a data processing method, system, device and medium for an enterprise due diligence information display system to solve the problems of slow response speed and unnecessary data requests existing in the above prior art.

[0006] To achieve the above purpose, the embodiments of the present invention provide a data processing method for an enterprise due diligence information display system, including: Defining initial data variables related to user metric requests and caching; When a user clicks on a certain metric option at the front end, calling a data request function to perform cache check and data request, wherein the cache check is used to determine whether the metric list selected by the current user exists in the initial data variables, and determining the metric list to be queried for the current request according to the judgment result, and the data request is used to obtain data from the backend; When the user accesses the cached metrics again, directly displaying the data from the cached data.

[0007] Optionally, the defined initial data variables related to metric requests and caching include, but are not limited to: the list of metrics selected by the current user, the metric list directory of the existing data of the enterprise on the current page, the static mapping list of the static mapping relationships of different categories of metrics, the list of enterprise metric data requested currently, and the list of company IDs involved in the data requested currently.

[0008] Optionally, when the user clicks on a metric option on the front end, a data request function is called to perform cache check and data request, including: Cache check step: Determine whether the list of metrics selected by the current user exists in the metric list directory of the existing data of the enterprise on the current page. If it exists, it indicates that the metrics selected by the current user have been requested and the following data display steps are directly executed. If it does not exist, the following request initiation steps, result merging steps, cache directory update steps, and data display steps are executed: Request initiation step: If a request is needed, add the list of company IDs involved in the data requested currently and the metric list to the request parameters, and call the interface to obtain data from the backend. Among them, a new list formed by the metric IDs that are in the list of metrics selected by the current user but not in the metric list directory of the existing data of the enterprise on the current page is defined as the metric list; Result merging step: Loop through the current due diligence result data and the list of newly requested data from the interface, merge the items with the same company ID involved in the data requested currently, and complete the update of the due diligence result data; Cache directory update step: Update the metric list directory of the existing data of the enterprise on the current page in a merged list manner, and record the metric IDs that have been successfully requested; Data display step: Display the due diligence result data on the front end.

[0009] Optionally, update the metric list directory of the existing data of the enterprise on the current page in a merged list manner, and record the metric IDs that have been successfully requested, including: Convert the metric list directory of the existing data of the enterprise on the current page into a Set object and store it in resultSet to remove duplicate metrics; Traverse each element in the metric list, and check whether each element appears in any of the lists of the static mapping relationships of different categories of metrics. If it appears, add all the elements in the metric list to resultSet to ensure that if an element of a metric list exists in the static mapping relationship table, all related elements are merged into the result; Convert the Set object back to an array and return it as the metric list directory of the existing data of the enterprise on the current page.

[0010] Optionally, before obtaining data from the backend, the data processing method of the enterprise due diligence information display system further includes: After the backend obtains the metric list passed in from the frontend, it processes each data query separately, combines the enterprise information results of different types according to the company ID, and outputs them to the frontend.

[0011] Optionally, the static mapping relationship includes different categories of metrics and their corresponding metric ID lists.

[0012] Optionally, before starting the data request, the data processing method of the enterprise due diligence information display system further includes determining whether the user has the request permission.

[0013] In a second aspect, the present invention also provides a data processing system for an enterprise due diligence information display system, including: A definition module for defining initial data variables related to user metric requests and caching; An invocation module for, when the user clicks on a certain metric option on the frontend, invoking a data request function to perform cache checking and data request. Among them, the cache checking is used to determine whether the metric list selected by the current user exists in the initial data variables, and determine the metric list to be queried for the current request according to the judgment result, and the data request is used to obtain data from the backend; A display module for, when the user accesses the cached metrics again, directly displaying the data from the cached data.

[0014] In a third aspect, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the steps of the data processing method of the enterprise due diligence information display system described above.

[0015] In a fourth aspect, the present invention also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the data processing method of the enterprise due diligence information display system described above.

[0016] Through the above technical solutions, the query speed of batch due diligence in multiple dimensions for multiple enterprises is improved, while the query pressure on the server is relieved. An efficient metric request and caching mechanism is realized, ensuring that duplicate requests are avoided as much as possible during the user operation process, and quickly displaying the data required by the user.

[0017] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent specific implementation part. Description of the Drawings

[0018] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention, and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the embodiments of the present invention, but do not constitute a limitation to the embodiments of the present invention. In the accompanying drawings: Figure 1 is an implementation flowchart of a data processing method for an enterprise due diligence information display system provided by an embodiment of the present invention; Figure 2 is a flowchart of calling a data request function for cache check and data request provided by an embodiment of the present invention; Figure 3 is a flowchart of updating a cache directory provided by an embodiment of the present invention; Figure 4 is a schematic structural diagram of a data processing system for an enterprise due diligence information display system provided by an embodiment of the present invention; Figure 5 is a schematic hardware structure diagram of an electronic device provided by an embodiment of the present invention. Specific Embodiments

[0019] In the following detailed description, various embodiments of the present disclosure will be described more fully. The present disclosure may have various embodiments, and adjustments and changes may be made therein. However, it should be understood that there is no intention to limit the various embodiments of the present disclosure to the specific embodiments disclosed herein, but the present disclosure should be understood to cover all adjustments, equivalents, and / or alternative solutions falling within the spirit and scope of the various embodiments of the present disclosure.

[0020] In the following, the term "including" or "may include" that may be used in various embodiments of the present disclosure indicates the presence of the disclosed function or operation, and does not limit the addition of one or more functions or operations. In addition, as used in various embodiments of the present disclosure, the terms "including", "having" and their cognates are only intended to indicate a specific feature, number, step, operation, or combination of the foregoing items, and should not be understood to first exclude the existence or addition of one or more other features, numbers, steps, operations, or combinations of the foregoing items.

[0021] In various embodiments of the present disclosure, the expression "or" or "at least one of A or / and B" includes any combination or all combinations of the listed words. For example, the expression "A or B" or "at least one of A or / and B" may include A, may include B, or may include both A and B.

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0023] Refer to Figure 1 The figure shows a flowchart of a data processing method for an enterprise due diligence information display system in a specific embodiment, including the following execution steps: Step 100: Define initial data variables related to user metric requests and caching.

[0024] Specifically, the initial data variables defined related to metric requests and caching include, but are not limited to: the list of metrics selected by the current user, the directory of metric lists of existing data of enterprises on the current page, the static mapping list of static mapping relationships of different categories of metrics, the list of enterprise metric data requested currently, and the list of company IDs involved in the data requested currently.

[0025] Exemplarily, the specific definitions are as follows: currentIndexList: the list of metrics selected by the current user; hasDataIndexList: the directory of metric lists of existing data of enterprises on the current page; staticIndexList: stores the static mapping relationships of different categories of metrics, and these mapping relationships are used to determine which metrics come from the same query, and this variable remains unchanged. For example: staticIndexList: { companyBaseEs: [9, 10, 11, 19, 20, 17, 18], companyBaseIndex: [12, 13, 16, 21, 22, 23, 24], tbGeneralTaxpayer: [14, 166] } resultList: saves the list of enterprise metric data requested currently; currentCompanyIdList: the list of company IDs involved in the data requested currently.

[0026] It should be noted that the metrics are specific descriptions of enterprise due diligence information, including but not limited to industrial and commercial information such as enterprise name, unified social credit code, and registered capital, and also include information such as court session announcements, judgment documents, and processed information such as industry rankings and credit scores.

[0027] Step 101: When the user clicks on a certain metric option at the front end, call the data request function to perform cache check and data request.

[0028] Among them, the cache check is used to determine whether the metric list selected by the current user exists in the initial data variable, and determine the metric list that needs to be queried for the current request according to the judgment result. The data request is used to obtain data from the backend.

[0029] Specifically, when the user clicks on a certain metric option, the handleClickTree method is triggered. The main logic of this method includes: 1) Update the selected metrics: Use the getCurrentIndex method to update the currentIndexList according to the metrics selected by the user; 2) Send a request: Call the queryBatch method to start the data request.

[0030] It should be noted that before starting the data request, the data processing method of the enterprise due diligence information display system also includes judging whether the user has the request permission.

[0031] Specifically, referring to Figure 2 As shown, the following steps can be specifically executed when performing Step 101: Cache check step: Judge whether the metric list selected by the current user exists in the metric list directory of the existing data of the enterprise on the current page. If it exists, it means that the metrics selected by the current user have been requested and the following data display steps are directly executed. If it does not exist, the following request initiation steps, result merging steps, cache directory update steps, and data display steps are executed.

[0032] Exemplarily, call the processLists method to compare the currentIndexList with the hasDataIndexList: Take out the metric IDs that are in the currentIndexList but not in the hasDataIndexList to form a new List defined as the indexList, which is the metric list that needs to be queried for the current request. If it is found that all metrics have been requested, that is, the indexList is empty, then skip the request and request initiation steps, result merging steps, cache directory update steps, and data display steps.

[0033] Request initiation step: If a request is needed, add the company ID list and metric list related to the data of the current request to the request parameters, and call the interface to obtain data from the backend. Among them, a new list formed by the metric IDs that are in the metric list selected by the current user but not in the metric list directory of the existing data of the enterprise on the current page is defined as the metric list.

[0034] Exemplarily, if a request is needed, add currentCompanyIdList and indexList to the request parameters and call the getBatchDueResult interface method to obtain the data resData from the backend.

[0035] In actual usage scenarios, the data of some metrics is returned in one interface. In this application, when the user first requests the interface, all relevant metric data returned is cached. In this way, when the user accesses these metrics again, the data can be directly obtained from the cache, reducing the number of requests to the backend, thereby improving the page response speed and user experience. In addition, it can also reduce the server load and effectively save network bandwidth.

[0036] Steps for merging results: Loop through the current due diligence result data and the data list of the new interface request, merge the items with the same company ID involved in the currently requested data, and complete the update of the due diligence result data.

[0037] Exemplarily, in the mergeResultData method, merge the newly requested data resData with the cached data to ensure that resultList always holds the latest complete data. The specific method is to loop through the current resultList and the data List of the new interface request, merge the objects with the same companyId, and complete the update of resultList.

[0038] Steps for updating the cache directory: Use the merging list method to update the metric list directory of the existing data of the enterprises on the current page, and record the metric IDs that have been successfully requested.

[0039] Steps for displaying data: Display the due diligence result data on the front end.

[0040] Exemplarily, display the due diligence result data resultList on the front end.

[0041] Further, refer to Figure 3 As shown, when performing the steps for updating the cache directory, the following steps can be specifically executed: S300: Convert the metric list directory of the existing data of the enterprises on the current page into a Set object and store it in resultSet to remove duplicate metrics.

[0042] It should be noted that the characteristic of the Set data structure is that it only allows storing unique values. If there are duplicate items in the original metric list (such as multiple entries or merging of multiple data sources), all duplicate metrics will be automatically removed after conversion, ensuring that each metric in resultSet only retains one instance, reducing memory occupancy.

[0043] S301: Traverse each element in the index list and check whether each element appears in any of the lists of the static mapping relationships of different categories of indexes. If it appears, add all the elements in the index list to the resultSet to ensure that if an element of an index list exists in the static mapping relationship table, all related elements are merged into the result.

[0044] It should be noted that the static mapping relationship includes indexes of different categories and their corresponding index ID lists.

[0045] S302: Convert the Set object back to an array and return it as the index list directory of the existing data of the enterprise on the current page.

[0046] Exemplarily, use the mergeLists method to update the hasDataIndexList and record the successfully requested index IDs: First, convert the hasDataIndexList to a Set object and store it in the resultSet. This can automatically remove duplicate indexes. Then, traverse each element in the indexList and check whether this element appears in any of the lists in the staticIndexList. If an element in the indexList appears in any list in the staticIndexList, add all the elements in that list to the resultSet. Such logic ensures that if an element of an indexList exists in a certain static index table, all related elements will be merged into the result. Finally, convert the Set object back to an array and return it as the hasDataIndexList.

[0047] Step 102: When the user accesses the cached indexes again, directly display the data from the cached data.

[0048] Exemplarily, when the user clicks on the cached index again, due to the filtering effect of the `processLists` method, the system will not make repeated requests and directly display the data from the `resultList`.

[0049] In a specific embodiment, before obtaining data from the backend, the data processing method flow of the enterprise due diligence information display system further includes the following steps: After the backend obtains the index list passed in from the frontend, it processes each data query separately and combines the enterprise information results of different types according to the company ID and outputs them to the frontend.

[0050] Exemplarily, the backend obtains the indexList passed in by the frontend and processes each data query separately. Taking staticIndexList as an example, it processes three query types: companyBaseEs, companyBaseIndex, and tbGeneralTaxpayer. Taking companyBaseEs as an example, if any index id in the indexList exists in companyBaseEs, then the query statement of the companyBaseEs type is executed using the currentCompanyIdList parameter passed in by the frontend to obtain the query results of several enterprises. After each query type in staticIndexList is processed, the enterprise information results of different types are combined according to the companyId. Those with the same companyId are put into a map, and finally, a List is formed and output to the frontend.

[0051] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not imply the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

[0052] The technical effects achieved by this application are as follows: By providing a series of related methods, the query speed of batch due diligence in multiple dimensions for multiple enterprises is improved, and at the same time, the query pressure on the server is alleviated. An efficient index request and caching mechanism is implemented to ensure that duplicate requests are avoided as much as possible during user operations, and the data required by the user is quickly displayed. Through strategies such as static index mapping, result merging, and cache update, it is possible to maintain excellent performance and rapid response in complex data request scenarios.

[0053] As Figure 4 shown, the following is an embodiment of the data processing system of the enterprise due diligence information display system provided by the embodiments of the present disclosure. It belongs to the same inventive concept as the data processing method of the enterprise due diligence information display system in the above embodiments. For the details not described in detail in the embodiment of the data processing system of the enterprise due diligence information display system, reference can be made to the embodiment of the data processing method of the enterprise due diligence information display system.

[0054] The data processing system of the enterprise due diligence information display system includes: A definition module for defining initial data variables related to user index requests and caching; A calling module, configured to call a data request function for cache check and data request when a user clicks on a certain metric option at the front end. Among them, the cache check is used to determine whether the metric list selected by the current user exists in the initial data variable, and determine the metric list to be queried for the current request according to the judgment result. The data request is used to obtain data from the backend. A display module, configured to directly display data from the cached data when the user accesses the cached metrics again.

[0055] Figure 5 It is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0056] The data processing method of the enterprise due diligence information display system provided by the embodiments of the present application can be applied to an electronic device. Those skilled in the art can understand that the structure of the electronic device involved in the embodiments of the present invention does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. In the embodiments of the present invention, the electronic device includes, but is not limited to, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown in the figure, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the embodiments of the present application described and / or claimed herein.

[0057] The electronic device may include a processor, an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, a wireless communication module, an audio module, a speaker, a microphone, a sensor module, keys, a camera, a display screen, and a SIM card interface, etc.

[0058] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0059] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0060] Among them, the processor may be the nerve center and command center of the electronic device. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.

[0061] A memory may also be provided in the processor for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. This memory can save the instructions or data that the processor has just used or recycled. If the processor needs to use the instruction or data again, it can directly call it from this memory. This avoids repeated accesses, reduces the waiting time of the processor, and thus improves the system efficiency.

[0062] The external memory interface can be used to connect an external memory card, such as a MicroSD card, to implement the storage capacity expansion of the electronic device. The external memory card communicates with the processor through the external memory interface to achieve the data storage function. For example, files such as music and videos are saved in the external memory card.

[0063] The internal memory can be used to store computer-executable program codes, and the computer-executable program codes include instructions. The processor executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory. The internal memory may include a program storage area and a data storage area. The internal memory may include a high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0064] The wireless communication function of the electronic device can be implemented through an antenna, a wireless communication module, a modem processor, a baseband processor, etc.

[0065] The wireless communication module can provide solutions for wireless communications applied to electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc.

[0066] The electronic device can implement audio functions through an audio module, speakers, receivers, microphones, headphone jacks, application processors, etc.

[0067] The electronic device can implement shooting functions through an ISP, a camera, a video codec, a GPU, a display screen, an application processor, etc.

[0068] The electronic device can implement display functions through a GPU, a display screen, an application processor, etc.

[0069] The GPU is a microprocessor for image processing, connecting the display screen and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor may include one or more GPUs, which execute program instructions to generate or change display information.

[0070] The display screen is used to display images, videos, etc. The display screen includes a display panel.

[0071] In the storage medium provided in this application, there is a program product capable of implementing the data processing method of the enterprise due diligence information display system.

[0072] The data processing method of the enterprise due diligence information display system includes: defining initial data variables related to user metric requests and caching; when the user clicks on a certain metric option at the front end, calling a data request function for cache checking and data request, where the cache checking is used to determine whether the metric list selected by the current user exists in the initial data variables, and determining the metric list to be queried for the current request according to the judgment result, and the data request is used to obtain data from the backend; when the user accesses the cached metric again, directly display the data from the cached data.

[0073] In some possible embodiments, the data processing method and system of the enterprise due diligence information display system of the subject matter of the present disclosure can be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.

[0074] The storage medium of the present disclosure may employ any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0075] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A data processing method for an enterprise due diligence information display system, characterized in that: include: Define initial data variables related to user indicator requests and caches; When the user clicks on a certain indicator option on the front end, the data request function is called to perform cache check and data request, wherein the cache check is used to determine whether the indicator list currently selected by the user exists in the initial data variable, and determine the indicator list that needs to be queried for the current request based on the judgment result, and the data request is used to obtain data from the back end; When the user accesses the cached indicator again, the data is displayed directly from the cached data.

2. The data processing method of the enterprise due diligence information display system according to claim 1 is characterized in that: The defined initial data variables related to indicator request and cache include but are not limited to: the indicator list selected by the current user, the indicator list directory of the existing enterprise data on the current page, the static mapping list of static mapping relationships of indicators of different categories, the enterprise indicator data list currently requested, and the company ID list involved in the currently requested data.

3. The data processing method of the enterprise due diligence information display system according to claim 2 is characterized in that: When a user clicks an indicator option on the front end, the data request function is called to perform cache check and data request, including: Cache check step: determine whether the indicator list selected by the current user exists in the indicator list directory of the enterprise's existing data on the current page. If so, it indicates that the indicator selected by the current user has been requested and the following data display step is directly executed. If not, the following request initiation step, result merging step, cache directory update step and data display step are executed: Initiate request step: if a request is required, add the company ID list and indicator list involved in the currently requested data to the request parameters, and call the interface to obtain data from the backend, wherein a new list formed by the indicator IDs in the indicator list selected by the current user but not in the indicator list directory of the enterprise's existing data on the current page is defined as the indicator list; Merge result step: loop through the current due diligence result data and the data list of the new interface request, merge the items with the same company ID involved in the current requested data, and complete the update of the due diligence result data; Update cache directory step: Use the merge list method to update the indicator list directory of the enterprise's existing data on the current page, and record the indicator ID that has been successfully requested; Data display step: Display the due diligence result data on the front end.

4. The data processing method of the enterprise due diligence information display system according to claim 3 is characterized in that: Use the merge list method to update the indicator list directory of the enterprise's existing data on the current page, and record the indicator ID that has been successfully requested, including: Convert the indicator list directory of the existing data of the enterprise on the current page into a Set object and store it in resultSet to remove duplicate indicators; Traverse each element in the indicator list and check whether each element appears in any list of static mapping relationships of different categories of indicators. If so, add all elements in the indicator list to resultSet to ensure that if an element of an indicator list exists in the static mapping relationship table, all related elements are merged into the result; Convert the Set object back into an array and return it as a list of indicators for the existing data of the enterprise on the current page.

5. The data processing method of the enterprise due diligence information display system according to claim 3 is characterized in that: Before obtaining data from the backend, the data processing method of the enterprise due diligence information display system also includes: After the backend obtains the indicator list passed in by the frontend, it processes each data query separately, combines different types of enterprise information results according to the company ID, and outputs them to the frontend.

6. The data processing method of the enterprise due diligence information display system according to claim 5 is characterized in that: The static mapping relationship includes indicators of different categories and their corresponding indicator ID lists.

7. The data processing method of the enterprise due diligence information display system according to claim 1 is characterized in that: Before starting the data request, the data processing method of the enterprise due diligence information display system also includes determining whether the user has the request authority.

8. A data processing system for an enterprise due diligence information display system, characterized in that: include: Definition module, used to define initial data variables related to user indicator requests and caches; A calling module, used to call a data request function to perform cache check and data request when a user clicks a certain indicator option on the front end, wherein the cache check is used to determine whether the indicator list currently selected by the user exists in the initial data variable, and determine the indicator list to be queried for the current request based on the judgment result, and the data request is used to obtain data from the back end; The display module is used to display data directly from the cached data when the user visits the cached indicator again.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the data processing method of the enterprise due diligence information display system as described in any one of claims 1 to 7 are implemented.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data processing method of the enterprise due diligence information display system as described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and system for responding to data requests by utilizing caches

    CN108804447A

  • Method for improving statistical efficiency through preprocessing and caching modes

    CN111858710A

  • Method and system for responding to data request by utilizing cache

    CN116361334A

  • Enterprise information query method and device and electronic equipment

    CN119149587A