Resource sharing method and apparatus, electronic device, and computer-readable storage medium

By detecting and verifying resource change operations on the terminal, the efficiency and security issues of resource sharing between heterogeneous systems are resolved, achieving efficient and secure resource sharing.

CN116149876BActive Publication Date: 2026-02-13INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310139717.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2026-02-13
Estimated Expiration
2043-02-13

AI Technical Summary

Technical Problem

Existing technologies cannot effectively guarantee the efficiency and security of resource sharing between heterogeneous systems.

Method used

By detecting changes to resource information by the terminal, the server determines the resource information to be shared, the resource sharing type, and the terminal type. The server then sends the resource information to the second terminal for verification, and resource sharing is performed based on the verification result and the terminal type.

Benefits of technology

It improves the efficiency and security of resource sharing between heterogeneous systems and ensures the effectiveness of the resource sharing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116149876B_ABST
    Figure CN116149876B_ABST
Patent Text Reader

Abstract

The present disclosure provides a resource sharing method and device, electronic equipment and computer readable storage medium, which can be applied to the fields of computer technology, cloud computing technology, big data technology and finance. The resource sharing method comprises: in response to detecting a change operation of a first terminal on any resource information in at least one resource information, determining to-be-shared resource information, a resource sharing type and a terminal type of the first terminal, the to-be-shared resource information comprising at least one target resource information; sending the to-be-shared resource information to a second terminal, so that the second terminal respectively verifies the at least one target resource information to obtain a verification result corresponding to each of the at least one target resource information; and in response to the verification result representing that the target resource information corresponding to the verification result passes the verification, performing resource sharing on the to-be-shared resource corresponding to the target resource information according to the resource sharing type and the terminal type.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical fields of computer technology, cloud computing technology, big data technology and finance, and more particularly, to a resource sharing method and apparatus, an electronic device, a computer readable storage medium and a computer program product. BACKGROUND

[0002] With the development of computer technology, cloud computing technology and big data technology are increasingly widely applied. As an important part of cloud computing, the demand for remote office based on cloud desktop is also gradually increasing.

[0003] Remote office needs to realize resource sharing between heterogeneous systems in the case of traceable resources. Resources can refer to software, hardware and data resources in the network. Sharing can refer to the ability of users in the network to partially or fully use these resources.

[0004] In the process of implementing the present disclosure, the inventors found that at least the following problems exist in the related art: the efficiency and security of resource sharing between heterogeneous systems cannot be guaranteed. SUMMARY

[0005] Therefore, the present disclosure provides a resource sharing method and apparatus, an electronic device, a computer readable storage medium and a computer program product.

[0006] According to an aspect of the present disclosure, a resource sharing method is provided, applied to a server, comprising:

[0007] In response to detecting a change operation of a first terminal on any resource information in at least one resource information, determining to-be-shared resource information, a resource sharing type and a terminal type of the first terminal, wherein the to-be-shared resource information comprises at least one target resource information, and each of the at least one target resource information corresponds to a to-be-shared resource;

[0008] sending the to-be-shared resource information to a second terminal, so that the second terminal respectively verifies the at least one target resource information to obtain a verification result corresponding to each of the at least one target resource information; and

[0009] In response to the verification result indicating that the target resource information corresponding to the verification result passes the verification, performing resource sharing on the to-be-shared resource corresponding to the target resource information according to the resource sharing type and the terminal type.

[0010] According to an embodiment of the present disclosure, the resource sharing method further comprises, before the step of determining to-be-shared resource information, a resource sharing type and a terminal type of a first terminal in response to detecting a change operation of the first terminal on any resource information in at least one resource information:

[0011] In response to receiving the resource sharing request from the first terminal, candidate resources corresponding to at least one resource identifier in the resource sharing request are obtained;

[0012] The candidate resources corresponding to the at least one resource identifier are processed respectively to obtain resource information corresponding to the at least one resource identifier; and

[0013] The resource information corresponding to the at least one resource identifier is sent to the first terminal, so that the first terminal processes the resource information corresponding to the at least one resource identifier.

[0014] According to an embodiment of the present disclosure, the processing of the candidate resources corresponding to the at least one resource identifier respectively to obtain the resource information corresponding to the at least one resource identifier comprises:

[0015] For each candidate resource corresponding to the at least one resource identifier,

[0016] The candidate resource is scanned to obtain sharing permission information, occupied space information, and resource sensitivity information corresponding to the candidate resource;

[0017] The permission identifier is determined according to the sharing permission information;

[0018] The occupied space identifier is determined according to the occupied space information;

[0019] The secret level identifier is determined according to the resource sensitivity information; and

[0020] The resource information corresponding to the candidate resource is determined according to the permission identifier, the occupied space identifier, and the secret level identifier.

[0021] According to an embodiment of the present disclosure, in response to the verification result indicating that the target resource information corresponding to the verification result passes the verification, the resource sharing of the to-be-shared resource corresponding to the target resource information according to the resource sharing type and the terminal type comprises:

[0022] In response to the verification result indicating that the target resource information corresponding to the verification result passes the verification, the resource sharing type and the terminal type are matched according to a preset mapping relationship to obtain a resource sharing scheme corresponding to the to-be-shared resource information; and

[0023] The to-be-shared resource corresponding to the target resource information is shared according to the resource sharing scheme;

[0024] The preset mapping relationship includes at least one preset sharing rule and a preset resource sharing scheme corresponding to each of the at least one preset sharing rule.

[0025] According to an embodiment of the present disclosure, the resource sharing type includes resource copy sharing and resource migration sharing, and the terminal type includes a physical terminal and a cloud terminal.

[0026] According to an embodiment of the present disclosure, the preset mapping relationship is determined in the following manner:

[0027] In a case where the terminal type is the physical terminal and the resource sharing type is the resource copy sharing, a first preset resource sharing scheme is determined.

[0028] In a case where the terminal type is the physical terminal and the resource sharing type is the resource migration sharing, a second preset resource sharing scheme is determined.

[0029] In a case where the terminal type is the cloud terminal and the resource sharing type is the resource copy sharing, a third preset resource sharing scheme is determined; and

[0030] In a case where the terminal type is the cloud terminal and the resource sharing type is the resource migration sharing, a fourth preset resource sharing scheme is determined.

[0031] According to an embodiment of the present disclosure, in response to detecting a change operation of the first terminal on any resource information in the at least one resource information, determining the resource information to be shared, the resource sharing type, and the terminal type of the first terminal includes:

[0032] In response to detecting the change operation of the first terminal on any resource information in the at least one resource information, determining the resource sharing type, the terminal type, and at least one changed resource identifier corresponding to the change operation;

[0033] According to the at least one changed resource identifier, obtaining change resource information corresponding to each of the at least one changed resource identifier; and

[0034] According to the resource information corresponding to each of the at least one resource identifier and the change resource information corresponding to each of the at least one changed resource identifier, determining the at least one target resource information.

[0035] According to an aspect of the present disclosure, a resource sharing method applied to a first terminal is provided, including:

[0036] In response to receiving resource information from the server corresponding to at least one resource identifier, determine the permission identifier, space occupied identifier, and security level identifier corresponding to each of the at least one resource identifier.

[0037] Based on the permission identifier, the occupied space identifier, and the security classification identifier corresponding to each of the above-mentioned at least one resource identifier, at least one modified resource identifier is determined from the above-mentioned at least one resource identifier; and

[0038] Based on the above at least one change resource identifier, the resource information corresponding to each of the above at least one change resource identifier is changed to obtain the change resource information corresponding to each of the above at least one change resource identifier.

[0039] According to one aspect of this disclosure, a resource sharing method is provided, applied to a second terminal, comprising:

[0040] In response to receiving the resource information to be shared from the server, based on the target resource information corresponding to each of the at least one target resource identifier in the resource information to be shared, the permission identifier, space occupied identifier, and security level identifier corresponding to each of the at least one target resource identifier are determined.

[0041] According to preset verification rules, the permission identifier, the space occupied identifier, and the security level identifier corresponding to each of the at least one target resource identifier are verified respectively, and verification results corresponding to each of the at least one target resource identifier are obtained; and

[0042] The verification results corresponding to each of the above-mentioned at least one target resource identifier are sent to the above-mentioned server so that the above-mentioned server can share resources based on the above-mentioned verification results.

[0043] According to embodiments of this disclosure, the above-mentioned verification of the permission identifier, the space occupied identifier, and the security level identifier corresponding to each of the at least one target resource identifier according to preset verification rules, to obtain the verification results corresponding to each of the at least one target resource identifier, includes:

[0044] For the target resource identifier in at least one of the above target resource identifiers,

[0045] The above-mentioned permission identifier, above-mentioned space occupied identifier, and above-mentioned security level identifier corresponding to the above-mentioned target resource identifier are matched with the above-mentioned preset verification rules to obtain the matching result;

[0046] If the matching result is determined to be consistent with the permission identifier, the occupied space identifier, the security level identifier, and the preset verification rule, then the verification result indicating that the target resource information corresponding to the target resource identifier has passed the verification is obtained; and

