File processing method, apparatus, device, medium, and computer program product

By reconfiguring the target intermediate processing device identifier when the intermediate processing device fails, the problems of high XBRL file transfer pressure and single point of failure of the head office intermediate processing device are solved, thereby improving file processing speed and system stability.

CN116521620BActive Publication Date: 2025-11-18INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310511356.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-08
Publication Date
2025-11-18
Estimated Expiration
2043-05-08

AI Technical Summary

Technical Problem

In the existing technology, the XBRL file transfer of the head office's intermediate processing equipment carries a huge load, the file processing speed is slow, and there is a risk of single point of failure.

Method used

When the current intermediate processing device fails, a new target intermediate processing device identifier is reconfigured, the target intermediate processing device is used to scan the file sending and receiving directory, and the signed file data is obtained through the second file management device to achieve file update.

Benefits of technology

It speeds up file processing, avoids file processing interruptions caused by single points of failure, and improves the reliability and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116521620B_ABST
    Figure CN116521620B_ABST
Patent Text Reader

Abstract

The application relates to a file processing method and device, computer equipment, a storage medium and a computer program product. Relating to the technical field of data processing, the method can be used in the field of financial technology or other related fields, and the method comprises the following steps: in the case that a current intermediate processing equipment indicated by a current intermediate processing equipment identifier fails, a new target intermediate processing equipment identifier is configured for a file exchange directory stored in a first file management equipment; in the case that an extensible business reporting language (XBRL) file is scanned, signature file data corresponding to the scanned XBRL file is acquired through a second file management equipment; the signature file data is converted into a signature file through the target intermediate processing equipment; and the signature file is used to update the file exchange directory stored in the first file management equipment. The method can accelerate the file processing speed and avoid the risk that a single point failure leads to the impossibility of continuing file processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a document processing method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] XBRL (eXtensible Business Reporting Language) files are the designated information disclosure file format for the China Securities Regulatory Commission's (CSRC) electronic information disclosure platform for the capital market. Fund managers and custodians exchange XBRL files daily through the Shenzhen Stock Exchange's financial data exchange platform. XBRL files are a crucial guarantee for promoting the standardized and orderly development of the securities information service industry. Traditionally, XBRL file transmission is handled through the head office's intermediate processing equipment.

[0003] However, with the continuous increase in the number of customers, the XBRL file transmission load on the head office's intermediate processing equipment is enormous, resulting in slow file processing speeds and difficulty in meeting customers' timely signature requests. Furthermore, currently only the head office's intermediate processing equipment can send and receive XBRL messages, posing a single point of failure risk. Summary of the Invention

[0004] Therefore, it is necessary to provide a file processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can accelerate file processing speed and avoid the risk of single point of failure, in order to address the above-mentioned technical problems.

[0005] Firstly, this application provides a document processing method. The method includes:

[0006] Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0007] If the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device;

[0008] The target intermediate processing device is identified by the target intermediate processing device, and the file sending and receiving directory is scanned.

[0009] If an Scalable Business Report document is detected, the corresponding signature file data of the detected Scalable Business Report document is obtained through a second file management device.

[0010] The target intermediate processing device converts the signature file data into a signature file, and updates the file sending and receiving directory stored in the first file management device based on the signature file.

[0011] In one embodiment, the file receiving and sending directory includes a file receiving directory and a file sending directory; correspondingly, the configuration process of the intermediate processing device identifier includes:

[0012] Configure a first intermediate processing device identifier for the file receiving directory stored in the first file management device, and configure a second intermediate processing device identifier for the file sending directory stored in the first file management device.

[0013] In one embodiment, acquiring the signature file data corresponding to the scanned Scalable Business Report file via the second file management device includes:

[0014] The scanned Scalable Business Report file is verified using a second file management device. Once the verification is successful, the scanned Scalable Business Report file is signed to obtain the corresponding signature file data.

[0015] In one embodiment, reconfiguring the new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device includes:

[0016] Determine the fault type of the current intermediate processing device;

[0017] Based on the fault type of the current intermediate processing device, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device.

[0018] In one embodiment, the fault type is at least divided into a first fault type; the step of reconfiguring a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device according to the current fault type of the intermediate processing device includes:

[0019] If the fault type of the current intermediate processing device is the first fault type, configure a new target intermediate processing device identifier that meets the permission requirements for the file collection directory of the first file management device that communicates with the current intermediate processing device.

