CN114938302A - Account number sharing method based on block chain encryption and related equipment - Google Patents

Account number sharing method based on block chain encryption and related equipment Download PDF

Info

Publication number
CN114938302A
CN114938302A CN202210545176.XA CN202210545176A CN114938302A CN 114938302 A CN114938302 A CN 114938302A CN 202210545176 A CN202210545176 A CN 202210545176A CN 114938302 A CN114938302 A CN 114938302A
Authority
CN
China
Prior art keywords
account
platform
information
encryption
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210545176.XA
Other languages
Chinese (zh)
Other versions
CN114938302B (en
Inventor
王志翔
尹婷
王颖慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202210545176.XA priority Critical patent/CN114938302B/en
Publication of CN114938302A publication Critical patent/CN114938302A/en
Application granted granted Critical
Publication of CN114938302B publication Critical patent/CN114938302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/102Entity profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Storage Device Security (AREA)

Abstract

The method is applied to an account sharing platform, and can provide corresponding resource access encryption links for a user according to an account sharing request of the user under the condition that an account sharing contribution value of the user is greater than an account resource consumption value corresponding to a request resource, so that the user can use accounts shared by other users, and the utilization rate of the accounts is improved.

Description

Account number sharing method based on block chain encryption and related equipment
Technical Field
The present disclosure relates to the field of blockchain technologies, and in particular, to an account sharing method and related devices based on blockchain encryption.
Background
With the popularization of network digital resources, a user can use the digital resources on a corresponding platform by applying for an account number of the corresponding platform and opening members with corresponding rights. For example: watch video, listen to songs, download documents, and use high speed ports, etc. However, the user does not use the account of the corresponding platform every moment, so that the resource utilization rate of the account is not high, and the resource authority of the account is wasted.
Therefore, how to increase the utilization rate of the account of the user becomes a technical problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
In view of the foregoing problems, the present disclosure provides an account sharing method based on block chain encryption and a related device, which overcome or at least partially solve the foregoing problems, and the technical solutions are as follows:
an account sharing method based on block chain encryption is applied to an account sharing platform, and comprises the following steps:
obtaining an account number sharing request sent by a user, wherein the account number sharing request comprises an account identification of the user and resource information requested by the user, and the resource information comprises platform information of a first platform where a resource is requested, authority information required by the resource and account number application use time;
determining an account number sharing contribution value of the user by using the account identification;
determining account resource consumption values corresponding to the resource information;
under the condition that the account sharing contribution value is larger than the account resource consumption value, acquiring first account encryption information corresponding to the first platform according to the platform information and the resource required permission information, wherein the first account encryption information comprises an account and a password of the first platform after block chain encryption;
generating a resource access encryption link corresponding to the first platform by using the first account encryption information;
and sending the resource access encryption link to the user so that the user uses the resource on the first platform through the resource access encryption link.
Optionally, the method further includes:
obtaining shared account information uploaded by the user, wherein the shared account information comprises an account and a password of a second platform;
carrying out block chain encryption on the account number and the password of the second platform to obtain second account number encryption information;
constructing a corresponding relation between the second account encryption information and the second platform;
and calculating the account sharing contribution value of the user according to a preset account platform coefficient, a preset account authority coefficient and account actual use time corresponding to the second account encryption information.
Optionally, the resource access encryption connection is provided with a link effective time equal to the account application use time.
Optionally, the method further includes:
and verifying the availability of the first account number encryption information and/or the second account number encryption information according to a preset availability verification period.
An account sharing device based on block chain encryption is applied to an account sharing platform, and the device comprises: a first obtaining unit, a first determining unit, a second obtaining unit, a link generating unit, and a link transmitting unit,
the first obtaining unit is configured to obtain an account sharing request sent by a user, where the account sharing request includes an account identifier of the user and resource information requested by the user, and the resource information includes platform information of a first platform where a resource is requested, resource required permission information, and account application use time;
the first determining unit is configured to determine an account sharing contribution value of the user by using the account identifier;
the second determining unit is configured to determine an account resource consumption value corresponding to the resource information;
the second obtaining unit is configured to obtain, according to the platform information and the resource required permission information, first account encryption information corresponding to the first platform when the account sharing contribution value is greater than the account resource consumption value, where the first account encryption information includes an account and a password of the first platform after block chain encryption;
the link generating unit is used for generating a resource access encryption link corresponding to the first platform by using the first account encryption information;
the link sending unit is used for sending the resource access encryption link to the user so that the user can use the resource on the first platform through the resource access encryption link.
Optionally, the apparatus further comprises: a third obtaining unit, a first encryption unit, a relation construction unit and a contribution value calculation unit,
the third obtaining unit is configured to obtain shared account information uploaded by the user, where the shared account information includes an account and a password of a second platform;
the first encryption unit is used for carrying out block chain encryption on the account number and the password of the second platform to obtain second account number encryption information;
the relationship construction unit is used for constructing a corresponding relationship between the second account encryption information and the second platform;
and the contribution value calculating unit is used for calculating the account sharing contribution value of the user according to a preset account platform coefficient, a preset account authority coefficient and account actual use time corresponding to the second account encryption information.
Optionally, the resource access encryption connection is provided with a link valid time equal to the account application use time.
Optionally, the apparatus further comprises: a unit for verifying the availability of the user,
the availability verification unit is used for verifying the availability of the first account number encryption information and/or the second account number encryption information according to a preset availability verification period.
A computer-readable storage medium, on which a program is stored, which when executed by a processor implements the method for sharing an account based on blockchain encryption of any one of the above.
An electronic device comprising at least one processor, and at least one memory connected to the processor, a bus; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to execute any one of the above account sharing methods based on blockchain encryption.
By means of the technical scheme, the account sharing method and related equipment based on block chain encryption can be applied to the field of block chains or the field of finance, the method is applied to an account sharing platform, and account sharing requests sent by users can be obtained, wherein the account sharing requests comprise account identifications of account identification users, resource information requested by the account identification users and account application use time, and the account identification resource information comprises platform information of a first platform where requested resources are located and authority information required by the resources; determining account number sharing contribution values of account number identification users by using account number identification account identifications; determining account resource consumption values corresponding to the account identification resource information; under the condition that the account identification account number sharing contribution value is larger than the account identification account number resource consumption value, acquiring first account number encryption information corresponding to the first platform of the account identification according to the information of the platform of the account identification and the authority information required by the resource of the account identification, wherein the first account number encryption information of the account identification comprises an account number and a password of the first platform of the account identification after block chain encryption; generating a resource access encryption link corresponding to the account identification first platform by using the account identification first account number encryption information; and sending the account identification resource access encryption link to the account identification user so that the account identification user uses the resource on the account identification first platform through the account identification resource access encryption link. According to the account sharing request of the user, under the condition that the account sharing contribution value of the user is larger than the account resource consumption value corresponding to the request resource, the corresponding resource access encryption link is provided for the user, so that the user can use accounts shared by other users, and the use rate of the accounts is improved.
The foregoing description is only an overview of the technical solutions of the present disclosure, and the embodiments of the present disclosure are described below in order to make the technical means of the present disclosure more clearly understood and to make the above and other objects, features, and advantages of the present disclosure more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the disclosure. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating an implementation manner of an account sharing method based on block chain encryption according to an embodiment of the present disclosure;
fig. 2 shows a flowchart of another implementation manner of an account sharing method based on block chain encryption according to an embodiment of the present disclosure;
fig. 3 shows a schematic structural diagram of an account sharing device based on block chain encryption according to an embodiment of the present disclosure;
fig. 4 shows a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, a flowchart of an implementation manner of an account sharing method based on block chain encryption according to an embodiment of the present disclosure is schematically shown, where the method may be applied to an account sharing platform, and the account sharing method may include:
s100, an account sharing request sent by a user is obtained, wherein the account sharing request comprises an account identifier of the user and resource information requested by the user, and the resource information comprises platform information of a first platform where a requested resource is located, authority information required by the resource and account application use time.
The account sharing platform is a platform based on a block chain data structure. The account sharing platform maintains an account sharing resource pool. The account sharing resource pool is used for storing and managing sharing accounts and passwords uploaded by users. The user can register an account on the account number sharing platform to obtain a corresponding account identification.
For ease of understanding, the description is made herein by way of example: assuming that the account sharing request of the user applies for downloading song resources of the music platform, the platform information in the resource information may be a platform identifier of the music platform, and the authority required by the resources may be a golden member account.
S200, determining an account number sharing contribution value of the user by using the account identification.
According to the embodiment of the disclosure, after a user registers an account on an account sharing platform, an account wallet is allocated to the account of the user, and the account wallet records a current account sharing contribution value of the user.
The account sharing contribution value is used for indicating the condition that the user shares the account resources on the account sharing platform and uses the account resources. And when the user uses the account shared by other users, deducting a certain account sharing contribution value of the user. And when the user uploads the shared account and is used by other users, increasing a certain account sharing contribution value of the user.
S300, determining account resource consumption values corresponding to the resource information.
According to the account resource consumption value calculation method and device, the corresponding account resource consumption value can be calculated according to the preset account platform coefficient corresponding to the platform information, the preset account permission coefficient corresponding to the resource required permission information and the account application use time.
Optionally, in the embodiment of the present disclosure, a product of a preset account platform coefficient corresponding to the platform information, a preset account permission coefficient corresponding to the resource required permission information, and account application use time may be determined as an account resource consumption value corresponding to the resource information.
S400, under the condition that the account sharing contribution value is larger than the account resource consumption value, according to the platform information and the resource required permission information, obtaining first account encryption information corresponding to the first platform, wherein the first account encryption information comprises an account and a password of the first platform after block chain encryption.
The account resource consumption value corresponding to the resource information can be compared with the account sharing contribution value of the user, and whether the account sharing contribution value is larger than the account resource consumption value or not is determined.
According to the method and the device for processing the account encryption information, each account encryption information corresponding to the first platform and stored in the account shared resource pool can be determined according to the platform information, then account encryption information with corresponding authority is inquired in each account encryption information according to authority information required by resources, and one account encryption information with corresponding authority is selected to be determined as the first account encryption information. For example: assuming that the user requests speed-limitless downloading resources of the network cloud disk, the account encryption information of the network cloud disk is stored in the account shared resource pool, and because the speed-limitless downloading resources belong to the authority of the SVIP account, the account encryption information of the SVIP account is inquired in the account encryption information.
S500, generating a resource access encryption link corresponding to the first platform by using the first account encryption information.
According to the resource access method and the resource access system, the account and the password in the first account encryption information can be used for logging in the first platform, the resource access link of the first platform logged in by the account is obtained, and then the resource access link is encrypted, and the resource access encryption link is obtained.
S600, the resource access encryption link is sent to the user, so that the user can use the resource on the first platform through the resource access encryption link.
According to the method and the device for the account sharing, the encrypted resource access encryption link is sent to the user, the user cannot contact the account and the password in the first account encryption information, the account safety shared by other users in the account sharing resource pool is enhanced, and the account sharing sustainability is guaranteed.
The account sharing method based on block chain encryption can be applied to the field of block chains or the field of finance, is applied to an account sharing platform, and can obtain an account sharing request sent by a user, wherein the account sharing request comprises account identification of an account identification user, resource information requested by the account identification user and account application use time, and the account identification resource information comprises platform information of a first platform where a resource is requested and authority information required by the resource; determining account number sharing contribution values of account number identification users by using account number identification account identifications; determining account resource consumption values corresponding to the account identification resource information; under the condition that the account identification account number sharing contribution value is larger than the account identification account number resource consumption value, acquiring first account number encryption information corresponding to the first platform of the account identification according to the information of the platform of the account identification and the authority information required by the resource of the account identification, wherein the first account number encryption information of the account identification comprises an account number and a password of the first platform of the account identification after block chain encryption; generating a resource access encryption link corresponding to the account identification first platform by using the account identification first account number encryption information; and sending the account identification resource access encryption link to the account identification user so that the account identification user uses the resource on the account identification first platform through the account identification resource access encryption link. According to the account sharing request of the user, under the condition that the account sharing contribution value of the user is larger than the account resource consumption value corresponding to the request resource, the corresponding resource access encryption link is provided for the user, so that the user can use accounts shared by other users, and the use rate of the accounts is improved.
Optionally, based on the method shown in fig. 1, as shown in fig. 2, a schematic flow diagram of another implementation manner of the account sharing method based on block chain encryption provided in the embodiment of the present disclosure is shown, and the account sharing method may further include:
and A100, obtaining shared account information uploaded by a user, wherein the shared account information comprises an account and a password of a second platform.
And A200, carrying out block chain encryption on the account number and the password of the second platform to obtain second account number encryption information.
And A300, constructing a corresponding relation between the second account encryption information and the second platform.
And A400, calculating an account sharing contribution value of the user according to a preset account platform coefficient, a preset account permission coefficient and the actual account use time corresponding to the second account encryption information.
The actual using time of the account is the sum of using times of other users applying the account with the second account encryption information.
Optionally, in the embodiment of the present disclosure, a product of a preset account platform coefficient, a preset account permission coefficient, and actual account usage time corresponding to the second account encryption information may be determined as the account sharing contribution value of the user. The account sharing method and the account sharing system can use the resource book module of the account sharing platform to record the account sharing contribution value of the user through the decentralized block chain.
For ease of understanding, the description is made herein by way of example: suppose that the user A purchases the digital member account of the music platform M and has the privilege of downloading lossless music, and the user B purchases the digital member account of the library platform N and has the privilege of downloading library resources. And if the user A wants to download the library resource of one library platform N, sending a corresponding account number sharing request to the account number sharing platform. The account sharing platform checks the transaction records of the block chain, determines that the user shares the digital member account of the music platform M and is used by other users, the current account sharing contribution value of the user A is larger than the account resource consumption value corresponding to the resource information in the account sharing request, matches the digital member account of the library platform N shared by the user B in the account sharing resource pool, and sends the encrypted resource access encryption link of the digital member account of the library platform N shared by the user B to the user A. After the user A accesses the resource access encrypted link, the blockchain can automatically record the operation of the user A, correspondingly consume the account number sharing contribution value of the client A, and correspondingly increase the account number sharing contribution value of the client B.
Optionally, the resource access encryption connection is provided with a link valid time equal to the account application use time.
Optionally, the embodiment of the disclosure may verify the availability of the first account encryption information and/or the second account encryption information according to a preset availability verification period.
According to the account sharing method based on block chain encryption, a user can provide own accounts and passwords to an account sharing platform, the account sharing platform conducts block chain encryption on the accounts and the passwords, the user can use accounts shared by other users to share contribution values, sharing of digital resources under the condition of safe and reasonable distribution is guaranteed, the condition that the usage rate of a large number of members purchased by the user is not high is reduced, and the cost required by the user actually is reduced under the condition that the user digital resource experience is not changed.
Although the operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Corresponding to the foregoing method embodiment, an embodiment of the present disclosure further provides an account sharing device based on block chain encryption, where the structure of the account sharing device is shown in fig. 3, the account sharing device is applied to an account sharing platform, and the account sharing device includes: a first obtaining unit 100, a first determining unit 200, a second determining unit 300, a second obtaining unit 400, a link generating unit 500, and a link transmitting unit 600.
A first obtaining unit 100, configured to obtain an account sharing request sent by a user, where the account sharing request includes an account identifier of the user and resource information requested by the user, and the resource information includes platform information of a first platform where a resource is requested, resource required permission information, and account application use time.
A first determining unit 200, configured to determine an account sharing contribution value of the user by using the account identifier.
And a second determining unit 300, configured to determine an account resource consumption value corresponding to the resource information.
A second obtaining unit 400, configured to obtain, according to the platform information and the resource required permission information, first account encryption information corresponding to the first platform when the account sharing contribution value is greater than the account resource consumption value, where the first account encryption information includes an account and a password of the first platform after block chain encryption.
And a link generating unit 500, configured to generate a resource access encrypted link corresponding to the first platform by using the first account encryption information.
A link sending unit 600, configured to send the resource access encrypted link to the user, so that the user uses the resource on the first platform through the resource access encrypted link.
Optionally, the account sharing apparatus may further include: the device comprises a third obtaining unit, a first encryption unit, a relation construction unit and a contribution value calculation unit.
And a third obtaining unit, configured to obtain shared account information uploaded by a user, where the shared account information includes an account and a password of the second platform.
And the first encryption unit is used for carrying out block chain encryption on the account number and the password of the second platform to obtain second account number encryption information.
And the relationship construction unit is used for constructing the corresponding relationship between the second account encryption information and the second platform.
And the contribution value calculating unit is used for calculating the account sharing contribution value of the user according to the preset account platform coefficient, the preset account permission coefficient and the actual account use time corresponding to the second account encryption information.
Optionally, the resource access encryption connection is provided with a link effective time equal to the account application use time.
Optionally, the account sharing apparatus may further include: an availability verification unit.
And the availability verification unit is used for verifying the availability of the first account number encryption information and/or the second account number encryption information according to a preset availability verification period.
The account sharing device based on block chain encryption can be applied to the field of block chains or the field of finance, is applied to an account sharing platform, and can obtain an account sharing request sent by a user, wherein the account sharing request comprises account identification of an account identification user, resource information requested by the account identification user and account application use time, and the account identification resource information comprises platform information of a first platform where a resource is requested and authority information required by the resource; determining account number sharing contribution values of account identification users by using account identification account identifications; determining account resource consumption values corresponding to the account identification resource information; under the condition that the account identification account number sharing contribution value is larger than the account identification account number resource consumption value, acquiring first account number encryption information corresponding to the first platform of the account identification according to the information of the platform of the account identification and the authority information required by the resource of the account identification, wherein the first account number encryption information of the account identification comprises an account number and a password of the first platform of the account identification after block chain encryption; generating a resource access encryption link corresponding to the account identification first platform by using the account identification first account number encryption information; and sending the account identification resource access encryption link to the account identification user so that the account identification user uses the resource on the account identification first platform through the account identification resource access encryption link. According to the account sharing request of the user, under the condition that the account sharing contribution value of the user is larger than the account resource consumption value corresponding to the request resource, the corresponding resource access encryption link is provided for the user, so that the user can use accounts shared by other users, and the use rate of the accounts is improved.
With regard to the apparatus in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
The account sharing device based on block chain encryption comprises a processor and a memory, wherein the first obtaining unit 100, the first determining unit 200, the second determining unit 300, the second obtaining unit 400, the link generating unit 500, the link sending unit 600 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and corresponding resource access encryption links are provided for the user by adjusting kernel parameters according to the account sharing request of the user under the condition that the account sharing contribution value of the user is larger than the account resource consumption value corresponding to the request resource, so that the user can use accounts shared by other users, and the utilization rate of the accounts is improved.
The embodiment of the disclosure provides a computer-readable storage medium, on which a program is stored, and the program, when executed by a processor, implements the method for account sharing based on block chain encryption.
The embodiment of the disclosure provides a processor, which is used for running a program, wherein the program executes the account sharing method based on block chain encryption during running.
As shown in fig. 4, an embodiment of the present disclosure provides an electronic device 1000, where the electronic device 1000 includes at least one processor 1001, and at least one memory 1002 and a bus 1003 connected to the processor 1001; the processor 1001 and the memory 1002 communicate with each other through the bus 1003; the processor 1001 is configured to call program instructions in the memory 1002 to execute the above-described account sharing method based on block chain encryption. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present disclosure also provides a computer program product adapted to perform a program initialized with account sharing method steps based on blockchain encryption when executed on an electronic device.
It should be noted that the account sharing method and the related device based on block chain encryption provided by the present disclosure may be used in the field of block chains or in the field of finance. The above description is only an example, and does not limit the application fields of the account sharing method based on block chain encryption and the related device provided in the present disclosure.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, electronic devices (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
In the description of the present disclosure, it should be understood that the directions or positional relationships indicated as referring to the terms "upper", "lower", "front", "rear", "left", and "right", etc., are based on the directions or positional relationships shown in the drawings, and are only for convenience of description and simplification of the description, but do not indicate or imply that the positions or elements referred to must have specific directions, be constructed and operated in specific directions, and thus, should not be construed as limitations of the present disclosure.
It should be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the same. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. An account sharing method based on block chain encryption is applied to an account sharing platform, and the method comprises the following steps:
obtaining an account number sharing request sent by a user, wherein the account number sharing request comprises an account identification of the user and resource information requested by the user, and the resource information comprises platform information of a first platform where a resource is requested, authority information required by the resource and account number application use time;
determining an account number sharing contribution value of the user by using the account identification;
determining account resource consumption values corresponding to the resource information;
under the condition that the account sharing contribution value is larger than the account resource consumption value, acquiring first account encryption information corresponding to the first platform according to the platform information and the resource required permission information, wherein the first account encryption information comprises an account and a password of the first platform after block chain encryption;
generating a resource access encryption link corresponding to the first platform by using the first account encryption information;
and sending the resource access encryption link to the user so that the user uses the resource on the first platform through the resource access encryption link.
2. The method of claim 1, further comprising:
obtaining shared account information uploaded by the user, wherein the shared account information comprises an account and a password of a second platform;
carrying out block chain encryption on the account number and the password of the second platform to obtain second account number encryption information;
constructing a corresponding relation between the second account encryption information and the second platform;
and calculating the account sharing contribution value of the user according to a preset account platform coefficient, a preset account permission coefficient and the actual account use time corresponding to the second account encryption information.
3. The method of claim 1, wherein the resource access encrypted connection is provided with a link validity time equal to a usage time of the account application.
4. The method of claim 2, further comprising:
and verifying the availability of the first account number encryption information and/or the second account number encryption information according to a preset availability verification period.
5. An account sharing device based on block chain encryption is applied to an account sharing platform, and the device comprises: a first obtaining unit, a first determining unit, a second obtaining unit, a link generating unit, and a link transmitting unit,
the first obtaining unit is configured to obtain an account sharing request sent by a user, where the account sharing request includes an account identifier of the user and resource information requested by the user, and the resource information includes platform information of a first platform where a resource is requested, resource required permission information, and account application use time;
the first determining unit is configured to determine an account sharing contribution value of the user by using the account identifier;
the second determining unit is configured to determine an account resource consumption value corresponding to the resource information;
the second obtaining unit is configured to obtain, according to the platform information and the resource required permission information, first account encryption information corresponding to the first platform when the account sharing contribution value is greater than the account resource consumption value, where the first account encryption information includes an account and a password of the first platform after block chain encryption;
the link generating unit is used for generating a resource access encryption link corresponding to the first platform by using the first account encryption information;
and the link sending unit is used for sending the resource access encrypted link to the user so that the user uses the resource on the first platform through the resource access encrypted link.
6. The apparatus of claim 5, further comprising: a third obtaining unit, a first encryption unit, a relation construction unit and a contribution value calculation unit,
the third obtaining unit is configured to obtain shared account information uploaded by the user, where the shared account information includes an account and a password of a second platform;
the first encryption unit is used for carrying out block chain encryption on the account number and the password of the second platform to obtain second account number encryption information;
the relationship construction unit is used for constructing a corresponding relationship between the second account encryption information and the second platform;
and the contribution value calculating unit is used for calculating the account sharing contribution value of the user according to a preset account platform coefficient, a preset account permission coefficient and the actual account use time corresponding to the second account encryption information.
7. The apparatus of claim 5, wherein the encrypted connection for resource access is configured with a link validity time equal to a usage time of the account application.
8. The apparatus of claim 6, further comprising: a unit for verifying the availability of the user,
the availability verification unit is used for verifying the availability of the first account number encryption information and/or the second account number encryption information according to a preset availability verification period.
9. A computer-readable storage medium on which a program is stored, the program implementing the method for sharing an account based on block chain encryption according to any one of claims 1 to 4 when executed by a processor.
10. An electronic device comprising at least one processor, and at least one memory connected to the processor, a bus; the processor and the memory complete mutual communication through the bus; the processor is configured to call program instructions in the memory to perform the method of sharing accounts based on blockchain encryption according to any one of claims 1 to 4.
CN202210545176.XA 2022-05-19 2022-05-19 Account sharing method based on blockchain encryption and related equipment Active CN114938302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210545176.XA CN114938302B (en) 2022-05-19 2022-05-19 Account sharing method based on blockchain encryption and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210545176.XA CN114938302B (en) 2022-05-19 2022-05-19 Account sharing method based on blockchain encryption and related equipment

Publications (2)

Publication Number Publication Date
CN114938302A true CN114938302A (en) 2022-08-23
CN114938302B CN114938302B (en) 2024-03-19

Family

ID=82865236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210545176.XA Active CN114938302B (en) 2022-05-19 2022-05-19 Account sharing method based on blockchain encryption and related equipment

Country Status (1)

Country Link
CN (1) CN114938302B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116599954A (en) * 2023-04-03 2023-08-15 深圳云步互娱网络科技有限公司 Block chain-based game sharing method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656957A (en) * 2016-09-27 2017-05-10 乐视控股(北京)有限公司 Account sharing method and account sharing device
CN108377200A (en) * 2018-01-19 2018-08-07 北京大学 Cloud user management method and system based on LDAP and SLURM
CN109067866A (en) * 2018-07-27 2018-12-21 北京金山云网络技术有限公司 A kind of resource share method, device, electronic equipment and storage medium
CN110858928A (en) * 2018-08-24 2020-03-03 深圳Tcl新技术有限公司 VIP resource sharing method, intelligent terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656957A (en) * 2016-09-27 2017-05-10 乐视控股(北京)有限公司 Account sharing method and account sharing device
CN108377200A (en) * 2018-01-19 2018-08-07 北京大学 Cloud user management method and system based on LDAP and SLURM
CN109067866A (en) * 2018-07-27 2018-12-21 北京金山云网络技术有限公司 A kind of resource share method, device, electronic equipment and storage medium
CN110858928A (en) * 2018-08-24 2020-03-03 深圳Tcl新技术有限公司 VIP resource sharing method, intelligent terminal and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116599954A (en) * 2023-04-03 2023-08-15 深圳云步互娱网络科技有限公司 Block chain-based game sharing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN114938302B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
US12028343B2 (en) Decentralized identities for access to multiple computing resource systems
AU2017320341B2 (en) Dynamic access control on blockchain
CN111191268B (en) Storage method, device and equipment capable of verifying statement
CN113255005B (en) Block chain-based data asset circulation method, device and equipment
EP3149650B1 (en) System for managing personal data
CN103597494B (en) Method and apparatus for the use of numerals authority of management document
CN113312653A (en) Open platform authentication and authorization method, device and storage medium
CN110222533A (en) Distributed data security application method, system and electronic equipment
KR20220160021A (en) Low Trust Privilege Access Management
CN111193597B (en) Transmission method, device, equipment and system capable of verifying statement
US20220156725A1 (en) Cross-chain settlement mechanism
AU2012266675B2 (en) Access control to data stored in a cloud
CN111814172A (en) Method, device and equipment for acquiring data authorization information
EP3847779B1 (en) Hardware security module that enforces signature requirements
CN111814196A (en) Data processing method, device and equipment
JP2023520212A (en) Privacy-centric data security in cloud environments
US9886685B2 (en) Distributed digital rights-managed file transfer and access control
CN114938302A (en) Account number sharing method based on block chain encryption and related equipment
US11876903B2 (en) Decentralized broadcast encryption and key generation facility
US20210271766A1 (en) Transaction information management
KR102147431B1 (en) Method and system for providing personal information based on block chain
CN115048672A (en) Data auditing method and device based on block chain, processor and electronic equipment
US20220311595A1 (en) Reducing transaction aborts in execute-order-validate blockchain models
CN111427961B (en) Resume right determining method based on block chain, block chain resume system and device thereof
CN106878293A (en) Date storage method and device based on cloud storage platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant