Tax bureau data preprocessing method and device
Through the tax bureau simulation system, decryption and format verification are performed during the data interaction between banks and tax bureaus, which solves the problem of long interaction time between banks and tax bureaus and realizes efficient processing of loan business.
Patent Information
- Application Number
- CN202211707841.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2042-12-28
AI Technical Summary
There are network delays and format configuration issues in the data exchange between banks and tax bureaus, which leads to long interaction time and affects the business processing process of banks and other customers.
Establish a tax bureau simulation system, simulate the interaction process between the bank and the tax bureau through the bank's external server, tax data storage and encryption and decryption processor, perform data decryption, format verification and risk control testing, discover and correct problems in advance, and shorten the interaction time.
Through the simulation system, banks can conduct risk control testing and data format verification in advance, reduce interaction time with the tax bureau, and improve the processing efficiency of loan business.
Smart Images

Figure CN116012182B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the general field of data processing technology, and in particular to a method and device for preprocessing tax bureau data. Background Art
[0002] At present, the interaction resources of the national tax bureau are in short supply. Due to the limited interface and data resources of the tax bureau, the interaction between banks and the tax bureau will take a long time due to network delays or other reasons. In addition, there are many restrictions on the interaction between banks and the tax bureau, such as the format of the data sent, the configuration of the port, etc. If there are problems in the interaction process, the interaction time will be further extended, which will delay the business processing process between the bank and other customers. Summary of the Invention
[0003] The embodiment of the present application provides a tax bureau data preprocessing method and device. By establishing a tax bureau simulation system, the process of interaction between the bank and the tax bureau is truly simulated. When the bank interacts with the tax bureau, it can interact with the tax bureau simulation system to determine whether there are any problems in the interaction process with the tax bureau, so as to make corrections in advance and reduce the time of interaction with the tax bureau.
[0004] In a first aspect, an embodiment of the present application provides a tax bureau data preprocessing method, which is applied to a tax bureau server simulation system. The tax bureau server simulation system includes a tax data storage, an encryption and decryption processor, and a bank external server. The bank external server is connected to a bank server. The tax data storage includes a message directory consisting of at least one message entry. Each message entry in the at least one message entry stores corresponding tax data. The method includes:
[0005] The bank server simultaneously sends a first tax data request message to the tax bureau server and the bank external server;
[0006] The bank external server receives the first tax data request message from the bank server and sends the first tax data request message to the encryption and decryption processor;
[0007] The encryption / decryption processor decrypts the first tax data request message to obtain a second tax data request message, and sends the second tax data request message to the bank external server;
[0008] The bank external server calls the message directory to find a first message entry corresponding to the second tax data request message, and calls the tax data corresponding to the first message entry to send to the encryption and decryption processor;
[0009] The encryption / decryption processor encrypts the tax data corresponding to the first message item to obtain second tax data, and sends the second tax data to the bank external server;
[0010] The bank external server sends the second tax data to the bank server;
[0011] The bank server performs a risk control test on the corresponding target user according to the second tax data to obtain a risk control test result;
[0012] The bank server receives the third tax data from the tax bureau server, and compares the second tax data with the third tax data to determine whether the second tax data and the third tax data are identical;
[0013] If the second tax data is the same as the third tax data, the risk control test result is used as the risk control test result of the target user.
[0014] It can be seen that in the embodiment of the present application, the bank server sends a first tax data request message to the tax bureau server and the bank external server at the same time. The bank external server decrypts the first tax data request message through the encryption and decryption processor to obtain a second tax data request message. The message entry corresponding to the second tax data request message is queried through the tax data storage device, and the tax data under the message entry is sent to the bank server after encryption. The bank server performs a risk control test on the target user based on the tax data to obtain a risk control test result. After receiving the tax data from the tax bureau, the bank server compares the tax data of the two to determine whether the data is the same. If the data is the same, the risk control test result is used as the risk control test result for the target user. Since each interaction between the bank server and the tax bureau server takes a long time, the above method is used. The bank server conducts risk control tests on target users based on the tax data obtained from the tax bureau server simulation system, and makes corresponding arrangements based on the risk control test results. After obtaining the tax data from the tax bureau server, if the tax data of the tax bureau server is the same as the tax data of the tax bureau server simulation system, the subsequent business will be carried out directly according to the risk control test results. This shortens the construction period of the loan business and improves the processing efficiency of the loan business.
[0015] In a feasible embodiment, before the bank server simultaneously sends the first tax data request message to the tax bureau server and the bank external server, the method also includes: the bank server sends an authentication request to the bank external server; the bank external server identifies whether the sending port corresponding to the authentication request is the SMS verification port corresponding to the bank server, and if the sending port corresponding to the authentication request is the SMS verification port corresponding to the bank server, then sends an SMS verification code to the bank server; after receiving the SMS verification code, the bank server sends an authentication request to the tax bureau server using the same type of port.
[0016] In this embodiment of the present application, the bank server sends an authentication request to the bank's external server. The external server then identifies the corresponding sending port based on the authentication request. If so, the external server sends an SMS verification code to the bank server. After receiving the SMS verification code, the bank server sends an authentication request to the tax bureau server using the same port. Since each interaction between the bank and the tax bureau typically takes a long time, the aforementioned method can avoid the extended authentication and authorization process caused by port errors.
[0017] In a feasible embodiment, before the encryption / decryption processor decrypts the first tax data request message to obtain the second tax data request message, the method further includes: the encryption / decryption processor obtains an encryption / decryption JAR package provided by a tax bureau server document; the encryption / decryption processor converts the encryption / decryption JAR package into an encryption call class file and a decryption call class file;
[0018] The encryption and decryption processor decrypts the first tax data request message to obtain the second tax data request message, including: the encryption and decryption processor decrypts the first tax data request message by decrypting the calling class file. If the decryption of the first tax data request message is successful, the second tax data request message is obtained; if the decryption of the first tax data request message is unsuccessful, a decryption error file is obtained, and the decryption error file is sent to the bank server calling the server; the bank server calling the server sends the decryption error file to the bank server; the bank server modifies the first tax data request message according to the decryption error file and resends it to the bank external server and the tax bureau server.
[0019] In an embodiment of the present application, the encryption and decryption processor obtains the encryption and decryption JAR package provided by the tax bureau server document and converts it into corresponding encryption call class files and decryption call class files. The first tax data request message is then decrypted using the decryption call class files. If the decryption is unsuccessful, a decryption error file is generated and sent to the bank server via the bank's external server. The bank server modifies the first tax data request message using the decryption error file and resends it to the tax bureau server and the bank's external server. Since each interaction between the bank and the tax bureau typically takes a long time, the aforementioned method can prevent the bank from extending the tax data acquisition process due to errors in the encryption format of the message.
[0020] In a feasible embodiment, the bank external server sends the second tax data to the bank server, including: the bank external server sends the second tax data to the bank server synchronously; or the bank external server sends the second tax data to the bank server asynchronously; the bank server predicts the time when the tax bureau server sends the third tax data based on the type of the second tax data sent.
[0021] In the embodiment of the present application, the tax data transmission method between the bank's external server and the bank server can be used to predict the tax data transmission time between the bank server and the tax bureau server, thereby allowing for reasonable arrangements for other services in advance.
[0022] In a feasible embodiment, the tax bureau server simulation system also includes a performance feedback processor, and the method also includes: the bank external liaison server receives a first user loan data message sent from the bank server, and sends the first user loan data message to the encryption and decryption processor; the encryption and decryption processor decrypts the first user loan data message to obtain a second user loan data message, and sends the second user loan data message to the performance feedback processor; the performance feedback processor verifies the data format of the second user loan data message, obtains a first verification result, and sends the first verification result to the bank external liaison server; the bank external liaison server sends the first verification result to the bank server; the bank server modifies the first user loan data message according to the first verification result, and sends the modified first user loan data message to the tax bureau server.
[0023] In this embodiment of the present application, after receiving first user loan data from a bank server, the bank external server decrypts the first user loan data through an encryption and decryption processor to obtain second user loan data. The second user loan data is then sent to a performance feedback processor. The performance feedback processor verifies the data format and generates a first verification result. The first verification result is then sent to the bank server via the bank external server. The bank server corrects the data format of the first user loan data based on the first verification result before sending it to the tax bureau server. This method can avoid delays in the bank's loan data exchange with the tax bureau due to incorrect loan data formats.
[0024] In a feasible embodiment, the tax bureau server simulation system also includes a tax data update processor, and the method also includes: the tax data update processor retrieves the tax data in the tax data storage device, and performs error analysis on the tax data to determine whether there is erroneous data in the tax data; if there is erroneous data in the tax data, an error data message entry is generated according to the error type of the error data, and the error data message entry is stored in the message directory, and the corresponding error data and the tax data of the user corresponding to the error data are stored under the error data message entry; if the bank external server calls the message directory to find the first message entry corresponding to the second tax data request message, the tax data stored under the first message entry is also stored in the error data message entry, then the bank external server sends the corresponding error data under the error data message entry to the bank server.
[0025] In this embodiment of the present application, the tax data update processor analyzes tax data for errors, generates error data message entries based on any error data, and stores these entries in the tax data storage. When the bank's external server retrieves the message entries and finds the first message entry corresponding to the second tax data request message, if the tax data stored in the first message entry is also stored in the error data message entry, the error data is also sent to the bank server. This method improves the richness of tax data and facilitates risk control testing of target users by the bank server.
[0026] In a feasible embodiment, the tax data update processor performs an error analysis on the tax data, including: the tax data update processor determines whether the tax data meets the first condition, and determines the tax data that does not meet the first condition as erroneous data; the first condition includes: whether the tax data meets the authenticity and legality; and whether the data character length of the enterprise name data in the tax data is less than the first character length; and whether the enterprise name and legal person name in the tax data corresponding to different users in the tax data are the same.
[0027] In this embodiment of the present application, the data update processor performs error analysis on the tax data, primarily by determining the authenticity and legality of the tax data, the character length of the company name data in the tax data, and whether the company name and the legal person name are identical. This allows for thorough analysis of errors in the tax data.
[0028] In a second aspect, an embodiment of the present application provides a tax bureau data preprocessing device, which is applied to a tax bureau server simulation system. The tax bureau server simulation system includes a tax data storage device, an encryption and decryption processor, and a bank external server. The bank external server is connected to a bank server. The tax data storage device includes a message directory consisting of at least one message entry. Each message entry in the at least one message entry stores corresponding tax data. The device includes:
[0029] A sending unit, configured for the bank server to simultaneously send a first tax data request message to the tax bureau server and the bank external server;
[0030] A receiving unit, configured for the bank external server to receive a first tax data request message from a bank server, and to send the first tax data request message to the encryption and decryption processor via a sending unit;
[0031] a decryption unit configured to decrypt the first tax data request message by the encryption / decryption processor to obtain a second tax data request message, and to send the second tax data request message to the bank external liaison server via the sending unit;
[0032] a query unit, configured for the bank external server to call the message directory to find a first message entry corresponding to the second tax data request message, and to call the tax data corresponding to the first message entry to send it to the encryption and decryption processor via the sending unit;
[0033] an encryption unit configured to encrypt the tax data corresponding to the first message item by the encryption / decryption processor to obtain second tax data, and to send the second tax data to the bank external server via the sending unit;
[0034] The sending unit is further configured to send the second tax data to the bank server via the bank external server;
[0035] a risk control unit, configured for the bank server to perform a risk control test on the corresponding target user according to the second tax data to obtain a risk control test result;
[0036] The receiving unit is configured to receive, by the bank server, the third tax data from the tax bureau server, and compare the second tax data with the third tax data through a comparing unit to determine whether the second tax data and the third tax data are identical;
[0037] If the second tax data is the same as the third tax data, the risk control test result is used as the risk control test result of the target user.
[0038] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory, and a communication interface. The processor, memory, and communication interface are interconnected and perform communication with each other. The memory stores executable program code, the communication interface is used for wireless communication, and the processor is used to retrieve the executable program code stored in the memory and execute some or all of the steps described in any method of the first aspect.
[0039] In the fourth aspect, an embodiment of the present application provides a tax bureau server simulation system, which includes a tax data storage device, an encryption and decryption processor, a bank external server, a performance feedback processor and a tax data update processor. The bank external server is connected to the bank server. The tax data storage device includes a message directory consisting of at least one message entry, and each message entry in the at least one message entry stores corresponding tax data. The system realizes interaction between bank servers through the method described in the first aspect of the embodiment of the present application.
[0040] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which program data is stored. When the program data is executed by a processor, the program data is used to execute the program data to implement some or all of the steps described in the first aspect of the embodiment of the present application.
[0041] In a sixth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0043] Figure 1 A schematic diagram of the structure of a tax bureau server simulation system provided in an embodiment of the present application;
[0044] Figure 2 A flowchart of a tax bureau data preprocessing method provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of the structure of a message directory provided in an embodiment of the present application;
[0046] Figure 4a This is a block diagram of the functional units of a tax bureau data preprocessing device provided in an embodiment of the present application;
[0047] Figure 4b This is a block diagram of the functional units of another tax bureau data preprocessing device provided in an embodiment of the present application;
[0048] Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] The terms "first," "second," and so on, in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a specific order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps is not limited to the listed steps but may optionally include steps not listed, or may optionally include other steps inherent to the process, method, product, or apparatus.
[0051] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0052] See also Figure 1 , Figure 1 A structure schematic diagram of a tax bureau server simulation system provided by an embodiment of the present application is shown in Figure 1 The tax bureau server simulation system 100 includes an effectiveness feedback processor 101, a tax data storage 102, an encryption and decryption processor 103, a bank external server 104, and a tax data update processor 105. The bank external server 104 is connected with a bank server 110, for realizing data interaction between the tax bureau server simulation system 100 and the bank server 110. The bank server 110 is also connected with a tax bureau server 120, for realizing data interaction between the bank server 110 and the tax bureau server 120.
[0053] The bank needs to send loan data to the tax bureau after completing a loan business with a user. The bank needs to send the loan data to the tax bureau in a specified data format. The interaction between the bank and the tax bureau needs a long time. In order to avoid the interaction time between the bank and the tax bureau being lengthened due to data format problems when the bank sends loan data to the tax bureau, the bank can send the loan data to the tax bureau server simulation system 100 through the bank server 110, and the effectiveness feedback processor 101 checks the data format of the loan data. The bank corrects the loan data according to the checking result of the effectiveness feedback processor 101 and then sends the loan data to the tax bureau, so that the interaction time between the bank and the tax bureau is not lengthened due to data format errors.
[0054] The bank and the tax bureau perform encryption on data in a specified format, and the encryption and decryption processor 103 is used to realize encryption and decryption processing on the interaction data. The tax data storage 102 stores a message directory including at least one message entry, and each message entry in the at least one message entry stores corresponding tax data. The tax bureau server simulation system 100 performs data interaction with the bank server 110 in the form of a message. Each tax data is converted into a message form according to a specified message template, and the tax data in the tax data storage 102 is obtained from the tax bureau server 120 under a specified condition. The tax data update processor 105 mainly analyzes error data in the tax data storage 102, and updates the error data to the tax data storage 102 through other message entries, so as to improve the richness of the data.
[0055] Based on this, an embodiment of the present application provides a tax bureau data preprocessing method, which is described in detail below with reference to the accompanying drawings.
[0056] Please refer to Figure 2 , Figure 2A flow chart of a tax bureau data preprocessing method provided in an embodiment of the present application, wherein the tax bureau data preprocessing method is applied to Figure 1 The tax bureau server simulation system shown in the figure includes a tax data storage, an encryption and decryption processor and a bank external server, the bank external server is connected to the bank server, the tax data storage includes a message directory consisting of at least one message entry, and each message entry in the at least one message entry stores corresponding tax data, such as Figure 2 As shown, the method includes the following steps:
[0057] In step 201, the bank server sends a first tax data request message to the tax bureau server and the bank's external server simultaneously.
[0058] Before receiving a user's loan request, a bank needs to conduct a risk control test on the user to determine whether there is any risk in issuing the loan to the user. To conduct this risk control test, the bank needs to obtain the user's tax data from the tax bureau.
[0059] In a feasible embodiment, before the bank server simultaneously sends the first tax data request message to the tax bureau server and the bank external server, the method also includes: the bank server sends an authentication request to the bank external server; the bank external server identifies whether the sending port corresponding to the authentication request is the SMS verification port corresponding to the bank server, and if the sending port corresponding to the authentication request is the SMS verification port corresponding to the bank server, then sends an SMS verification code to the bank server; after receiving the SMS verification code, the bank server sends an authentication request to the tax bureau server using the same type of port.
[0060] Among them, before the bank interacts with the tax bureau, it needs to establish a port connection with the tax bureau, and then perform authentication and authorization. Only after completing authentication and authorization can data interaction be carried out. The tax bureau server simulation system also has this function. In the process of authentication and authorization between the tax bureau server simulation system and the bank server, the bank server will send an authentication request to the tax bureau server simulation system. After receiving the authentication request, the tax bureau server simulation system will identify through the bank's external server whether the sending port corresponding to the authentication request is the SMS verification port corresponding to the bank server. If the sending port is the corresponding SMS verification port, the bank's external server will send an SMS verification code to the bank server. After receiving the SMS verification code, the bank server will send an authentication request to the tax bureau server according to the same type of port.
[0061] In this embodiment of the present application, the bank server sends an authentication request to the bank's external server. The external server then identifies the corresponding sending port based on the authentication request. If so, the external server sends an SMS verification code to the bank server. After receiving the SMS verification code, the bank server sends an authentication request to the tax bureau server using the same port. Since each interaction between the bank and the tax bureau typically takes a long time, the aforementioned method can avoid the extended authentication and authorization process caused by port errors.
[0062] In step 202, the bank external server receives a first tax data request message from the bank server and sends the first tax data request message to the encryption and decryption processor.
[0063] Among them, when the bank and the tax bureau exchange data, they will use the prescribed encryption method to encrypt the data. Therefore, when the bank's external server receives the first tax data request message from the bank server, it needs to send it to the encryption and decryption processor for decryption.
[0064] In step 203, the encryption / decryption processor decrypts the first tax data request message to obtain a second tax data request message, and sends the second tax data request message to the bank external server.
[0065] Among them, the interaction between the bank server and the tax bureau server simulation system is mainly carried out through the bank's external server. Therefore, after the encryption and decryption processor decrypts the first tax data request message, it needs to be sent to the bank's external server for identification and then subsequent operations.
[0066] In a feasible embodiment, before the encryption / decryption processor decrypts the first tax data request message to obtain the second tax data request message, the method further includes: the encryption / decryption processor obtains an encryption / decryption JAR package provided by a tax bureau server document; the encryption / decryption processor converts the encryption / decryption JAR package into an encryption call class file and a decryption call class file;
[0067] The encryption and decryption processor decrypts the first tax data request message to obtain the second tax data request message, including: the encryption and decryption processor decrypts the first tax data request message by decrypting the calling class file. If the decryption of the first tax data request message is successful, the second tax data request message is obtained; if the decryption of the first tax data request message is unsuccessful, a decryption error file is obtained, and the decryption error file is sent to the bank server calling the server; the bank server calling the server sends the decryption error file to the bank server; the bank server modifies the first tax data request message according to the decryption error file and resends it to the bank external server and the tax bureau server.
[0068] The encryption and decryption processor encrypts and decrypts the messages sent from the bank server in accordance with the encryption and decryption methods specified for interaction between the bank and the tax bureau. Therefore, the encryption and decryption processor obtains the encryption and decryption JAR package provided by the tax bureau server and converts it into corresponding encryption call class files and decryption call class files. This conversion process can be achieved through the Python+Jpype third library, which converts the encryption and decryption JAR package into Python-type encryption call class files and decryption call class files. The encryption and decryption processor decrypts the first tax data request message using the decryption call class files. If the decryption is unsuccessful, it indicates that the encryption format of the encrypted message provided by the bank server is incorrect. In this case, the encryption and decryption processor generates a decryption error file and sends it to the bank server via the bank's external server. The bank server modifies the first tax data request message based on the decryption error file and then resends it to the bank's external server and the tax bureau server.
[0069] In an embodiment of the present application, the encryption and decryption processor obtains the encryption and decryption JAR package provided by the tax bureau server document and converts it into corresponding encryption call class files and decryption call class files. The first tax data request message is then decrypted using the decryption call class files. If the decryption is unsuccessful, a decryption error file is generated and sent to the bank server via the bank's external server. The bank server modifies the first tax data request message using the decryption error file and resends it to the tax bureau server and the bank's external server. Since each interaction between the bank and the tax bureau typically takes a long time, the aforementioned method can prevent the bank from extending the tax data acquisition process due to errors in the encryption format of the message.
[0070] In step 204, the bank's external server calls the message directory to find the first message entry corresponding to the second tax data request message, and calls the tax data corresponding to the first message entry to send to the encryption and decryption processor.
[0071] The message directory stores all message entries, and the first message entry corresponding to the second tax data request message can be quickly found through the message directory.
[0072] For example, see Figure 3 , Figure 3 This is a schematic diagram of the structure of a message directory provided in an embodiment of the present application. Figure 3 As shown, Figure 3 The message directory 30 includes N message entries, and each message entry stores corresponding tax data. The bank external server searches the N message entries for the corresponding message entry according to the second tax data request message.
[0073] In step 205, the encryption / decryption processor encrypts the tax data corresponding to the first message item to obtain second tax data, and sends the second tax data to the bank's external server.
[0074] Wherein, corresponding to the above embodiment, the encryption and decryption processor encrypts the tax data corresponding to the first message item through the encryption call class file and then sends it to the bank external server.
[0075] Step 206: The bank's external server sends the second tax data to the bank server.
[0076] The bank external server sends the second tax data to the bank server in the form of a message, and the message is converted according to a prescribed message template.
[0077] In a feasible embodiment, the bank external server sends the second tax data to the bank server, including: the bank external server sends the second tax data to the bank server synchronously; or the bank external server sends the second tax data to the bank server asynchronously; the bank server predicts the time when the tax bureau server sends the third tax data based on the type of the second tax data sent.
[0078] Among them, when the tax bureau server sends tax data to the bank server, it may be sent synchronously or asynchronously. To achieve asynchronous sending, the tax bureau server simulation system can use Flask+Swagger to push data in a semi-automated manner to send the set tax data asynchronously. Different tax bureaus may have different sending methods. Some tax bureaus send synchronously, while others send asynchronously. The interaction time corresponding to synchronous and asynchronous sending will also be different. Therefore, according to the sending method of the tax bureau server simulation system, the time of the data sending stage when interacting with the tax bureau server can be determined, so as to reasonably arrange some other business.
[0079] In the embodiment of the present application, the tax data transmission method between the bank's external server and the bank server can be used to predict the tax data transmission time between the bank server and the tax bureau server, thereby allowing for reasonable arrangements for other services in advance.
[0080] In step 207 , the bank server performs a risk control test on the corresponding target user based on the second tax data to obtain a risk control test result.
[0081] Among them, after the bank server obtains the corresponding second tax data from the tax bureau server simulation system, it will immediately conduct a risk control test on the target user based on the second tax data, so as to obtain the risk control test results of the target user in advance, and make corresponding arrangements in advance based on the risk control test results, thereby reducing the construction period.
[0082] In step 208 , the bank server receives the third tax data from the tax bureau server, and compares the second tax data with the third tax data to determine whether the second tax data and the third tax data are identical.
[0083] Among them, after receiving the third tax data from the tax bureau server, the bank server will not immediately perform risk control testing based on the third tax data, because the bank server has already performed risk control testing based on the second tax data. At this time, the second tax data and the third tax data are compared to determine whether the second tax data and the third tax data are the same.
[0084] Step 209: If the second tax data is the same as the third tax data, the risk control test result is used as the risk control test result of the target user.
[0085] If the second and third tax data are identical, the risk control test results obtained by the bank server based on the second tax data for the target user are correct. The bank can then proceed directly with the subsequent work corresponding to the risk control test results.
[0086] In a feasible embodiment, the tax bureau server simulation system also includes a performance feedback processor, and the method also includes: the bank external liaison server receives a first user loan data message sent from the bank server, and sends the first user loan data message to the encryption and decryption processor; the encryption and decryption processor decrypts the first user loan data message to obtain a second user loan data message, and sends the second user loan data message to the performance feedback processor; the performance feedback processor verifies the data format of the second user loan data message, obtains a first verification result, and sends the first verification result to the bank external liaison server; the bank external liaison server sends the first verification result to the bank server; the bank server modifies the first user loan data message according to the first verification result, and sends the modified first user loan data message to the tax bureau server.
[0087] Among them, if the bank's risk control test results for the target user show that there is no risk, then the bank may issue a loan to the target user. After the bank completes the loan business for the target user, it needs to send the loan data to the tax bureau, such as the loan amount, detailed information of the target user, etc. However, when the bank sends the loan data to the tax bureau, it needs to use some prescribed data formats. If the data format is incorrect, it needs to be modified. However, since each interaction between the bank and the tax bureau takes a long time, if any modification occurs, it will take even more time.
[0088] The tax bureau server simulation system also includes a performance feedback processor, which is used to verify the data format of loan data. After the bank server sends a first user loan data message to the bank's external server, the encryption and decryption processor is still required to decrypt the first user loan data message to obtain a decrypted second user loan data message. The performance feedback processor verifies the data format of the second user loan data message to obtain a first verification result, which is sent to the bank server via the bank's external server. The bank server then modifies the data format of the first user loan data based on the first verification result before sending it to the tax bureau server.
[0089] In this embodiment of the present application, after receiving first user loan data from a bank server, the bank's external server decrypts the first user loan data via an encryption / decryption processor to obtain second user loan data. The second user loan data is then sent to a performance feedback processor, which verifies the data format and generates a first verification result. The first verification result is then sent to the bank server via the bank's external server. The bank server then corrects the data format of the first user loan data based on the first verification result before sending it to the tax bureau server. This method can avoid delays in the bank's loan data exchange with the tax bureau due to incorrect loan data formats.
[0090] In a feasible embodiment, the tax bureau server simulation system also includes a tax data update processor, and the method also includes: the tax data update processor retrieves the tax data in the tax data storage device, and performs error analysis on the tax data to determine whether there is erroneous data in the tax data; if there is erroneous data in the tax data, an error data message entry is generated according to the error type of the error data, and the error data message entry is stored in the message directory, and the corresponding error data and the tax data of the user corresponding to the error data are stored under the error data message entry; if the bank external server calls the message directory to find the first message entry corresponding to the second tax data request message, the tax data stored under the first message entry is also stored in the error data message entry, then the bank external server sends the corresponding error data under the error data message entry to the bank server.
[0091] In addition to accessing the tax data stored in the tax bureau server, the tax bureau server simulation system also performs error analysis on this data to determine if errors exist. This primarily involves updating the tax data for other abnormal scenarios. This facilitates risk control testing of target users by the bank server based on the tax data, thereby enhancing the richness of the tax data. The tax bureau server simulation system performs error analysis on tax data through a tax data update processor. This processor retrieves tax data from the tax data storage and performs error analysis. If errors are found, an error data message entry is generated based on the error data and stored in a message entry in the tax data storage. The error data message entry stores the corresponding error data and the tax data of the user corresponding to the error data. Therefore, when the bank's external liaison server searches the message directory for the first message entry corresponding to the second tax data request message, if the tax data stored in the first message entry also exists in the error data message entry, the bank's external liaison server sends the error data to the bank server simultaneously with the second tax data.
[0092] In this embodiment of the present application, the tax data update processor analyzes tax data for errors, generates error data message entries based on any error data, and stores these entries in the tax data storage. When the bank's external server retrieves the message entries and finds the first message entry corresponding to the second tax data request message, if the tax data stored in the first message entry is also stored in the error data message entry, the error data is also sent to the bank server. This method improves the richness of tax data and facilitates risk control testing of target users by the bank server.
[0093] In a feasible embodiment, the tax data update processor performs an error analysis on the tax data, including: the tax data update processor determines whether the tax data meets the first condition, and determines the tax data that does not meet the first condition as erroneous data; the first condition includes: whether the tax data meets the authenticity and legality; and whether the data character length of the enterprise name data in the tax data is less than the first character length; and whether the enterprise name and legal person name in the tax data corresponding to different users in the tax data are the same.
[0094] Among them, the tax data update processing mainly conducts error analysis of tax data based on the authenticity and legality of the tax data. For example, whether there are illegal tax numbers, illegal ID numbers or illegal mobile phone numbers in the tax data, etc. After judging the authenticity and legality, it will also judge whether the data character length of the enterprise name data is too long, and whether the enterprise name and legal person name are the same.
[0095] In this embodiment of the present application, the data update processor performs error analysis on the tax data, primarily by determining the authenticity and legality of the tax data, the character length of the company name data in the tax data, and whether the company name and the legal person name are identical. This allows for thorough analysis of errors in the tax data.
[0096] It can be seen that in the embodiment of the present application, the bank server sends a first tax data request message to the tax bureau server and the bank external server at the same time. The bank external server decrypts the first tax data request message through the encryption and decryption processor to obtain a second tax data request message. The message entry corresponding to the second tax data request message is queried through the tax data storage device, and the tax data under the message entry is sent to the bank server after encryption. The bank server performs a risk control test on the target user based on the tax data to obtain a risk control test result. After receiving the tax data from the tax bureau, the bank server compares the tax data of the two to determine whether the data is the same. If the data is the same, the risk control test result is used as the risk control test result for the target user. Since each interaction between the bank server and the tax bureau server takes a long time, the above method is used. After the bank server obtains the tax data from the tax bureau server simulation system, it conducts risk control testing on the target users and makes corresponding arrangements based on the risk control test results. After obtaining the tax data from the tax bureau server, if the tax data of the tax bureau server is the same as the tax data of the tax bureau server simulation system, the subsequent business will be carried out directly according to the risk control test results, which shortens the loan business period and improves the processing efficiency of the loan business.
[0097] In accordance with the above-mentioned embodiment, please refer to Figure 4a , Figure 4aThis is a functional unit block diagram of a tax bureau data preprocessing device provided in an embodiment of the present application. The device 40 is applied to Figure 1 The tax bureau server simulation system shown in the figure includes a tax data storage, an encryption and decryption processor, and a bank external server. The bank external server is connected to the bank server. The tax data storage includes a message directory consisting of at least one message entry. Each message entry in the at least one message entry stores corresponding tax data, such as Figure 4a As shown, the tax bureau data pre-processing device 40 includes:
[0098] The sending unit 401 is configured for the bank server to simultaneously send a first tax data request message to the tax bureau server and the bank external server;
[0099] The receiving unit 402 is configured to receive the first tax data request message from the bank server via the bank external server, and send the first tax data request message to the encryption and decryption processor via the sending unit 401;
[0100] A decryption unit 403 is configured to decrypt the first tax data request message to obtain a second tax data request message, and send the second tax data request message to the bank external server via the sending unit 401;
[0101] A query unit 404 is configured to cause the bank's external server to call the message directory to find a first message entry corresponding to the second tax data request message, and to call the tax data corresponding to the first message entry to send to the encryption and decryption processor via the sending unit 401;
[0102] An encryption unit 405 is configured to encrypt the tax data corresponding to the first message item by the encryption / decryption processor to obtain second tax data, and to send the second tax data to the bank external server via the sending unit 401;
[0103] The sending unit 401 is further configured to send the second tax data to the bank server via the bank external server;
[0104] The risk control unit 406 is configured to enable the bank server to perform a risk control test on the corresponding target user based on the second tax data to obtain a risk control test result;
[0105] The receiving unit 402 is configured to receive, by the bank server, the third tax data from the tax bureau server, and compare the second tax data with the third tax data through a comparison unit to determine whether the second tax data and the third tax data are identical;
[0106] If the second tax data is the same as the third tax data, the risk control test result is used as the risk control test result of the target user.
[0107] In a feasible embodiment, the sending unit 401 is used before the bank server sends the first tax data request message to the tax bureau server and the bank external server at the same time, and is also used for: the bank server sends an authentication request to the bank external server; the bank external server identifies whether the sending port corresponding to the authentication request is the SMS verification port corresponding to the bank server; if the sending port corresponding to the authentication request is the SMS verification port corresponding to the bank server, then the SMS verification code is sent to the bank server; after receiving the SMS verification code, the bank server sends an authentication request to the tax bureau server using the same type of port.
[0108] In a feasible embodiment, the decryption unit 403 is used for the encryption / decryption processor to decrypt the first tax data request message before obtaining the second tax data request message, and further for: the encryption / decryption processor to obtain the encryption / decryption JAR package provided by the tax bureau server document; the encryption / decryption processor to convert the encryption / decryption JAR package into an encryption call class file and a decryption call class file;
[0109] The decryption unit 403 is used for the encryption and decryption processor to decrypt the first tax data request message to obtain the second tax data request message, including: the encryption and decryption processor decrypts the first tax data request message by decrypting the calling class file. If the first tax data request message is successfully decrypted, the second tax data request message is obtained; if the first tax data request message is not decrypted successfully, a decryption error file is obtained, and the decryption error file is sent to the bank server calling server; the bank server calling server sends the decryption error file to the bank server; the bank server modifies the first tax data request message according to the decryption error file and resends it to the bank external server and the tax bureau server.
[0110] In a feasible embodiment, the sending unit 401 is used for the bank external server to send the second tax data to the bank server, including: the bank external server sends the second tax data to the bank server synchronously; or the bank external server sends the second tax data to the bank server asynchronously; the bank server predicts the time when the tax bureau server sends the third tax data based on the type of the second tax data sent.
[0111] In a feasible embodiment, the tax bureau server simulation system also includes a performance feedback processor, and the device also includes: the bank external server receives a first user loan data message sent from the bank server, and sends the first user loan data message to the encryption and decryption processor; the encryption and decryption processor decrypts the first user loan data message to obtain a second user loan data message, and sends the second user loan data message to the performance feedback processor; the performance feedback processor verifies the data format of the second user loan data message, obtains a first verification result, and sends the first verification result to the bank external server; the bank external server sends the first verification result to the bank server; the bank server modifies the first user loan data message according to the first verification result, and sends the modified first user loan data message to the tax bureau server.
[0112] In a feasible embodiment, the tax bureau server simulation system also includes a tax data update processor, and the device also includes: the tax data update processor retrieves the tax data in the tax data storage device, and performs error analysis on the tax data to determine whether there is error data in the tax data; if there is error data in the tax data, an error data message entry is generated according to the error type of the error data, and the error data message entry is stored in the message directory, and the error data message entry stores the corresponding error data and the tax data of the user corresponding to the error data; if the bank external server calls the message directory to find the first message entry corresponding to the second tax data request message, the tax data stored under the first message entry is also stored in the error data message entry, then the bank external server sends the corresponding error data under the error data message entry to the bank server.
[0113] In a feasible embodiment, the tax data update processor performs an error analysis on the tax data, including: the tax data update processor determines whether the tax data meets the first condition, and determines the tax data that does not meet the first condition as erroneous data; the first condition includes: whether the tax data meets the authenticity and legality; and whether the data character length of the enterprise name data in the tax data is less than the first character length; and whether the enterprise name and legal person name in the tax data corresponding to different users in the tax data are the same.
[0114] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.
[0115] In the case of integrated units, such as Figure 4b As shown, Figure 4b This is a functional unit block diagram of another tax bureau data preprocessing device provided by an embodiment of the present application. Figure 4b In the embodiment, the tax bureau data pre-processing device 41 includes: a processing module 412 and a communication module 411. The processing module 412 is used to control and manage the actions of the tax bureau data pre-processing device, for example, the steps of the sending unit 401, the receiving unit 402, the decryption unit 403, the query unit 404, the encryption unit 405 and the risk control unit 406, and / or other processes for executing the technology described herein. The communication module 411 is used to support the interaction between the tax bureau data pre-processing device and other devices. Figure 4b As shown, the tax bureau data pre-processing device 41 may further include a storage module 413, which is used to store program codes and data of the tax bureau data pre-processing device.
[0116] The processing module 412 may be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 411 may be a transceiver, an RF circuit, or a communication interface, and the like. The storage module 413 may be a memory.
[0117] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. Figure 2 The tax bureau data preprocessing method shown.
[0118] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the process or function according to the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains a collection of one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state drive.
[0119] Figure 5 This is a structural block diagram of an electronic device provided in an embodiment of the present application. Figure 5 As shown, electronic device 500 may include one or more of the following components: a processor 501 and a memory 502 coupled to processor 501. Memory 502 may store one or more computer programs, which, when executed by one or more processors 501, may be configured to implement the methods described in the above embodiments. Electronic device 500 may be a processor or server in the above-mentioned tax bureau server simulation system.
[0120] The processor 501 may include one or more processing cores. The processor 501 utilizes various interfaces and circuits to connect various components within the electronic device 500. It executes instructions, programs, code sets, or instruction sets stored in the memory 502, as well as accesses data stored in the memory 502, to perform various functions and process data within the electronic device 500. Optionally, the processor 501 may be implemented using at least one of the following hardware forms: a digital signal processing (DSP), a field-programmable gate array (FPGA), or a programmable logic array (PLA). The processor 501 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. The CPU primarily handles the operating system, passenger interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem handles wireless communications. It is understood that the modem may not be integrated into the processor 501 and may instead be implemented via a separate communications chip.
[0121] The memory 502 may include a random access memory (RAM) or a read-only memory (ROM). The memory 502 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 502 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electronic device 500 during use.
[0122] It is understandable that the electronic device 500 may include more or fewer structural elements than those in the above structural block diagram, for example, a power module, physical buttons, a WiFi (Wireless Fidelity) module, a speaker, a Bluetooth module, a sensor, etc., which are not limited here.
[0123] An embodiment of the present application provides a computer-readable storage medium, wherein program data is stored in the computer-readable storage medium. When the program data is executed by a processor, the program data is used to execute part or all of the steps of any tax bureau data preprocessing method recorded in the above method embodiments.
[0124] The embodiment of the present application further provides a computer program product, which comprises a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps of any one of the tax bureau data preprocessing methods described in the foregoing method embodiments. The computer program product can be a software installation package, and the computer comprises a receiving end and / or a sending end.
[0125] It should be noted that, for any one of the foregoing tax bureau data preprocessing method embodiments, in order to simply describe, it is expressed as a combination of a series of actions, but those skilled in the art should know that the present application is not limited by the order of the described actions, because according to the present application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily necessary for the present application.
[0126] Although the present application is described herein in conjunction with various embodiments, other variations of the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from an inspection of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and the indefinite articles "a" or "an" do not exclude a plurality. Reference to a certain measure in one or more claims does not exclude that the measure is combined with other measures in one or more other claims.
[0127] Those of ordinary skill in the art can understand that all or part of the steps in any one of the foregoing tax bureau data preprocessing method embodiments can be completed by instructing relevant hardware through a program, which can be stored in a computer-readable memory, and the memory can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0128] The embodiments of the present application are described in detail above, and specific examples are applied in this paper to describe the principle and implementation manner of the tax bureau data preprocessing method and device; the above embodiment description is only used to help understand the method and its core idea; at the same time, for those skilled in the art, according to the idea of the tax bureau data preprocessing method and device, the specific implementation manner and application range will be changed, and the above description should not be understood as limiting the present application.
[0129] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 one or more flowcharts and / or blocks
[0130] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 one or more flowcharts and / or blocks
[0131] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 one or more flowcharts and / or blocks
[0132] It is understood that any product of the tax bureau data preprocessing method and apparatus provided by the present application, such as the terminal and computer program product of the above flowchart, which is controlled or configured to execute the processing method of the flowchart described in the method embodiment of the tax bureau data preprocessing method of the present application, falls within the scope of the relevant products described in the present application.
[0133] Obviously, those skilled in the art can make various modifications and variations to the tax bureau data preprocessing method and apparatus provided by the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A tax bureau data preprocessing method, characterized in that: The method is applied to a tax bureau server simulation system, the tax bureau server simulation system including a tax data storage, an encryption and decryption processor, a bank external server, and a performance feedback processor, the bank external server being connected to a bank server, the tax data storage including a message directory consisting of at least one message entry, each of the at least one message entry storing corresponding tax data, the method comprising: The bank server simultaneously sends a first tax data request message to the tax bureau server and the bank external server; The bank external server receives the first tax data request message from the bank server and sends the first tax data request message to the encryption and decryption processor; The encryption / decryption processor decrypts the first tax data request message to obtain a second tax data request message, and sends the second tax data request message to the bank external server; The bank external server calls the message directory to find a first message entry corresponding to the second tax data request message, and calls the tax data corresponding to the first message entry to send to the encryption and decryption processor; The encryption / decryption processor encrypts the tax data corresponding to the first message item to obtain second tax data, and sends the second tax data to the bank external server; The bank external server sends the second tax data to the bank server; The bank server performs a risk control test on the corresponding target user according to the second tax data to obtain a risk control test result; The bank server receives the third tax data from the tax bureau server, and compares the second tax data with the third tax data to determine whether the second tax data and the third tax data are identical; If the second tax data is the same as the third tax data, the risk control test result is used as the risk control test result of the target user; The bank external server receives the first user loan data message sent from the bank server, and sends the first user loan data message to the encryption and decryption processor; The encryption / decryption processor decrypts the first user loan data message to obtain a second user loan data message, and sends the second user loan data message to the performance feedback processor; The performance feedback processor verifies the data format of the second user loan data message to obtain a first verification result, and sends the first verification result to the bank external server; The bank external server sends the first verification result to the bank server; The bank server modifies the first user loan data message according to the first verification result, and sends the modified first user loan data message to the tax bureau server.
2. The method according to claim 1, characterized in that Before the bank server simultaneously sends the first tax data request message to the tax bureau server and the bank external server, the method further includes: The bank server sends an authentication request to the bank external server; The bank external server identifies whether the sending port corresponding to the authentication request is the SMS verification port corresponding to the bank server, and if so, sends an SMS verification code to the bank server; After receiving the SMS verification code, the bank server sends an authentication request to the tax bureau server via the same type of port.
3. The method according to claim 1 or 2, characterized in that Before the encryption / decryption processor decrypts the first tax data request message to obtain a second tax data request message, the method further includes: The encryption and decryption processor obtains the encryption and decryption JAR package provided by the tax bureau server document; The encryption and decryption processor converts the encryption and decryption JAR package into an encryption call class file and a decryption call class file; The encryption / decryption processor decrypts the first tax data request message to obtain a second tax data request message, including: The encryption and decryption processor decrypts the first tax data request message through the decryption call class file; If the first tax data request message is decrypted successfully, a second tax data request message is obtained; If the decryption of the first tax data request message fails, a decryption error file is obtained, and the decryption error file is sent to the bank server calling server; The bank server calls a server to send the decryption error file to the bank server; The bank server modifies the first tax data request message according to the decryption error file and resends it to the bank external server and the tax bureau server.
4. The method according to claim 1, wherein The bank external server sending the second tax data to the bank server includes: The bank external server sends the second tax data to the bank server synchronously; or the bank external server sends the second tax data to the bank server asynchronously; The bank server predicts the time when the tax bureau server sends the third tax data according to the type of the second tax data sent.
5. The method according to claim 1, wherein The tax bureau server simulation system further includes a tax data update processor, and the method further includes: The tax data update processor retrieves the tax data in the tax data storage, and performs error analysis on the tax data to determine whether there is erroneous data in the tax data; If there is erroneous data in the tax data, an erroneous data message entry is generated according to the error type of the erroneous data, and the erroneous data message entry is stored in the message directory, wherein the erroneous data message entry stores the corresponding erroneous data and the tax data of the user corresponding to the erroneous data; If the bank external server calls the message directory to find the first message entry corresponding to the second tax data request message, and the tax data stored under the first message entry is also stored in the error data message entry, the bank external server sends the error data corresponding to the error data message entry to the bank server.
6. The method according to claim 5, characterized in that The tax data update processor performs error analysis on the tax data, including: The tax data update processor determines whether the tax data satisfies a first condition, and determines the tax data that does not satisfy the first condition as erroneous data; The first condition includes: Whether the tax data is authentic and legal; and whether the data character length of the enterprise name data in the tax data is less than the first character length; and Whether the enterprise names and legal person names in the tax data corresponding to different users in the tax data are the same.
7. A tax bureau data preprocessing device, characterized in that: The device is applied to a tax bureau server simulation system, which includes a tax data storage, an encryption and decryption processor, a bank external server, and a performance feedback processor. The bank external server is connected to a bank server. The tax data storage includes a message directory consisting of at least one message entry, and each message entry in the at least one message entry stores corresponding tax data. The device includes: A sending unit, configured for the bank server to simultaneously send a first tax data request message to the tax bureau server and the bank external server; A receiving unit, configured for the bank external server to receive a first tax data request message from a bank server, and to send the first tax data request message to the encryption and decryption processor via a sending unit; a decryption unit configured to decrypt the first tax data request message by the encryption / decryption processor to obtain a second tax data request message, and to send the second tax data request message to the bank external server via the sending unit; a query unit, configured for the bank external server to call the message directory to find a first message entry corresponding to the second tax data request message, and to call the tax data corresponding to the first message entry to send it to the encryption and decryption processor via the sending unit; an encryption unit configured to encrypt the tax data corresponding to the first message item by the encryption / decryption processor to obtain second tax data, and to send the second tax data to the bank external server via the sending unit; The sending unit is further configured to send the second tax data to the bank server via the bank external server; a risk control unit, configured for the bank server to perform a risk control test on the corresponding target user according to the second tax data to obtain a risk control test result; The receiving unit is configured to receive, by the bank server, the third tax data from the tax bureau server, and compare the second tax data with the third tax data through a comparing unit to determine whether the second tax data and the third tax data are identical; If the second tax data is the same as the third tax data, the risk control test result is used as the risk control test result of the target user; The bank external server receives the first user loan data message sent from the bank server, and sends the first user loan data message to the encryption and decryption processor; The encryption / decryption processor decrypts the first user loan data message to obtain a second user loan data message, and sends the second user loan data message to the performance feedback processor; The performance feedback processor verifies the data format of the second user loan data message to obtain a first verification result, and sends the first verification result to the bank external server; The bank external server sends the first verification result to the bank server; The bank server modifies the first user loan data message according to the first verification result, and sends the modified first user loan data message to the tax bureau server.
8. An electronic device, characterized in that: The device comprises: A processor, a memory, and a communication interface, wherein the processor, the memory, and the communication interface are interconnected and perform communication work among each other; The memory stores executable program code, and the communication interface is used for wireless communication; The processor is used to call the executable program code stored in the memory and execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Data acquisition method and device
CN113179230A
Implementation method and device of tax data processing system
CN113395257A