[0020] The first fault type is a situation where the file receiving tool configured in the current intermediate processing device is faulty.

[0021] In one embodiment, the fault type is at least divided into a second fault type, and the step of reconfiguring a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device according to the current fault type of the intermediate processing device includes:

[0022] If the fault type of the current intermediate processing device is the second fault type, configure a new target intermediate processing device identifier that meets the permission requirements for the file distribution directory of the first file management device that communicates with the current intermediate processing device.

[0023] The second fault type is when the file sending tool configured in the current intermediate processing device is faulty.

[0024] Secondly, this application also provides a document processing apparatus. The apparatus includes:

[0025] The identification information acquisition module is used to acquire the current intermediate processing device identifier of the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0026] The first identifier configuration module is used to reconfigure a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device when the current intermediate processing device indicated by the current intermediate processing device identifier fails.

[0027] The directory scanning module is used to scan the file sending and receiving directory by identifying the corresponding target intermediate processing device through the target intermediate processing device;

[0028] The signature data table acquisition module is used to acquire the corresponding signature file data of the scanned Scalable Business Report file through the second file management device when the Scalable Business Report file is scanned; the directory update module is used to convert the signature file data into a signature file through the target intermediate processing device, and update the file sending and receiving directory stored in the first file management device based on the signature file.

[0029] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0030] Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0031] If the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device;

[0032] The target intermediate processing device is identified by the target intermediate processing device, and the file sending and receiving directory is scanned.

[0033] If an Scalable Business Report document is detected, the corresponding signature file data of the detected Scalable Business Report document is obtained through a second file management device.

[0034] The target intermediate processing device converts the signature file data into a signature file, and updates the file sending and receiving directory stored in the first file management device based on the signature file.

[0035] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0036] Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0037] If the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device;

[0038] The target intermediate processing device is identified by the target intermediate processing device, and the file sending and receiving directory is scanned.

[0039] If an Scalable Business Report document is detected, the corresponding signature file data of the detected Scalable Business Report document is obtained through a second file management device.

[0040] The target intermediate processing device converts the signature file data into a signature file, and updates the file sending and receiving directory stored in the first file management device based on the signature file.

[0041] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0042] Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0043] If the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device;

[0044] The target intermediate processing device is identified by the target intermediate processing device, and the file sending and receiving directory is scanned.

[0045] If an Scalable Business Report document is detected, the corresponding signature file data of the detected Scalable Business Report document is obtained through a second file management device.

[0046] The target intermediate processing device converts the signature file data into a signature file, and updates the file sending and receiving directory stored in the first file management device based on the signature file.

[0047] The aforementioned file processing method, apparatus, computer equipment, storage medium, and computer program product, in the event of a failure of the current intermediate processing device indicated by the current intermediate processing device identifier, reconfigure a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device, and scans the file sending and receiving directory using the target intermediate processing device corresponding to the target intermediate processing device identifier. If an Scalable Business Report document is detected, the second file management device obtains the corresponding signature file data of the scanned Scalable Business Report document, converts it into a corresponding signature file through the target intermediate processing device, and updates the file sending and receiving directory stored in the first file management device. By configuring an intermediate processing device identifier for the first file management device, the file processing speed is accelerated. Furthermore, in the event of a failure of the current intermediate processing device, the intermediate processing device is reconfigured, thus avoiding the risk of a single point of failure preventing continued file processing. Attached Figure Description

[0048] Figure 1 This is a flowchart illustrating a file processing method in one embodiment;

[0049] Figure 2 A flowchart illustrating the configuration of an intermediate processing device identifier in one embodiment;

[0050] Figure 3 This is a schematic diagram of the file processing flow in one embodiment;

[0051] Figure 4This is a structural block diagram of a file processing device in one embodiment;

[0052] Figure 5 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0054] In one embodiment, such as Figure 1 As shown, a file processing method is provided, including the following steps:

[0055] Step 102: Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0056] The first document management device can be the device of the fund company's client, and the first document management device includes a document sending and receiving directory; the intermediate processing device can be the Shenzhen Stock Exchange Station device, and its corresponding intermediate processing device identifier is unique. The Shenzhen Stock Exchange Station device can be used to send and receive messages with the fund company's client's device.

