Data processing method, device and system, computer equipment and storage medium

CN118690379APending Publication Date: 2024-09-24CATHAY SOUCHE (TIANJIN) FINANCIAL LEASING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410287979.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-13
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the existing technology, the security of data interaction between the Web client and the object storage service is low, and the problems of plaintext transmission and permission management of path data cannot be effectively solved, resulting in insufficient database security.

Method used

By obtaining the data storage request, the original path is determined and encrypted, cut into initial strings, and spliced ​​together with the check code to generate the target path to ensure the security of the data during transmission. The method includes encrypting the original path, cutting it into at least two initial character strings, splicing them with a verification code, generating a second verification code through preset verification rules, and finally generating a target path and returning it to the user end to ensure Security of data interaction.

Benefits of technology

It effectively improves the security of data interaction between the Web client and the object storage service, prevents malicious access and data leakage, and reduces database security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690379A
    Figure CN118690379A
Patent Text Reader

Abstract

The invention relates to a data processing method, device and system, computer equipment and a storage medium. The method is applied to database service, and comprises the following steps: acquiring a data storage request, and determining an original path corresponding to the data storage request in a database; the storage processing of corresponding data is realized through the original path, the original path is encrypted, the encryption result is returned to the corresponding user side, and the encryption processing comprises the steps of cutting the original path to obtain at least two sections of initial character strings, splicing the initial character strings with a first check code for the original path, and sending the spliced initial character strings to the user side; obtaining an initial path; and performing verification processing on the initial path through a preset verification rule to obtain a second verification code corresponding to the initial path, and performing splicing processing on the second verification code and the initial path to obtain a target path. By adopting the method, the security of data interaction between the web end and the object storage service can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of database service technology, and in particular to a data processing method, apparatus, system, computer equipment and storage medium. Background Art

[0002] Object storage service is a service that provides users with massive data storage solutions through network protocols such as HTTP in the cloud. This type of commercial service is now very mature and often has the characteristics of low cost, stability, multiple data processing capabilities and high scalability.

[0003] The web side refers to the behavior side where users access a specific uniform resource identifier (URI) that can obtain corresponding information. The common carrier of the web side is the browser, which can often provide network request capabilities such as http. In the prior art, when the web side interacts with the object storage service, data such as the path is often transmitted in plain text, and the access restrictions are highly dependent on the permission management capabilities. For example, the currently logged-in user can only have the permission to access path A, so under normal circumstances, he has no right to access the resources of path B. However, if others maliciously guess and try to find path B, once the token permission rules are broken, the web side's security ability to directly use the database is meaningless.

[0004] Currently, no effective solution has been proposed to address the problem of low security in data interaction between the web and object storage services. Summary of the invention

[0005] Based on this, it is necessary to provide a data processing method, apparatus, system, computer equipment and storage medium to address the above technical issues.

[0006] In a first aspect, the present application provides a data processing method, which is applied to database services. The method comprises:

[0007] Obtaining a data storage request, and determining in a database an original path corresponding to the data storage request;

[0008] The storage processing of the corresponding data is realized through the original path, and the original path is encrypted, and the encryption result is returned to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and splicing the initial character strings with a first verification code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second verification code corresponding to the initial path, and splicing the second verification code with the initial path to obtain a target path.

[0009] In one embodiment, after returning the encryption result to the corresponding user terminal, the method further includes:

[0010] Obtaining a data processing request and a first target path;

[0011] The first target path is segmented to obtain a third verification code and a first initial path, and the first initial path is verified to obtain a first verification result;

[0012] Matching the first verification result with the third check code, and if the match succeeds, segmenting the first initial path to obtain the fourth check code and at least two segments of the first initial character string in the first initial path, and concatenating all the first initial character strings to obtain a second initial character string;

[0013] Performing verification processing on the second initial character string to obtain a second verification result;

[0014] When the second verification result successfully matches the fourth verification code, a modification path corresponding to the data processing request is determined based on the second initial character string, and the data modification operation is completed based on the modification path.

[0015] In one embodiment, the method further comprises:

[0016] In the case where the first verification result fails to match the third verification code, an abnormal indication signal is sent to the user terminal;

[0017] In the case where the second verification result fails to match the fourth verification code, an abnormal indication signal is sent to the user terminal, wherein the first abnormal indication signal is used to indicate a first target path error.

[0018] In one embodiment, obtaining a data storage request and determining in a database an original path corresponding to the data storage request includes:

[0019] Acquire a communication protocol, wherein the communication protocol is constructed by a preset construction module according to a data storage request, and the construction module is connected to a database service;

[0020] An original path corresponding to the data storage request is determined in the database based on the communication protocol.

[0021] In one embodiment, determining an original path corresponding to a data storage request in a database based on a communication protocol includes:

[0022] Obtaining an initial token, wherein the initial token is extracted from the communication protocol by a preset authentication module, and the authentication module is connected to the database service;

[0023] Verify the initial token, and if the verification is successful, parse the initial token to obtain the target permission information, and verify the legitimacy of the communication protocol based on the target permission information;

[0024] After detecting that the legitimacy check has passed, the original path corresponding to the communication protocol is determined, and a target token corresponding to the initial token and the original path is returned to the user end, wherein the target token is used to indicate the access rights of the user end.

[0025] In one embodiment, the storage processing of the corresponding data is implemented through the original path, including:

[0026] Build element information and file information based on communication protocols;

[0027] Based on the element information, file information and target path, it is sent to the database to complete the storage processing.

[0028] In a second aspect, the present application also provides a data processing device. The device includes:

[0029] An acquisition module, used to acquire a data storage request and determine an original path corresponding to the data storage request in a database;

[0030] The computing module is used to implement storage processing of corresponding data through the original path, encrypt the original path, and return the encryption result to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and concatenating the initial character strings with a first check code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second check code corresponding to the initial path, and concatenating the second check code with the initial path to obtain a target path.

[0031] In a third aspect, the present application further provides a data processing system, the system comprising a database and a database service, the database service being connected to the database:

[0032] A database service, used to obtain a data storage request and determine an original path corresponding to the data storage request in the database;

[0033] The database service is also used to implement storage processing of corresponding data through the original path, encrypt the original path, and return the encryption result to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and concatenating the initial character string with a first verification code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second verification code corresponding to the initial path, and concatenating the second verification code with the initial path to obtain a target path.

[0034] In a fourth aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0035] Obtaining a data storage request, and determining in a database an original path corresponding to the data storage request;

[0036] The storage processing of the corresponding data is realized through the original path, and the original path is encrypted, and the encryption result is returned to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and splicing the initial character strings with a first verification code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second verification code corresponding to the initial path, and splicing the second verification code with the initial path to obtain a target path.

[0037] In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0038] Obtaining a data storage request, and determining in a database an original path corresponding to the data storage request;

[0039] The storage processing of the corresponding data is realized through the original path, and the original path is encrypted, and the encryption result is returned to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and splicing the initial character strings with a first verification code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second verification code corresponding to the initial path, and splicing the second verification code with the initial path to obtain a target path.

[0040] The above data processing method, device, system, computer equipment and storage medium first determine the corresponding original path in the database according to the data storage request, and then implement the storage processing of the corresponding data through the original path, and encrypt the original path, and return the encryption result to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain the initial string, and splicing the initial string with the first check code of the original path to obtain the initial path, and then verifying the initial path through a preset verification rule to obtain the second check code, and splicing the second check code with the initial path to obtain the target path. Through the above method, a mapping relationship between the user end and the database is designed, which effectively ensures the security of data interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 An application environment diagram of a data processing method in an embodiment;

[0042] Figure 2 is a flow chart of a data processing method in one embodiment;

[0043] Figure 3 A schematic diagram of a flow chart of a step of requesting authentication in an embodiment;

[0044] Figure 4 A schematic diagram of the structure between a database service and a user terminal in one embodiment;

[0045] Figure 5 is a structural block diagram of a data processing device in one embodiment;

