Resource interaction voucher updating method and device, computer equipment, readable storage medium and program product
By acquiring resource interaction records and conducting security analysis, resource information can be updated directly in the original interaction credentials, solving the problem of easily tampered resource interaction credentials and improving update efficiency and security.
Patent Information
- Application Number
- CN202511185521.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-22
- Publication Date
- 2025-12-05
AI Technical Summary
In existing technologies, resource interaction credentials are easily tampered with, making it impossible to guarantee their security, and the update process is inefficient.
By obtaining the resource interaction records of the target resource, performing account change confirmation and security analysis, and ensuring that the resource container has not been changed and there are sufficient available resources, the resource information is directly updated in the original interaction credentials. Triple detection is configured to ensure security and efficiency.
This approach improves update efficiency while ensuring the security of resource interaction credentials, avoids the need for manual credential re-creation, and enhances security and accuracy.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of big data, and in particular to a resource interaction credential updating method and device, computer equipment, a readable storage medium and a program product. BACKGROUND
[0002] Resource interaction refers to a resource exchange and feedback process between objects and systems or between objects through a resource system or platform. Such interaction not only includes information transmission between objects and systems, but also includes interaction and cooperation between objects and systems. Based on this, resource interaction credentials are born in order to ensure the security and traceability of resource interaction.
[0003] In the resource interaction process, there is often a demand for resource change. In view of this situation, in the prior art, a resource interaction credential is artificially re-created, and the original resource interaction credential is invalidated. However, this method will face the problem that the resource interaction credential is easy to tamper with, and cannot guarantee the security of the resource interaction credential. SUMMARY
[0004] Based on this, it is necessary to provide a resource interaction credential updating method, device, computer equipment, computer readable storage medium and computer program product capable of ensuring the security of the resource interaction credential in view of the above technical problems.
[0005] In a first aspect, the present application provides a resource interaction credential updating method, comprising: in response to an update instruction for an original interaction credential of a target resource, obtaining a resource interaction record of an original resource container of the target resource; if the resource interaction record contains an interaction record matched with the target resource, performing account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; in the case that the change confirmation result indicates that the original resource container is not changed, obtaining available resources of the original resource container; when the resource amount of the update resource indicated by the update instruction does not exceed the available resources, obtaining first resource information of the update resource; and updating second resource information of the target resource to the first resource information in the original interaction credential to obtain an updated interaction credential.
[0006] In one of the embodiments, the method further comprises: in the case that the change confirmation result indicates that the original resource container is changed to the target resource container, obtaining first container information of the target resource container and second container information of the original resource container respectively; performing security analysis on the target resource container based on the first container information to obtain a first security degree of the target resource container; performing security analysis on the original resource container based on the second container information to obtain a second security degree of the original resource container; in the case that both the first security degree and the second security degree reach a security degree threshold, updating the original resource container to the target resource container, and performing the step of obtaining available resources of the original resource container.
[0007] In one of the embodiments, the method further comprises: in response to a resource update instruction initiated by the target object for the target resource, obtaining resource browsing data of the target object; the resource browsing data comprises a plurality of browsing resources; performing analysis on each browsing resource respectively by using a resource interest analysis model to obtain a resource interest index of the target object for each browsing resource; determining an update resource from the browsing resources based on the resource interest index.
[0008] In one of the embodiments, the method further comprises: determining the update resource from the browsing resources based on the resource interest index comprises: screening candidate resources with resource interest indexes exceeding an interest index threshold from the browsing resources based on the resource interest index; matching target resource information of each candidate resource with object information of the target object respectively to obtain a matching degree between each candidate resource and the target object; taking a candidate resource with a matching degree exceeding a matching degree threshold as the update resource.
[0009] In one of the embodiments, in response to an update instruction for the original interaction credential of the target resource, obtaining resource interaction records of an original resource container of the target resource comprises: in response to the update instruction for the original interaction credential of the target resource, sending the original interaction credential of the target resource to a message queue; obtaining the original interaction credential from the message queue according to an update priority indicated by the update instruction; the original interaction credential comprises a container identifier of the original resource container of the target resource; querying the resource interaction records of the original resource container based on the container identifier.
[0010] In one of the embodiments, the original interaction credential comprises a plurality of candidate credential items; and updating second resource information of the target resource to first resource information in the original interaction credential to obtain an updated interaction credential comprises: screening a target credential item matched with the target resource from the candidate credential items; updating the second resource information to the first resource information for the second resource information of the target resource recorded in the target credential item to obtain the updated interaction credential.
[0011] In a second aspect, the present application further provides a resource interaction credential updating apparatus, comprising: a record acquisition module, configured to acquire a resource interaction record of an original resource container of a target resource in response to an update instruction of an original interaction credential of the target resource; a resource container change detection module, configured to, if the resource interaction record contains an interaction record matched with the target resource, perform account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; an available resource acquisition module, configured to acquire available resources of the original resource container in a case where the change confirmation result indicates that the original resource container is not changed; a resource information acquisition module, configured to acquire first resource information of an update resource when a resource amount of the update resource indicated by the update instruction does not exceed the available resources; and an interaction credential updating module, configured to update second resource information of the target resource to the first resource information in the original interaction credential to obtain an updated interaction credential.
[0012] In one of the embodiments, the apparatus is further configured to: acquire first container information of a target resource container and second container information of the original resource container respectively in a case where the change confirmation result indicates that the original resource container is changed to the target resource container; perform security analysis on the target resource container based on the first container information to obtain a first security degree of the target resource container; perform security analysis on the original resource container based on the second container information to obtain a second security degree of the original resource container; and update the original resource container to the target resource container in a case where both the first security degree and the second security degree reach a security degree threshold, and perform the step of acquiring available resources of the original resource container.
[0013] In one of the embodiments, the apparatus further comprises: a browsing data acquisition unit, configured to acquire resource browsing data of a target object in response to a resource update instruction of a target resource initiated by the target object; the resource browsing data comprising a plurality of browsing resources; a resource interest analysis unit, configured to analyze each browsing resource respectively by using a resource interest analysis model to obtain a resource interest index of each browsing resource for the target object; and a resource matching unit, configured to determine an update resource from the browsing resources based on the resource interest index.
[0014] In one of the embodiments, the resource matching unit is further configured to: filter candidate resources with a resource interest index exceeding an interest index threshold from the browsing resources based on the resource interest index; match target resource information of each candidate resource with object information of the target object respectively to obtain a matching degree between each candidate resource and the target object; and select a candidate resource with a matching degree exceeding a matching degree threshold as the update resource.
[0015] In one of the embodiments, the record obtaining module is further configured to: in response to the update instruction for the original interaction credential of the target resource, send the original interaction credential of the target resource to a message queue; and obtain the original interaction credential from the message queue according to an update priority indicated by the update instruction. The original interaction credential comprises a container identifier of an original resource container of the target resource. The resource interaction record of the original resource container is queried based on the container identifier.
[0016] In one of the embodiments, the original interaction credential comprises a plurality of candidate credential items. The interaction credential updating module is further configured to: in the plurality of candidate credential items, screen a target credential item matched with the target resource; and update second resource information of the target resource recorded in the target credential item to the first resource information to obtain the updated interaction credential.
[0017] In a third aspect, the present application further provides a computer device comprising a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the following steps are implemented: in response to an update instruction for an original interaction credential of a target resource, obtaining a resource interaction record of an original resource container of the target resource; if the resource interaction record comprises an interaction record matched with the target resource, performing account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; if the change confirmation result indicates that the original resource container is not changed, obtaining available resources of the original resource container; when a resource amount of an update resource indicated by the update instruction does not exceed the available resources, obtaining first resource information of the update resource; and in the original interaction credential, updating second resource information of the target resource to the first resource information to obtain an updated interaction credential.
[0018] In a fourth aspect, the present application further provides a computer readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the following steps are implemented: in response to an update instruction for an original interaction credential of a target resource, obtaining a resource interaction record of an original resource container of the target resource; if the resource interaction record comprises an interaction record matched with the target resource, performing account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; if the change confirmation result indicates that the original resource container is not changed, obtaining available resources of the original resource container; when a resource amount of an update resource indicated by the update instruction does not exceed the available resources, obtaining first resource information of the update resource; and in the original interaction credential, updating second resource information of the target resource to the first resource information to obtain an updated interaction credential.
[0019] In a fifth aspect, the present application further provides a computer program product comprising a computer program which, when executed by a processor, implements the following steps: in response to an update instruction for an original interaction credential of a target resource, obtaining a resource interaction record of an original resource container of the target resource; if the resource interaction record contains an interaction record matching the target resource, performing account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; if the change confirmation result indicates that the original resource container has not been changed, obtaining available resources of the original resource container; when the resource amount of the update resource indicated by the update instruction does not exceed the available resources, obtaining first resource information of the update resource; and updating, in the original interaction credential, second resource information of the target resource to the first resource information to obtain an updated interaction credential.
[0020] The resource interaction credential updating method, device, computer device, computer readable storage medium and computer program product described above, when receiving an update instruction for an original interaction credential of a target resource, first obtain a resource interaction record of an original resource container of the target resource to determine whether the resource interaction record contains an interaction record matching the target resource. If it does, it indicates that the interaction resource of the target resource has entered the original resource container, and the original interaction credential cannot be directly updated at this time. Account change confirmation needs to be performed on the original resource container, i.e., confirming whether the original resource container has been changed. If the original resource container has not been changed, available resources of the original resource container are further obtained. When the resource amount of the update resource indicated by the update instruction does not exceed the available resources, it indicates that the available resources of the original resource container are sufficient to support this resource update. Therefore, first resource information of the update resource can be obtained, and in the original interaction credential, second resource information of the target resource is directly updated to the first resource information to obtain a final updated interaction credential. In this way, the present application directly updates the resource information on the original interaction credential to obtain the updated interaction credential, without the need to artificially create a new resource interaction credential, thereby improving the efficiency of resource interaction credential updating on the basis of ensuring the security of resource interaction credential updating. In addition, the present application further configures three detection methods, i.e., interaction record detection of the target resource, change detection of the resource container, and available resource detection of the resource container, to further ensure the security of resource interaction credential updating. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained without creative labor.
[0022] Figure 1 An application environment diagram of the resource interaction credential updating method in one embodiment;
[0023] Figure 2 A flowchart of the resource interaction credential updating method in one embodiment;
[0024] Figure 3 A flowchart of the resource container change detection in one embodiment;
[0025] Figure 4 A flowchart of the determination of the updated resource in one embodiment;
[0026] Figure 5 A flowchart of the determination of the updated resource in another embodiment;
[0027] Figure 6 A flowchart of the query of the resource interaction record in one embodiment;
[0028] Figure 7 A flowchart of the resource interaction credential updating in one embodiment;
[0029] Figure 8 A flowchart of the resource interaction credential updating method in one specific embodiment;
[0030] Figure 9 A diagram of the relationship between the resource interaction record and the original interaction credential in one embodiment;
[0031] Figure 10 A diagram of the original interaction credential and the updated interaction credential in one embodiment;
[0032] Figure 11 A structural block diagram of the resource interaction credential updating apparatus in one embodiment;
[0033] Figure 12 An internal structure diagram of the computer device in one embodiment. DETAILED DESCRIPTION
[0034] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application. It should be noted that in the embodiments of the present application, some software, groups, models and other industry existing solutions may be mentioned, which should be considered as exemplary, and the purpose is only to illustrate the feasibility of the technical solution implementation of the present application, but does not mean that the applicant has or will necessarily use the solution.
[0035] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations. The acquisition, storage, use, processing, etc. of data in the technical solutions of the present application all comply with the relevant regulations of national laws and regulations.
[0036] The resource interaction credential updating method provided by the embodiments of the present application can be applied to an application environment as shown in Figure 1 The resource management system includes a resource interaction credential management platform 102, a resource center 104, and a control server 106. The control server 106 is connected with the resource interaction credential management platform 102 and the resource center 104, and the resource interaction credential management platform 102 and the resource center 104 are connected. When the control server 106 receives an update instruction for the original interaction credential of the target resource initiated by the resource center 104, the control server 106 acquires the resource interaction record of the original resource container of the target resource through the resource interaction credential management platform 102. If the resource interaction record contains an interaction record matched with the target resource, the original resource container is changed and confirmed to obtain a change confirmation result of the original resource container. When the change confirmation result indicates that the original resource container has not been changed, the available resource of the original resource container is acquired. When the resource amount of the update resource indicated by the update instruction does not exceed the available resource, the first resource information of the update resource is acquired. Through the resource center 104, the second resource information of the target resource in the original interaction credential is updated to the first resource information to obtain an updated interaction credential.
[0037] In an exemplary embodiment, as shown in Figure 2 A resource interaction credential updating method is provided. Taking the control server 106 in Figure 1 as an example, the method includes the following steps:
[0038] Step S202, in response to an update instruction for the original interaction credential of the target resource, acquiring the resource interaction record of the original resource container of the target resource.
[0039] The target resource can be an interactive resource, such as a house resource. The interactive voucher can refer to a voucher for recording relevant information of the target resource in the interactive process, such as a resource interactive contract, a resource interactive receipt, etc. In an example, one transaction voucher can be associated with one target resource. The original interactive voucher can refer to an initial interactive voucher. The update instruction can refer to an instruction for updating the original interactive voucher. It can be understood that in the resource interactive process, there can be a resource replacement, and therefore the interactive voucher can be updated. The resource container can be understood as a container for storing the interactive resource of the target resource, such as a resource account. The original resource container can refer to an initial resource container, because the resource container can also be changed. The resource interactive record can refer to a record about resource interaction in the original resource container. It should be noted that the original resource container can record the interactive records of different resources.
[0040] For example, when the control server receives the update instruction of the original interactive voucher of the target resource initiated by the resource center, the resource interactive voucher management platform can first be instructed to query the original resource container of the target resource, which can be directly queried from the original interactive voucher. Then, each record about resource interaction in the original resource container can be further queried, so as to subsequently detect whether the interactive record of the target resource exists in the resource interactive record.
[0041] In step S204, if the resource interactive record contains the interactive record matched with the target resource, the original resource container is changed and confirmed to obtain a change confirmation result of the original resource container.
[0042] The change confirmation result can be used to represent whether the original resource container also needs to be changed, and can include that the original resource container is not changed, and the original resource container is changed to a target resource container.
[0043] For example, after the resource interactive voucher management platform queries the resource interactive record of the original resource container of the target resource, it can further judge whether the resource interactive record contains the interactive record of the target resource. If it contains, it means that the interactive resource of the target resource has entered the original resource container, which can be understood as having been accounted. At this time, the original resource container needs to be further detected, that is, changed and confirmed, to confirm whether the original resource container also needs to be changed, so as to obtain a change confirmation result of the original resource container.
[0044] In an example, if the interaction record of the target resource is not included in the resource interaction record, it indicates that the interaction resource of the target resource has not entered the original resource container, that is, it has not been accounted for. At this time, the original interaction voucher can be directly updated, that is, the following step is performed: obtaining the first resource information of the updated resource; updating the second resource information of the target resource to the first resource information in the original interaction voucher to obtain an updated interaction voucher.
[0045] In step S206, if the change confirmation result indicates that the original resource container is not changed, the available resources of the original resource container are obtained.
[0046] The available resources can refer to the available resources currently remaining in the original resource container.
[0047] For example, when the resource interaction voucher management platform determines that the original resource container is not changed, the container resource of the original resource container is detected. First, the available resources currently remaining in the original resource container are obtained.
[0048] In an example, if it is detected that the original resource container also needs to be changed, the resource interaction voucher management platform needs to confirm whether the original resource container can be changed before performing the subsequent container resource detection operation.
[0049] In step S208, when the resource amount of the updated resource indicated by the update instruction does not exceed the available resources, the first resource information of the updated resource is obtained.
[0050] The updated resource can refer to the updated resource. For example, assuming that the target resource A is updated to resource B, resource B is the updated resource. The resource amount can refer to the amount of the updated resource. The first resource information can refer to the basic information of the updated resource, including but not limited to the resource name, the resource amount, the resource attribute, the resource type, etc.
[0051] For example, after the resource interaction voucher management platform obtains the available resources of the original resource container, the update instruction is parsed to obtain the updated resource and the resource amount of the updated resource, so as to determine whether the resource amount exceeds the available resources of the original resource container. If not, it indicates that the original resource container can support the current resource update, and the resource interaction voucher management platform can feed back information that the resource interaction voucher update can be performed to the control server. The control server instructs the resource center to obtain the basic information of the updated resource, so as to perform the subsequent resource interaction voucher update.
[0052] In an example, if the resource amount of the updated resource exceeds the available resources of the original resource container, it indicates that the original resource container is insufficient to support the current resource update, and the resource interaction voucher management platform can feed back to the control server that the resource interaction voucher update cannot be performed due to insufficient available resources of the resource container. In an example, if the resource amount of the updated resource exceeds the available resources of the original resource container, it indicates that the original resource container is insufficient to support the current resource update, and the resource interaction voucher management platform can feed back to the control server that the resource interaction voucher update cannot be performed due to insufficient available resources of the resource container.
[0053] Step S210, in the original interaction credential, the second resource information of the target resource is updated to the first resource information, to obtain an updated interaction credential.
[0054] The second resource information can be basic information of the target resource, including but not limited to resource name, resource amount, resource attribute, resource type, etc. The updated interaction credential can be an updated interaction credential.
[0055] For example, after the resource center obtains the first resource information of the updated resource, the resource interaction credential can be updated, that is, the second resource information of the target resource in the original interaction credential is directly updated to the first resource information of the updated resource, so as to obtain the updated interaction credential, and thus the entire resource interaction credential updating process is completed.
[0056] In this embodiment, when the resource management system receives the updating instruction of the original interaction credential of the target resource initiated by the resource center, the resource interaction credential management platform is first instructed to obtain the resource interaction record of the original resource container of the target resource, to determine whether the resource interaction record contains an interaction record matched with the target resource. If yes, it means that the interaction resource of the target resource has entered the original resource container, and the original interaction credential cannot be directly updated at this time. It is necessary to confirm the account change of the original resource container, that is, to confirm whether the original resource container has changed. In the case where the original resource container has not changed, the available resource of the original resource container is further obtained. When the resource amount of the updated resource indicated by the updating instruction does not exceed the available resource, it means that the available resource of the original resource container is sufficient to support this resource update. Therefore, the resource center can be instructed to obtain the first resource information of the updated resource, so as to directly update the second resource information of the target resource to the first resource information in the original interaction credential, to obtain the final updated interaction credential. In this way, the embodiment directly updates the resource information on the original interaction credential to obtain the updated interaction credential, without the need to artificially create a new resource interaction credential, which not only ensures the security of the resource interaction credential update, but also improves the efficiency of the resource interaction credential update. In addition, the embodiment also configures three detection methods, that is, the interaction record detection of the target resource, the change detection of the resource container, and the available resource detection of the resource container, to further ensure the security of the resource interaction credential update.
[0057] In an exemplary embodiment, as shown in Figure 3 The change process of the original resource container further includes:
[0058] Step S302, in the case where the change confirmation result indicates that the original resource container is changed to the target resource container, the first container information of the target resource container and the second container information of the original resource container are obtained respectively.
[0059] The target resource container can refer to a changed resource container. For example, if the original resource container 1 is changed to a resource container 2, the resource container 2 is the target resource container. The first container information can refer to the basic information of the target resource container, including but not limited to the resource container name, the affiliated organization, the resource container type, and the like. The second container information can refer to the basic information of the original resource container, and the specific content is the same as the first container information, which will not be described here.
[0060] For example, if it is detected that the original resource container also needs to be changed to the target resource container, the resource interaction credential management platform needs to perform change detection to determine whether the original resource container can be changed to the target resource container. First, the container information of the original resource container and the target resource container needs to be obtained respectively. The first container information and the second container information can be obtained from the resource container database, and the resource interaction credential management platform can access the resource container database.
[0061] In step S304, the target resource container is analyzed for security based on the first container information, and a first security degree of the target resource container is obtained.
[0062] In step S306, the original resource container is analyzed for security based on the second container information, and a second security degree of the original resource container is obtained.
[0063] The first security degree can be used to represent the security degree of the target resource container when used for resource interaction, and the second security degree can be used to represent the security degree of the original resource container when used for resource interaction. It can be understood that when the resource container is changed, it is necessary to ensure that the resource container before and after the change is a safe resource container, and the resource container change cannot be performed in the case that there is an abnormal interaction record or there is a certain resource interaction risk.
[0064] For example, after the resource interaction credential management platform obtains the container information of the original resource container and the target resource container respectively, the security of the two resource containers can be analyzed based on the container information of the two resource containers respectively, to analyze the security degree of the two resource containers when used for resource interaction.
[0065] In an example, the security analysis can be performed by a security analysis model, such as a logistic regression model, which is a data modeling method for solving classification problems, and can classify the risk level of the resource container, such as low risk, medium risk, and high risk. For example, a random forest model, which is based on multiple decision tree models for risk prediction.
[0066] In an example, the security analysis of the target resource container and the original resource container is not limited to the order described in the above embodiments.
[0067] Step S308, in the case where the first security level and the second security level both reach the security level threshold value, the original resource container is updated to the target resource container, and the step of obtaining available resources of the original resource container is performed.
[0068] The security level threshold value can be a pre-set security level standard value. If the threshold value is reached, it means that the resource container is secure. If the threshold value is not reached, it means that the resource container has certain risks.
[0069] For example, in the case where the first security level and the second security level both reach the security level threshold value, the resource interaction credential management platform can update the original resource container to the target resource container and obtain the available resources of the target resource container.
[0070] In an example, the resource interaction credential management platform can update the original resource container to the target resource container, and at the same time, update the second container information of the original resource container to the first container information of the target resource container in the original interaction credential.
[0071] In an example, the resource interaction credential management platform can synchronize the available resources of the original resource container to the target resource container during the process of updating the original resource container to the target resource container.
[0072] In this embodiment, in the face of the scenario of resource container change, the security of the resource container change is ensured by performing security analysis on the resource container before and after the change respectively, thereby ensuring the security of the resource interaction credential update.
[0073] In an example embodiment, as shown in Figure 4 The process of determining the updated resource further includes:
[0074] Step S402, in response to a resource update instruction initiated by a target object for a target resource, obtaining resource browsing data of the target object; the resource browsing data includes a plurality of browsing resources.
[0075] The target object can be a user object that interacts with resources. The resource update instruction can be an instruction to update the target resource. The resource browsing data can be a plurality of browsing resources browsed by the target object. In addition, the resource browsing data can also include resource information, browsing frequency, and browsing duration of each browsing resource.
[0076] Exemplarily, when the control server receives the resource updating instruction initiated by the target object for the target resource, the control server can instruct the resource center to acquire each browsing resource browsed by the target object, and the resource information, browsing frequency, browsing time length, and the like of each browsing resource, so as to facilitate subsequent resource recommendation.
[0077] At step S404, each browsing resource is analyzed by using the resource interest analysis model, to obtain the resource interest index of the target object for each browsing resource.
[0078] The resource interest analysis model can be a mathematical model for analyzing the interest index of the target object for each browsing resource, and the resource interest index can be used to represent the interest degree of the target object for the browsing resource.
[0079] Exemplarily, after the resource center acquires each browsing resource browsed by the target object, the resource information, browsing frequency, browsing time length, and the like of each browsing resource can be input into the pre-trained resource interest analysis model, to analyze the interest degree of the target object for each browsing resource.
[0080] At step S406, the updating resource is determined from the browsing resources based on the resource interest index.
[0081] Exemplarily, after the resource center predicts the interest degree of the target object for each browsing resource by using the resource interest analysis model, the optimal updating resource can be selected from the browsing resources according to the interest degree, and the updating resource is recommended to the target object.
[0082] In this embodiment, the interest degree of the target object for each browsing resource is analyzed by using the resource interest analysis model, to recommend the optimal updating resource to the target object, thereby improving the accuracy and reliability of the updating resource recommendation.
[0083] In one exemplary embodiment, as shown in Figure 5 determining the updating resource from the browsing resources based on the resource interest index includes:
[0084] At step S502, each candidate resource whose resource interest index exceeds an interest index threshold value is selected from the browsing resources based on the resource interest index.
[0085] The interest index threshold value can be understood as a pre-set interest index standard value. The browsing resource exceeding the threshold value can be used as a candidate resource for subsequent resource matching. The browsing resource not exceeding the threshold value can be directly eliminated. The candidate resource can be the browsing resource whose resource interest index exceeds the interest index threshold value, and can be used for resource matching.
[0086] For example, after the resource center predicts the resource interest index of the target object for each browsing resource, the resource center can compare the resource interest index with a preset interest index threshold, and take the browsing resource exceeding the interest index threshold as a candidate resource.
[0087] At step S504, the target resource information of each candidate resource is matched with the object information of the target object respectively to obtain a matching degree between each candidate resource and the target object.
[0088] The target resource information can be resource information of the candidate resource, including but not limited to resource name, resource amount, resource attribute, resource type, etc. The object information can be basic information of the target object, including but not limited to object type, resource demand of the target object, object age, object income, etc. The matching degree can be a matching degree between the candidate resource and the target object. The higher the matching degree, the more suitable the candidate resource is for the target object.
[0089] For example, after the resource center screens the candidate resources, the resource center can obtain the resource information of each candidate resource and the object information of the target object. Then, the resource center can match each resource information with the object information to obtain a matching degree between each candidate resource and the target object.
[0090] At step S506, the candidate resource with a matching degree exceeding a matching degree threshold is taken as an updated resource.
[0091] The matching degree threshold can be understood as a preset matching degree standard value. If the matching degree exceeds the threshold, it means that the candidate resource is suitable for the target object. If the matching degree does not exceed the threshold, it means that the candidate resource is not suitable for the target object.
[0092] For example, after the resource center obtains the matching degree between each candidate resource and the target object, the resource center can screen the candidate resource with a matching degree exceeding a preset matching degree threshold, and take the candidate resource as an updated resource.
[0093] In an example, the resource center pushes the updated resource to the target object. In a case where the target object confirms to update the target resource to the updated resource, the resource center initiates an update instruction for the original interaction credential of the target resource to the control server.
[0094] In this embodiment, the resource center further screens the updated resource most suitable for the target object through resource information matching, thereby improving the accuracy and reliability of the updated resource recommendation.
[0095] In an example embodiment, as shown in Figure 6 In response to the update instruction for the original interaction credential of the target resource, the resource center can obtain the resource interaction record of the original resource container of the target resource.
[0096] In step S602, the original interaction credential of the target resource is sent into the message queue in response to the update instruction for the original interaction credential of the target resource.
[0097] The message queue is an intermediate queue for storing the original interaction credential corresponding to each update instruction. This can avoid the situation that the control server reads a large number of update instructions at one time, thereby improving the update efficiency of the resource interaction credential.
[0098] For example, when the control server receives the update instruction for the original interaction credential of the target resource initiated by the resource center, the original interaction credential can be first sent into the message queue.
[0099] In step S604, the original interaction credential is obtained from the message queue according to the update priority indicated by the update instruction. The original interaction credential includes the container identifier of the original resource container of the target resource.
[0100] The update priority can be understood as the priority of updating the original interaction credential. The update priority can be determined based on the urgency of updating the original interaction credential. The more urgent the update of the original interaction credential, the higher the update priority can be set. The less urgent the update of the original interaction credential, the lower the update priority can be set. The container identifier can be the unique identifier of the original resource container, such as the container number or the container name.
[0101] For example, the control server extracts the update priority for the original interaction credential from the update instruction, so as to instruct the resource interaction credential management platform to read the original interaction credential from the message queue according to the update priority, and obtain the unique identifier of the original resource container of the target resource from the original interaction credential.
[0102] In step S606, the resource interaction record of the original resource container is queried based on the container identifier.
[0103] For example, after the resource interaction credential management platform reads the unique identifier of the original resource container, the resource interaction record of the original resource container can be queried according to the unique identifier.
[0104] In this embodiment, by sending the original interaction credential of the target resource into the message queue, the situation that the control server reads a large number of update instructions at one time can be avoided, thereby improving the update efficiency of the resource interaction credential.
[0105] In one example embodiment, as shown in FIG. 1, the resource interaction credential management platform 100 includes a message queue 101, a resource interaction record query module 102, and a resource interaction credential update module 103. Figure 7As shown, in the original interaction credential, the second resource information of the target resource is updated to the first resource information to obtain an updated interaction credential, including:
[0106] In step S702, a target credential matter matching the target resource is screened out from each candidate credential matter.
[0107] The original interaction credential can include a plurality of candidate credential matters. The candidate credential matter can be understood as each clause or regulation in the original interaction credential. The target credential matter can refer to the candidate credential matter matching the target resource.
[0108] For example, the resource center screens out the target credential matter matching the target resource from each candidate credential matter in the original interaction credential. For example, the original interaction credential includes candidate credential matter 1, candidate credential matter 2, and candidate credential matter 3. It is assumed that any one or more of the resource name, resource amount, resource attribute, and resource type of the target resource appears in the candidate credential matter 1. It is considered that the candidate credential matter 1 is the target credential matter matching the target resource.
[0109] In step S704, the second resource information of the target resource recorded in the target credential matter is updated to the first resource information to obtain the updated interaction credential.
[0110] For example, after the resource center screens out the target credential matter matching the target resource, the basic information of the target resource recorded in the target credential matter can be updated to the basic information of the updated resource to obtain the updated interaction credential. For example, the resource name of the target resource appears in the candidate credential matter 1. The resource name can be updated to the resource name of the updated resource.
[0111] It should be noted that after the second resource information of the target resource recorded in all target credential matters in the original interaction credential is updated to the first resource information, the updated interaction credential can be obtained.
[0112] In this embodiment, the target credential matter matching the target resource is screened out to update the interaction credential, which improves the accuracy of the resource interaction credential update and avoids the situation of missing update.
[0113] In a specific embodiment, as shown in the figure, Figure 8 The flow of the resource interaction credential update method includes:
[0114] S1: In response to a resource update instruction initiated by a target object for a target resource, a plurality of browsed resources browsed by the target object are obtained. Each browsed resource is analyzed by a resource interest analysis model to obtain a resource interest index of the target object for each browsed resource. Based on the resource interest index, candidate resources with resource interest indexes exceeding an interest index threshold are selected from the browsed resources. The target resource information of each candidate resource is matched with the object information of the target object to obtain a matching degree between each candidate resource and the target object. The candidate resource with a matching degree exceeding a matching degree threshold is taken as an update resource.
[0115] S2: A control server of a resource management system receives an update instruction for an original interaction credential of a target resource initiated by a resource center.
[0116] S3: The control server instructs a resource interaction credential management platform to obtain a resource interaction record of an original resource container of the target resource.
[0117] S4: If the resource interaction record contains an interaction record matching the target resource, it indicates that the target resource has been accounted for. The original resource container is changed to obtain a change confirmation result of the original resource container. The change confirmation result can be referenced Figure 9 , Figure 9 The association between the resource interaction record and the original interaction credential is shown. If the resource interaction record does not contain an interaction record matching the target resource, it indicates that the target resource has not been accounted for. Step S10 can be directly executed.
[0118] S5: In the case where the change confirmation result indicates that the original resource container is changed to a target resource container, first container information of the target resource container and second container information of the original resource container are obtained respectively. Based on the first container information, a security analysis is performed on the target resource container to obtain a first security degree of the target resource container.
[0119] S6: Based on the second container information, a security analysis is performed on the original resource container to obtain a second security degree of the original resource container. In the case where both the first security degree and the second security degree reach a security degree threshold, the original resource container is updated to the target resource container, and step S7 is executed. In the case where the change confirmation result indicates that the original resource container is not changed, step S7 is executed.
[0120] S7: The available resources of the original resource container are obtained.
[0121] S8: It is detected whether the resource amount of the update resource indicated by the update instruction exceeds the available resources.
[0122] S9: If it exceeds, it is prompted that the update is not available.
[0123] S10: If not, the second resource information of the target resource is updated as the first resource information in the original interaction credential to obtain an updated interaction credential. For example, Figure 10 Figure 10 FIG. 1 shows a schematic diagram of the original interaction credential and the updated interaction credential.
[0124] In this embodiment, when the resource management system receives the update instruction of the original interaction credential of the target resource initiated by the resource center, the resource management system first instructs the resource interaction credential management platform to obtain the resource interaction record of the original resource container of the target resource to determine whether the resource interaction record contains an interaction record matching the target resource. If yes, it indicates that the interaction resource of the target resource has entered the original resource container. At this time, the original interaction credential cannot be directly updated. It is necessary to perform account change confirmation on the original resource container, i.e., to confirm whether the original resource container has changed. In the case where the original resource container has not changed, the available resource of the original resource container is further obtained. When the resource amount of the update resource indicated by the update instruction does not exceed the available resource, it indicates that the available resource of the original resource container is sufficient to support this resource update. Therefore, the resource center can be instructed to obtain the first resource information of the update resource, so that the second resource information of the target resource is directly updated as the first resource information in the original interaction credential to obtain the final updated interaction credential. In this way, the embodiment directly updates the resource information on the original interaction credential to obtain the updated interaction credential, without the need to artificially create a new resource interaction credential, thereby ensuring the security of the resource interaction credential update and improving the efficiency of the resource interaction credential update. In addition, the embodiment further configures three detection mechanisms, i.e., the interaction record detection of the target resource, the change detection of the resource container, and the available resource detection of the resource container, to further ensure the security of the resource interaction credential update.
[0125] It should be understood that, although each step in the flowchart involved in each of the above embodiments is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other sequences. Moreover, at least part of the steps in the flowchart involved in each of the above embodiments can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times. The execution sequence of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or stages in other steps.
[0126] Based on the same inventive concept, the embodiments of the present application also provide a resource interaction credential updating apparatus for implementing the above-mentioned resource interaction credential updating method. The apparatus provides a solution to the problem similar to the solution provided in the above-mentioned method, and therefore the specific limitations in one or more resource interaction credential updating apparatus embodiments provided below can refer to the limitations of the resource interaction credential updating method provided above, which will not be described here again.
[0127] In one exemplary embodiment, as shown in Figure 11 The resource interaction credential updating apparatus comprises: a record acquisition module 1102 configured to acquire a resource interaction record of an original resource container of a target resource in response to an update instruction of an original interaction credential of the target resource; a resource container change detection module 1104 configured to, if the resource interaction record contains an interaction record matched with the target resource, perform account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; an available resource acquisition module 1106 configured to, if the change confirmation result indicates that the original resource container is not changed, acquire available resources of the original resource container; a resource information acquisition module 1108 configured to, when the resource amount of the update resource indicated by the update instruction does not exceed the available resources, acquire first resource information of the update resource; and an interaction credential updating module 1110 configured to update second resource information of the target resource to the first resource information in the original interaction credential to obtain an updated interaction credential.
[0128] In one of the embodiments, the apparatus is further configured to: in a case where the change confirmation result indicates that the original resource container is changed to a target resource container, acquire first container information of the target resource container and second container information of the original resource container respectively; perform security analysis on the target resource container based on the first container information to obtain a first security degree of the target resource container; perform security analysis on the original resource container based on the second container information to obtain a second security degree of the original resource container; and in a case where both the first security degree and the second security degree reach a security degree threshold, update the original resource container to the target resource container, and perform the step of acquiring available resources of the original resource container.
[0129] In one of the embodiments, the apparatus further comprises: a browsing data acquisition unit configured to acquire resource browsing data of a target object in response to a resource update instruction of a target resource initiated by the target object; the resource browsing data comprises a plurality of browsing resources; a resource interest analysis unit configured to analyze each browsing resource by using a resource interest analysis model to obtain a resource interest index of each browsing resource for the target object; and a resource matching unit configured to determine the update resource from the browsing resources based on the resource interest index.
[0130] In one of the embodiments, the resource matching unit is further configured to: based on the resource interest index, screen out candidate resources whose resource interest indexes exceed an interest index threshold from the browsed resources; match the target resource information of each candidate resource with the object information of the target object respectively to obtain a matching degree between each candidate resource and the target object; and take the candidate resource whose matching degree exceeds a matching degree threshold as the update resource.
[0131] In one of the embodiments, the record obtaining module 1102 is further configured to: in response to an update instruction for the original interaction credential of the target resource, send the original interaction credential of the target resource to a message queue; and obtain the original interaction credential from the message queue according to an update priority indicated by the update instruction; the original interaction credential includes a container identifier of an original resource container of the target resource; and based on the container identifier, query the resource interaction record of the original resource container.
[0132] In one of the embodiments, the original interaction credential includes a plurality of candidate credential items; and the interaction credential updating module 1110 is further configured to: screen out a target credential item matched with the target resource from the candidate credential items; and update second resource information of the target resource recorded in the target credential item to the first resource information to obtain the updated interaction credential.
[0133] The modules in the above resource interaction credential updating apparatus can be all or partially realized by software, hardware and combination thereof. The above modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform the operations corresponding to the above modules.
[0134] In one of the exemplary embodiments, a computer device is provided, which can be a server, and an internal structure diagram of the computer device can be as shown in FIG. 1. Figure 12As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through the system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capability. 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 resource interaction credential update data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through network connection. The computer program is executed by the processor to implement a resource interaction credential update method.
[0135] Those skilled in the art can understand that, Figure 12 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0136] In one exemplary embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the following steps: in response to an update instruction for an original interaction credential of a target resource, obtaining a resource interaction record of an original resource container of the target resource; if the resource interaction record contains an interaction record matched with the target resource, performing account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; if the change confirmation result indicates that the original resource container has not been changed, obtaining available resources of the original resource container; when the resource amount of the update resource indicated by the update instruction does not exceed the available resources, obtaining first resource information of the update resource; and updating second resource information of the target resource to the first resource information in the original interaction credential to obtain an updated interaction credential.
[0137] In one embodiment, the processor, when executing the computer program, further implements the following steps: in the case that the change confirmation result indicates that the original resource container is changed to the target resource container, obtaining first container information of the target resource container and second container information of the original resource container respectively; performing security analysis on the target resource container based on the first container information to obtain a first security degree of the target resource container; performing security analysis on the original resource container based on the second container information to obtain a second security degree of the original resource container; in the case that both the first security degree and the second security degree reach a security degree threshold, updating the original resource container to the target resource container, and performing the step of obtaining available resources of the original resource container.
[0138] In one embodiment, the processor, when executing the computer program, further implements the following steps: in response to a resource update instruction for the target resource initiated by the target object, obtaining resource browsing data of the target object; the resource browsing data includes a plurality of browsing resources; performing analysis on each browsing resource respectively by using a resource interest analysis model to obtain a resource interest index of each browsing resource for the target object; determining an update resource from the browsing resources based on the resource interest index.
[0139] In one embodiment, the processor, when executing the computer program, further implements the following steps: determining the update resource from the browsing resources based on the resource interest index includes: screening each candidate resource with a resource interest index exceeding an interest index threshold from the browsing resources based on the resource interest index; matching target resource information of each candidate resource with object information of the target object respectively to obtain a matching degree between each candidate resource and the target object; taking the candidate resource with a matching degree exceeding a matching degree threshold as the update resource.
[0140] In one embodiment, the processor, when executing the computer program, further implements the following steps: in response to an update instruction for the original interaction credential of the target resource, sending the original interaction credential of the target resource to a message queue; obtaining the original interaction credential from the message queue according to an update priority indicated by the update instruction; the original interaction credential includes a container identifier of an original resource container of the target resource; querying resource interaction records of the original resource container based on the container identifier.
[0141] In one embodiment, the processor, when executing the computer program, further implements the following steps: screening a target credential matter matching the target resource from the candidate credential matters; updating second resource information of the target resource recorded in the target credential matter to the first resource information to obtain an updated interaction credential.
[0142] In one embodiment, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the following steps: in response to an update instruction of an original interaction credential for a target resource, obtaining a resource interaction record of an original resource container of the target resource; if the resource interaction record contains an interaction record matched with the target resource, performing account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; in a case where the change confirmation result indicates that the original resource container is not changed, obtaining available resources of the original resource container; when a resource amount of an update resource indicated by the update instruction does not exceed the available resources, obtaining first resource information of the update resource; and updating, in the original interaction credential, second resource information of the target resource to the first resource information to obtain an updated interaction credential.
[0143] In one embodiment, the computer program is executed by the processor to further implement the following steps: in a case where the change confirmation result indicates that the original resource container is changed to a target resource container, obtaining first container information of the target resource container and second container information of the original resource container, respectively; performing security analysis on the target resource container based on the first container information to obtain a first security level of the target resource container; performing security analysis on the original resource container based on the second container information to obtain a second security level of the original resource container; in a case where the first security level and the second security level both reach a security level threshold, updating the original resource container to the target resource container, and performing the step of obtaining available resources of the original resource container.
[0144] In one embodiment, the computer program is executed by the processor to further implement the following steps: in response to a resource update instruction for a target resource initiated by a target object, obtaining resource browsing data of the target object; the resource browsing data includes a plurality of browsing resources; performing analysis on each browsing resource by using a resource interest analysis model to obtain a resource interest index of the target object for each browsing resource; and determining an update resource from the browsing resources based on the resource interest index.
[0145] In one embodiment, the computer program is executed by the processor to further implement the following steps: determining the update resource from the browsing resources based on the resource interest index includes: screening each candidate resource whose resource interest index exceeds an interest index threshold from the browsing resources based on the resource interest index; matching target resource information of each candidate resource with object information of the target object to obtain a matching degree between each candidate resource and the target object; and taking a candidate resource whose matching degree exceeds a matching degree threshold as the update resource.
[0146] In an embodiment, the computer program, when executed by the processor, further implements the following steps: in response to the update instruction for the original interaction credential of the target resource, sending the original interaction credential of the target resource into a message queue; obtaining the original interaction credential from the message queue according to an update priority indicated by the update instruction; the original interaction credential comprises a container identifier of an original resource container of the target resource; and querying a resource interaction record of the original resource container based on the container identifier.
[0147] In an embodiment, the computer program, when executed by the processor, further implements the following steps: in the candidate credential events, screening a target credential event matched with the target resource; and updating second resource information of the target resource recorded in the target credential event to the first resource information to obtain an updated interaction credential.
[0148] In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the following steps: in response to an update instruction for an original interaction credential of a target resource, obtaining a resource interaction record of an original resource container of the target resource; if the resource interaction record contains an interaction record matched with the target resource, performing account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; if the change confirmation result indicates that the original resource container is not changed, obtaining available resources of the original resource container; when a resource amount of an update resource indicated by the update instruction does not exceed the available resources, obtaining first resource information of the update resource; and updating second resource information of the target resource in the original interaction credential to the first resource information to obtain an updated interaction credential.
[0149] In an embodiment, the computer program, when executed by the processor, further implements the following steps: in a case where the change confirmation result indicates that the original resource container is changed to a target resource container, obtaining first container information of the target resource container and second container information of the original resource container respectively; performing security analysis on the target resource container based on the first container information to obtain a first security degree of the target resource container; performing security analysis on the original resource container based on the second container information to obtain a second security degree of the original resource container; in a case where both the first security degree and the second security degree reach a security degree threshold, updating the original resource container to the target resource container, and performing the step of obtaining available resources of the original resource container.
[0150] In an embodiment, the computer program, when executed by the processor, further implements the following steps: in response to a resource update instruction initiated by the target object for the target resource, obtaining resource browsing data of the target object; the resource browsing data includes a plurality of browsing resources; analyzing each browsing resource by a resource interest analysis model to obtain a resource interest index of the target object for each browsing resource; and determining an update resource from the browsing resources based on the resource interest index.
[0151] In an embodiment, the computer program, when executed by the processor, further implements the following steps: based on the resource interest index, screening candidate resources from the browsing resources, each of which has a resource interest index exceeding an interest index threshold; matching target resource information of each candidate resource with object information of the target object to obtain a matching degree between each candidate resource and the target object; and taking a candidate resource having a matching degree exceeding a matching degree threshold as the update resource.
[0152] In an embodiment, the computer program, when executed by the processor, further implements the following steps: in response to an update instruction of the original interaction credential for the target resource, sending the original interaction credential of the target resource to a message queue; obtaining the original interaction credential from the message queue according to an update priority indicated by the update instruction; the original interaction credential includes a container identifier of an original resource container of the target resource; and querying resource interaction records of the original resource container based on the container identifier.
[0153] In an embodiment, the computer program, when executed by the processor, further implements the following steps: screening a target credential matter matching the target resource from the candidate credential matters; and updating second resource information of the target resource recorded in the target credential matter to the first resource information to obtain an updated interaction credential.
[0154] 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. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, 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. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.
[0155] The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present application.
[0156] The above embodiments only express several implementation ways of the present application, and the description is specific and detailed, but it should not be understood as a limitation to the patent scope of the present application. It should be pointed out that for ordinary skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.
Claims
1. A resource interaction credential updating method, characterized by, The method comprises: in response to an update instruction of an original interaction credential of a target resource, obtaining a resource interaction record of an original resource container of the target resource; if the resource interaction record contains an interaction record matching the target resource, performing change confirmation on the original resource container to obtain a change confirmation result of the original resource container; if the change confirmation result indicates that the original resource container is not changed, obtaining available resources of the original resource container; when the resource amount of the update resource indicated by the update instruction does not exceed the available resources, obtaining first resource information of the update resource; updating second resource information of the target resource to the first resource information in the original interaction credential to obtain an updated interaction credential.
2. The method of claim 1, wherein, The method further comprises: if the change confirmation result indicates that the original resource container is changed to a target resource container, obtaining first container information of the target resource container and second container information of the original resource container respectively; based on the first container information, performing security analysis on the target resource container to obtain a first security level of the target resource container; based on the second container information, performing security analysis on the original resource container to obtain a second security level of the original resource container; if both the first security level and the second security level reach a security level threshold, updating the original resource container to the target resource container, and performing the step of obtaining available resources of the original resource container.
3. The method of claim 1, wherein, The method further comprises: in response to a resource update instruction of a target object for a target resource, obtaining resource browsing data of the target object; the resource browsing data comprises a plurality of browsing resources; by a resource interest analysis model, analyzing each of the browsing resources to obtain a resource interest index of the target object for each of the browsing resources; based on the resource interest index, determining an update resource from the browsing resources.
4. The method of claim 3, wherein, The method further comprises: based on the resource interest index, screening each candidate resource with a resource interest index exceeding an interest index threshold from the browsing resources; matching target resource information of each of the candidate resources with object information of the target object to obtain a matching degree between each of the candidate resources and the target object; taking a candidate resource with a matching degree exceeding a matching degree threshold as the update resource.
5. The method of claim 1, wherein, The method further comprises: in response to an update instruction of an original interaction credential of a target resource, sending the original interaction credential of the target resource to a message queue; obtaining the original interaction credential from the message queue according to an update priority indicated by the update instruction; the original interaction credential comprises a container identifier of an original resource container of the target resource; based on the container identifier, querying the resource interaction record of the original resource container.
6. The method of claim 1, wherein, The original interaction credential contains a plurality of candidate credential matters; and the second resource information of the target resource is updated as the first resource information in the original interaction credential to obtain an updated interaction credential. Among the candidate credential matters, a target credential matter matching the target resource is screened out; The second resource information of the target resource recorded in the target credential matter is updated as the first resource information to obtain an updated interaction credential.
7. A resource interaction credential updating apparatus characterized by comprising: The device comprises: A record acquisition module configured to acquire a resource interaction record of an original resource container of a target resource in response to an update instruction of an original interaction credential of the target resource; A resource container change detection module configured to, if the resource interaction record contains an interaction record matching the target resource, perform account change confirmation on the original resource container to obtain a change confirmation result of the original resource container; An available resource acquisition module configured to, if the change confirmation result indicates that the original resource container is not changed, acquire available resources of the original resource container; A resource information acquisition module configured to, when a resource amount of an update resource indicated by the update instruction does not exceed the available resources, acquire first resource information of the update resource; An interaction credential update module configured to update, in the original interaction credential, second resource information of the target resource as the first resource information to obtain an updated interaction credential.
8. The apparatus of claim 7, wherein, The device is further configured to, if the change confirmation result indicates that the original resource container is changed into a target resource container, acquire first container information of the target resource container and second container information of the original resource container respectively; perform security analysis on the target resource container based on the first container information to obtain a first security degree of the target resource container; perform security analysis on the original resource container based on the second container information to obtain a second security degree of the original resource container; and if the first security degree and the second security degree both reach a security degree threshold, update the original resource container into the target resource container, and perform the step of acquiring available resources of the original resource container.
9. The apparatus of claim 7, wherein, The device further comprises a browsing data acquisition unit configured to acquire resource browsing data of a target object in response to a resource update instruction of a target resource initiated by the target object; the resource browsing data comprises a plurality of browsing resources; a resource interest analysis unit configured to analyze each of the browsing resources by using a resource interest analysis model to obtain a resource interest index of each of the browsing resources; and a resource matching unit configured to determine an update resource among the browsing resources based on the resource interest index.
10. The apparatus of claim 9, wherein, The resource matching unit is further configured to: based on the resource interest index, screen out candidate resources whose resource interest indexes exceed an interest index threshold from the browsing resources; and match target resource information of each candidate resource with object information of the target object respectively to obtain a matching degree between each candidate resource and the target object. The candidate resource whose matching degree exceeds a matching degree threshold is taken as an update resource.
11. The apparatus of claim 7, wherein, The record obtaining module is further configured to: in response to an update instruction for original interaction credentials of a target resource, send the original interaction credentials of the target resource to a message queue; and obtain the original interaction credentials from the message queue according to an update priority indicated by the update instruction; the original interaction credentials include a container identifier of an original resource container of the target resource; and based on the container identifier, query resource interaction records of the original resource container.
12. The apparatus of claim 7, wherein, The original interaction credentials include a plurality of candidate credential items; the interaction credential update module is further configured to: screen out a target credential item matched with the target resource from the candidate credential items; and update second resource information of the target resource recorded in the target credential item to the first resource information to obtain updated interaction credentials.
13. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement the steps of the method in any one of claims 1 to 6.
14. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 6.
15. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 6. The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 6.