[0057] For example, the file sending and receiving directory stored in the first file management device is configured with an intermediate processing device identifier, which can be used to indicate an intermediate processing device that communicates with the first file management device.

[0058] Step 104: If the current intermediate processing device indicated by the current intermediate processing device identifier fails, reconfigure a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device.

[0059] There can be multiple intermediate processing devices. Therefore, if the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier can be configured for the send and receive directory in the first file management device.

[0060] In one embodiment, the new target intermediate processing device identifier indicates the intermediate processing device, which can be selected based on the permissions of the first file management device and the intermediate processing device.

[0061] In one example, a primary intermediate processing device and a backup intermediate processing device can be pre-configured for the first file management device. When the primary intermediate processing device fails, the backup intermediate processing device identifier can be configured for the first file management device first.

[0062] Alternatively, a primary intermediate processing device and multiple backup intermediate processing devices can be pre-configured for the first file management device. When the primary intermediate processing device fails, a backup intermediate processing device with the lowest processing capacity can be selected, and the intermediate processing device identifier of this backup intermediate processing device can be configured for the first file management device.

[0063] Alternatively, an intermediate processing device identifier can be pre-configured for the first file management device, enabling the configuration of multiple intermediate processing devices. When the intermediate processing device indicated by the configured intermediate processing device identifier malfunctions, an intermediate processing device can be selected according to a preset priority, and its intermediate processing device identifier can be configured for the first file management device. Specifically, the priority can be the current performance status of the intermediate processing device or the link distance between the intermediate processing device and the first file management device, and can be selected according to the actual situation. Those skilled in the art are not limited here.

[0064] Step 106: Scan the file sending and receiving directory by identifying the corresponding target intermediate processing device through the target intermediate processing device identifier.

[0065] The file receiving and sending directory of the first file processing device is used to receive or send XBRL files. When the first file processing device is configured with a target intermediate processing device identifier, the first file processing device will send the information of the file receiving and sending directory to the target intermediate processing device in real time. Alternatively, the first file processing device can set permissions for the intermediate processing device indicated by the target intermediate processing device identifier, so that the target intermediate processing device can periodically scan the file receiving and sending directory in the first file processing device to identify whether there are any new files in the file receiving and sending directory.

[0066] In one example, the first file processing device sends information about the file sending and receiving directory to the target intermediate processing device that is communicating with the first file processing device in real time.

[0067] Step 108: If an Scalable Business Report file is detected, obtain the corresponding signature file data of the detected Scalable Business Report file through the second file management device.

[0068] Among them, the Extensible Business Reporting File is composed of Extensible Business Reporting Language (XBRL). As a programming language, XBRL can be used to present financial personnel in the form of conventional reports by changing the data code in the backend.

[0069] The second file management device can be a device with a hosting system. The second file management device can be used to configure a target intermediate processing device identifier for the first file management device, enabling the first file management device to communicate with the target intermediate processing device indicated by the target intermediate processing device identifier.

[0070] In one embodiment, when the intermediate processing device scans an Scalable Business Report file, the Scalable Business Report file is obtained by the second document processing device and stored in the background database of the second document processing device, wherein the Scalable Business Report file is stored in the original data table of the document in the background database of the second document processing device.

[0071] When the second file processing device processes the Scalable Business Report file stored in the original file data table, it generates the corresponding signature file data of the Scalable Business Report file, stores the corresponding signature file data of the Scalable Business Report file in the signature file data table of the background database of the second file processing device, and sends the corresponding signature file data of the Scalable Business Report file to the intermediate processing device.

[0072] After the corresponding signature file data of the Scalable Business Report document is sent to the intermediate processing device, the status of the signature file data in the signature file data table of the background database is changed from the pending send status to the signed and sent status, based on the status of the signature file data in the signature file data table of the background database of the second file processing device.

[0073] Step 110: The signature file data is converted into a signature file by the target intermediate processing device, and the file sending and receiving directory stored in the first file management device is updated based on the signature file.

[0074] The target intermediate processing device has corresponding processing tools that can convert signature file data into signature files.

[0075] For example, the target intermediate processing device converts the signature file data into a signature file and sends it to the file sending and receiving directory stored in the first file management device to update the signature file.