[0046] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] The data processing method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. First, the original path corresponding to the data storage request is determined in the database, and then the storage processing of the corresponding data is realized through the original path, and the original path is encrypted and returned to the corresponding user end, wherein specifically, the encryption processing includes cutting the original path to obtain multiple segments of initial character strings, and splicing the initial character string with the first check code for the original path to obtain the initial path, and the initial path is verified by the preset verification rule to obtain the second check code corresponding to the initial path, and the second check code is spliced ​​with the initial path to obtain the target path. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0049] In one embodiment, Figure 2 As shown, a data processing method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0050] Step S202: obtaining a data storage request, and determining in a database an original path corresponding to the data storage request.

[0051] The data storage request is a storage request sent by the user, which includes corresponding data object information. The data object information is the specific information that the user wants to store. In practical applications, it can be any body content supported by the http protocol. Specifically, the data storage request is mostly an operation to add data to the database. When the database service receives the request sent by the user, it determines the corresponding original path for storage in the database. In this embodiment, the database service and the database are both object storage services, which are services that provide users with massive data storage solutions through network protocols such as http in the cloud, and the object storage service is directly connected to the user, so that the user can directly use the corresponding database.

[0052] Step S204, implement storage processing of corresponding data through the original path, encrypt the original path, and return the encryption result to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and concatenating the initial character strings with a first verification code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second verification code corresponding to the initial path, and concatenating the second verification code with the initial path to obtain a target path.

[0053] Among them, after determining the original path for storage, the database service completes the storage processing of the corresponding data through the original path, encrypts the original path, and returns the encrypted result to the corresponding user end. The encryption processing in this application includes encrypting and cutting the original path to obtain at least two character strings. It can be understood that in this embodiment, the original path is first encrypted based on a preset encryption algorithm to obtain a corresponding key path, and then the key path is cut at least once. Specifically, in some embodiments, a preset random algorithm can be used to determine how to cut the key path. Preferably, when the length of the key path is an even number, the key path can be cut from the middle to obtain two initial character strings, and the first check code is spliced ​​between the two character strings to obtain the above-mentioned initial path. Specifically, the above-mentioned first check code is a check code obtained after the key path is cyclically checked once, which is used to compare with the subsequent check results to detect whether the data is damaged. The cyclic check algorithm can be selected by relevant technical personnel. In some embodiments, crc32 (Cyclic Redundancy Check) can be selected for check processing. Furthermore, in some embodiments, the key path may be cut multiple times, and in addition to adding the first check code to the cut positions, meaningless redundant information, such as the current time, may also be inserted to interfere with decryption.

[0054] Further, after obtaining the initial path, the initial path as a whole can be verified once to obtain a second verification code. It can be understood that in this embodiment, two verification processes are performed to obtain the above-mentioned first verification code and second verification code, respectively. In practical applications, these two verification processes can use the same verification method or different verification methods. After obtaining the second verification code, the second verification code is spliced ​​with the initial path to obtain the above-mentioned target path. It can be understood that in this embodiment, there are no excessive restrictions on the number of verification times and the number of verification codes. Relevant technicians can perform multiple verifications according to actual needs and insert corresponding verification codes to improve the security of the storage path.

[0055] Through step S202 to step S204, unlike the existing B / S architecture (Browser / Server), the present application does not need to complete the data processing operation through an additional server, but completes it through the above database service and the corresponding database, which greatly reduces the technical burden during development and later maintenance, and reduces the cost of enterprise investment. Furthermore, the present embodiment encrypts the original path through a unique data encryption strategy, and then returns it to the corresponding user end, thereby effectively improving the security of data interaction.

[0056] In one embodiment, the method further comprises:

[0057] Obtaining a data processing request and a first target path;

[0058] The first target path is segmented to obtain a third verification code and a first initial path, and the first initial path is verified to obtain a first verification result;

[0059] Matching the first verification result with the third check code, and if the match succeeds, segmenting the first initial path to obtain the fourth check code and at least two segments of the first initial character string in the first initial path, and concatenating all the first initial character strings to obtain a second initial character string;

[0060] Performing verification processing on the second initial character string to obtain a second verification result;

[0061] When the second verification result successfully matches the fourth verification code, a modification path corresponding to the data processing request is determined based on the second initial character string, and the data modification operation is completed based on the modification path.