[0047] In a case where the matching result represents that the permission identifier, the space identifier, the secret level identifier, and the preset verification rule are inconsistent, the verification result representing that the target resource information corresponding to the target resource identifier fails to pass the verification is obtained.

[0048] According to another aspect of the present disclosure, a resource sharing apparatus is provided, which is applied to a server and includes:

[0049] The first determining module is configured to, in response to detecting a change operation performed by the first terminal on any resource information in the at least one resource information, determine to-be-shared resource information, a resource sharing type, and a terminal type of the first terminal, wherein the to-be-shared resource information includes at least one target resource information, and each of the at least one target resource information corresponds to a to-be-shared resource.

[0050] The first sending module is configured to send the to-be-shared resource information to a second terminal, so that the second terminal verifies the at least one target resource information respectively, and obtains a verification result corresponding to each of the at least one target resource information.

[0051] The resource sharing module is configured to, in response to the verification result representing that the target resource information corresponding to the verification result passes the verification, perform resource sharing on the to-be-shared resource corresponding to the target resource information according to the resource sharing type and the terminal type.

[0052] According to another aspect of the present disclosure, a resource sharing apparatus is provided, which is applied to a first terminal and includes:

[0053] The second determining module is configured to, in response to receiving resource information corresponding to at least one resource identifier from a server, determine a permission identifier, a space identifier, and a secret level identifier corresponding to each of the at least one resource identifier.

[0054] The third determining module is configured to determine at least one change resource identifier in the at least one resource identifier according to the permission identifier, the space identifier, and the secret level identifier corresponding to each of the at least one resource identifier.

[0055] The change module is configured to change resource information corresponding to each of the at least one change resource identifier according to the at least one change resource identifier, and obtain change resource information corresponding to each of the at least one change resource identifier.

[0056] According to another aspect of the present disclosure, a resource sharing apparatus is provided, which is applied to a second terminal and includes:

[0057] The fourth determining module is used to respond to receiving the resource information to be shared from the server, and to determine the permission identifier, space occupied identifier and security level identifier corresponding to each of the at least one target resource identifier in the resource information to be shared.

[0058] The verification module is configured to verify, according to preset verification rules, the permission identifier, the space occupied identifier, and the security level identifier corresponding to each of the at least one target resource identifier, and obtain the verification result corresponding to each of the at least one target resource identifier; and

[0059] The second sending module is used to send the verification results corresponding to each of the at least one target resource identifier to the server so that the server can share resources based on the verification results.

[0060] According to another aspect of this disclosure, an electronic device is provided, comprising:

[0061] One or more processors;

[0062] Memory, used to store one or more instructions.

[0063] When one or more of the above instructions are executed by one or more processors, the one or more processors cause the one or more processors to implement the method as described in this disclosure.

[0064] According to another aspect of this disclosure, a computer-readable storage medium is provided having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the methods described in this disclosure.

[0065] According to another aspect of this disclosure, a computer program product is provided, which includes computer-executable instructions that, when executed, are used to perform the methods described in this disclosure.

[0066] According to embodiments of this disclosure, since the verification result is obtained by the second terminal verifying at least one target resource information, and the at least one target resource information is determined by the server detecting the change operation performed by the first terminal on any resource information, the verification result can characterize whether the target resource information passes the verification. Based on this, resource sharing between heterogeneous systems can be realized according to the resource sharing type and terminal type, thus at least partially overcoming the technical problems in related technologies that cannot guarantee the efficiency and security of resource sharing between heterogeneous systems. Resource sharing is achieved through the interaction between the server, the first terminal, and the second terminal, thereby improving the efficiency of resource sharing between heterogeneous systems and further improving the security of resource sharing. Attached Figure Description

[0067] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description when taken in conjunction with the accompanying drawings, in which:

[0068] Figure 1 A system architecture to which the resource sharing method according to embodiments of the present disclosure can be applied is schematically shown;

[0069] Figure 2 A flowchart of the resource sharing method according to embodiments of the present disclosure is schematically shown;

[0070] Figure 3 An example schematic diagram of a process of processing candidate resources corresponding to at least one resource identifier respectively to obtain resource information corresponding to the at least one resource identifier respectively according to embodiments of the present disclosure is schematically shown;

[0071] Figure 4 An example schematic diagram of a process of determining a preset mapping relationship according to embodiments of the present disclosure is schematically shown;

[0072] Figure 5 A flowchart of the resource sharing method according to another embodiment of the present disclosure is schematically shown;

[0073] Figure 6 A flowchart of the resource sharing method according to another embodiment of the present disclosure is schematically shown;

[0074] Figure 7 An example schematic diagram of a resource sharing process according to embodiments of the present disclosure is schematically shown;

[0075] Figure 8 A block diagram of a resource sharing apparatus according to embodiments of the present disclosure is schematically shown;

[0076] Figure 9 A block diagram of a resource sharing apparatus according to another embodiment of the present disclosure is schematically shown;

[0077] Figure 10 A block diagram of a resource sharing apparatus according to another embodiment of the present disclosure is schematically shown; and

[0078] Figure 11 A block diagram of an electronic device suitable for implementing the resource sharing method according to embodiments of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0079] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood, however, that the description is merely exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description of the embodiments, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. However, it would be apparent to those skilled in the art that the embodiments, or one or more embodiments, can be practiced without these specific details. In other instances, well-known structures and

[0080] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the present disclosure. As used herein, the term "including" "comprising" and the like are meant to be inclusive, but not limiting to the components, steps, operations and / or features that were listed.

[0081] All terms used herein, including technical and scientific terms, have the meanings commonly understood by one of ordinary skill in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted as having a meaning that is consistent with the context of the specification, and should not be interpreted in an idealized or overly formal way.

[0082] In the case where expressions such as "at least one of A, B, and C, etc." are used, it generally should be interpreted to include any of one, two, three, etc., of the listed items, individually or in combination. In the case where expressions such as "at least one of A, B, or C, etc." are used, it generally should be interpreted to include any of one, two, three, etc., of the listed items, individually or in combination. In the case where expressions such as "at least one of A, B, and C, etc." are used, it generally should be interpreted to include any of one, two, three, etc., of the listed items, individually or in combination. In the case where expressions such as "at least one of A, B, or C, etc." are used, it generally should be interpreted to include any of one, two, three, etc., of the listed items, individually or in combination.

[0083] In the technical solutions of the present disclosure, the acquisition, storage and application of user personal information comply with relevant laws and regulations, necessary security measures are taken, and the public order and good customs are not violated.

[0084] In the technical solutions of the present disclosure, the authorization or consent of the user is obtained before the user personal information is acquired or collected.

[0085] A computer network can include a plurality of computers interconnected with each other through a communication network, and a user on each computer can use resources on other computers for resource sharing. For example, device sharing can be performed so that a user can use external devices such as a printer; data sharing can be performed so that a user can access a shared database; file sharing can be performed so that a user can access file resources on a shared server, and the like.

[0086] In the related art, the efficiency of resource sharing is low because the storage capacity of the resource to be shared can be large. In addition, the security of resource sharing is low because some resources have a special format, which leads to incorrect identification of the resource classification, and the like.

[0087] To at least partially solve the technical problems in the related art, the present disclosure provides a resource sharing method and device, an electronic device, and a computer readable storage medium, which can be applied to the fields of computer technology, cloud computing technology, big data technology, and finance. The resource sharing method includes: in response to detecting a change operation performed by a first terminal on any resource information in at least one resource information, determining to-be-shared resource information, a resource sharing type, and a terminal type of the first terminal, wherein the to-be-shared resource information includes at least one target resource information, and each of the at least one target resource information corresponds to a to-be-shared resource; sending the to-be-shared resource information to a second terminal, so that the second terminal respectively verifies the at least one target resource information to obtain a verification result corresponding to each of the at least one target resource information; and in response to the verification result indicating that the target resource information corresponding to the verification result passes the verification, performing resource sharing on the to-be-shared resource corresponding to the target resource information according to the resource sharing type and the terminal type.

[0088] It should be noted that the resource sharing method and device provided in the embodiments of the present disclosure can be applied to the fields of computer technology, cloud computing technology, big data technology, and finance, for example, to the field of Internet technology. The resource sharing method and device provided in the embodiments of the present disclosure can also be applied to any field other than the fields of computer technology, cloud computing technology, big data technology, and finance, for example, to the field of information security technology. The application field of the resource sharing method and device provided in the embodiments of the present disclosure is not limited.

[0089] Figure 1 A system architecture to which the resource sharing method can be applied is schematically shown according to an embodiment of the present disclosure. It should be noted that, Figure 1 The system architecture shown is only an example of a system architecture to which the embodiments of the present disclosure can be applied, to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure cannot be applied to other devices, systems, environments, or scenarios.

[0090] AsFigure 1 As shown, the system architecture 100 according to this embodiment can include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is a medium for providing communication links between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 can include various connection types, such as wired, wireless communication links, or fiber optic cables, and the like.

[0091] A user can use at least one of the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, and the like. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, and the like (only as examples).

[0092] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smartphones, tablet computers, laptop computers, desktop computers, and the like.

[0093] The server 105 can be a server providing various services, such as a background management server providing support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (only as an example). The background management server can analyze and process received user requests and the like, and feed back the processing results (such as web pages, information, or data, and the like obtained or generated according to user requests) to the terminal devices.

[0094] It should be noted that the resource sharing method provided by the embodiments of the present disclosure can generally be executed by the server 105. Accordingly, the resource sharing apparatus provided by the embodiments of the present disclosure can generally be arranged in the server 105. The resource sharing method provided by the embodiments of the present disclosure can also be executed by a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105. Accordingly, the resource sharing apparatus provided by the embodiments of the present disclosure can also be arranged in a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105.

[0095] Alternatively, the resource sharing method provided by the embodiments of the present disclosure can also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103, or can also be executed by other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103. Correspondingly, the resource sharing apparatus provided by the embodiments of the present disclosure can also be arranged in the first terminal device 101, the second terminal device 102, or the third terminal device 103, or can also be arranged in other terminal devices different from the first terminal device 101, the second terminal device 102, or the third terminal device 103.

[0096] It should be understood that Figure 1 The number of terminal devices, networks, and servers in the above-mentioned embodiments is merely illustrative. Any number of terminal devices, networks, and servers can be provided according to implementation needs.

[0097] It should be noted that the serial numbers of the various operations in the following methods are merely used to represent the operations for description, and should not be regarded as representing the execution sequence of the various operations. The method does not need to be executed in the order shown unless explicitly indicated.

[0098] Figure 2 A flowchart of a resource sharing method according to an embodiment of the present disclosure is schematically shown.

[0099] As Figure 2 shown, the method 200 includes operations S210-S230.

[0100] At operation S210, in response to detecting a change operation performed by the first terminal on any resource information in the at least one resource information, determining to-be-shared resource information, a resource sharing type, and a terminal type of the first terminal, wherein the to-be-shared resource information includes at least one target resource information, and each of the at least one target resource information corresponds to a to-be-shared resource.

[0101] At operation S220, the to-be-shared resource information is sent to the second terminal, so that the second terminal respectively verifies the at least one target resource information to obtain a verification result corresponding to each of the at least one target resource information.

[0102] At operation S230, in response to the verification result representing that the target resource information corresponding to the verification result passes the verification, performing resource sharing on the to-be-shared resource corresponding to the target resource information according to the resource sharing type and the terminal type.

[0103] According to an embodiment of the present disclosure, the resource sharing process can include at least one of the following steps: resource scanning, resource processing, resource uploading, resource approval, and resource delivery. The resource sharing method 200 can be applied to a server. The server can refer to a terminal that implements resource scanning and resource delivery. The first terminal can refer to a terminal used by a user who initiates resource sharing. For example, the first terminal can refer to a terminal that implements resource processing and resource uploading. The second terminal can refer to a terminal used by a user who audits a resource to be shared. For example, the second terminal can refer to a terminal that implements resource approval.

[0104] According to an embodiment of the present disclosure, the resource information can be used to represent information related to the resource. The resource can include at least one of the following: static resources and dynamic resources. The static resource can include at least one of the following: HTML (Hyper Text Markup Language) resource, JS (JavaScript) resource, CSS (Cascading Style Sheets) resource, TXT (text document) resource, picture resource, and video resource. The dynamic resource can include at least one of the following: Servlet (Servlet Applet) resource and JSP (Java Server Pages) resource.

[0105] According to an embodiment of the present disclosure, the resource information can include at least one of the following: resource identification, permission identification corresponding to the resource identification, occupied space identification corresponding to the resource identification, and secret level identification corresponding to the resource identification. The permission identification can be used to represent sharing permission information corresponding to the resource identification. The occupied space identification can be used to represent occupied space information corresponding to the resource identification. The secret level identification can be used to represent resource sensitivity information corresponding to the resource identification.

[0106] According to an embodiment of the present disclosure, the change operation can include at least one of the following: Add operation, Update operation, Delete operation, and Reload operation. In response to detecting a change operation performed by the first terminal on any resource information in the at least one resource information, the resource information to be shared, the resource sharing type, and the terminal type of the first terminal can be determined.

[0107] According to an embodiment of the present disclosure, the to-be-shared resource information can comprise at least one target resource information. The target resource information can be obtained by processing the resource information corresponding to the change operation according to the change resource information corresponding to the change operation. Each of the at least one target resource information can correspond to a to-be-shared resource. The at least one to-be-shared resource can each correspond to a resource identifier. The to-be-shared resource and the target resource information can be associated based on the resource identifier.

[0108] According to an embodiment of the present disclosure, the resource sharing type can comprise at least one of the following: resource copy sharing and resource migration sharing. The resource copy sharing can refer to resource sharing on the to-be-shared resource by copying. The resource migration sharing can refer to resource sharing on the to-be-shared resource by migration.

[0109] According to an embodiment of the present disclosure, the terminal type can comprise at least one of the following: a physical terminal (i.e., Computer Terminal), a virtual terminal (i.e., Virtual Terminal), and a pseudo terminal (i.e., Pseudo Terminal). The physical terminal can refer to an input and output device connected to a computer system. For example, the physical terminal can comprise at least one of the following: a display, a keyboard, and a mouse. The virtual terminal can refer to a terminal virtually realized by software attached to the physical terminal. For example, the virtual terminal can comprise at least one of the following: a graphic terminal and a character terminal. The pseudo terminal can refer to a pair of logical terminal devices. For example, the pseudo terminal can comprise at least one of the following: based on the SSH protocol and based on the Telnet remote connection Linux server.

[0110] According to an embodiment of the present disclosure, after obtaining the to-be-shared resource information, the to-be-shared resource information can be sent to the second terminal. After receiving the to-be-shared resource information from the server, the second terminal can perform resource approval on the to-be-shared resource information. For example, the second terminal can respectively verify the at least one target resource information to obtain a verification result corresponding to each of the at least one target resource information. The verification result can be used to represent whether the target resource information corresponding to the verification result passes the verification.

[0111] According to an embodiment of the present disclosure, in a case where the verification result represents that the target resource information corresponding to the verification result does not pass the verification, the resource sharing process on the to-be-shared resource corresponding to the target resource information can be ended. In a case where the verification result represents that the target resource information corresponding to the verification result passes the verification, a resource sharing scheme corresponding to the resource sharing type and the terminal type can be determined according to the resource sharing type and the terminal type. The to-be-shared resource corresponding to the target resource information can be shared according to the resource sharing scheme corresponding to the resource sharing type and the terminal type.

[0112] According to an embodiment of the present disclosure, since the verification result is obtained by the second terminal verifying the at least one target resource information respectively, and the at least one target resource information is determined by the server detecting the change operation of the first terminal on any resource information, the verification result can represent whether the target resource information passes the verification. On this basis, according to the resource sharing type and the terminal type, the resource sharing between heterogeneous systems can be realized, thereby at least partially overcoming the technical problem that the efficiency and security of resource sharing between heterogeneous systems cannot be guaranteed in the related art, and the resource sharing is realized through the interaction between the server, the first terminal and the second terminal, thereby improving the efficiency of resource sharing between heterogeneous systems, and further improving the security of resource sharing.

[0113] Reference will be made to the following Figure 3 and Figure 4 The resource sharing method 200 according to an embodiment of the present disclosure will be further described.

[0114] According to an embodiment of the present disclosure, the resource sharing method 200 can further include the following operations.

[0115] In response to receiving the resource sharing request from the first terminal, the candidate resources corresponding to the at least one resource identifier respectively are obtained according to the at least one resource identifier in the resource sharing request. The resource information corresponding to the at least one resource identifier respectively is obtained by processing the candidate resources corresponding to the at least one resource identifier respectively. The resource information corresponding to the at least one resource identifier respectively is sent to the first terminal, so that the first terminal processes the resource information corresponding to the at least one resource identifier respectively.

[0116] According to an embodiment of the present disclosure, the code for generating the resource sharing request can be written in a script in advance, and in response to detecting that the target user initiates the resource sharing operation by using the first terminal, the first terminal can run the script to generate the resource sharing request message. The resource sharing request message can be sent to the server, so that the server processes the resource sharing request corresponding to the resource sharing operation according to the resource sharing request message.

[0117] According to an embodiment of the present disclosure, the resource sharing request message can include at least one resource identifier. Each of the at least one resource identifier can correspond to a candidate resource respectively. The candidate resource can refer to an electronic file to be shared. The candidate resource can include one of the following: a text file, an image file, a graphics file, a video file, a sound file, a hypermedia link file, a program file and a data file. After receiving the resource sharing request message, the candidate resources corresponding to the at least one resource identifier respectively can be obtained according to the at least one resource identifier in the resource sharing request message.