[0076] In the above file processing method, when the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device. The file sending and receiving directory is scanned by the target intermediate processing device corresponding to the target intermediate processing device identifier. If an Scalable Business Report file is scanned, the corresponding signature file data of the scanned Scalable Business Report file is obtained through the second file management device and converted into a corresponding signature file through the target intermediate processing device to update the file sending and receiving directory stored in the first file management device. By configuring the intermediate processing device identifier for the first file management device, the file processing speed is accelerated. Furthermore, when a failure of the current intermediate processing device is detected, the intermediate processing device is reconfigured, thus avoiding the risk of being unable to continue file processing due to a single point of failure.

[0077] In one embodiment, the file receiving and sending directory includes a file receiving directory and a file sending directory; correspondingly, the configuration process for the intermediate processing device identifier includes:

[0078] Configure a first intermediate processing device identifier for the file receiving directory stored in the first file management device, and configure a second intermediate processing device identifier for the file sending directory stored in the first file management device.

[0079] The file receiving and sending directory may include a file receiving directory and a file sending directory. The first intermediate processing device identifier and the second intermediate processing device identifier may be the same intermediate processing device identifier or different intermediate processing device identifiers.

[0080] For example, configuring an intermediate processing device identifier for the first file management device may include configuring a first intermediate processing device identifier for the file receiving directory stored in the first file management device, and configuring a second intermediate processing device identifier for the file sending directory stored in the first file management device.

[0081] In the above embodiments, the file receiving and sending directory in the first file management device includes a file receiving directory and a file sending directory. Different intermediate processing device identifiers can be configured for the file receiving directory and the file sending directory respectively, so that the file sending directory and the file receiving directory in the file receiving and sending directory can be processed by different intermediate processing devices, thereby realizing the separate processing of files received and sent by the first file management device.

[0082] Specifically, the configuration process can be found in [link / reference]. Figure 2 The diagram illustrates a flowchart of configuring intermediate processing device identifiers in one embodiment, including N intermediate processing devices, N first file management devices, and file processing tools corresponding to the intermediate processing devices.

[0083] The intermediate processing device identifier can be configured for the first file management device through the second file processing device. The file receiving and sending directory in the first file management device includes a file receiving directory and a file sending directory. Different intermediate processing device identifiers can be configured for the file receiving directory and the file sending directory, or the same intermediate processing device identifier can be configured.

[0084] In one embodiment, acquiring the signature file data corresponding to the scanned Scalable Business Report file via the second file management device includes:

[0085] The scanned Scalable Business Report file is verified using a second file management device. Once the verification is successful, the scanned Scalable Business Report file is signed to obtain the corresponding signature file data.

[0086] In one example, an extensible business report file can include transaction data that requires real-time reconciliation. Reconciliation operations can be performed on this data based on pre-configured key fields. These key fields characterize crucial transaction information within the data requiring real-time reconciliation. Key transaction information typically includes amount, date, transaction details, etc. Common reconciliation operations may include equal-value reconciliation, etc.

[0087] For example, the second document management device can be used to automatically verify scanned Scalable Business Report documents. If the verification is successful, the scanned Scalable Business Report document is signed to obtain corresponding signature file data. If the verification is unsuccessful, no signing operation is performed. The signature file is also a type of Scalable Business Report document.

[0088] In the above embodiments, the second file management device can automatically verify the scanned Scalable Business Report file. After verification, the device can automatically sign the verified Scalable Business Report file to improve the signing efficiency of the file.

[0089] refer to Figure 3 This diagram illustrates a file processing flow in one embodiment. The first file management device includes a file receiving directory and a file sending directory. The intermediate processing device includes file receiving tools and file sending tools. The second file management device may reside in a hosting system. With the first file management device already configured with an intermediate processing device identifier, the steps for automatically signing files are as follows:

[0090] Step 1: When a new XBRL file exists in the file receiving directory, it is sent to the file receiving tool of the intermediate processing device;

[0091] Step 2: The second file management device stores the expandable business report file into the original data table;

[0092] Step 3: Reconcile the scalable business report files stored in the original data tables;

[0093] Step 4: If the verification confirms the agreement, perform automatic signing to obtain the signature data;

[0094] Step 5: Store the signature data in the signature file data table;

[0095] Step 6: The signature data is converted into a signature file by the file sending tool of the intermediate processing device and sent to the file sending directory of the first file management device;