[0062] Specifically, the above-mentioned data processing request is to process the existing data in the database, such as data modification, data deletion, data query, etc., and its first target path corresponds to the storage path where the data is located, that is, it is obtained after encrypting the storage path. The encryption method is the encryption method described above. It can be understood that in this embodiment, the first target path is returned to the user end by the database service after completing the encryption calculation of the corresponding data storage path.

[0063] After obtaining the first target path, the first target path is segmented to obtain the third verification code and the first initial path, and the first initial path is verified to obtain a first verification result. A person skilled in the art can understand from the present application that the first verification result is a verification code corresponding to the first initial path. If the verification code can be successfully matched with the third verification code, it indicates that the first target path is legal.

[0064] Furthermore, the first initial path is segmented at least once to obtain a fourth check code and multiple segments of the first initial character string, and all the first initial character strings are concatenated in order to obtain a second initial character string, and then the second initial character string is verified to obtain a second verification result. If the second verification result successfully matches the fourth check code, it means that the second initial character string is legal, so that the corresponding modification path can be obtained based on the second initial character string to implement the data processing operation corresponding to the above data processing request. It should be noted that the encryption and decryption processing of the target path is implemented by the above database service. In actual applications, the database service can perform different encryption methods on different data, and can perform decryption processing based on different encryption methods of different data. In this embodiment, after obtaining the encrypted first target path, it can be decrypted according to its encryption method to avoid the potential risks caused by the direct transmission of plaintext data. Furthermore, in this application, the encryption and decryption operations of the data are completed through the database service, which effectively improves the data processing efficiency.

[0065] In one embodiment, the method further comprises:

[0066] In the case where the first verification result fails to match the third verification code, an abnormal indication signal is sent to the user terminal;

[0067] In the case where the second verification result fails to match the fourth verification code, an abnormal indication signal is sent to the user terminal, wherein the abnormal indication signal is used to indicate that the first target path is wrong.

[0068] Specifically, in actual applications, the first verification result may fail to match the third verification code. The most common reason is that others maliciously attempt to forge the access path. Since they do not know the verification rules, they will randomly try and modify the correct data, which may cause the verification code to not match. It is also possible that packet loss occurs during data transmission. For example, 010 is transmitted as 001, resulting in a matching failure. At this time, an abnormal indication signal can be sent to the user end to indicate that the first target path is wrong. Similarly, the reason for the failure of the second verification result to match the fourth verification code is generally the same as the reason for the failure of the first verification result to match the third verification code described above. At this time, an abnormal indication signal is sent to the client to indicate that the first target path is wrong. Through this embodiment, after the first target path is obtained, it can be verified by the verification code contained in the first target path, avoiding the risk of potential data theft and effectively improving the security of data processing.

[0069] In one embodiment, the method further comprises:

[0070] Acquire a communication protocol, wherein the communication protocol is constructed by a preset construction module according to a data storage request, and the construction module is connected to a database service;

[0071] An original path corresponding to the data storage request is determined in the database based on the communication protocol.

[0072] Specifically, the present application also includes a construction module, which is used to construct a communication protocol. In some embodiments, the above construction module can be an SDK (Software Development Kit), and the communication protocol can be an http request, which contains some necessary information, such as a token header (for subsequent authentication), a request body, etc. After the construction is completed, the communication protocol is sent to the database service, and then the database service determines the original path corresponding to it based on the communication protocol. Through the method in this embodiment, the construction module acts as an intermediate layer between the user end and the database service, responsible for constructing the communication protocol, adding authentication information, and sending the communication protocol to the database service, laying the foundation for subsequent data processing.

[0073] In one embodiment, the method further comprises:

[0074] Obtaining an initial token, wherein the initial token is extracted from a data storage request by a preset authentication module, and the authentication module is connected to a database service;

[0075] Verify the initial token, and if the verification passes, parse the initial token to obtain the target permission information, and perform a validity check on the data storage request based on the target permission information;

[0076] After detecting that the legality check has passed, the original path corresponding to the data storage request is determined, and a target token corresponding to the initial token and the original path is returned to the user end, wherein the target token is used to indicate the access rights of the user end.

[0077] Specifically, the present application also includes an authentication module, which is linked to the database service. After obtaining the data storage request, it is necessary to verify its authority, including extracting the initial token from the data storage request. It can be understood that in actual applications, the authentication module is required to extract the initial token from the http format request and submit it to the database service for verification. After receiving the initial token, the database service verifies it. After the verification is passed, the initial token is parsed to obtain the target permission information included therein. It can be understood that in some embodiments, the database service in this application usually corresponds to an OSS service (Object Storage Service), etc. Correspondingly, the target permission information at this time is the OSS service permission information. Finally, the legality check is completed based on the permission information. The legality check can be specifically a method such as JWTtoken. After the legality check is passed, the corresponding ststoken is finally generated. The ststoken is the above-mentioned target token. It can be understood that the ststoken in this application is used to prove the legality of the user terminal. It is different from the existing authentication methods. The existing authentication methods are mostly OAuth 2.0 (authorization protocol), SAML (Security Assertion Markup Language), etc., and the authentication of this application is a combination of the user identity of the currently accessed user terminal and the database access rights. For example, the initial token of the user terminal is "aaa", combined with the path where the data it requests is located, it is designed to only provide access rights under the aaa path to obtain the above-mentioned target token. Figure 3 This is a flow chart of requesting authentication in an embodiment. As shown in the figure, the web terminal first sends a data storage request containing an authentication request, and then the computing service in the authentication module verifies it. If the authentication fails, the failure result is returned to the web terminal. If the authentication succeeds, the database service generates an ststoken and returns the ststoken to the web terminal. Combining the user authentication of the service itself and the path access control of the database service, it can be ensured that different users cannot access and explore other people's data, so as to effectively ensure the security of the data.

[0078] In one embodiment, the method further comprises:

[0079] Build element information and file information based on communication protocols;

[0080] Based on the element information, file information and target path, it is sent to the database to complete the storage processing.

[0081] Specifically, after obtaining the communication protocol, the database service constructs element information and file information through the communication protocol. In some embodiments, the above-mentioned element information can be a meta object, which includes metadata such as the user information that initiated the request and the request time. The above-mentioned file information can be a blob object, that is, the request body information in the submitted communication protocol is processed into a blob object, and the blob object is associated with the meta object, that is, the above-mentioned element information is associated with the file information, and finally the storage processing is completed based on the element information, file information and target path.

[0082] This embodiment also provides a preferred embodiment of a data processing method.

[0083] Figure 4 The schematic diagram of the structure between the database service and the user end in one embodiment. First, this embodiment takes the OSS database service as an example. The OSS database service encrypts the original path according to the acquired data storage request. Specifically, after receiving the data storage request sent by the web end, the SDK module authenticates it according to the authentication module. If the authentication is passed, the corresponding communication protocol is generated based on the data storage request, and the communication protocol is sent to the database service module. The database service constructs the corresponding element information and file information, and then determines the corresponding original path for the data storage request.

[0084] Based on the original path, the mapping with the OSS server path is performed. Specifically, the database service is based on the original path for one encryption. The encryption method can be selected according to actual needs. In this embodiment, a string of 256-bit keys, an initialization vector and a counter stored on the database server can be combined with the above original path to obtain the key A through the chacha20 algorithm. Then, the key A is further calculated by crc32 to obtain the verification bit B, which is the above first verification code. The key A (whose length is an even number) is cut from the middle to obtain the left string C and the right string D, which are at least two initial strings described above, and the verification bit B is inserted between C and D, and spliced ​​to construct a new string E, which is the initial path described above. Then, the string E is calculated by crc32 to obtain the verification bit F, which is the second verification code described above, and E and F are spliced ​​to obtain the above target path, and the target path is returned to the corresponding user end, and the data storage processing is completed based on the target path, the above element information, and the file information.

[0085] For the subsequent data processing part, specifically, the database service performs corresponding data processing according to the received first target path. The SDK receives the first target path and the corresponding data processing request. It can be understood that the data processing request includes data modification, deletion, query, etc., wherein, for data modification processing, the data processing request also includes its corresponding data object. Then, the SDK module constructs the header, body and other information of the http request according to the authentication information, system status information and other components in the data processing request, and sends the http request to the database service. Then, the database service parses the http request, obtains the authentication information, and further determines whether the request is legal based on the authentication information.

[0086] On the basis of the legality of the request, the database service constructs the meta object and signature information according to the header, converts the body into a blob object, and maps the first target path to the OSS path, including cutting the first target path to obtain the corresponding long string a and verification bit b, and further, performing CRC32 calculation on a. If the result is the same as the verification bit b, it passes the first verification, and then performs a second cutting on the string a, taking the middle character (the length of the string a is technology) to obtain the left long string c, the middle character d and the right long string e, where c and e are spliced ​​to obtain f, and CRC32 verification is performed on f. If the result is d, it passes the second verification. After passing the two verifications, use f and a string of 256-bit keys stored on the server, an initialization vector and a counter to perform the inverse operation of the ChaCha algorithm to obtain the plaintext path, which is the original path described above.

[0087] Finally, the database service submits the signature, the constructed meta object, the blob object as the body, and the original path as the actual storage path to the data storage end to complete the data processing.

[0088] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0089] Based on the same inventive concept, the embodiment of the present application also provides a data processing device for implementing the data processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more data processing device embodiments provided below can refer to the limitations on the data processing method above, and will not be repeated here.

[0090] In one embodiment, Figure 5 As shown, a data processing device is provided, including: an acquisition module 51 and a calculation module 52, wherein:

[0091] An acquisition module 51 is used to acquire a data storage request and determine an original path corresponding to the data storage request in a database;

[0092] The calculation module 52 implements storage processing of corresponding data through the original path, encrypts the original path, and returns the encryption result to the corresponding user end, wherein the encryption processing includes cutting the original path to obtain at least two initial character strings, and concatenating the initial character strings with a first check code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second check code corresponding to the initial path, and concatenating the second check code with the initial path to obtain a target path.

[0093] Specifically, the acquisition module 51 acquires the data storage request and determines the original path corresponding to the data storage request in the database. It can be understood that the original path is a plain text path, which is used to indicate the storage location of the data. Then the acquisition module 51 sends the original path to the calculation module 52. The calculation module 52 implements the storage processing of the corresponding data through the original path, and encrypts the original path, and returns the encryption result directly to the corresponding user end. Specifically, the encryption process includes cutting the original path to obtain at least two initial character strings, and splicing the initial character string with the first check code to obtain the initial path. The specific splicing position of the first check code can be determined by the actual situation. Then the initial path is verified by the preset verification rule to obtain the second check code, and the second check code is spliced ​​with the initial path to obtain the target path. The target path is the above-mentioned encryption result, that is, the encrypted target path is returned to the user end.

[0094] Each module in the above data processing device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0095] In one embodiment, a data processing system is provided, the system comprising a database and a database service, the database service being connected to the database:

[0096] A database service, used to obtain a data storage request and determine an original path corresponding to the data storage request in the database;

[0097] The database service is also used to implement storage processing of corresponding data through the original path, encrypt the original path, and return the encryption result to the corresponding user end, wherein the encryption processing includes cutting the original path to obtain at least two initial character strings, and concatenating the initial character strings with a first verification code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second verification code corresponding to the initial path, and concatenating the second verification code with the initial path to obtain a target path.

[0098] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data processing method is implemented.

[0099] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0100] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0101] Obtaining a data storage request, and determining in a database an original path corresponding to the data storage request;

[0102] The storage processing of the corresponding data is realized through the original path, and the original path is encrypted, and the encryption result is returned to the corresponding user end, wherein the encryption processing includes cutting the original path to obtain at least two initial character strings, and concatenating the initial character strings with a first verification code for the original path to obtain an initial path; the initial path is verified by a preset verification rule to obtain a second verification code corresponding to the initial path, and the second verification code is concatenated with the initial path to obtain a target path.

[0103] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0104] Obtaining a data storage request, and determining in a database an original path corresponding to the data storage request;