[0118] According to an embodiment of the present disclosure, after obtaining the candidate resources corresponding to the at least one resource identifier respectively, the at least one candidate resource can be processed respectively to obtain resource information corresponding to the at least one resource identifier respectively. The resource information can include at least one of the following: the resource identifier, the permission identifier corresponding to the resource identifier, the occupied space identifier corresponding to the resource identifier, and the security level identifier corresponding to the resource identifier.

[0119] According to an embodiment of the present disclosure, after obtaining the resource information corresponding to the at least one resource identifier respectively, the resource information corresponding to the at least one resource identifier respectively can be sent to the first terminal. After receiving the resource information corresponding to the at least one resource identifier respectively, the first terminal can perform resource processing on the resource information. For example, the first terminal can perform change processing on the resource information corresponding to the at least one changed resource identifier respectively.

[0120] According to an embodiment of the present disclosure, processing the candidate resources corresponding to the at least one resource identifier respectively to obtain the resource information corresponding to the at least one resource identifier respectively can include the following operations.

[0121] For each of the candidate resources corresponding to the at least one resource identifier, the candidate resource is scanned and processed to obtain shared permission information, occupied space information, and resource sensitivity information corresponding to the candidate resource. According to the shared permission information, the permission identifier is determined. According to the occupied space information, the occupied space identifier is determined. According to the resource sensitivity information, the security level identifier is determined. According to the permission identifier, the occupied space identifier, and the security level identifier, the resource information corresponding to the candidate resource is determined.

[0122] According to an embodiment of the present disclosure, the scanning processing mode can be set according to actual business needs, which is not limited here. For example, the scanning processing mode can include at least one of the following: resource name scanning, shared permission scanning, occupied space scanning, and resource sensitivity scanning. By performing resource name scanning on the candidate resource, the resource name corresponding to the candidate resource can be obtained. By performing shared permission scanning on the candidate resource, the shared permission information corresponding to the candidate resource can be obtained. By performing occupied space scanning on the candidate resource, the occupied space information corresponding to the candidate resource can be obtained. By performing resource sensitivity scanning on the candidate resource, the resource sensitivity information corresponding to the candidate resource can be obtained.

[0123] According to an embodiment of the present disclosure, after obtaining the shared permission information, the permission identifier can be determined according to the shared permission information. The specific form of the permission identifier can be set according to actual business needs, which is not limited here. For example, in the case where the shared permission information indicates that the candidate resource does not have sharing permission, the permission identifier can be determined as no permission.

[0124] According to an embodiment of the present disclosure, after obtaining the occupied space information, the occupied space identifier can be determined according to the occupied space information. The specific form of the occupied space identifier can be set according to actual business needs, which is not limited here. For example, in the case of the occupied space information being greater than the preset threshold, the occupied space identifier can be determined to be larger.

[0125] According to an embodiment of the present disclosure, after obtaining the resource sensitivity information, the secret level identifier can be determined according to the resource sensitivity information. The specific form of the secret level identifier can be set according to actual business needs, which is not limited here. For example, in the case of the resource sensitivity information representing that the candidate resource includes sensitive information, the secret level identifier can be determined to be more sensitive.

[0126] According to an embodiment of the present disclosure, after obtaining the permission identifier, the occupied space identifier, and the secret level identifier, a resource information table can be generated. The resource information table can include resource information corresponding to each of the at least one resource identifier. For example, according to the resource identifier, the permission identifier, the occupied space identifier, and the secret level identifier corresponding to the resource identifier can be associated to obtain the resource information table.

[0127] Figure 3 An example schematic diagram of a process of processing the candidate resource corresponding to each of the at least one resource identifier to obtain the resource information corresponding to each of the at least one resource identifier is schematically shown.

[0128] As shown in FIG. 3, Figure 3 In 300, in response to receiving the resource sharing request 301 from the first terminal, the candidate resource 302 corresponding to each of the at least one resource identifier 301_1 in the resource sharing request 301 can be obtained.

[0129] After obtaining the candidate resource 302 corresponding to each of the at least one resource identifier 301_1, the candidate resource 302 can be scanned to obtain the sharing permission information 303_1, the occupied space information 303_2, and the resource sensitivity information 303_3 corresponding to the candidate resource 302.

[0130] After obtaining the sharing permission information 303_1, the occupied space information 303_2, and the resource sensitivity information 303_3 corresponding to the candidate resource 302, the permission identifier 304 can be determined according to the sharing permission information 303_1. The occupied space identifier 305 can be determined according to the occupied space information 303_2. The secret level identifier 306 can be determined according to the resource sensitivity information 303_3.

[0131] After obtaining the resource sensitivity information 303_3 and determining the secret level identifier 306, the resource information 307 corresponding to the candidate resource can be determined according to the permission identifier 304, the occupied space identifier 305, and the secret level identifier 306.

[0132] According to an embodiment of the present disclosure, operation S210 can include the following operations.

[0133] In response to detecting a change operation performed by the first terminal on any resource information in the at least one resource information, the resource sharing type, the terminal type, and at least one change resource identifier corresponding to the change operation are determined. According to the at least one change resource identifier, change resource information corresponding to the at least one change resource identifier is obtained. According to the resource information corresponding to the at least one resource identifier and the change resource information corresponding to the at least one change resource identifier, at least one target resource information is determined.

[0134] According to an embodiment of the present disclosure, for each resource identifier in the at least one resource identifier, the first terminal can determine whether a change needs to be made to the resource information corresponding to the resource identifier according to the permission identifier, the occupied space identifier, and the secret level identifier in the resource information corresponding to the resource identifier.

[0135] According to an embodiment of the present disclosure, the first terminal can perform a change operation in a case where it is determined that a change needs to be made to the resource information corresponding to the resource identifier. After performing the change operation, the first terminal can obtain change resource information corresponding to the resource identifier through click uploading. After detecting a change operation performed by the first terminal on any resource information in the at least one resource information, the server can determine the resource sharing type, the terminal type, and at least one change resource identifier corresponding to the change operation.

[0136] According to an embodiment of the present disclosure, after obtaining the at least one change resource identifier, the server can obtain change resource information corresponding to the at least one change resource identifier according to the at least one change resource identifier. The change resource information can be obtained by making a change to the resource information corresponding to the at least one change resource identifier according to the at least one change resource identifier.

[0137] According to an embodiment of the present disclosure, after obtaining the change resource information corresponding to the at least one change resource identifier, the resource information corresponding to the at least one resource identifier can be processed according to the change resource information corresponding to the at least one change resource identifier, and at least one target resource information is obtained.

[0138] According to an embodiment of the present disclosure, the preset mapping relationship can be determined in the following manner.

[0139] In a case where the terminal type is a physical terminal and the resource sharing type is resource copy sharing, a first preset resource sharing scheme is determined. In a case where the terminal type is a physical terminal and the resource sharing type is resource migration sharing, a second preset resource sharing scheme is determined. In a case where the terminal type is a cloud terminal and the resource sharing type is resource copy sharing, a third preset resource sharing scheme is determined. In a case where the terminal type is a cloud terminal and the resource sharing type is resource migration sharing, a fourth preset resource sharing scheme is determined.

[0140] According to an embodiment of the present disclosure, the resource sharing type can include resource copy sharing and resource migration sharing. The terminal type can include a physical terminal and a cloud terminal.

[0141] According to an embodiment of the present disclosure, the preset mapping relationship can include at least one preset key-value pair. Each preset key-value pair in the at least one preset key-value pair can be determined according to a preset sharing rule and a preset resource sharing scheme. The preset sharing rule can be determined according to the terminal type and the resource sharing type and the preset resource sharing.

[0142] According to an embodiment of the present disclosure, since there is no need to limit the resource sharing operation in a case where the terminal type is a physical terminal, in a case where the preset sharing rule indicates that the terminal type is a physical terminal and the resource sharing type is resource copy sharing, the first preset resource sharing scheme can be determined as: performing format conversion processing on the resource to be shared, copying into a portable storage medium to complete resource sharing. In a case where the preset sharing rule indicates that the terminal type is a physical terminal and the resource sharing type is resource migration sharing, the second preset resource sharing scheme can be determined as: downloading the resource to be shared to complete resource sharing.

[0143] According to an embodiment of the present disclosure, in a case where the preset sharing rule indicates that the terminal type is a cloud terminal and the resource sharing type is resource copy sharing, the third preset resource sharing scheme can be determined as: prompting a user to shift to a physical terminal operation to complete resource sharing. In a case where the preset sharing rule indicates that the terminal type is a cloud terminal and the resource sharing type is resource migration sharing, the fourth preset resource sharing scheme can be determined as: downloading the resource to be shared to complete resource sharing.

[0144] Figure 4 An example schematic diagram of a process of determining a preset mapping relationship according to an embodiment of the present disclosure is schematically shown.

[0145] As shown in FIG. 4, in 400, operation S410 can be performed. In operation S410, is the terminal type a physical terminal? Figure 4 If yes, operation S420 can be performed.

[0146]

[0147] ​At operation S420, if the resource sharing type is resource copy sharing, the first preset resource sharing scheme 401 can be determined. If not, the second preset resource sharing scheme 402 can be determined.

[0148] If not, operation S430 can be performed.

[0149] At operation S430, if the resource sharing type is resource copy sharing, the third preset resource sharing scheme 403 can be determined. If not, the fourth preset resource sharing scheme 404 can be determined.

[0150] According to an embodiment of the present disclosure, operation S230 can include the following operation.

[0151] In response to the verification result representing that the target resource information corresponding to the verification result passes the verification, the resource sharing type and the terminal type are matched according to the preset mapping relationship, to obtain a resource sharing scheme corresponding to the resource information to be shared. The resource sharing is performed on the resource to be shared corresponding to the target resource information according to the resource sharing scheme.

[0152] According to an embodiment of the present disclosure, the preset mapping relationship can include at least one preset sharing rule and a preset resource sharing scheme corresponding to each of the at least one preset sharing rule.

[0153] According to an embodiment of the present disclosure, in the case where the verification result represents that the target resource information corresponding to the verification result passes the verification, at least one preset sharing rule in the preset mapping relationship can be used to match the resource sharing type and the terminal type, to determine a preset sharing rule matched with the resource sharing type and the terminal type. A preset resource sharing scheme corresponding to the preset sharing rule is determined as a resource sharing scheme corresponding to the resource information to be shared. After obtaining the resource sharing scheme, the resource sharing is performed on the resource to be shared corresponding to the target resource information according to the resource sharing scheme.

[0154] The above is only an exemplary embodiment, but is not limited thereto, and other resource sharing methods known in the art can also be included, as long as the efficiency and security of resource sharing between heterogeneous systems can be improved.

[0155] Figure 5 A flowchart of a resource sharing method according to another embodiment of the present disclosure is schematically shown.

[0156] As shown in FIG. 5, the method 500 includes operations S510-S530. Figure 5

[0157] At operation S510, in response to receiving resource information corresponding to each of at least one resource identifier from a server, a permission identifier, an occupied space identifier, and a secret level identifier corresponding to each of the at least one resource identifier are determined.​

[0158] At operation S520, at least one changed resource identifier is determined from the at least one resource identifier according to the permission identifier, the space identifier, and the secret level identifier corresponding to each of the at least one resource identifier.

[0159] At operation S530, resource information corresponding to the at least one changed resource identifier is changed according to the at least one changed resource identifier, to obtain changed resource information corresponding to the at least one changed resource identifier.

[0160] According to an embodiment of the present disclosure, the resource sharing method 500 can be applied to a first terminal. The first terminal can refer to a terminal used by a user who initiates resource sharing. For example, the first terminal can refer to a terminal that implements resource processing and resource uploading.

[0161] According to an embodiment of the present disclosure, after the first terminal receives resource information corresponding to at least one resource identifier from a server, the first terminal can determine permission identifiers, space identifiers, and secret level identifiers corresponding to each of the at least one resource identifier. The first terminal can determine at least one changed resource identifier according to the permission identifier, the space identifier, and the secret level identifier corresponding to each of the at least one resource identifier.

[0162] According to an embodiment of the present disclosure, for example, in a case where the permission identifier is no permission, a resource identifier corresponding to the permission identifier can be determined as a changed resource identifier. Alternatively, in a case where the space identifier is large, a resource identifier corresponding to the space identifier can be determined as a changed resource identifier. Alternatively, in a case where the secret level identifier is sensitive, a resource identifier corresponding to the secret level identifier can be determined as a changed resource identifier.

[0163] According to an embodiment of the present disclosure, for each of the at least one changed resource identifier, for example, in a case where the permission identifier is no permission, resource information corresponding to the changed resource identifier can be deleted or re-submitted after applying for permission from a document author through an anti-leakage system. Alternatively, in a case where the space identifier is large, resource information corresponding to the changed resource identifier can be deleted or marked for continued uploading to a sharing server. Alternatively, in a case where the secret level identifier is sensitive, the secret level identifier corresponding to the changed resource identifier can be adjusted by the user.

[0164] According to the embodiment of the present disclosure, since the changed resource information is obtained by changing the resource information corresponding to the at least one changed resource identifier, the changed resource identifier is determined in the at least one resource identifier according to the permission identifier, the occupied space identifier and the secret level identifier corresponding to the at least one resource identifier, the accuracy of the changed resource information is improved, and the efficiency and security of the resource sharing are ensured.

[0165] Figure 6 A flowchart of a resource sharing method according to another embodiment of the present disclosure is schematically shown.

[0166] As shown in Figure 6 , the method 600 includes operations S610-S630.

[0167] At operation S610, in response to receiving the to-be-shared resource information from the server, the permission identifier, the occupied space identifier and the secret level identifier corresponding to the at least one target resource identifier are determined according to the target resource information corresponding to the at least one target resource identifier in the to-be-shared resource information.

[0168] At operation S620, the permission identifier, the occupied space identifier and the secret level identifier corresponding to the at least one target resource identifier are respectively verified according to the preset verification rule, and the verification result corresponding to the at least one target resource identifier is obtained.

[0169] At operation S630, the verification result corresponding to the at least one target resource identifier is sent to the server, so that the server performs resource sharing according to the verification result.

[0170] According to the embodiment of the present disclosure, the resource sharing method 600 can be applied to a second terminal. The second terminal can refer to a terminal used by a user who audits the to-be-shared resource. For example, the second terminal can refer to a terminal that implements resource approval.

[0171] According to the embodiment of the present disclosure, after the second terminal receives the to-be-shared resource information from the server, the target resource information corresponding to the at least one target resource identifier in the to-be-shared resource information can be respectively audited according to the preset verification rule, and the verification result corresponding to the at least one target resource identifier is obtained. The verification result can be used to represent whether the target resource information corresponding to the verification result passes the verification. After obtaining the verification result, the second terminal can send the verification result to the server, so that the server performs resource sharing according to the verification result.

[0172] According to an embodiment of the present disclosure, since the verification result is obtained by the second terminal verifying the permission identifier, the occupied space identifier and the secret level identifier corresponding to each of the at least one target resource identifier according to the preset verification rule, the verification result can represent whether the target resource information passes the verification. On this basis, the verification result corresponding to each of the at least one target resource identifier is sent to the server, so that the server can realize resource sharing between heterogeneous systems according to the resource sharing type and the terminal type.

[0173] According to an embodiment of the present disclosure, operation S620 can include the following operations.

[0174] For a target resource identifier in the at least one target resource identifier, the permission identifier, the occupied space identifier and the secret level identifier corresponding to the target resource identifier are matched with the preset verification rule to obtain a matching result. In a case where the matching result represents that the permission identifier, the occupied space identifier and the secret level identifier are consistent with the preset verification rule, a verification result representing that the target resource information corresponding to the target resource identifier passes the verification is obtained. In a case where the matching result represents that the permission identifier, the occupied space identifier and the secret level identifier are inconsistent with the preset verification rule, a verification result representing that the target resource information corresponding to the target resource identifier does not pass the verification is obtained.

[0175] According to an embodiment of the present disclosure, the to-be-shared resource information can further include resource use information and a resource item number. The preset verification rule can be set according to actual business needs, which is not limited herein. For example, the preset verification rule can include at least one of the following: a resource use rule, a resource item number rule and a resource sensitivity degree rule.

[0176] According to an embodiment of the present disclosure, the resource use rule can include at least one of the following: providing to authorized authorities, collection business and sending to partners. The resource use information corresponding to the target resource identifier can be matched according to the resource use rule. In a case where the resource use information belongs to providing to authorized authorities or collection business, the secret level identifier corresponding to the target resource identifier can be matched according to the resource sensitivity degree rule.

[0177] According to an embodiment of the present disclosure, in a case where the resource use information does not belong to providing to authorized authorities, collection business and sending to partners, the secret level identifier corresponding to the target resource identifier can be matched according to the resource sensitivity degree rule.

[0178] According to an embodiment of the present disclosure, in a case where it is determined that the resource usage information belongs to a case of sending out to a cooperative party, a resource item number corresponding to the target resource identifier can be matched according to a resource item number rule. The resource item number rule can include at least one valid item number. In a case where it is determined that the resource item number does not belong to the valid item number, a verification result indicating that target resource information corresponding to the target resource identifier is not verified can be obtained.

[0179] According to an embodiment of the present disclosure, in a case where it is determined that the resource item number belongs to the valid item number, a secret level identifier corresponding to the target resource identifier can be matched according to a resource sensitivity degree rule.

[0180] According to an embodiment of the present disclosure, the resource sensitivity degree rule can include at least one of a high sensitivity degree rule and a relatively sensitive degree rule. In a case where it is determined that the secret level identifier belongs to a high sensitive case, a permission identifier and an occupied space identifier corresponding to the target resource identifier can be matched based on the high sensitivity degree rule. In a case where it is determined that the secret level identifier belongs to a relatively sensitive case, the permission identifier and the occupied space identifier corresponding to the target resource identifier can be matched based on the relatively sensitive degree rule.

[0181] Figure 7 An example schematic diagram of a resource sharing process according to an embodiment of the present disclosure is schematically shown.

[0182] As shown in FIG. 7, the resource sharing process can include operations S701-S716. Figure 7

[0183] In operation S701, the first terminal can send a resource sharing request to the server.

[0184] In operation S702, the server can obtain candidate resources corresponding to each of at least one resource identifier in the resource sharing request from the first terminal.

[0185] In operation S703, the server can process the candidate resources corresponding to each of the at least one resource identifier respectively to obtain resource information corresponding to each of the at least one resource identifier.

[0186] In operation S704, the server can send the resource information corresponding to each of the at least one resource identifier to the first terminal.

[0187] In operation S705, the first terminal can determine a permission identifier, an occupied space identifier and a secret level identifier corresponding to each of the at least one resource identifier according to the resource information corresponding to each of the at least one resource identifier from the server.

[0188] ​At operation S706, the first terminal can determine at least one changed resource identifier from the at least one resource identifier according to the permission identifier, the space identifier, and the secret level identifier respectively corresponding to the at least one resource identifier.

[0189] At operation S707, the first terminal can change the resource information respectively corresponding to the at least one changed resource identifier according to the at least one changed resource identifier, to obtain changed resource information respectively corresponding to the at least one changed resource identifier.

[0190] At operation S708, the first terminal can send the changed resource information respectively corresponding to the at least one changed resource identifier to the server.

[0191] At operation S709, the server can obtain the changed resource information respectively corresponding to the at least one changed resource identifier according to the at least one changed resource identifier from the first terminal.

[0192] At operation S710, the server can determine the to-be-shared resource information, the resource sharing type, and the terminal type of the first terminal.

[0193] At operation S711, the server can send the to-be-shared resource information to the second terminal.

[0194] At operation S712, the second terminal can receive the to-be-shared resource information from the server.

[0195] At operation S713, the second terminal can determine the permission identifier, the space identifier, and the secret level identifier respectively corresponding to the at least one target resource identifier according to the target resource information respectively corresponding to the at least one target resource identifier in the to-be-shared resource information.

[0196] At operation S714, the second terminal can verify the permission identifier, the space identifier, and the secret level identifier respectively corresponding to the at least one target resource identifier according to the preset verification rule, to obtain a verification result respectively corresponding to the at least one target resource identifier.

[0197] At operation S715, the second terminal can send the verification result respectively corresponding to the at least one target resource identifier to the server.

[0198] At operation S716, the server can perform resource sharing on the to-be-shared resource information corresponding to the target resource information according to the resource sharing type and the terminal type, in response to the verification result from the second terminal indicating that the target resource information corresponding to the verification result passes the verification.

[0199] Figure 8 A block diagram of a resource sharing apparatus according to an embodiment of the present disclosure is schematically shown.

[0200] AsFigure 8 As shown, the resource sharing device 800 is applied to the server and may include a first determining module 810, a first sending module 820, and a resource sharing module 830.

[0201] The first determining module 810 is configured to, in response to detecting a change operation performed by the first terminal on any resource information in at least one resource information, determine the resource information to be shared, the resource sharing type, and the terminal type of the first terminal, wherein the resource information to be shared includes at least one target resource information, and each of the at least one target resource information corresponds to a resource to be shared.

[0202] The first sending module 820 is used to send the information of the resource to be shared to the second terminal so that the second terminal can verify at least one target resource information respectively and obtain the verification result corresponding to each of the at least one target resource information.

[0203] The resource sharing module 830 is used to share the resources to be shared corresponding to the target resource information in response to the verification result characterization and the verification result corresponding to the verification result passing the verification, according to the resource sharing type and terminal type.

[0204] According to embodiments of this disclosure, the resource sharing device 800 may include an acquisition module, a processing module, and a third sending module.

[0205] The acquisition module is used to respond to receiving a resource sharing request from a first terminal and, based on at least one resource identifier in the resource sharing request, acquire candidate resources corresponding to each of the at least one resource identifier.

[0206] The processing module is used to process the candidate resources corresponding to at least one resource identifier to obtain resource information corresponding to at least one resource identifier.

[0207] The third sending module is used to send resource information corresponding to at least one resource identifier to the first terminal so that the first terminal can process the resource information corresponding to at least one resource identifier.

[0208] According to embodiments of this disclosure, the processing module may include a first processing unit, a first determining unit, a second determining unit, a third determining unit, and a fourth determining unit.

[0209] The first processing unit is used to scan each candidate resource in the candidate resources corresponding to at least one resource identifier to obtain the shared permission information, occupied space information and resource sensitivity information corresponding to the candidate resource.

[0210] The first determining unit is used to determine the permission identifier based on the shared permission information.

[0211] The second determining unit is configured to determine the occupied space identifier according to the occupied space information.

[0212] The third determining unit is configured to determine the classified level identifier according to the resource sensitivity information.

[0213] The fourth determining unit is configured to determine the resource information corresponding to the candidate resource according to the permission identifier, the occupied space identifier, and the classified level identifier.

[0214] According to an embodiment of the present disclosure, the resource sharing module 830 can include a first matching unit and a resource sharing unit.

[0215] The first matching unit is configured to, in response to the verification result representing that the target resource information corresponding to the verification result passes the verification, match the resource sharing type and the terminal type according to a preset mapping relationship, and obtain a resource sharing scheme corresponding to the to-be-shared resource information.

[0216] The resource sharing unit is configured to perform resource sharing on the to-be-shared resource corresponding to the target resource information according to the resource sharing scheme.

[0217] According to an embodiment of the present disclosure, the preset mapping relationship includes at least one preset sharing rule and a preset resource sharing scheme corresponding to each of the at least one preset sharing rule.

[0218] According to an embodiment of the present disclosure, the resource sharing type includes resource copy sharing and resource migration sharing, and the terminal type includes a physical terminal and a cloud terminal.

[0219] According to an embodiment of the present disclosure, the preset mapping relationship can be determined in the following manner.

[0220] In a case where the terminal type is a physical terminal and the resource sharing type is resource copy sharing, a first preset resource sharing scheme is determined.

[0221] In a case where the terminal type is a physical terminal and the resource sharing type is resource migration sharing, a second preset resource sharing scheme is determined.

[0222] In a case where the terminal type is a cloud terminal and the resource sharing type is resource copy sharing, a third preset resource sharing scheme is determined.

[0223] In a case where the terminal type is a cloud terminal and the resource sharing type is resource migration sharing, a fourth preset resource sharing scheme is determined.

[0224] According to an embodiment of the present disclosure, the first determining module 810 can include a fifth determining unit, an obtaining unit, and a sixth determining unit.

[0225] The fifth determining unit is configured to determine the resource sharing type, the terminal type, and at least one changed resource identifier corresponding to the change operation in response to detecting the change operation performed by the first terminal on any resource information in the at least one resource information.

[0226] The acquisition unit is configured to acquire change resource information corresponding to each of the at least one changed resource identifier according to the at least one changed resource identifier.

[0227] The sixth determining unit is configured to determine at least one target resource information according to the resource information corresponding to each of the at least one resource identifier and the change resource information corresponding to each of the at least one changed resource identifier.

[0228] Figure 9 A block diagram of a resource sharing apparatus according to another embodiment of the present disclosure is schematically shown.

[0229] As shown in Figure 9 , the resource sharing apparatus 900 applied to the first terminal can include a second determining module 910, a third determining module 920, and a change module 930.

[0230] The second determining module 910 is configured to determine a permission identifier, an occupied space identifier, and a secret level identifier corresponding to each of the at least one resource identifier in response to receiving the resource information corresponding to each of the at least one resource identifier from the server.

[0231] The third determining module 920 is configured to determine at least one changed resource identifier in the at least one resource identifier according to the permission identifier, the occupied space identifier, and the secret level identifier corresponding to each of the at least one resource identifier.

[0232] The change module 930 is configured to change the resource information corresponding to each of the at least one changed resource identifier according to the at least one changed resource identifier to obtain change resource information corresponding to each of the at least one changed resource identifier.

[0233] Figure 10 A block diagram of a resource sharing apparatus according to another embodiment of the present disclosure is schematically shown.

[0234] As shown in Figure 10 , the resource sharing apparatus 1000 applied to the second terminal can include a fourth determining module 1010, a verification module 1020, and a second sending module 1030.

[0235] The fourth determining module 1010 is configured to determine a permission identifier, an occupied space identifier, and a secret level identifier corresponding to each of the at least one target resource identifier according to the target resource information corresponding to each of the at least one target resource identifier in the to-be-shared resource information in response to receiving the to-be-shared resource information from the server.

[0236] The verification module 1020 is configured to verify the permission identifier, the space identifier, and the secret level identifier corresponding to each of the at least one target resource identifier according to a preset verification rule, to obtain a verification result corresponding to each of the at least one target resource identifier.

[0237] The second sending module 1030 is configured to send the verification result corresponding to each of the at least one target resource identifier to the server, so that the server performs resource sharing according to the verification result.

[0238] According to an embodiment of the present disclosure, the verification module 1020 can include a second matching unit, a seventh determination unit, and an eighth determination unit.

[0239] The second matching unit is configured to, for a target resource identifier in the at least one target resource identifier, match the permission identifier, the space identifier, and the secret level identifier corresponding to the target resource identifier with the preset verification rule, to obtain a matching result.

[0240] The seventh determination unit is configured to, in a case where it is determined that the matching result represents that the permission identifier, the space identifier, and the secret level identifier are consistent with the preset verification rule, obtain a verification result representing that the target resource information corresponding to the target resource identifier passes the verification.

[0241] The eighth determination unit is configured to, in a case where it is determined that the matching result represents that the permission identifier, the space identifier, and the secret level identifier are inconsistent with the preset verification rule, obtain a verification result representing that the target resource information corresponding to the target resource identifier fails the verification.

[0242] Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure, or at least part of the functions of any one or more of them, can be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure can be split into multiple modules for implementation. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or any other reasonable hardware or firmware that can be integrated or packaged with a circuit, or can be implemented in any one of software, hardware, and firmware, or in an appropriate combination of any one or more of them. Alternatively, one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure can be at least partially implemented as computer program modules that can perform corresponding functions when executed.

[0243] For example, any multiple of the first determining module 810, the first sending module 820 and the resource sharing module 830 can be combined in one module / unit / sub-unit, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the function of one or more of the modules / units / sub-units can be combined with at least part of the function of other modules / units / sub-units, and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the first determining module 810, the first sending module 820 and the resource sharing module 830 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or any other reasonable way of integrating or packaging a circuit, etc. hardware or firmware, or implemented in any one of software, hardware and firmware three implementation ways or in a proper combination of any several of them. Alternatively, at least one of the first determining module 810, the first sending module 820 and the resource sharing module 830 can be at least partially implemented as a computer program module which can perform the corresponding function when the computer program module is run.

[0244] Alternatively, any multiple of the second determining module 910, the third determining module 920 and the changing module 930 can be combined in one module / unit / sub-unit, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the function of one or more of the modules / units / sub-units can be combined with at least part of the function of other modules / units / sub-units, and implemented in one module / unit / sub-unit. According to an embodiment of the present disclosure, at least one of the second determining module 910, the third determining module 920 and the changing module 930 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or any other reasonable way of integrating or packaging a circuit, etc. hardware or firmware, or implemented in any one of software, hardware and firmware three implementation ways or in a proper combination of any several of them. Alternatively, at least one of the second determining module 910, the third determining module 920 and the changing module 930 can be at least partially implemented as a computer program module which can perform the corresponding function when the computer program module is run.

[0245] Alternatively, any plurality of the fourth determining module 1010, the verification module 1020, and the second transmitting module 1030 may be combined into one module / unit / subunit, or any one of these modules / units / subunits may be split into multiple modules / units / subunits. Alternatively, at least a portion of the functionality of one or more of these modules / units / subunits may be combined with at least a portion of the functionality of other modules / units / subunits and implemented in one module / unit / subunit. According to embodiments of this disclosure, at least one of the fourth determining module 1010, the verification module 1020, and the second transmitting module 1030 may be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or any other reasonable means of integrating or packaging the circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the fourth determining module 1010, the verification module 1020, and the second sending module 1030 may be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0246] It should be noted that the resource sharing device part in the embodiments of this disclosure corresponds to the resource sharing method part in the embodiments of this disclosure. The description of the resource sharing device part is specifically referred to in the resource sharing method part, and will not be repeated here.

[0247] Figure 11 A block diagram of an electronic device suitable for implementing a resource sharing method according to an embodiment of the present disclosure is shown schematically. Figure 11 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0248] like Figure 11 As shown, a computer electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage portion 1109 into a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0249] In the RAM 1103, various programs and data required for the operation of the electronic device 1100 are stored. The processor 1101, the ROM 1102, and the RAM 1103 are connected to each other via the bus 1104. The processor 1101 performs various operations of the method flow according to the embodiments of the present disclosure by executing the programs in the ROM 1102 and / or the RAM 1103. It is noted that the programs can also be stored in one or more memories other than the ROM 1102 and the RAM 1103. The processor 1101 can also perform various operations of the method flow according to the embodiments of the present disclosure by executing the programs stored in the one or more memories.

[0250] According to an embodiment of the present disclosure, the electronic device 1100 can further include an input / output (I / O) interface 1105 that is also connected to the bus 1104. The electronic device 1100 can further include one or more of the following components connected to the I / O interface 1105: an input part 1106 including a keyboard, a mouse, etc.; an output part 1107 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage part 1108 including a hard disk, etc.; and a communication part 1109 including a network interface card such as a LAN card, a modem, etc. The communication part 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as necessary. A removable medium 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 1110 as necessary, so that a computer program read out therefrom is installed in the storage part 1108 as necessary.

[0251] According to an embodiment of the present disclosure, the method flow according to the embodiments of the present disclosure can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable storage medium, the computer program containing program codes for executing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the processor 1101, the above-described functions defined in the system of the embodiments of the present disclosure are performed. According to an embodiment of the present disclosure, the system, the device, the apparatus, the module, the unit, etc. described above can be implemented by computer program modules.

[0252] The present disclosure also provides a computer readable storage medium, which can be included in the device / apparatus / system described in the above embodiments, or can exist independently without being assembled into the device / apparatus / system. The above computer readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the present disclosure.

[0253] According to embodiments of the present disclosure, the computer readable storage medium can be a non-volatile computer readable storage medium. For example, it can include, but is not limited to: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in connection with an instruction execution system, apparatus, or device.

[0254] For example, according to embodiments of the present disclosure, the computer readable storage medium can include one or more memories of the ROM 1102 and / or the RAM 1103 described above and / or other than the ROM 1102 and the RAM 1103.

[0255] Embodiments of the present disclosure also include a computer program product, which includes a computer program containing program codes for executing the method provided by the embodiments of the present disclosure, and when the computer program product is run on an electronic device, the program codes are used to make the electronic device implement the resource sharing method provided by the embodiments of the present disclosure.

[0256] When the computer program is executed by the processor 1101, the above functions defined in the system / apparatus of the embodiments of the present disclosure are performed. According to embodiments of the present disclosure, the system, apparatus, module, unit, etc. described above can be implemented by computer program modules.

[0257] In one embodiment, the computer program can rely on tangible storage media such as optical storage media, magnetic storage media, etc. In another embodiment, the computer program can also be transmitted, distributed, and downloaded in the form of a signal on a network medium, and be downloaded and installed through the communication part 1109, and / or installed from the detachable medium 1111. The program codes contained in the computer program can be transmitted by any appropriate network medium, including but not limited to wireless, wired, etc., or any suitable combination of the foregoing.

[0258] According to embodiments of the present disclosure, program code of a computer program provided by embodiments of the present disclosure can be written in any combination of one or more programming languages, and specifically, can be implemented using a high-level procedural and / or object-oriented programming language, and / or an assembly / machine language. Programming languages include, but are not limited to, Java, C++, python, "C" language, or similar programming languages. Program code can execute entirely on a user's computing device, partly on a user device, partly on a remote computing device, or entirely on a remote computing device or server. In the latter scenario, the remote computing device can be connected to the user's computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computing device, such as through the Internet using an Internet Service Provider.

[0259] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or combinations of special purpose hardware and computer instructions.

[0260] Embodiments of the present disclosure have been described above. However, these embodiments are merely intended to illustrate the present disclosure, and are not intended to limit the scope of the present disclosure. Although each of the embodiments is described above separately, this does not mean that the measures in each of the embodiments cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and these substitutions and modifications should all fall within the scope of the present disclosure.

Claims