[0096] Step 7: Update the status of the signature file data table; change the status of the corresponding signature file data in the signature file data table from the pending send status to the signed and sent status.

[0097] In one embodiment, reconfiguring the new target intermediate processing device identifier for the file transceiver directory stored in the first file management device may include:

[0098] Determine the fault type of the current intermediate processing device; based on the fault type of the current intermediate processing device, reconfigure a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device.

[0099] The fault types of intermediate processing devices can be determined based on the faults of the tools in the intermediate processing devices that enable the acquisition of information about the file sending and receiving directories in the first file management device.

[0100] For example, a new target intermediate processing device identifier can be reconfigured for the file sending and receiving directory stored in the first file management device based on the fault type of the current intermediate processing device to which the first file management device is connected.

[0101] Specifically, the new target intermediate processing device can be selected based on the permissions of the first file management device and the intermediate processing device.

[0102] In the above embodiments, a new target intermediate processing device identifier is configured for the file sending and receiving directory stored in the first file management device according to the current fault type of the intermediate processing device. This enables the configured intermediate processing device identifier to be changed in real time in the event of an intermediate processing device failure, thereby changing the intermediate processing device that communicates with the first file management device. This allows the business to continue to operate normally and avoids the risk of being unable to continue file processing business due to a single point of failure.

[0103] In one embodiment, the fault type is at least divided into a first fault type, and the step of reconfiguring a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device according to the current fault type of the intermediate processing device may include:

[0104] If the fault type of the current intermediate processing device is the first fault type, a new target intermediate processing device identifier that meets the permission requirements is configured for the file receiving directory of the first file management device that communicates with the current intermediate processing device; the first fault type is when the file receiving tool configured in the current intermediate processing device is faulty.

[0105] The intermediate processing device may include a file processing tool, which may include a file receiving tool. The file receiving tool is used to detect whether a new Scalable Business Report file exists in the file receiving directory of the corresponding first file management device, so as to send the new Scalable Business Report file to the second file management device.

[0106] For example, if the file receiving tool configured in the current intermediate processing device malfunctions, the malfunction type is determined to be the first malfunction type, and a new target intermediate processing device identifier that meets the permission requirements is configured for the file receiving directory of the first file management device that communicates with the intermediate processing device.

[0107] In one instance, the first fault type could be a file backlog alarm detected. Specifically, this could be monitored in real time by a second file management device. If a file backlog alarm is detected, it can be determined that the file receiving tool in the intermediate processing device is malfunctioning and needs to be switched over.

[0108] In the above embodiments, when the fault type of the current intermediate processing device is the first fault type, a new target intermediate processing device identifier that meets the permission requirements is configured for the file collection directory of the first file management device that communicates with the current intermediate processing device, so as to realize timely processing of the received scalable business report files and avoid the risk of being unable to continue file processing due to a single point of failure.

[0109] In one embodiment, the fault type is at least divided into a second fault type, and the step of reconfiguring a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device according to the current fault type of the intermediate processing device includes:

[0110] If the fault type of the current intermediate processing device is the second fault type, a new target intermediate processing device identifier that meets the permission requirements is configured for the file sending directory of the first file management device that communicates with the current intermediate processing device; the second fault type is when the file sending tool configured in the current intermediate processing device is faulty.

[0111] The intermediate processing device may include a file processing tool, which may include a file sending tool. The file sending tool is used to detect whether there is signature data to be sent in the corresponding second file management device, and to convert the signature data to be sent into a signature file and send it to the file sending directory of the corresponding first file management device.

[0112] For example, if the file sending tool configured in the current intermediate processing device malfunctions, the malfunction type is determined to be the second malfunction type, and a new target intermediate processing device identifier that meets the permission requirements is configured for the file sending directory of the first file management device that communicates with the intermediate processing device.

[0113] In one example, the second fault type could be a signature failure alarm. Specifically, this could be monitored in real time by a second file management device. If a signature failure alarm is detected, it can be determined that the file sending tool in the intermediate processing device needs to be switched. The signature failure alarm can be triggered if signature failures occur continuously for a preset time. The preset time can be set based on empirical values.

[0114] In the above embodiments, when the fault type of the current intermediate processing device is the second fault type, a new target intermediate processing device identifier that meets the permission requirements is configured for the file distribution directory of the first file management device that communicates with the current intermediate processing device, so as to realize timely processing of the received scalable business report files and avoid the risk of being unable to continue file signing due to a single point of failure.

[0115] In this embodiment, when the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is configured for the file sending and receiving directory stored in the first file management device. The file sending and receiving directory is scanned using the target intermediate processing device corresponding to the target intermediate processing device identifier. If an Scalable Business Report file is detected, the signature file data corresponding to the scanned Scalable Business Report file is obtained through the second file management device and converted into a corresponding signature file through the target intermediate processing device. This updates the file sending and receiving directory stored in the first file management device. By configuring an intermediate processing device identifier for the first file management device, the file processing speed is accelerated. Furthermore, if a failure of the current intermediate processing device is detected, the intermediate processing device is reconfigured, avoiding the risk of being unable to continue file processing due to a single point of failure.

[0116] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0117] Based on the same inventive concept, this application also provides a file processing apparatus for implementing the file processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more file processing apparatus embodiments provided below can be found in the limitations of the file processing method described above, and will not be repeated here.

[0118] In one embodiment, such as Figure 4 As shown, a file processing device is provided, including: an identification information acquisition module 401, a first identification configuration module 402, a directory scanning module 403, a signature data table acquisition module 404, and a directory update module 405, wherein:

[0119] The identification information acquisition module 401 is used to acquire the current intermediate processing device identifier of the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0120] The first identifier configuration module 402 is used to reconfigure a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device when the current intermediate processing device indicated by the current intermediate processing device identifier fails.

[0121] The directory scanning module 403 is used to scan the file sending and receiving directory by identifying the corresponding target intermediate processing device through the target intermediate processing device.

[0122] The signature data table acquisition module 404 is used to acquire the corresponding signature file data of the scanned Scalable Business Report file through a second file management device when an Scalable Business Report file is scanned.

[0123] The directory update module 405 is used to convert the signature file data into a signature file through the target intermediate processing device, and update the file sending and receiving directory stored in the first file management device based on the signature file.

[0124] In some embodiments, the device includes:

[0125] The second identifier configuration module is used to configure a first intermediate processing device identifier for the file receiving directory stored in the first file management device, and to configure a second intermediate processing device identifier for the file sending directory stored in the first file management device.

[0126] In some embodiments, the signature data table acquisition module 404 includes:

[0127] The signature data table acquisition submodule is used to verify the scanned Scalable Business Report file through the second file management device. After verification, the scanned Scalable Business Report file is signed to obtain the corresponding signature file data.

[0128] In some embodiments, the first identifier configuration module 402 includes:

[0129] The fault type determination submodule is used to determine the fault type of the current intermediate processing device;

[0130] The first identifier reconfiguration submodule is used to reconfigure a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device according to the fault type of the current intermediate processing device.

[0131] In some embodiments, the fault type is at least divided into a first fault type, and the first identifier reconfiguration submodule includes:

[0132] The first identifier reconfiguration unit is configured to, when the fault type of the current intermediate processing device is the first fault type, configure a new target intermediate processing device identifier that meets the permission requirements for the file collection directory of the first file management device that communicates with the current intermediate processing device.

[0133] The first fault type is a situation where the file receiving tool configured in the current intermediate processing device is faulty.

[0134] In some embodiments, the fault type is at least divided into a second fault type, and the first identifier reconfiguration submodule includes:

[0135] The second identifier reconfiguration unit is used to configure a new target intermediate processing device identifier that meets the permission requirements for the file distribution directory of the first file management device that communicates with the current intermediate processing device when the fault type of the current intermediate processing device is the second fault type.

[0136] The second fault type is when the file sending tool configured in the current intermediate processing device is faulty.

[0137] Each module in the aforementioned file processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can invoke and execute the operations corresponding to each module.

[0138] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown, the computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a file processing method.

[0139] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0140] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0141] Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0142] If the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device;

[0143] The target intermediate processing device is identified by the target intermediate processing device, and the file sending and receiving directory is scanned.

[0144] If an Scalable Business Report document is detected, the corresponding signature file data of the detected Scalable Business Report document is obtained through a second file management device.

[0145] The target intermediate processing device converts the signature file data into a signature file, and updates the file sending and receiving directory stored in the first file management device based on the signature file.

[0146] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0147] Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0148] If the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device;