[0105] The storage processing of the corresponding data is realized through the original path, and the original path is encrypted, and the encryption result is returned to the corresponding user end, wherein the encryption processing includes cutting the original path to obtain at least two initial character strings, and concatenating the initial character strings with a first verification code for the original path to obtain an initial path; the initial path is verified by a preset verification rule to obtain a second verification code corresponding to the initial path, and the second verification code is concatenated with the initial path to obtain a target path.

[0106] 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, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0107] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0108] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.

[0109] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data processing method, characterized in that: Applied to database services, the method comprises: Obtaining a data storage request, and determining in the database an original path corresponding to the data storage request; The storage processing of the corresponding data is realized through the original path, and the original path is encrypted, and the encryption result is returned to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and splicing the initial character string with a first check code for the original path to obtain an initial path; verifying the initial path through a preset verification rule to obtain a second check code corresponding to the initial path, and splicing the second check code with the initial path to obtain a target path.

2. The method according to claim 1, characterized in that After returning the encryption result to the corresponding user terminal, the method further includes: Obtaining a data processing request and a first target path; Performing segmentation processing on the first target path to obtain a third verification code and a first initial path, and performing verification processing on the first initial path to obtain a first verification result; Matching the first verification result with the third check code, and if the match succeeds, segmenting the first initial path to obtain a fourth check code and at least two segments of the first initial character string in the first initial path, and concatenating all the first initial character strings to obtain a second initial character string; Performing verification processing on the second initial character string to obtain a second verification result; When the second verification result successfully matches the fourth verification code, a modification path corresponding to the data processing request is determined based on the second initial character string, and the data modification operation is completed based on the modification path.

3. The method according to claim 2, characterized in that The method further comprises: When the first verification result fails to match the third verification code, sending an abnormal indication signal to the user terminal; In the case where the second verification result fails to match the fourth verification code, the abnormal indication signal is sent to the user terminal, wherein the abnormal indication signal is used to indicate that the first target path is wrong.

4. The method according to claim 1, characterized in that The obtaining of the data storage request and determining in the database an original path corresponding to the data storage request includes: Acquire a communication protocol, wherein the communication protocol is constructed by a preset construction module according to the data storage request, and the construction module is connected to the database service; An original path corresponding to the data storage request is determined in the database based on the communication protocol.

5. The method according to claim 4, characterized in that Determining the original path corresponding to the data storage request in the database based on the communication protocol includes: Obtaining an initial token, wherein the initial token is extracted from the communication protocol by a preset authentication module, and the authentication module is connected to the database service; Verifying the initial token, parsing the initial token if the verification is successful, obtaining target authority information, and verifying the legitimacy of the communication protocol based on the target authority information; After detecting that the legitimacy check has passed, the original path corresponding to the communication protocol is determined, and a target token corresponding to the initial token and the original path is returned to the user terminal, wherein the target token is used to indicate the access rights of the user terminal.

6. The method according to claim 4, characterized in that The storing and processing of the corresponding data is realized through the original path, including: Constructing element information and file information based on the communication protocol; The element information, the file information and the target path are sent to the database to complete the storage process.

7. A data processing device, characterized in that: The device comprises an acquisition module and a calculation module; The acquisition module is used to acquire a data storage request and determine an original path corresponding to the data storage request in a database; The calculation module is used to implement storage processing of corresponding data through the original path, encrypt the original path, and return the encryption result to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and splicing the initial character string with a first check code for the original path to obtain an initial path; verifying the initial path according to a preset verification rule to obtain a second check code corresponding to the initial path, and splicing the second check code with the initial path to obtain a target path.

8. A data processing system, characterized in that: The system includes a database and a database service, wherein the database service is connected to the database: The database service is used to obtain a data storage request and determine in the database an original path corresponding to the data storage request; The database service is also used to implement storage processing of corresponding data through the original path, process the original path, and return the encryption result to the corresponding user end, wherein the encryption processing includes encrypting and cutting the original path to obtain at least two initial character strings, and concatenating the initial character string with a first check code for the original path to obtain an initial path; verifying the initial path through a preset check rule to obtain a second check code corresponding to the initial path, and concatenating the second check code with the initial path to obtain a target path.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.