User credit information transfer method, device, electronic device, and medium
By utilizing user identification field information and warning information generation in the process of user credit information flow, the number of interfaces is reduced, the problem of computing resource waste and time consumption in the process of user credit information flow is solved, and efficient information flow is achieved.
Patent Information
- Application Number
- CN202411965704.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2044-12-30
AI Technical Summary
In the existing technology, a large number of interfaces need to be developed when user credit information flows, resulting in a waste of computing resources and excessive time consumption.
By responding to acquisition requests, sending user identification field information, performing mapping processing and warning information generation, combining and updating field information, and deploying preset interface information, the number of interfaces and waste of computing resources are reduced.
It reduces the number of development interfaces, saves computing resources and time, and improves the efficiency of user credit information flow.
Smart Images

Figure CN119887371B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and more particularly to a method, device, electronic device, and medium for transferring user credit information. Background Art
[0002] Upon receiving a request from a user credit information acquisition server to acquire user credit information, the user credit information stored in the user credit information storage server (data source) is sent to the user credit information acquisition server to circulate the user credit information. Currently, the common method for circulating user credit information is as follows: each time a request from a user credit information acquisition server to acquire user credit information is detected, the server first acquires the user credit information from the user credit information storage server, then creates an interface corresponding to the acquired user credit information, and then the server can only acquire the user credit information through the interface corresponding to the user credit information to circulate the user credit information.
[0003] However, in practice, it is found that when the above method is used to circulate user credit information, the following technical problems often occur:
[0004] When a user credit information acquisition server wants to obtain a large amount of user credit information, it needs to develop an interface corresponding to each user credit information, resulting in a large number of interfaces being developed, a large amount of computing resources being wasted in developing the interfaces, and a long time being spent on developing the interfaces, resulting in a long time being spent on circulating the user credit information.
[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the Invention
[0006] The content of this disclosure is used to briefly introduce concepts that will be described in detail in the detailed description section below. The content of this disclosure is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0007] Some embodiments of the present disclosure propose a method, apparatus, electronic device, and computer-readable medium for transferring user credit information to solve one or more of the technical problems mentioned in the above background technology section.
[0008] In a first aspect, some embodiments of the present disclosure provide a method for transferring user credit information, the method comprising: in response to detecting acquisition request information of a target user from a user credit information acquisition server, sending the acquisition request information of the target user to a user credit information storage server; in response to receiving user identification field information corresponding to the target user sent by the user credit information storage server, acquiring user credit information corresponding to the target user from the user credit information storage server according to the user identification field information and target interface information corresponding to the user credit information storage server; performing mapping processing on the acquired user credit information to obtain the mapped user credit information as target user credit information; generating user warning information corresponding to the target user credit information according to the target user credit information; and updating each user field information corresponding to the target user according to the user warning information. The method comprises the following steps: wherein each of the user field information includes field information representing a user identifier; in response to determining that the interface information corresponding to the user credit information acquisition server is not deployed, combining the updated user field information, preset change field information and each preset user field information to obtain a field information set; deploying the above field information set and the preset data acquisition interface information corresponding to the target user credit information; sending the user identifier field information corresponding to the target user to the user credit information acquisition server; in response to detecting an assignment operation of the preset change field information of the preset data acquisition interface information by the user credit information acquisition server, using the preset change field information after the assignment process as the interface parameter information of the preset data acquisition interface information, calling the preset data acquisition interface information to send the target user credit information corresponding to the preset change field information after the assignment process to the user credit information acquisition server.
[0009] In a second aspect, some embodiments of the present disclosure provide a user credit information circulation device, comprising: a first sending unit, configured to, in response to detecting acquisition request information of a user credit information acquisition server for a target user, send the acquisition request information of the target user to a user credit information storage server; an acquisition unit, configured to, in response to receiving user identification field information corresponding to the target user sent by the user credit information storage server, acquire user credit information corresponding to the target user from the user credit information storage server according to the user identification field information and target interface information corresponding to the user credit information storage server; a mapping unit, configured to perform mapping processing on the acquired user credit information, and obtain the mapped user credit information as target user credit information; a generating unit, configured to generate user warning information corresponding to the target user credit information according to the target user credit information; an updating unit, configured to perform mapping processing on each user field information corresponding to the target user according to the user warning information. Update processing, wherein the above-mentioned various user field information includes field information representing the user identifier; a combining unit is configured to, in response to determining that the interface information corresponding to the above-mentioned user credit information acquisition server has not been deployed, combine the various user field information after the update processing, the preset change field information and the various preset user field information to obtain a field information set; a deployment unit is configured to deploy the above-mentioned field information set and the preset data acquisition interface information corresponding to the above-mentioned target user credit information; a second sending unit is configured to send the user identifier field information corresponding to the above-mentioned target user to the above-mentioned user credit information acquisition server; a calling unit is configured to, in response to detecting the assignment operation of the above-mentioned user credit information acquisition server on the preset change field information of the above-mentioned preset data acquisition interface information, use the preset change field information after the assignment processing as the interface parameter information of the above-mentioned preset data acquisition interface information, and call the above-mentioned preset data acquisition interface information to send the target user credit information corresponding to the preset change field information after the assignment processing to the above-mentioned user credit information acquisition server.
[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement the method described in any implementation of the first aspect above.
[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method described in any one of the implementations of the first or second aspect above is implemented.
[0012] The above-described various embodiments of the present disclosure have the following beneficial effects: A user credit information transfer method according to some embodiments of the present disclosure can reduce the number of interfaces to be developed, reduce the computing resources wasted in interface development, and shorten the time required for interface development. The large number of interfaces to be developed, the significant computing resources wasted in interface development, and the long time required for interface development are caused by the fact that when a user credit information acquisition server needs to acquire a large amount of user credit information, it needs to develop an interface corresponding to each piece of user credit information. This results in a large number of interfaces to be developed, a significant computing resource waste in interface development, and a long interface development time, which in turn leads to a long time required for transferring user credit information. Based on this, the user credit information transfer method according to some embodiments of the present disclosure first, in response to detecting a request from the user credit information acquisition server for user credit information of a target user, sends the target user's acquisition request information to a user credit information storage server. This can be used to acquire user identification field information corresponding to the target user. Then, in response to receiving the user identification field information corresponding to the target user from the user credit information storage server, the user credit information corresponding to the target user is retrieved from the user credit information storage server based on the user identification field information and the target interface information corresponding to the user credit information storage server. This allows the user credit information of the target user to be retrieved by the user credit information retrieval server to be obtained. Thereafter, mapping processing is performed on the retrieved user credit information to obtain the mapped user credit information as the target user credit information. This allows the mapped user credit information to be obtained. Next, user warning information corresponding to the target user credit information is generated based on the target user credit information. This allows the warning information corresponding to the target user credit information to be obtained and can be used to issue a warning regarding the target user credit information. Next, based on the user warning information, each user field information corresponding to the target user is updated, wherein each user field information includes field information representing the user identification. This allows the fields corresponding to the user warning information to be added to the each user field information corresponding to the target user credit information. Then, in response to determining that the interface information corresponding to the user credit information acquisition server has not been deployed, the updated user field information, the preset changed field information, and the preset user field information are combined to obtain a field information set. This yields a field information set corresponding to the target user. Next, the field information set and the preset data acquisition interface information corresponding to the target user credit information are deployed. This allows the deployment of an interface corresponding to the user credit information acquisition server, allowing the user credit information acquisition server to obtain information about the target user.Afterwards, the user identification field information corresponding to the target user is sent to the user credit information acquisition server. Thus, the user credit information acquisition server can obtain the user credit information identifier corresponding to the target user. Finally, in response to detecting the user credit information acquisition server's assignment operation to the preset change field information of the preset data acquisition interface information, the preset change field information after the assignment process is used as the interface parameter information of the preset data acquisition interface information, and the preset data acquisition interface information is called to send the target user credit information corresponding to the preset change field information after the assignment process to the user credit information acquisition server. Thus, the target user credit information corresponding to the target user can be sent to the user credit information acquisition server via the interface parameter information. Also, when circulating user credit information, the user identification field information of the user credit information to be obtained is determined as the parameter value of the preset change field information in the interface, and the preset change field information after the assignment is used as the parameter information of the interface for obtaining the user credit information. In this way, the user credit information to be obtained can be obtained to circulate the user credit information, instead of the user credit information acquisition server acquiring the user credit information of each user by developing a new interface, and deploying the interface corresponding to the above-mentioned user credit information acquisition server when the interface corresponding to the above-mentioned user credit information acquisition server is not deployed. Therefore, only one interface corresponding to the above-mentioned user credit information acquisition server is deployed for circulating user credit information, and there is no need to deploy an interface for the user credit information of each user, thereby reducing the number of developed interfaces, reducing the computing resources wasted in developing interfaces, and shortening the time spent on developing interfaces. Furthermore, because the deployed preset data acquisition interface information includes various preset user field information (reserved fields), when the user credit information acquisition server again acquires the user credit information from the user credit information storage server, it only needs to configure the preset user field information (reserved fields) included in the deployed preset data acquisition interface information to the user field information corresponding to the newly acquired user credit information, without having to redevelop an interface corresponding to the newly acquired user credit information. Furthermore, because both the method of acquiring user credit information from the aforementioned user credit information storage server and the method of acquiring user credit information from the aforementioned user credit information acquisition server are acquired through an API interface, the time required to acquire user credit information from the user credit information storage server is shortened, and the number of interfaces required to be developed is reduced. This further reduces the number of interfaces developed, the time required to develop interfaces, and the time required to circulate user credit information. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0014] Figure 1 is a flow chart of some embodiments of the user credit information transfer method according to the present disclosure;
[0015] Figure 2 is a schematic structural diagram of some embodiments of the user credit information transfer device according to the present disclosure;
[0016] Figure 3 It is a structural diagram of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0018] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.
[0019] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0020] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0021] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0022] With regard to the collection, storage, and use of user personal information (such as user credit information and user ID number) involved in this disclosure, before performing the corresponding operations, the relevant organizations or individuals shall fulfill their obligations, including conducting personal information security impact assessments, fulfilling the obligation to inform the personal information subject, and obtaining the authorization and consent of the personal information subject in advance.
[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0024] Figure 1 The process 100 of some embodiments of the user credit information transfer method according to the present disclosure is shown. The user credit information transfer method includes the following steps:
[0025] Step 101 : in response to detecting a user credit information acquisition server's acquisition request information for a target user's user credit information, sending the target user's acquisition request information to a user credit information storage server.
[0026] In some embodiments, in response to detecting a request from a user credit information acquisition server for a target user's user credit information, the execution entity (e.g., a computing device) of the user credit information transfer method may send the target user's acquisition request to a user credit information storage server. The user credit information acquisition server may represent a server that acquires the target user's user credit information. The target user may be any user. For example, the user credit information acquisition server may be a server of a financial institution, and the user credit information acquisition server may determine whether to grant a loan to the user based on the acquired user credit information. The acquisition request may represent a request to acquire the target user's user credit information. For example, the acquisition request may include: "Obtain the user credit information of the target user with ID number xxxx." The user credit information may represent the target user's credit score. For example, the user credit information may be 60 points. The user credit information storage server (data source server) may be a server that stores the target user's user credit information. In practice, the execution entity may send the target user's acquisition request to the user credit information storage server based on the IP address of the user credit information storage server.
[0027] It should be noted that the user credit information acquisition server can request to obtain the user credit information of multiple target users each time. The method of obtaining the user credit information of multiple target users is the same as that of obtaining the user credit information of one target user. Here, obtaining the user credit information of one target user is only used as an example.
[0028] Step 102: In response to receiving the user identification field information of the corresponding target user sent by the user credit information storage server, obtain the user credit information of the corresponding target user from the user credit information storage server according to the user identification field information and the target interface information of the corresponding user credit information storage server.
[0029] In some embodiments, in response to receiving user identification field information corresponding to the target user from the user credit information storage server, the execution entity may obtain the user credit information corresponding to the target user from the user credit information storage server based on the user identification field information and target interface information corresponding to the user credit information storage server. The user identification field information may represent an identification field corresponding to the target user. For example, the user identification field information may represent an ID number. The target interface information may be an API interface for obtaining user credit information from the user credit information storage server.
[0030] In some optional implementations of some embodiments, in response to receiving the user identification field information corresponding to the target user sent by the user credit information storage server, the execution entity may obtain the user credit information corresponding to the target user from the user credit information storage server according to the user identification field information and the target interface information corresponding to the user credit information storage server through the following steps:
[0031] The first step is to determine the target preset change field information corresponding to the above target interface information from the preset interface document information. The above preset interface document information may be an API document corresponding to the above target interface information. The above target preset change field information may represent a field used to call the corresponding target interface information. In practice, the above execution entity may determine the special input parameter field included in the above preset interface document information as the target preset change field information corresponding to the above target interface information.
[0032] The second step is to determine the user identification field information as parameter value information corresponding to the target preset change field information, so as to assign a value to the target preset change field information to obtain the target preset change field information after the assignment process.
[0033] The third step is to use the target preset changed field information after the assignment process as the interface parameter information corresponding to the target interface information, call the target interface information, and obtain the user credit information corresponding to the user identification field information. The interface parameter information can represent the interface parameters for calling the target interface information. In practice, the execution entity can use the target preset changed field information after the assignment process as the interface parameter information corresponding to the target interface information, call the API interface corresponding to the target interface information, and obtain the user credit information corresponding to the user identification field information.
[0034] Step 103: Mapping the acquired user credit information to obtain the mapped user credit information as target user credit information.
[0035] In some embodiments, the execution entity may perform mapping processing on the acquired user credit information to obtain the mapped user credit information as the target user credit information. The target user credit information may represent the user credit information after field mapping and code value mapping.
[0036] In some optional implementations of some embodiments, the execution entity may perform mapping processing on the acquired user credit information through the following steps to obtain the mapped user credit information as the target user credit information:
[0037] The first step is to perform field mapping on the acquired user credit information to obtain the user credit information after field mapping. In practice, the execution entity can perform field mapping on the acquired user credit information using a field mapping tool to obtain the user credit information after field mapping. For example, the field mapping tool can be Pentaho Kettle.
[0038] The second step is to perform code-value mapping on the user credit information after field mapping, obtaining the code-value mapped user credit information as the target user credit information. In practice, the execution entity can perform code-value mapping on the user credit information after field mapping using a code-value mapping tool. For example, the code-value mapping tool can be MapStruct.
[0039] Step 104: Generate user warning information corresponding to the target user's credit information based on the target user's credit information.
[0040] In some embodiments, the execution entity may generate user warning information corresponding to the target user's credit information based on the target user's credit information, wherein the user warning information may represent prompt information for risk warning of the target user's credit information.
[0041] In the process of adopting technical solutions to solve the above technical problems, the following technical problems are often accompanied: the user credit information stored in the user credit information storage server is directly transferred to the user credit information acquisition server, the user credit information is not subjected to early warning processing, and early warning information corresponding to the user credit information is not generated, resulting in the user credit information acquisition server taking time to detect the early warning information of the user credit information after obtaining the user credit information, resulting in a poor user experience. In response to the above technical problem 2, the conventional solution is generally: determine the early warning information corresponding to the user credit information through a document on the correspondence between the user credit information and the early warning information written by manual experience. The inventors took into account the shortcomings of determining the early warning information corresponding to the user credit information through a document on the correspondence between the user credit information and the early warning information written by manual experience, and combined with the advantages of the inventor's company in machine learning, we decided to adopt the following solution:
[0042] In some optional implementations of some embodiments, the execution entity may generate user warning information corresponding to the target user's credit information according to the target user's credit information through the following steps:
[0043] The first step is to determine the user identification field information corresponding to the target user's credit information as the target user identification field information.
[0044] The second step is to obtain a set of historical user credit information corresponding to the target user identification field information according to a preset time period. The preset time period may be the first quarter of 2023 to the first quarter of 2024. The historical user credit information in the historical user credit information set may correspond to the quarter in the preset time period. The historical user credit information in the historical user credit information set may represent the user credit information of the target user in this quarter. In practice, the execution entity may obtain each piece of historical user credit information corresponding to the target user identification field information from the preset historical user credit information set. Then, the each piece of historical user credit information corresponding to the preset time period in the obtained each piece of historical user credit information is determined as the historical user credit information set. The preset historical user credit information set may represent each piece of historical user credit information corresponding to each target user identification field information.
[0045] The third step is to perform missing value checking on the historical user credit information set to obtain verification result information corresponding to the historical user credit information set. The verification result information may indicate whether the historical user credit information set contains missing values. In practice, the execution entity may perform missing value checking on the historical user credit information set using the isnull() and notnull() functions in the Pandas library to obtain verification result information corresponding to the historical user credit information set.
[0046] In a fourth step, in response to determining that the verification result information satisfies a preset missing value condition, initial filling processing is performed on the historical user credit information set to obtain a historical user credit information set after initial filling processing. The preset missing value condition may be that the verification result information indicates that the historical user credit information set contains missing values. In practice, the execution entity may perform initial filling processing on the historical user credit information set using an average ratio method to obtain a historical user credit information set after initial filling processing.
[0047] In the fifth step, a deep filling process is performed on the historical user credit information set after the initial filling process, and the deep filling historical user credit information set is obtained as the target historical user credit information set. In practice, the execution entity may perform a deep filling process on the historical user credit information set after the initial filling process using a deep filling algorithm, and obtain the deep filling historical user credit information set as the target historical user credit information set. For example, the deep filling algorithm may be a fuzzy C-means clustering algorithm.
[0048] Step 6: Based on the target historical user credit information set, determine the growth change information and quarterly change information corresponding to the target historical user credit information set. The growth change information may represent the growth rate of the target historical user credit information set. The quarterly change information may include differences in the credit information of each historical user. The difference in the historical user credit information may represent the difference between the credit information of each historical user between two adjacent quarters.
[0049] In the seventh step, the target user credit information, the growth change information, and the quarterly change information are input into a pre-trained risk information generation model to obtain the risk information corresponding to the target user credit information. The risk information can represent the risk corresponding to the target user credit information. For example, the risk information can be 80%. The pre-trained risk information generation model can be a model that takes the target user credit information, growth change information, and quarterly change information as input and takes the risk information as output. For example, the risk information generation model can be a recurrent neural network model. It should be noted that the pre-trained risk information generation model can be trained using the labeled credit information, labeled growth change information, labeled quarterly change information, and labeled risk information corresponding to each user. The risk information generation model can be trained using a batch training method.
[0050] Step 8: Determine the preset value object warning level information corresponding to the risk information based on the preset value object warning level information set. The preset value object warning level information in the preset value object warning level information set may represent the correspondence between the risk level of the risk information and the risk information. In practice, the execution entity may determine the preset value object warning level information corresponding to the risk information if the risk information included in the preset value object warning level information set is the same as the risk information.
[0051] In the ninth step, the preset value object warning level information and the risk information are determined as user warning information corresponding to the target user credit information.
[0052] The above-described technical solution, as an inventive feature of an embodiment of the present disclosure, solves the technical problem that "after acquiring user credit information, the user credit information acquisition server needs to spend time detecting warning information about the user credit information, resulting in a poor user experience." Factors that contribute to the poor user experience of user credit information acquired by the user credit information acquisition server are often as follows: directly transferring user credit information stored in a user credit information storage server to the user credit information acquisition server, failing to perform warning processing on the user credit information, and failing to generate warning information corresponding to the user credit information. If these factors are resolved, the user experience can be improved. To achieve this, the present disclosure generates warning information corresponding to the user credit information based on the user credit information and the credibility information of the value objects included in the user credit information. Furthermore, when the user credit information acquisition server acquires the user credit information, the warning information corresponding to the user credit information is sent to the user credit information acquisition server, thereby enabling the user credit information acquisition server to perform warning processing on the user credit information. Consequently, the user credit information acquisition server does not need to detect warning information for the user credit information again after acquiring the user credit information, thereby improving the user experience.
[0053] Step 105: Update the user field information corresponding to the target user according to the user warning information.
[0054] In some embodiments, the execution entity may update the user field information corresponding to the target user based on the user warning information. The user field information may include field information representing a user identifier. The user field information may represent interface input parameter fields corresponding to the target user's creditworthiness information.
[0055] In some optional implementations of some embodiments, the execution entity may update the user field information corresponding to the target user according to the user warning information through the following steps:
[0056] The first step is to generate keyword information corresponding to the user warning information as target keyword information based on the user warning information. The target keyword information may be a keyword representing the user warning information. For example, the target keyword may be risk level. In practice, the execution entity may detect and process the user warning information using the TF-IDF method to obtain the keyword corresponding to the user warning information.
[0057] The second step is to update the user field information corresponding to the target user's credit information according to the target keyword information.
[0058] In some optional implementations of some embodiments, the execution entity may update the user field information corresponding to the target user's credit information according to the target keyword information through the following steps:
[0059] The first step is to determine the target keyword information as the target field information corresponding to the user warning information, wherein the target field information may represent the interface input parameter field corresponding to the user warning information.
[0060] The second step is to add the target field information as user field information to each user field information corresponding to the target user credit information, so as to update each user field information.
[0061] Step 106 , in response to determining that the interface information of the corresponding user credit information acquisition server is not deployed, combining the updated user field information, the preset changed field information and the preset user field information to obtain a field information set.
[0062] In some embodiments, in response to determining that the interface information corresponding to the above-mentioned user credit information acquisition server has not been deployed, the above-mentioned execution entity can combine the updated user field information, preset change field information and each preset user field information to obtain a field information set.
[0063] In some optional implementations of some embodiments, the execution entity may combine the updated user field information, the preset changed field information, and the preset user field information to obtain a field information set through the following steps:
[0064] In the first step, each updated user field information is determined as a user field information set.
[0065] The second step is to delete the user field information representing the user identifier in the above user field information set.
[0066] The third step is to perform redundancy elimination on the deleted user field information set, obtaining the redundancy eliminated user field information set as a field information set. In practice, first, the execution entity may identify identical individual field information in the field information set as field information groups to obtain individual field information groups. Then, for each of the individual field information groups, the execution entity may retain any one piece of field information in the field information group and then delete the remaining individual pieces of field information in the field information group to obtain a field information group that satisfies a preset quantity condition. The preset quantity condition may be that the number of field information in the field information group is 1.
[0067] In the fourth step, the preset change field information is added as field information and the preset user field information is added as individual field information to the field information set to obtain a field information set corresponding to the user credit information.
[0068] It should be noted that the situation where the interface information corresponding to the user credit information acquisition server has not been deployed represents the first deployment of the interface information corresponding to the user credit information acquisition server, and is the first time the user credit information transfer operation is being performed. If the interface information corresponding to the user credit information acquisition server has already been deployed, there is no need to redeploy the interface. Instead, the preset user field information (reserved field) included in the deployed preset data acquisition interface information only needs to be configured as the user field information corresponding to the acquired user credit information. This will enable the transfer of user credit information, thereby reducing the number of developed interfaces and reducing the waste of development resources.
[0069] Step 107: deploy and process the preset data acquisition interface information corresponding to the field information set and the target user's credit information.
[0070] In some embodiments, the execution entity may deploy and process the preset data acquisition interface information corresponding to the field information set and the target user's credit information. The preset data acquisition interface information may include an API interface for feeding back the target user's credit information to the target user's credit information acquisition server and an API interface for the target user's credit information acquisition server to obtain the target user's credit information. In practice, the execution entity may deploy and process the preset data acquisition interface information using an interface automation deployment tool. For example, the interface automation tool may be Jenkins.
[0071] Step 108: Send the user identification field information corresponding to the target user to the user credit information acquisition server.
[0072] In some embodiments, the execution entity may send the user identification field information corresponding to the target user to the user credit information acquisition server. In practice, the execution entity may send the user identification field information corresponding to the target user to the user credit information acquisition server based on the IP address of the user credit information acquisition server.
[0073] Step 109, in response to detecting the assignment operation of the user credit information acquisition server to the preset change field information of the preset data acquisition interface information, the preset change field information after the assignment processing is used as the interface parameter information of the preset data acquisition interface information, and the preset data acquisition interface information is called to send the target user credit information corresponding to the preset change field information after the assignment processing to the user credit information acquisition server.
[0074] In some embodiments, in response to detecting the user credit information acquisition server assigning a value to the preset change field information of the preset data acquisition interface information, the execution entity may use the assigned preset change field information as the interface parameter information of the preset data acquisition interface information, and call the preset data acquisition interface information to send the target user credit information corresponding to the assigned preset change field information to the user credit information acquisition server. In practice, the execution entity may call the preset data acquisition interface information based on the user field information assigned by the user credit information acquisition server to the preset change field information of the preset data acquisition interface information. The assigned user field information represents the user identifier.
[0075] Optionally, in response to detecting the value consumption information of the user credit information storage server for the user credit information acquisition server, the value consumption information corresponding to the user credit information acquisition server is determined based on the number of times the user credit information acquisition server successfully calls the preset data acquisition interface information. The value consumption information may represent the value consumed by the user credit information acquisition server to obtain each piece of user credit information from the user credit information storage server. For example, the value consumption information may include: "Number of times: 10 times, value: 1,000 yuan." In practice, the execution entity may determine the value consumption information corresponding to the number of times information from a table of correspondences between number of times information and value consumption information. The table of correspondences between number of times information and value consumption information may represent the correspondence between number of times information and value information. Thus, the value consumption information corresponding to the user credit information acquisition server may be obtained based on the number of times the user credit information acquisition server calls the preset data acquisition interface information.
[0076] The above-mentioned embodiments of the present disclosure have the following beneficial effects: A user credit information transfer method according to some embodiments of the present disclosure can reduce the number of interfaces to be developed, reduce the computing resources wasted in interface development, and shorten the time required for interface development. The large number of interfaces to be developed, the significant computing resources wasted in interface development, and the long interface development time required are due to the fact that when a user credit information acquisition server needs to acquire a large amount of user credit information, it needs to develop an interface corresponding to each piece of user credit information. This results in a large number of interfaces to be developed, a significant computing resource waste, and a long interface development time, which in turn leads to a long time required to transfer user credit information. Based on this, the user credit information transfer method according to some embodiments of the present disclosure first, in response to detecting a request from the user credit information acquisition server for user credit information of a target user, sends the target user's acquisition request information to a user credit information storage server. This can be used to acquire user identification field information corresponding to the target user. Then, in response to receiving the user identification field information corresponding to the target user from the user credit information storage server, the user credit information corresponding to the target user is retrieved from the user credit information storage server based on the user identification field information and the target interface information corresponding to the user credit information storage server. This allows the user credit information of the target user to be retrieved by the user credit information retrieval server to be obtained. Thereafter, mapping processing is performed on the retrieved user credit information to obtain the mapped user credit information as the target user credit information. This allows the mapped user credit information to be obtained. Next, user warning information corresponding to the target user credit information is generated based on the target user credit information. This allows the warning information corresponding to the target user credit information to be obtained and can be used to issue a warning regarding the target user credit information. Next, based on the user warning information, each user field information corresponding to the target user is updated, wherein each user field information includes field information representing the user identification. This allows the fields corresponding to the user warning information to be added to the each user field information corresponding to the target user credit information. Then, in response to determining that the interface information corresponding to the user credit information acquisition server has not been deployed, the updated user field information, the preset changed field information, and the preset user field information are combined to obtain a field information set. This yields a field information set corresponding to the target user. Next, the field information set and the preset data acquisition interface information corresponding to the target user credit information are deployed. This allows the deployment of an interface corresponding to the user credit information acquisition server, allowing the user credit information acquisition server to obtain information about the target user.Afterwards, the user identification field information corresponding to the target user is sent to the user credit information acquisition server. Thus, the user credit information acquisition server can obtain the user credit information identifier corresponding to the target user. Finally, in response to detecting the user credit information acquisition server's assignment operation to the preset change field information of the preset data acquisition interface information, the preset change field information after the assignment process is used as the interface parameter information of the preset data acquisition interface information, and the preset data acquisition interface information is called to send the target user credit information corresponding to the preset change field information after the assignment process to the user credit information acquisition server. Thus, the target user credit information corresponding to the target user can be sent to the user credit information acquisition server via the interface parameter information. Also, when circulating user credit information, the user identification field information of the user credit information to be obtained is determined as the parameter value of the preset change field information in the interface, and the preset change field information after the assignment is used as the parameter information of the interface for obtaining the user credit information. In this way, the user credit information to be obtained can be obtained to circulate the user credit information, instead of the user credit information acquisition server acquiring the user credit information of each user by developing a new interface, and deploying the interface corresponding to the above-mentioned user credit information acquisition server when the interface corresponding to the above-mentioned user credit information acquisition server is not deployed. Therefore, only one interface corresponding to the above-mentioned user credit information acquisition server is deployed for circulating user credit information, and there is no need to deploy an interface for the user credit information of each user, thereby reducing the number of developed interfaces, reducing the computing resources wasted in developing interfaces, and shortening the time spent on developing interfaces. Furthermore, because the deployed preset data acquisition interface information includes various preset user field information (reserved fields), when the user credit information acquisition server again acquires the user credit information from the user credit information storage server, it only needs to configure the preset user field information (reserved fields) included in the deployed preset data acquisition interface information to the user field information corresponding to the newly acquired user credit information, without having to redevelop an interface corresponding to the newly acquired user credit information. Furthermore, because both the method of acquiring user credit information from the aforementioned user credit information storage server and the method of acquiring user credit information from the aforementioned user credit information acquisition server are acquired through an API interface, the time required to acquire user credit information from the user credit information storage server is shortened, and the number of interfaces required to be developed is reduced. This further reduces the number of interfaces developed, the time required to develop interfaces, and the time required to circulate user credit information.
[0077] Further references Figure 2As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a method for transferring user credit information. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0078] like Figure 2 As shown, the user credit information transfer device 200 of some embodiments includes: a first sending unit 201, an acquisition unit 202, a mapping unit 203, a generation unit 204, an update unit 205, a combination unit 206, a deployment unit 207, a second sending unit 208 and a calling unit 209. Among them, the first sending unit 201 is configured to, in response to detecting the user credit information acquisition server's acquisition request information for the target user's user credit information, send the target user's acquisition request information to the user credit information storage server; the acquisition unit 202 is configured to, in response to receiving the user identification field information corresponding to the target user sent by the user credit information storage server, acquire the user credit information corresponding to the target user from the user credit information storage server according to the user identification field information and the target interface information corresponding to the user credit information storage server; the mapping unit 203 is configured to perform mapping processing on the acquired user credit information to obtain the mapped user credit information as the target user credit information; the generating unit 204 is configured to generate user warning information corresponding to the target user credit information based on the target user credit information; the updating unit 205 is configured to update the user field information corresponding to the target user according to the user warning information, wherein the user fields corresponding to the target user are updated. The field information includes field information representing a user identifier; a combining unit 206 is configured to, in response to determining that the interface information corresponding to the above-mentioned user credit information acquisition server has not been deployed, combine the updated user field information, preset change field information, and each preset user field information to obtain a field information set; a deploying unit 207 is configured to deploy the above-mentioned field information set and the preset data acquisition interface information corresponding to the above-mentioned target user credit information; a second sending unit 208 is configured to send the user identifier field information corresponding to the above-mentioned target user to the above-mentioned user credit information acquisition server; and a calling unit 209 is configured to, in response to detecting that the above-mentioned user credit information acquisition server has assigned a value to the preset change field information of the above-mentioned preset data acquisition interface information, use the assigned preset change field information as interface parameter information of the above-mentioned preset data acquisition interface information, and call the above-mentioned preset data acquisition interface information to send the target user credit information corresponding to the assigned preset change field information to the above-mentioned user credit information acquisition server.
[0079] It is understood that the units described in the device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 and the units included therein, and will not be repeated here.
[0080] Reference below Figure 3 , which shows a structural diagram of an electronic device 300 (eg, a computing device) suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0081] like Figure 3 As shown, the electronic device 300 may include a processing device 301 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. Various programs and data required for the operation of the electronic device 300 are also stored in the RAM 303. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0082] Typically, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as needed.
[0083] In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program comprising program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from a network via the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are performed.
[0084] It should be noted that the computer-readable medium described in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0085] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0086] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to detecting the acquisition request information of the user credit information acquisition server for the target user, sends the acquisition request information of the target user to the user credit information storage server; in response to receiving the user identification field information corresponding to the target user sent by the user credit information storage server, acquires the user credit information corresponding to the target user from the user credit information storage server according to the user identification field information and the target interface information of the user credit information storage server; maps the acquired user credit information to obtain the mapped user credit information as the target user credit information; generates user warning information corresponding to the target user credit information according to the target user credit information; and performs a warning on each user field corresponding to the target user according to the user warning information. The information is updated, wherein the above-mentioned each user field information includes field information representing the user identifier; in response to determining that the interface information corresponding to the above-mentioned user credit information acquisition server has not been deployed, the updated each user field information, the preset change field information and the each preset user field information are combined to obtain a field information set; the above-mentioned field information set and the preset data acquisition interface information corresponding to the above-mentioned target user credit information are deployed; the user identifier field information corresponding to the above-mentioned target user is sent to the above-mentioned user credit information acquisition server; in response to detecting the assignment operation of the above-mentioned user credit information acquisition server to the preset change field information of the above-mentioned preset data acquisition interface information, the preset change field information after the assignment process is used as the interface parameter information of the above-mentioned preset data acquisition interface information, and the above-mentioned preset data acquisition interface information is called to send the target user credit information corresponding to the preset change field information after the assignment process to the above-mentioned user credit information acquisition server.
[0087] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0088] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0089] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The units described may also be provided in a processor, for example, they may be described as: a first sending unit, an acquisition unit, a mapping unit, a generation unit, an update unit, a combination unit, a deployment unit, a second sending unit, and a calling unit. The names of these units do not, in certain cases, constitute limitations on the units themselves. For example, the first sending unit may also be described as "a unit that, in response to detecting an acquisition request information of the user credit information acquisition server for the user credit information of the target user, sends the acquisition request information of the above-mentioned target user to the user credit information storage server."
[0090] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0091] The above description is only an illustration of some preferred embodiments of the present disclosure and the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.
Claims
1. A method for transferring user credit information, comprising: In response to detecting an acquisition request for the user credit information of a target user from a user credit information acquisition server, sending the acquisition request for the target user to a user credit information storage server; In response to receiving the user identification field information corresponding to the target user sent by the user credit information storage server, obtaining the user credit information corresponding to the target user from the user credit information storage server according to the user identification field information and the target interface information corresponding to the user credit information storage server; Performing mapping processing on the acquired user credit information to obtain the mapped user credit information as the target user credit information; generating user warning information corresponding to the target user's credit information according to the target user's credit information; According to the user warning information, updating each user field information corresponding to the target user, wherein the each user field information includes field information representing the user identifier; In response to determining that the interface information corresponding to the user credit information acquisition server is not deployed, combining the updated user field information, the preset changed field information, and the preset user field information to obtain a field information set; Deploy and process the preset data acquisition interface information corresponding to the field information set and the target user's credit information; Sending the user identification field information corresponding to the target user to the user credit information acquisition server; In response to detecting the assignment operation of the user credit information acquisition server on the preset change field information of the preset data acquisition interface information, the preset change field information after the assignment processing is used as the interface parameter information of the preset data acquisition interface information, and the preset data acquisition interface information is called to send the target user credit information corresponding to the preset change field information after the assignment processing to the user credit information acquisition server.
2. The method according to claim 1, wherein The step of acquiring the user credit information corresponding to the target user from the user credit information storage server according to the user identification field information and the target interface information corresponding to the user credit information storage server includes: Determining target preset change field information corresponding to the target interface information from the preset interface document information; Determining the user identification field information as parameter value information corresponding to the target preset changed field information, so as to perform value assignment processing on the target preset changed field information to obtain the target preset changed field information after value assignment processing; The target preset changed field information after the assignment process is used as the interface parameter information corresponding to the target interface information, and the target interface information is called to obtain the user credit information corresponding to the user identification field information.
3. The method according to claim 1, wherein The mapping process is performed on the acquired user credit information to obtain the mapped user credit information as the target user credit information, including: Performing field mapping processing on the acquired user credit information to obtain the user credit information after field mapping processing; The user credit information after the field mapping process is subjected to code value mapping process, and the obtained user credit information after the code value mapping process is used as the target user credit information.
4. The method according to claim 1, wherein The updating of each user field information corresponding to the target user according to the user warning information includes: generating keyword information corresponding to the user warning information as target keyword information according to the user warning information; According to the target keyword information, each user field information corresponding to the target user's credit information is updated.
5. The method according to claim 4, wherein The updating process of each user field information corresponding to the target user's credit information according to the target keyword information includes: Determining the target keyword information as target field information corresponding to the user warning information; The target field information is added as user field information to each user field information corresponding to the target user's credit information, so as to update the each user field information.
6. The method according to claim 4, wherein: The updated user field information, preset change field information and preset user field information are combined to obtain a field information set, including: Determine each user field information after the update process as a user field information set; Deleting the user field information representing the user identifier in the user field information set; performing redundancy elimination processing on the deleted user field information set to obtain the redundancy eliminated user field information set as the field information set; The preset change field information is added as field information and each preset user field information is added as each field information to the field information set to obtain a field information set corresponding to the user credit information.
7. The method according to claim 1, wherein The step of using the preset changed field information after the value assignment process as the interface parameter information of the preset data acquisition interface information and calling the preset data acquisition interface information includes: The preset data acquisition interface information is called according to the user field information assigned by the user credit information acquisition server to the preset change field information of the preset data acquisition interface information, wherein the assigned user field information represents the user identifier.
8. A user credit information circulation device, comprising: a first sending unit configured to, in response to detecting information of a user credit information acquisition server requesting the user credit information of a target user, send the acquisition request information of the target user to the user credit information storage server; an acquiring unit configured to, in response to receiving user identification field information corresponding to the target user sent by the user credit information storage server, acquire user credit information corresponding to the target user from the user credit information storage server based on the user identification field information and target interface information corresponding to the user credit information storage server; a mapping unit configured to perform mapping processing on the acquired user credit information, and obtain the mapped user credit information as the target user credit information; a generating unit configured to generate user warning information corresponding to the target user's credit information based on the target user's credit information; an updating unit configured to update each user field information corresponding to the target user according to the user warning information, wherein the each user field information includes field information representing a user identifier; a combining unit configured to, in response to determining that the interface information corresponding to the user credit information acquisition server is not deployed, combine the updated user field information, the preset changed field information, and the preset user field information to obtain a field information set; a deployment unit configured to deploy and process the preset data acquisition interface information corresponding to the field information set and the target user's credit information; a second sending unit configured to send the user identification field information corresponding to the target user to the user credibility information acquisition server; The calling unit is configured to, in response to detecting an assignment operation of the user credit information acquisition server on the preset change field information of the preset data acquisition interface information, use the preset change field information after the assignment processing as the interface parameter information of the preset data acquisition interface information, and call the preset data acquisition interface information to send the target user credit information corresponding to the preset change field information after the assignment processing to the user credit information acquisition server.
9. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer-readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Information processing method and related device
CN110308912A
Information acquisition method and device, computer equipment and storage medium
CN112380213A