[0149] The target intermediate processing device is identified by the target intermediate processing device, and the file sending and receiving directory is scanned.

[0150] If an Scalable Business Report document is detected, the corresponding signature file data of the detected Scalable Business Report document is obtained through a second file management device.

[0151] The target intermediate processing device converts the signature file data into a signature file, and updates the file sending and receiving directory stored in the first file management device based on the signature file.

[0152] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0153] Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device.

[0154] If the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device;

[0155] The target intermediate processing device is identified by the target intermediate processing device, and the file sending and receiving directory is scanned.

[0156] If an Scalable Business Report document is detected, the corresponding signature file data of the detected Scalable Business Report document is obtained through a second file management device.

[0157] The target intermediate processing device converts the signature file data into a signature file, and updates the file sending and receiving directory stored in the first file management device based on the signature file.

[0158] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0159] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0160] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0161] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A file processing method, characterized in that, The method includes: Obtain the current intermediate processing device identifier corresponding to the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device. If the current intermediate processing device indicated by the current intermediate processing device identifier fails, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device; The target intermediate processing device is identified by the target intermediate processing device, and the file sending and receiving directory is scanned. If an Scalable Business Report document is detected, the corresponding signature file data of the detected Scalable Business Report document is obtained through a second file management device. The target intermediate processing device converts the signature file data into a signature file, and updates the file sending and receiving directory stored in the first file management device based on the signature file.

2. The method according to claim 1, characterized in that, The file receiving and sending directory includes a file receiving directory and a file sending directory; correspondingly, the configuration process of the intermediate processing device identifier includes: Configure a first intermediate processing device identifier for the file receiving directory stored in the first file management device, and configure a second intermediate processing device identifier for the file sending directory stored in the first file management device.

3. The method according to claim 1, characterized in that, The step of acquiring the signature file data corresponding to the scanned Scalable Business Report file through the second file management device includes: The scanned Scalable Business Report file is verified using a second file management device. Once the verification is successful, the scanned Scalable Business Report file is signed to obtain the corresponding signature file data.

4. The method according to claim 2, characterized in that, The step of reconfiguring the file sending and receiving directory stored in the first file management device with a new target intermediate processing device identifier includes: Determine the fault type of the current intermediate processing device; Based on the fault type of the current intermediate processing device, a new target intermediate processing device identifier is reconfigured for the file sending and receiving directory stored in the first file management device.

5. The method according to claim 4, characterized in that, The fault types are at least divided into first fault types; the step of reconfiguring a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device according to the current fault type of the intermediate processing device includes: If the fault type of the current intermediate processing device is the first fault type, configure a new target intermediate processing device identifier that meets the permission requirements for the file collection directory of the first file management device that communicates with the current intermediate processing device. The first fault type is a situation where the file receiving tool configured in the current intermediate processing device is faulty.

6. The method according to claim 4, characterized in that, The fault types are at least divided into second fault types. The step of reconfiguring a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device based on the current fault type of the intermediate processing device includes: If the fault type of the current intermediate processing device is the second fault type, configure a new target intermediate processing device identifier that meets the permission requirements for the file distribution directory of the first file management device that communicates with the current intermediate processing device. The second fault type is when the file sending tool configured in the current intermediate processing device is faulty.

7. A document processing device, characterized in that, The device includes: The identification information acquisition module is used to acquire the current intermediate processing device identifier of the file sending and receiving directory stored in the first file management device. The intermediate processing device identifier is used to indicate the intermediate processing device that communicates with the first file management device. The first identifier configuration module is used to reconfigure a new target intermediate processing device identifier for the file sending and receiving directory stored in the first file management device when the current intermediate processing device indicated by the current intermediate processing device identifier fails. The directory scanning module is used to scan the file sending and receiving directory by identifying the corresponding target intermediate processing device through the target intermediate processing device; The signature data table acquisition module is used to acquire the corresponding signature file data of the scanned Scalable Business Report file through a second file management device when an Scalable Business Report file is scanned. The directory update module is used to convert the signature file data into a signature file through the target intermediate processing device, and update the file sending and receiving directory stored in the first file management device based on the signature file.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the file processing method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the file processing method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the file processing method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • XBRL (Extensible Business Reporting Language) credible data storage method and credible data storage system

    CN102355461A

  • Method for encapsulating XBRL (extensible business reporting language) instance documents

    CN103885925A