Resource sharing processing method, device, equipment and storage medium
By receiving resource sharing requests, obtaining a sharing list that matches the resource sharing type, and creating resource sharing connections between the shared initiator user and the shared receiving user, solving the problem of inflexible resource sharing methods, realizing flexible switching and opening of resources, reducing the cost of using medical resources and fully leveraging the maximum value of resources.
Patent Information
- Application Number
- CN202210435800.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-24
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-04-24
AI Technical Summary
The existing resource sharing methods cannot be flexibly opened and ended, resulting in high resource costs and the inability to fully utilize the maximum value of resource rights, which can easily lead to resource waste, especially when medical resources are exclusive.
Provide a resource sharing processing method, by receiving resource sharing requests, obtaining a sharing list that matches the resource sharing type, creating a resource sharing connection between the shared initiating user and the shared receiving user, and updating the resource equity status according to the resource call results, supporting multiple resource sharing modes to meet the needs of different customer scenarios.
It realizes flexible switching and opening of resource sharing, reduces the cost of using medical resources, gives full play to the maximum value of resources, and avoids resource waste.
Smart Images

Figure CN114694816B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a resource sharing processing method, apparatus, device and storage medium. Background Art
[0002] The sharing economy has been a hot topic in recent years. Whether it's shared power banks, shared bicycles, or shared cars, the emergence of a large number of shared resources has brought significant convenience to everyone's lives. In the healthcare industry, the sharing of medical resources between businesses and families is becoming a growing trend.
[0003] Currently, under existing technology, some user resources cannot be easily shared. For example, medical resources are often exclusive. However, exclusive resources have many drawbacks and do not meet the requirements of the era of family-based doctors. Exclusive resources are relatively expensive. For example, a family of five would need to purchase dedicated medical benefits for each person. This makes prices less competitive for customers, leading to over-purchased resources and a decrease in repeat purchase rates. Another major flaw in exclusive medical resource solutions is that only the purchaser can log in to use the benefits for the designated person; the designated person cannot log in and use the benefits themselves. For example, a user (a son) purchased a 2020 private doctor senior citizen card and activated it, restricting its use to the father. The card can only be used by the son for consultations and registrations on his behalf, while the father and others cannot log in and use it. In summary, existing resource sharing systems lack flexible activation and termination, resulting in high resource costs, inability to maximize the value of resource benefits, and prone to resource waste. Summary of the Invention
[0004] In view of this, the present application provides a resource sharing processing method, device, equipment and storage medium, which can solve the technical problems that existing resource sharing cannot be flexibly started and ended, resulting in high resource costs, and cannot fully realize the maximum value of resource rights and interests, which easily causes resource waste.
[0005] According to one aspect of the present application, a method for processing resource sharing is provided, the method comprising:
[0006] receiving a resource sharing request for a target resource, wherein the resource sharing request carries a resource sharing type and a sharing initiating user;
[0007] Acquire a resource sharing list matching the resource sharing type, wherein the resource sharing list includes at least one sharing receiving user, wherein the sharing receiving user has an association relationship with the sharing initiating user;
[0008] Creating a resource sharing connection between the sharing initiating user and the sharing receiving user, wherein the resource sharing connection is used to support resource calls of the target resource by the sharing initiating user and / or the sharing receiving user;
[0009] Obtain resource call results of the sharing initiating user and / or the sharing receiving user on the target resource, and use the resource call results to update the resource rights and interests status of the target resource.
[0010] According to another aspect of the present application, a resource sharing processing device is provided, the device comprising:
[0011] A receiving module, configured to receive a resource sharing request for a target resource, wherein the resource sharing request carries a resource sharing type and a sharing initiating user;
[0012] an acquisition module, configured to acquire a resource sharing list matching the resource sharing type, wherein the resource sharing list includes at least one sharing receiving user, wherein the sharing receiving user is associated with the sharing initiating user;
[0013] a creation module, configured to create a resource sharing connection between the sharing initiating user and the sharing receiving user, wherein the resource sharing connection is configured to support resource calls of the target resource by the sharing initiating user and / or the sharing receiving user;
[0014] An updating module is configured to obtain a resource calling result of the target resource by the sharing initiating user and / or the sharing receiving user, and to update the resource rights and interests status of the target resource using the resource calling result.
[0015] According to another aspect of the present application, a non-volatile readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the processing method for resource sharing is implemented.
[0016] According to another aspect of the present application, a computer device is provided, comprising a non-volatile readable storage medium, a processor, and a computer program stored on the non-volatile readable storage medium and executable on the processor, wherein the processor implements the above-mentioned resource sharing processing method when executing the program.
[0017] By means of the above technical solution, the present application provides a method, device, equipment and storage medium for processing resource sharing. Compared with the current resource sharing processing method, the present application can extract the resource sharing type and the sharing initiating user according to the resource sharing request after receiving a resource sharing request for the target resource, and further obtain a resource sharing list matching the resource sharing type, wherein the resource sharing list contains at least one sharing receiving user, wherein the sharing receiving user has an association with the sharing initiating user; then a resource sharing connection can be created to support the sharing initiating user and / or the sharing receiving user to call the target resource; the resource call result of the sharing initiating user and / or the sharing receiving user on the target resource is obtained, and the resource rights and interests status of the target resource is updated using the resource call result. Through the technical solution of the present application, resource sharing modes under various resource sharing types can be provided to meet the sharing needs of different customer scenarios, provide basic sharing capabilities for each business line, facilitate access, and realize flexible switching and activation of resource sharing. In addition, the technical solution in the present application can be applied to medical resources. Through medical resource sharing, the cost of using medical resources can be reduced, and the maximum value of medical resources can be fully utilized to avoid resource waste.
[0018] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the local application. In the drawings:
[0020] Figure 1 A schematic diagram showing a process flow of a resource sharing processing method provided in an embodiment of the present application is shown;
[0021] Figure 2 A schematic diagram showing a flow chart of another resource sharing processing method provided in an embodiment of the present application;
[0022] Figure 3 A schematic diagram of the structure of a resource sharing processing device provided in an embodiment of the present application is shown;
[0023] Figure 4 A schematic diagram showing the structure of another resource sharing processing device provided in an embodiment of the present application is shown;
[0024] Figure 5 A schematic diagram of the physical structure of a computer device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0025] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0026] In view of the technical problems that existing resource sharing cannot realize flexible opening and closing, resulting in high resource costs, and cannot give full play to the maximum value of resource rights and interests, which easily leads to resource waste, this application provides a resource sharing processing method, such as Figure 1 As shown, the method includes:
[0027] 101. Receive a resource sharing request for a target resource. The resource sharing request carries a resource sharing type and a sharing initiating user.
[0028] Among them, the target resource is the right to use and the right to know about the items or information to be shared; the resource sharing request refers to the data request issued by the resource holder, that is, the sharing initiator, to other people to share the target resource; the resource sharing type is the resource type of the target resource, and the resource type may vary depending on the adaptation scenario of the resource. In this application, the target resource is the medical treatment resource in the medical industry as an example to illustrate the technical solution in this application, but it does not constitute a specific limitation on the technical solution in this application.
[0029] In the healthcare industry, sharing medical benefits through businesses or families presents numerous drawbacks and doesn't align with the demands of the era of family-based physicians. Exclusive benefits are relatively expensive. For example, a family of five would need to purchase dedicated medical benefits for each member. This makes prices less competitive for customers, leading to oversupply and a decrease in repeat purchase rates. Exclusive benefit plans also have a significant flaw: only the purchaser can log in to grant access to the designated recipient. The designated recipient cannot log in and use the benefits themselves. For example, a user (a son) purchases a 2020 Private Doctor Senior Citizen Card and activates it, restricting access to the card to the father. The son can only consult with the father on his behalf, registering for appointments, and other services; the father cannot log in and use the card. Medical resources include consultations, physical examinations, genetic monitoring, registration, medical aesthetics, health management, Healthy Life Pass, Traditional Chinese Medicine, name-based services, private doctors, Health E+, corporate business offices, smart hardware, critical illness services, nutritionists, psychological counseling, physical therapy and massage, dentistry / ophthalmology, pet services, nucleic acid testing, vaccines, insurance services, and other services.
[0030] Specifically, in this application, a new model of "medical rights sharing" can be developed. Based on enterprises and families, three types of resource sharing are divided for target resources: "family sharing", "enterprise sharing", and "enterprise family". "Family sharing" type: All members of the family can use the family sharing rights purchased by the purchaser. There is no limit on the number of times each person uses them until the rights are fully used up, and the number of family members is limited. "Enterprise sharing" type: All employees of the enterprise can use the enterprise sharing rights purchased by the enterprise, but the number of times each person uses them will be limited. When the total rights are used up or the maximum number of personal rights are used up, the personal use is completed. The "enterprise family" sharing type is an innovation of "enterprise sharing" plus "family sharing", that is, the rights purchased by the enterprise can be used not only by employees, but also by the employees' families. The number of times the employee's family rights are used is limited, and the number of employees' family members is limited.
[0031] The execution subject of this application may be a resource sharing processing system, which may be configured on the client side or the server side. After receiving a resource sharing request for a target resource, it may determine a resource sharing list containing at least one sharing receiving user according to the resource sharing type carried in the resource sharing request; further create a resource sharing connection between the sharing initiating user and the sharing receiving user to support resource calls to the target resource by the sharing initiating user and / or the sharing receiving user; finally, the resource rights and interests status of the target resource may be updated through the resource call results of the sharing initiating user and / or the sharing receiving user on the target resource.
[0032] 102. Obtain a resource sharing list that matches the resource sharing type, wherein the resource sharing list includes at least one sharing receiving user, wherein the sharing receiving user is associated with the sharing initiating user.
[0033] In a specific application scenario, after receiving a resource sharing request for a target resource, it is first necessary to detect whether the target resource has completed the activation of shared rights; after determining that the detection of shared rights activation has passed, the sharing rights of the target resource initiating user can be further queried, specifically whether the sharing initiating user has the sharing authority of the target resource, and whether the target resource has a sharing rights quota (that is, whether the number of people who share the rights of the target resource has reached the upper limit); if it is determined that the sharing initiating user has the sharing authority of the target resource, and the target resource has a sharing rights quota. Accordingly, before executing the steps of this embodiment, the steps of the embodiment also include: detecting whether the target resource has completed the activation of shared rights; if it is determined that the target resource has completed the activation of shared rights, querying whether the sharing initiating user has the sharing authority for the target resource, and whether the target resource has a sharing rights quota; if it is determined that the sharing initiating user has the sharing authority and the target resource has a sharing rights quota, obtaining a resource sharing list that matches the resource sharing type.
[0034] Among them, when querying the shared rights of the target resource, you can use the preset query interface to query whether the shared rights are included in the valid rights of the sharing initiating user corresponding to the target resource. Shared rights are composed of three parts. The first part is the exclusive rights of the sharing initiating user himself, which can be directly queried based on the userId. The second part is the corporate shared rights. Based on the userId, you can first find the corporate legal person, and then you can query the public rights of the corporate legal person. The third part is the family shared rights. Based on the userId, you can first find the shared card number that has been added and bound to the shared card, and then query the shared rights based on the card number. Another important thing after finding the rights is to calculate the number of available rights. The number of times a family shared card has been used is the sum of the number of times it has been used by family members bound to the card.
[0035] For this embodiment, the resource sharing list may differ according to the different resource sharing types. For example, for the "family sharing" sharing type, the resource sharing list may include the sharing receiving users corresponding to the spouse and immediate family members of the sharing initiating user; for the "enterprise sharing" sharing type, the resource sharing list may include the sharing receiving users corresponding to the sharing initiating user and the employees within the same enterprise; for the "enterprise family" sharing type, the resource sharing list may include the sharing receiving users corresponding to the spouse, immediate family members, and employees within the same enterprise of the sharing initiating user. In a specific application scenario, when obtaining a resource sharing list that matches the resource sharing type, as an optional method, a resource sharing list actively created by the sharing initiating user may be received; as another optional method, a resource sharing list that complies with the resource sharing permissions for the target resource may be automatically generated based on the resource sharing type and the user information of the sharing initiating user.
[0036] 103. Create a resource sharing connection between the sharing initiating user and the sharing receiving user. The resource sharing connection is used to support resource calls of the sharing initiating user and / or the sharing receiving user to the target resource.
[0037] In this embodiment, a sharing connection relationship can be created between the sharing initiator and the sharing recipient in the resource sharing list, thereby enabling the sharing initiator to authorize the sharing rights of the sharing recipient. In the case of sharing rights authorization, both the sharing initiator and the sharing recipient can call the target resource.
[0038] 104. Obtain resource call results of the sharing initiating user and / or the sharing receiving user on the target resource, and use the resource call results to update the resource rights and interests status of the target resource.
[0039] For this embodiment, in a specific application scenario, when the sharing initiating user and the target sharing receiving user make resource calls for the target resource, resource consumption statistics can be performed in real time to generate resource sharing records; at the same time, the resource remaining amount of the target resource corresponding to the sharable resource can also be determined. When the resource remaining amount is less than the resource call amount for the target resource by the sharing initiating user or the target sharing receiving user, a prompt message indicating that the shared resource online has been reached is output, and further resource calls for the target resource are restricted.
[0040] Through the resource sharing processing method in this embodiment, after receiving a resource sharing request for a target resource, the resource sharing type and the sharing initiating user can be extracted according to the resource sharing request, and a resource sharing list matching the resource sharing type can be further obtained, wherein the resource sharing list contains at least one sharing receiving user, wherein the sharing receiving user has an association relationship with the sharing initiating user; then a resource sharing connection can be created to support the sharing initiating user and the sharing receiving user to call the target resource; the resource call result of the sharing initiating user and / or the sharing receiving user on the target resource is obtained, and the resource rights and interests status of the target resource is updated using the resource call result. Through the technical solution of this application, resource sharing modes under various resource sharing types can be provided to meet the sharing needs of different customer scenarios, provide basic sharing capabilities for each business line, facilitate access, and realize flexible switching and activation of resource sharing. In addition, the technical solution in this application can be applied to medical resources. Through medical resource sharing, the cost of using medical resources can be reduced, and the maximum value of medical resources can be fully utilized to avoid waste of resources.
[0041] Furthermore, as a refinement and extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another resource sharing processing method is provided, such as Figure 2 As shown, the method includes:
[0042] 201. Receive a resource sharing request for a target resource, where the resource sharing request carries a resource sharing type and a sharing initiating user.
[0043] In a specific application scenario, the sharing initiator, as the resource holder of the target resource, can send a resource sharing request to create a sharing connection with the sharing receiving user who meets the sharing restriction conditions, thereby enabling the sharing of exclusive resources.
[0044] 202a. Receive a resource sharing list created by a sharing initiating user, and verify whether a selected user in the resource sharing list meets a sharing restriction condition that matches the resource sharing type.
[0045] In a specific application scenario, when obtaining a resource sharing list that matches the resource sharing type, as an optional method, a resource sharing list actively created by the sharing initiator user can be received. In this way, when the sharing initiator user submits the user for whom a shared connection relationship is to be created, in order to ensure the security of resource sharing, the selected user can first be queried for information to verify whether the user meets the resource sharing type's restrictions. For example, when the resource sharing type is "family sharing", it is necessary to determine whether the selected user is the sharing initiator user's spouse or immediate family member; when the resource sharing type is "enterprise sharing", it is necessary to determine whether the selected user is all employees of the sharing initiator user's enterprise; when the resource sharing type is "enterprise family", it is necessary to determine whether the selected user is the sharing initiator user's spouse, immediate family member, or an employee of the sharing initiator user's enterprise.
[0046] 203a. If it is determined that the selected user meets the sharing restriction conditions, the selected user is determined as the sharing receiving user; if it is determined that the selected user does not meet the sharing restriction conditions, the selected user is removed from the resource sharing list, and a first prompt message indicating that the selected user does not meet the sharing restriction conditions is output.
[0047] In this embodiment, continuing with step 202a of the embodiment, when it is determined that the user submitted by the sharing initiating user meets the resource sharing type restriction conditions, the selected user can be further determined as the sharing receiving user, and a resource sharing list including all sharing receiving users can be created. If it is determined that any selected user does not meet the sharing restriction conditions, the selected user can be removed from the resource sharing list, and a first prompt message indicating that the selected user does not meet the sharing restriction conditions can be output. The first prompt message can include at least one of a variety of prompt methods, such as a vibration prompt, a text prompt, a text prompt, an audio prompt, and a video prompt, and can be customized according to the actual application scenario.
[0048] As step 202b of the embodiment parallel to step 202a of the embodiment, the user information of the sharing initiating user is determined, and the target user type of the sharing receiving user is determined according to the resource sharing type.
[0049] 203b. Based on the user information of the sharing initiating user, retrieve all associated users of the sharing initiating user under the target user type in the preset knowledge graph network, wherein the preset knowledge graph network is a knowledge graph network that at least includes the user topological relationship of the sharing initiating user.
[0050] 204b. Calculate the association weights between the sharing initiating user and the associated users using a preset association model, select sharing receiving users whose corresponding association weights are greater than a preset weight threshold from the associated users, and construct a resource sharing list using the sharing receiving users.
[0051] In a specific application scenario, when obtaining a resource sharing list that matches a resource sharing type, as another optional method, the user type of the sharing recipient user can be first determined based on the resource sharing type, and the user information of the sharing initiating user can be further extracted. In the preset knowledge graph network, all associated users of the sharing initiating user under the user type are retrieved, and the association weights of the sharing initiating user and all associated users are calculated using a preset association model. Among them, the associated users are potential users who have or are likely to share interests with the sharing initiating user, and the association relationship with the sharing initiating user can be large or small. For this purpose, the sharing recipient users whose user association weights are greater than a preset weight threshold can be further screened out from all associated users, and the sharing recipient users can be used to create an initial resource sharing list, and the resource sharing list can be sent to the sharing initiating user as a sharing recommendation, so that the sharing initiating user can determine the sharing recipient user in the initial resource sharing list and obtain a resource sharing list containing at least one sharing recipient user.
[0052] In a specific application scenario, before searching for all associated users under the user type of the sharing initiating user in the preset knowledge graph network, it may also include: using a preset knowledge graph construction tool to identify the initial entity from the pre-collected specified information, where the specified information at least records the user information of the sharing initiating user, and the initial entity at least includes the sharing initiating user; deduplicating the initial entity to obtain the final entity; extracting the relationship between the final entities from the specified information to form a triple, and generating a preset knowledge graph network based on the triple.
[0053] The preset association model is a graph convolutional neural network model. Accordingly, before using the preset association model to calculate the association weights between the sharing initiating user and the associated users, the method may further include: training the preset association model for estimating user association weights based on a preprocessed sample graph topology network and a graph convolutional neural network algorithm. Accordingly, in this embodiment, when using the preset association model to calculate the association weights between the sharing initiating user and the associated users, step 204b of the embodiment may specifically include: generating a target graph topology network based on the preset knowledge graph network corresponding to the sharing initiating user, the target graph topology network comprising a network master node, multiple network sub-nodes, and node relationships between the network master node and the network sub-nodes, wherein the network master node corresponds to the sharing initiating user, and the network sub-nodes correspond to the associated users; inputting the target graph topology network into the trained preset association model to obtain the association weights between the sharing initiating user and any associated user. Furthermore, among the associated users, sharing recipient users whose corresponding association weights are greater than a preset weight threshold may be selected, and a resource sharing list may be generated using the sharing recipient users. The preset weight threshold is a value greater than 0 and less than 1. The closer the preset weight threshold is to 1, the greater the association between the selected sharing recipient users and the sharing initiating user, i.e., the greater the likelihood of resource sharing.
[0054] It should be noted that for this method of automatically determining the resource sharing list, in order to avoid unreasonable leakage of resources and make resource sharing more in line with the user's customized needs, before creating the resource call connection, the resource sharing list generated in this embodiment can be sent to the sharing initiating user as the initial resource sharing list, and the user's adjustments and modifications to the initial resource sharing list can be received. After the sharing initiating user confirms it, the final resource sharing list to be created and the sharing connection to be created by the sharing initiating user can be obtained. Unlike the first optional implementation method, the optional implementation method in this embodiment does not require the sharing initiating user to manually create the resource sharing list. Specifically, it can first determine an initial resource sharing list with a higher accuracy rate in an automated form. The sharing initiating user only needs to confirm or make simple adjustments to the initial resource sharing list, which can effectively reduce the user's workload and improve the efficiency of resource sharing creation.
[0055] 205. The sharing initiating user is used as the sharing master node, and the sharing receiving user in the resource sharing list is used as the sharing child node to create a blockchain network between the sharing initiating user and the sharing initiating user. A sharing smart contract is deployed in the blockchain network. The sharing smart contract is used to intelligently allocate the sharing rights and interests of the target resource and support the resource call of the sharing initiating user and / or the sharing receiving user on the target resource.
[0056] In this embodiment, a resource-sharing connection is established between the initiating user and the receiving user via a blockchain network. A shared smart contract is deployed within the blockchain network. Once the initiating user and / or receiving user triggers the smart contract execution, a network-wide broadcast of the resource call is triggered across all nodes within the blockchain network, enabling network-wide sharing of resource call information. Furthermore, a shared encryption key can be maintained within each information-sharing node, enabling the sharing of ciphertext between multiple parties holding the key, thus safeguarding the privacy and security of the target resource when a resource call occurs.
[0057] 206. Obtain the resource call result of the sharing initiating user and / or the sharing receiving user on the target resource, and use the resource call result to update the resource benefit status of the target resource.
[0058] In a specific application scenario, as a preferred implementation, the example steps also include: calculating the remaining amount of the target resource based on the resource equity status; when it is determined that the resource call amount of the target resource by the sharing initiating user and / or the sharing receiving user exceeds the remaining amount of the resource, rejecting the resource call for the target resource and outputting a second prompt message indicating that the upper limit of the target resource call has been reached. The second prompt message may include at least one of a variety of prompt methods, such as vibration prompt, SMS prompt, text prompt, audio prompt, and video prompt. The specific definition can be personalized according to the actual application scenario. To distinguish the second prompt message from the first prompt message, differentiated prompt methods can be preferably set for the first prompt message and the second prompt message.
[0059] By means of the above-mentioned resource sharing processing method, after receiving a resource sharing request for a target resource, the resource sharing type and the sharing initiating user can be extracted according to the resource sharing request, and a resource sharing list matching the resource sharing type can be further obtained, wherein the resource sharing list contains at least one sharing receiving user, wherein the sharing receiving user has an association relationship with the sharing initiating user; then a resource sharing connection can be created to support the sharing initiating user and the sharing receiving user to make resource calls to the target resource; the resource call results of the sharing initiating user and / or the sharing receiving user for the target resource are obtained, and the resource rights and interests status of the target resource is updated using the resource call results. Through the technical solution of the present application, resource sharing modes under various resource sharing types can be provided to meet the sharing needs of different customer scenarios, provide basic sharing capabilities for each business line, facilitate access, and realize flexible switching and activation of resource sharing. In addition, the technical solution in the present application can be applied to medical resources. Through the sharing of medical resources, the cost of using medical resources can be reduced, and the maximum value of medical resources can be fully utilized to avoid waste of resources.
[0060] Further, as Figure 1 and Figure 2 The specific implementation of the method shown in the embodiment of the present application provides a resource sharing processing device, such as Figure 3 As shown, the device includes: a receiving module 31, a first obtaining module 32, a creating module 33, and an updating module 34;
[0061] The receiving module 31 is configured to receive a resource sharing request for a target resource, wherein the resource sharing request carries a resource sharing type and a sharing initiating user;
[0062] A first acquisition module 32 is configured to acquire a resource sharing list matching the resource sharing type, wherein the resource sharing list includes at least one sharing receiving user, wherein the sharing receiving user is associated with the sharing initiating user;
[0063] A creation module 33 is configured to create a resource sharing connection between a sharing initiating user and a sharing receiving user. The resource sharing connection is configured to support resource calls to target resources by the sharing initiating user and / or the sharing receiving user.
[0064] The updating module 34 may be configured to obtain resource call results of the sharing initiating user and / or the sharing receiving user on the target resource, and update the resource rights and interests status of the target resource using the resource call results.
[0065] In specific application scenarios, such as Figure 4 As shown, the device further includes: a detection module 35, a query module 36, and a second acquisition module 37;
[0066] Detection module 35, which can be used to detect whether the target resource has completed the shared rights activation;
[0067] The query module 36 is used to query whether the sharing initiator has the sharing permission for the target resource and whether the target resource has a sharing quota if it is determined that the target resource has completed the sharing privilege activation.
[0068] The second acquisition module 37 can be used to acquire a resource sharing list that matches the resource sharing type if it is determined that the sharing initiating user has sharing authority and the target resource has sharing rights quota.
[0069] In a specific application scenario, as an optional method, when obtaining a resource sharing list that matches the resource sharing type, the first acquisition module 32 can be specifically used to receive the resource sharing list created by the sharing initiating user, and verify whether the selected user in the resource sharing list meets the sharing restriction conditions that match the resource sharing type; if it is determined that the selected user meets the sharing restriction conditions, the selected user is determined as the sharing receiving user; if it is determined that the selected user does not meet the sharing restriction conditions, the selected user is removed from the resource sharing list, and a first prompt information that the selected user does not meet the sharing restriction conditions is output.
[0070] In a specific application scenario, as another optional method, when obtaining a resource sharing list that matches the resource sharing type, the first acquisition module 32 can also be used to determine the user information of the sharing initiating user, and determine the target user type of the sharing receiving user according to the resource sharing type; based on the user information of the sharing initiating user, all associated users of the sharing initiating user under the target user type are retrieved in the preset knowledge graph network, wherein the preset knowledge graph network is a knowledge graph network that at least includes the user topological relationship of the sharing initiating user; the association weights between the sharing initiating user and the associated users are calculated using the preset association model; the sharing receiving users whose corresponding association weights are greater than the preset weight threshold are screened among the associated users, and the resource sharing list is generated using the sharing receiving users.
[0071] In a specific application scenario, the preset association model is a graph convolutional neural network model. When the preset association model is used to calculate the association weights between the sharing initiating user and the associated users, the first acquisition module 32 can be specifically used to generate a target graph topology network based on the preset knowledge graph network corresponding to the sharing initiating user. The target graph topology network includes a network main node, multiple network sub-nodes, and a node relationship between the network main node and the network sub-nodes. The network main node corresponds to the sharing initiating user, and the network sub-node corresponds to the associated user; the target graph topology network is input into the trained preset association model to obtain the association weights between the sharing initiating user and any associated user.
[0072] In a specific application scenario, when creating a resource sharing connection between a sharing initiating user and a sharing receiving user, a creation module 33 can be used to use the sharing initiating user as a sharing master node and the sharing receiving user in the resource sharing list as a sharing child node to create a blockchain network between the sharing initiating user and the sharing initiating user. A sharing smart contract is deployed in the blockchain network. The sharing smart contract is used to intelligently allocate the sharing rights and interests of the target resources, and support the sharing initiating user and / or the sharing receiving user to call the target resources.
[0073] In specific application scenarios, such as Figure 4 As shown, the device further includes: a calculation module 38, a processing unit 39;
[0074] A calculation module 38, which can be used to calculate the resource remaining amount of the target resource according to the resource equity status;
[0075] The processing unit 39 can be used to reject the resource call for the target resource and output a second prompt message that the target resource call limit has been reached when it is determined that the resource call amount of the sharing initiating user and / or the sharing receiving user for the target resource is greater than the remaining resource amount.
[0076] It should be noted that for other corresponding descriptions of the functional units involved in the resource sharing processing device provided in this embodiment, please refer to Figures 1 to 2 The corresponding description will not be repeated here.
[0077] Based on the above Figures 1 to 2 The method shown in FIG. 1 is a method for performing the above-mentioned operation. Accordingly, this embodiment further provides a non-volatile storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor, the above-mentioned operation is performed. Figures 1 to 2 The resource sharing processing method shown.
[0078] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.
[0079] Based on the above Figures 1 to 2 The method shown and Figure 3 、 Figure 4 In order to achieve the above-mentioned purpose, the embodiment of the virtual device shown in FIG. 1 further provides a physical structure diagram of a computer device, such as Figure 5 As shown, the computer device includes: a processor 41, a memory 42, and a computer program stored in the memory 42 and capable of running on the processor, wherein the memory 42 and the processor 41 are both arranged on a bus 43, and the processor 41 implements the above-mentioned Figures 1 to 2 The resource sharing processing method shown.
[0080] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and may optionally include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Wi-Fi interface), etc.
[0081] Those skilled in the art will understand that the computer device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different component arrangements.
[0082] The non-volatile storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the computer device and supports the execution of information processing programs and other software and / or programs. The network communication module is used to enable communication between components within the non-volatile storage medium and with other hardware and software within the information processing device.
[0083] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware.
[0084] By applying the technical solution of the present application, compared with the current existing technology, the present application can extract the resource sharing type and the sharing initiating user according to the resource sharing request after receiving the resource sharing request for the target resource, and further obtain a resource sharing list that matches the resource sharing type, wherein the resource sharing list contains at least one sharing receiving user, wherein the sharing receiving user has an association with the sharing initiating user; then a resource sharing connection can be created to support the sharing initiating user and the sharing receiving user to call the target resource; the resource call results of the sharing initiating user and / or the sharing receiving user for the target resource are obtained, and the resource rights and interests status of the target resource is updated using the resource call results. Through the technical solution of the present application, resource sharing modes under various resource sharing types can be provided to meet the sharing needs of different customer scenarios, provide basic sharing capabilities for each business line, facilitate access, and realize flexible switching and activation of resource sharing. In addition, the technical solution in the present application can be applied to medical resources. Through the sharing of medical resources, the cost of using medical resources can be reduced, and the maximum value of medical resources can be fully utilized to avoid waste of resources.
[0085] Those skilled in the art will understand that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily required to implement the present application. Those skilled in the art will understand that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the implementation scenario description, or can be changed accordingly and located in one or more devices different from the implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple sub-modules.
[0086] The serial numbers of the above application are for descriptive purposes only and do not represent the advantages or disadvantages of the implementation scenarios. The above disclosure only discloses several specific implementation scenarios of the present application, but the present application is not limited thereto. Any changes that can be conceived by those skilled in the art should fall within the scope of protection of the present application.
Claims
1. A resource sharing processing method, characterized in that: include: receiving a resource sharing request for a target resource, wherein the resource sharing request carries a resource sharing type and a sharing initiating user, wherein the resource sharing type includes a family sharing type, an enterprise sharing type, and an enterprise family sharing type; Obtain a resource sharing list that matches the resource sharing type, wherein the resource sharing list includes at least one receiving sharing user. The resource sharing list is determined after screening an initial resource sharing list, wherein the initial resource sharing list includes a user-created list and a list retrieved from a preset knowledge graph network based on the user information of the sharing initiating user. Different resource sharing types correspond to different resource sharing lists, wherein the receiving sharing user has an associated relationship with the sharing initiating user. Creating a resource sharing connection between the sharing initiating user and the sharing receiving user, wherein the resource sharing connection is used to support resource calls of the target resource by the sharing initiating user and / or the sharing receiving user; Obtain resource call results of the sharing initiating user and / or the sharing receiving user on the target resource, and use the resource call results to update the resource rights and interests status of the target resource.
2. The method according to claim 1, characterized in that Before obtaining a resource sharing list matching the resource sharing type, the method further includes: Detecting whether the target resource has completed shared benefit activation; If it is determined that the target resource has completed the sharing rights activation, query whether the sharing initiating user has the sharing authority for the target resource and whether the target resource has a sharing rights quota; If it is determined that the sharing initiating user has sharing authority and the target resource has sharing rights, a resource sharing list matching the resource sharing type is obtained.
3. The method according to claim 1, characterized in that The acquiring of a resource sharing list matching the resource sharing type includes: receiving a resource sharing list created by the sharing initiating user, and verifying whether a selected user in the resource sharing list meets a sharing restriction condition matching the resource sharing type; If it is determined that the selected user meets the sharing restriction condition, the selected user is determined as a sharing receiving user; If it is determined that the selected user does not meet the sharing restriction condition, the selected user is removed from the resource sharing list, and a first prompt message indicating that the selected user does not meet the sharing restriction condition is output.
4. The method according to claim 1, wherein The acquiring of a resource sharing list matching the resource sharing type includes: Determining user information of the sharing initiating user, and determining a target user type of the sharing receiving user according to the resource sharing type; Based on the user information of the sharing initiating user, all associated users of the sharing initiating user under the target user type are retrieved in a preset knowledge graph network, wherein the preset knowledge graph network is a knowledge graph network that at least includes the user topological relationship of the sharing initiating user; Calculating the association weight between the sharing initiating user and the associated user using a preset association model; The shared receiving users whose corresponding associated weights are greater than a preset weight threshold are screened from the associated users, and a resource sharing list is generated using the shared receiving users.
5. The method according to claim 4, characterized in that The preset association model is a graph convolutional neural network model, and the calculation of the association weight between the sharing initiating user and the associated user using the preset association model includes: Generate a target graph topology network according to the preset knowledge graph network corresponding to the sharing initiating user, wherein the target graph topology network includes a network main node, multiple network sub-nodes, and node relationships between the network main node and the network sub-nodes, the network main node corresponds to the sharing initiating user, and the network sub-nodes correspond to the associated users; The target graph topology network is input into a trained preset association model to obtain an association weight between the sharing initiating user and any of the associated users.
6. The method according to claim 1, characterized in that The step of creating a resource sharing connection between the sharing initiating user and the sharing receiving user includes: The sharing initiating user is used as the sharing master node, and the sharing receiving user in the resource sharing list is used as the sharing child node to create a blockchain network between the sharing initiating user and the sharing initiating user. A sharing smart contract is deployed in the blockchain network. The sharing smart contract is used to intelligently allocate the sharing rights and interests of the target resource and support the resource call of the target resource by the sharing initiating user and / or the sharing receiving user.
7. The method according to claim 1, characterized in that After obtaining the resource call result of the sharing initiating user and / or the sharing receiving user on the target resource and updating the resource benefit status of the target resource using the resource call result, the method further includes: Calculate the remaining amount of the target resource according to the resource equity status; When it is determined that the resource call amount of the target resource by the sharing initiating user and / or the sharing receiving user is greater than the remaining resource amount, the resource call for the target resource is rejected, and a second prompt message that the target resource call upper limit is reached is output.
8. A resource sharing processing device, characterized in that: include: a receiving module, configured to receive a resource sharing request for a target resource, wherein the resource sharing request carries a resource sharing type and a sharing initiating user, wherein the resource sharing type includes a family sharing type, an enterprise sharing type, and an enterprise family sharing type; an acquisition module, configured to acquire a resource sharing list matching the resource sharing type, wherein the resource sharing list includes at least one receiving sharing user, and the resource sharing list is determined after screening an initial resource sharing list, wherein the initial resource sharing list includes a user-created list and a list retrieved from a preset knowledge graph network based on user information of a sharing initiating user, and different resource sharing types correspond to different resource sharing lists, wherein the receiving sharing user has an associated relationship with the sharing initiating user; a creation module, configured to create a resource sharing connection between the sharing initiating user and the sharing receiving user, wherein the resource sharing connection is configured to support resource calls of the target resource by the sharing initiating user and / or the sharing receiving user; An updating module is configured to obtain a resource calling result of the target resource by the sharing initiating user and / or the sharing receiving user, and to update the resource rights and interests status of the target resource using the resource calling result.
9. A non-volatile readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the resource sharing processing method according to any one of claims 1 to 7 is implemented.
10. A computer device comprising a non-volatile readable storage medium, a processor, and a computer program stored in the non-volatile readable storage medium and executable on the processor, wherein: When the processor executes the program, the resource sharing processing method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Resource sharing method and apparatus
CN105743947A
Resource sharing method, server and storage medium
CN111275510A