1. A resource sharing method applied to a server, comprising: determining, in response to detecting a change operation on any resource information in at least one resource information by a first terminal, to-be-shared resource information, a resource sharing type, and a terminal type of the first terminal, wherein the to-be-shared resource information comprises at least one target resource information, and each of the at least one target resource information corresponds to a to-be-shared resource; sending the to-be-shared resource information to a second terminal, so that the second terminal respectively verifies the at least one target resource information to obtain a verification result corresponding to each of the at least one target resource information; in response to the verification result indicating that the target resource information corresponding to the verification result passes the verification, matching the resource sharing type and the terminal type according to a preset mapping relationship to obtain a resource sharing scheme corresponding to the to-be-shared resource information; and sharing the to-be-shared resource corresponding to the target resource information according to the resource sharing scheme to realize resource sharing between heterogeneous systems; wherein the preset mapping relationship comprises at least one preset sharing rule and a preset resource sharing scheme corresponding to each of the at least one preset sharing rule. 2.The method of claim 1, further comprising, before the determining, in response to detecting a change operation on any resource information in at least one resource information by a first terminal, to-be-shared resource information, a resource sharing type, and a terminal type of the first terminal: in response to receiving a resource sharing request from the first terminal, obtaining candidate resources corresponding to at least one resource identifier in the resource sharing request according to the at least one resource identifier; processing the candidate resources corresponding to the at least one resource identifier respectively to obtain resource information corresponding to each of the at least one resource identifier; and sending the resource information corresponding to the at least one resource identifier to the first terminal, so that the first terminal processes the resource information corresponding to the at least one resource identifier. The processing the candidate resources corresponding to the at least one resource identifier respectively to obtain resource information corresponding to each of the at least one resource identifier comprises: for each of the candidate resources corresponding to the at least one resource identifier, scanning the candidate resource to obtain sharing permission information, occupied space information, and resource sensitivity information corresponding to the candidate resource; determining a permission identifier according to the sharing permission information; determining an occupied space identifier according to the occupied space information; determining a classified identifier according to the resource sensitivity information; and determining the resource information corresponding to the candidate resource according to the permission identifier, the occupied space identifier, and the classified identifier. The resource sharing type comprises resource copy sharing and resource migration sharing, and the terminal type comprises a physical terminal and a cloud terminal. The preset mapping relationship is determined by the following way: ​ ​ 3. The method of claim 2, wherein, ​ ​ ​ ​ ​ ​ ​ 4. The method of claim 1, wherein, ​ ​ In a case where the terminal type is the physical terminal and the resource sharing type is the resource copy sharing, a first preset resource sharing scheme is determined; In a case where the terminal type is the physical terminal and the resource sharing type is the resource migration sharing, a second preset resource sharing scheme is determined; In a case where the terminal type is the cloud terminal and the resource sharing type is the resource copy sharing, a third preset resource sharing scheme is determined; In a case where the terminal type is the cloud terminal and the resource sharing type is the resource migration sharing, a fourth preset resource sharing scheme is determined. The determining, in response to detecting a change operation of the first terminal on any resource information in the at least one resource information, of the resource information to be shared, the resource sharing type, and the terminal type of the first terminal comprises:

5. The method of claim 2 or 3, wherein, In response to detecting the change operation of the first terminal on any resource information in the at least one resource information, determining the resource sharing type, the terminal type, and at least one changed resource identifier corresponding to the change operation; According to the at least one changed resource identifier, obtaining changed resource information corresponding to the at least one changed resource identifier respectively; and According to the resource information corresponding to the at least one resource identifier respectively and the changed resource information corresponding to the at least one changed resource identifier respectively, determining the at least one target resource information.

6. A resource sharing method applied to a first terminal, comprising: In response to receiving resource information corresponding to at least one resource identifier respectively from a server, determining permission identifiers, space identifiers, and secret level identifiers corresponding to the at least one resource identifier respectively; According to the permission identifiers, the space identifiers, and the secret level identifiers corresponding to the at least one resource identifier respectively, determining at least one changed resource identifier in the at least one resource identifier; According to the at least one changed resource identifier, changing resource information corresponding to the at least one changed resource identifier respectively to obtain changed resource information corresponding to the at least one changed resource identifier respectively, so that the server determines at least one target resource information according to the changed resource information corresponding to the at least one changed resource identifier respectively; In response to a verification result representing that target resource information corresponding to the verification result passes the verification, matching a resource sharing type and a terminal type according to a preset mapping relationship to obtain a resource sharing scheme corresponding to resource information to be shared; and performing resource sharing on the resource information to be shared corresponding to the target resource information according to the resource sharing scheme, so as to realize resource sharing between heterogeneous systems; The preset mapping relationship comprises at least one preset sharing rule and a preset resource sharing scheme corresponding to the at least one preset sharing rule respectively.

7. A resource sharing method applied to a second terminal, comprising: ​ ​ In response to receiving the to-be-shared resource information from the server, target resource information corresponding to each of at least one target resource identifier in the to-be-shared resource information is determined, and a permission identifier, an occupied space identifier, and a secret level identifier corresponding to each of the at least one target resource identifier are determined. According to a preset verification rule, the permission identifier, the occupied space identifier, and the secret level identifier corresponding to each of the at least one target resource identifier are verified respectively to obtain a verification result corresponding to each of the at least one target resource identifier. And The verification result corresponding to each of the at least one target resource identifier is sent to the server, so that, in response to the verification result indicating that the target resource information corresponding to the verification result passes the verification, the server matches a resource sharing type and a terminal type according to a preset mapping relationship to obtain a resource sharing scheme corresponding to the to-be-shared resource information; and the to-be-shared resource corresponding to the target resource information is shared according to the resource sharing scheme, so as to realize resource sharing between heterogeneous systems.

8. The method of claim 7, wherein, According to the preset verification rule, the permission identifier, the occupied space identifier, and the secret level identifier corresponding to each of the at least one target resource identifier are verified respectively to obtain a verification result corresponding to each of the at least one target resource identifier, including: For a target resource identifier in the at least one target resource identifier, The permission identifier, the occupied space identifier, and the secret level identifier corresponding to the target resource identifier are matched with the preset verification rule to obtain a matching result; In a case where the matching result indicates that the permission identifier, the occupied space identifier, and the secret level identifier are consistent with the preset verification rule, the verification result indicating that the target resource information corresponding to the target resource identifier passes the verification is obtained; and In a case where the matching result indicates that the permission identifier, the occupied space identifier, and the secret level identifier are inconsistent with the preset verification rule, the verification result indicating that the target resource information corresponding to the target resource identifier fails the verification is obtained.

9. A resource sharing apparatus applied to a server, comprising: A first determining module configured to determine to-be-shared resource information, a resource sharing type, and a terminal type of a first terminal in response to detecting a change operation performed by the first terminal on any resource information in at least one resource information, wherein the to-be-shared resource information comprises at least one target resource information, and each of the at least one target resource information corresponds to to-be-shared resource; A first sending module configured to send the to-be-shared resource information to a second terminal, so that the second terminal verifies the at least one target resource information respectively to obtain a verification result corresponding to each of the at least one target resource information; In response to the verification result indicating that target resource information corresponding to the verification result passes the verification, the resource sharing type and the terminal type are matched according to a preset mapping relationship to obtain a resource sharing scheme corresponding to the to-be-shared resource information; and According to the resource sharing scheme, the to-be-shared resource corresponding to the target resource information is shared, so as to realize resource sharing between heterogeneous systems. The preset mapping relationship includes at least one preset sharing rule and a preset resource sharing scheme corresponding to each of the at least one preset sharing rule.

10. A resource sharing apparatus applied to a first terminal, comprising: A second determining module configured to determine a permission identifier, an occupied space identifier and a secret level identifier corresponding to each of at least one resource identifier in response to receiving resource information corresponding to each of the at least one resource identifier from a server; A third determining module configured to determine at least one changed resource identifier from the at least one resource identifier according to the permission identifier, the occupied space identifier and the secret level identifier corresponding to each of the at least one resource identifier; and A changing module configured to change resource information corresponding to each of the at least one changed resource identifier according to the at least one changed resource identifier, so as to obtain changed resource information corresponding to each of the at least one changed resource identifier, so that the server determines at least one target resource information according to the changed resource information corresponding to each of the at least one changed resource identifier; In response to the verification result representing that the target resource information corresponding to the verification result passes the verification, a resource sharing type and a terminal type are matched according to a preset mapping relationship, so as to obtain a resource sharing scheme corresponding to to-be-shared resource information; and according to the resource sharing scheme, the to-be-shared resource corresponding to the target resource information is shared, so as to realize resource sharing between heterogeneous systems. The preset mapping relationship includes at least one preset sharing rule and a preset resource sharing scheme corresponding to each of the at least one preset sharing rule.

11. A resource sharing apparatus applied to a second terminal, comprising: A fourth determining module configured to determine a permission identifier, an occupied space identifier and a secret level identifier corresponding to each of at least one target resource identifier according to target resource information corresponding to each of the at least one target resource identifier in the to-be-shared resource information received from a server; A verification module configured to verify the permission identifier, the occupied space identifier and the secret level identifier corresponding to each of the at least one target resource identifier according to a preset verification rule, so as to obtain a verification result corresponding to each of the at least one target resource identifier; and A second sending module configured to send the verification result corresponding to each of the at least one target resource identifier to the server, so that the server responds to resource sharing according to the verification result. In response to the verification result representing that the target resource information corresponding to the verification result passes the verification, a resource sharing type and a terminal type are matched according to a preset mapping relationship, so as to obtain a resource sharing scheme corresponding to to-be-shared resource information; and according to the resource sharing scheme, the to-be-shared resource corresponding to the target resource information is shared, so as to realize resource sharing between heterogeneous systems. 12.An electronic device, comprising: one or more processors; a memory for storing one or more instructions, wherein the one or more instructions, when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1 to 8. 13.A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement the method of any one of claims 1 to 8. 14.A computer program product, comprising computer-executable instructions that, when executed, are used to implement the method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • Cloud document offline accessing system, intelligent terminal and method

    CN108280369A

  • Agreement and enforcement of rules for a shared resource

    US11102204B1