Distributed Application Access Method, Device, Computer Equipment and Storage Medium
Through the unified navigation portal and blockchain authentication technology of the distributed application platform, the problem of users frequently downloading browsers to access different distributed applications is solved, and efficient and secure distributed application access is achieved.
Patent Information
- Application Number
- CN202010113876.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-24
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2040-02-24
AI Technical Summary
Users need to frequently download distributed applications in different browsers to access different regions, resulting in inefficient access and may be accessed by illegal users when the terminal is lost, reducing security.
Provide a distributed application platform, unified management of distributed applications through distributed navigation portals, obtain the user's blockchain address for authentication, ensure access rights, and allow access to the target distributed application when the authentication is successful.
It improves the efficiency and security of users' access to distributed applications, quickly locate target applications through a unified navigation portal, and ensures the legality and security of access through blockchain authentication.
Smart Images

Figure CN111339454B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of blockchain technology, and in particular, to a method and device for accessing distributed applications, a computer device, and a storage medium. Background Art
[0002] With the increasing maturity of blockchain technology, many applications developed relying on the core of blockchain technology have emerged, namely distributed applications (DApps).
[0003] Currently, when a user accesses a DApp, a specific browser for accessing the DApp needs to be downloaded, and the DApp is accessed through the browser. Then, for DApps scattered in different regions, the user needs to download different browsers to access different DApps, resulting in the user frequently exiting the browser to access different DApps during the use of these DApps, thereby reducing the efficiency of the user accessing the DApps. In addition, in the prior art, when the user's terminal device is lost, other users (such as illegal users) can also illegally access the corresponding DApp through the specific browser integrated in the terminal, thus reducing the security of application access.
[0004] Application Content
[0005] The embodiments of this application provide a method and device for accessing distributed applications, a computer device, and a storage medium, which can improve the efficiency and security of a target user accessing a target distributed application.
[0006] On the one hand, the embodiments of this application provide a method for accessing a distributed application, and the method includes:
[0007] Obtain a first access request triggered by a target user for a user terminal, and output an application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed application navigation entry requested to be accessed by the first access request; the application navigation interface includes target distributed applications associated with a target category;
[0008] Receive a second access request triggered by the target user for the target distributed application in the application navigation interface; the second access request includes the blockchain address of the target user;
[0009] Authenticate the target user according to the blockchain address of the target user in the second access request;
[0010] When the authentication is successful, determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application.
[0011] One aspect of the embodiments of the present application provides a distributed application access device, which includes:
[0012] An acquisition output module, configured to acquire a first access request triggered by a target user for a user terminal, and output an application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed navigation entry requested to be accessed by the first access request; the application navigation interface includes target distributed applications associated with a target category;
[0013] A receiving module, configured to receive a second access request triggered by the target user for the target distributed application in the application navigation interface; the second access request includes the blockchain address of the target user;
[0014] An authentication module, configured to authenticate the target user according to the blockchain address of the target user in the second access request;
[0015] A first determination module, configured to, when the authentication is successful, determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application.
[0016] Wherein, the above device further includes:
[0017] An acquisition module, configured to acquire frequency feature information and influence degree feature information associated with a target user from a blockchain network; the frequency feature information is determined by the usage frequency of the distributed applications in the distributed navigation entry by the target user, and the influence degree feature information is determined according to the influence degree of the distributed applications in the distributed navigation entry on the target user;
[0018] A second determination module, configured to determine the frequency feature information and the influence degree feature information as first feature information, and determine the application attribute information of the distributed applications in the distributed navigation entry as second feature information;
[0019] A classification module, configured to classify the distributed applications in the distributed navigation entry according to the first feature information and the second feature information, and add the classified distributed applications to classification clusters associated with the distributed navigation entry respectively.
[0020] Wherein, the above classification module includes:
[0021] A creation unit, configured to create a classification cluster associated with the distributed applications in the distributed navigation entry on the application navigation interface corresponding to the distributed navigation entry; the classification cluster includes at least one classification category; the at least one classification category includes a first category, a second category, and a third category;
[0022] A first adding unit, configured to obtain time dimension information associated with the frequency feature information, screen distributed applications that match the frequency feature information from the distributed applications of the distributed navigation entry according to the time dimension information, and add the screened distributed applications to the first category;
[0023] A second adding unit, configured to obtain, from the distributed applications of the distributed navigation entry, distributed applications whose influence degree feature information meets an influence degree threshold, and add the obtained distributed applications to the second category;
[0024] A third adding unit, configured to perform attribute division on the distributed applications in the distributed navigation entry according to the second feature information, and add the distributed applications with the same application attribute information after the attribute division to the third category.
[0025] Wherein, the above-mentioned third adding unit includes:
[0026] A first obtaining subunit, configured to obtain application attribute information of each distributed application in the distributed navigation entry;
[0027] An attribute dividing subunit, configured to perform attribute division on the application attribute information of each distributed application to obtain at least one sub-category associated with the third category; one sub-category corresponds to one application attribute information;
[0028] An adding subunit, configured to add the distributed applications with the same application attribute information to the sub-categories associated with the corresponding attribute information respectively.
[0029] Wherein, the first access request includes application category information and application identification information associated with a target distributed application;
[0030] The above-mentioned apparatus further includes:
[0031] A third determining module, configured to determine a target category to which the target distributed application belongs from at least one category in the classification clusters included in the application navigation interface according to the application category information associated with the target distributed application in the first access request;
[0032] A fourth determining module, configured to determine the target distributed application from the distributed applications included in the target category according to the application identification information associated with the target distributed application in the first access request.
[0033] Wherein, the above-mentioned authentication module includes:
[0034] An obtaining unit, configured to obtain blockchain address information associated with the target distributed application; the blockchain address information includes access address information of an authorized user for accessing the target distributed application;
[0035] An authentication unit, which is used to authenticate successfully if access address information matching the blockchain address of the target user is found in the blockchain address information, and determine that the target user has the permission to access the target distributed application.
[0036] Wherein, the above device further includes:
[0037] A fifth determination module, which is used to determine the data associated with the second access request as the application access data of the target user;
[0038] A sixth determination module, which is used to determine the signature information corresponding to the application access data according to the private key of the target user;
[0039] An upload module, which is used to upload the application access data, the signature information corresponding to the application access data, and the public key corresponding to the private key to the blockchain network, so that the blockchain network verifies the signature of the application access data according to the public key;
[0040] An addition module, which is used to add the target block containing the application access data to the blockchain corresponding to the blockchain network if the signature verification passes.
[0041] On the one hand, the present application provides a computer device, including: a processor, a memory, and a network interface;
[0042] The processor is connected to the memory and the network interface. Among them, the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor is used to call the computer program to execute the method in the above aspect in the embodiment of the present application.
[0043] On the one hand, the present application provides a computer-readable storage medium, which stores a computer program. The computer program includes program instructions, and when the program instructions are executed by a processor, the method in the above aspect in the embodiment of the present application is executed.
[0044] In the embodiment of the present application, the distributed application platform can provide a distributed navigation entry for accessing distributed applications, uniformly manage the distributed applications, facilitate the target user to quickly access the target distributed application through the distributed navigation entry, thereby improving the efficiency of the target user accessing the target distributed application; in addition, the distributed application platform can authenticate the target user in response to the click operation of the target distributed application in the distributed navigation entry, thereby improving the security of the target user accessing the target distributed application. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0046] Figure 1 is a schematic structural diagram of a network architecture provided by an embodiment of the present application;
[0047] Figure 2 is a schematic diagram of a scenario for accessing a distributed application provided by an embodiment of the present application;
[0048] Figure 3 is a schematic flowchart of a method for accessing a distributed application provided by an embodiment of the present application;
[0049] Figure 4 is a schematic diagram of an application navigation interface provided by an embodiment of the present application;
[0050] Figure 5 is a schematic diagram of the generation and on-chain of a target block provided by an embodiment of the present application;
[0051] Figure 6 is a schematic diagram of a blockchain including a target block provided by an embodiment of the present application;
[0052] Figure 7 is a schematic flowchart of a method for accessing a distributed application provided by an embodiment of the present application;
[0053] Figure 8 is a schematic diagram of an application navigation interface provided by an embodiment of the present application;
[0054] Figure 9 is a schematic structural diagram of a device for accessing a distributed application provided by an embodiment of the present application;
[0055] Figure 10 is a schematic structural diagram of a computer device provided by an embodiment of the present application. Detailed Embodiments
[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, rather than all embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0057] Please refer to Figure 1, which is a schematic structural diagram of a network architecture provided by an embodiment of the present application. As Figure 1 shown, the network architecture may include a distributed application platform 1000 and a user terminal cluster, and the user terminal cluster may include multiple user terminals, such as Figure 1 shown, specifically including user terminal 3000a, user terminal 3000b, user terminal 3000c, …, user terminal 3000n.
[0058] As Figure 1 shown, user terminal 3000a, user terminal 3000b, user terminal 3000c, …, user terminal 3000n can be respectively network-connected to the above-mentioned distributed application platform 1000, so that each user terminal can perform data interaction with the distributed application platform 1000 through this network connection.
[0059] As Figure 1 shown, the above-mentioned distributed application platform 1000 may include, but is not limited to: servers, applets, and clients, etc. For example, the distributed application platform 1000 can be as shown in 20, where 2a can be a server, 2b can be an applet, and 2c can be a client. Among them, each user terminal in the user terminal cluster can access the target distributed application through the distributed application platform 1000. When the target distributed application runs on each user terminal, it can perform data interaction with the above-mentioned Figure 1 shown distributed application platform 1000. Among them, the target distributed application can be a decentralized application running in a blockchain network.
[0060] Among them, for the convenience of understanding, an embodiment of the present application can select any one of the Figure 1 shown multiple user terminals as the user terminal corresponding to the target user. The user terminal may include: desktop computers, tablet computers, smart phones, etc. For example, an embodiment of the present application can use the Figure 1 shown user terminal 3000a as the user terminal corresponding to the target user.
[0061] It can be understood that the distributed application platform in the embodiment of the present application is based on Figure 1Taking the distributed application platform 1000 shown as an example, the access process of the distributed application platform 1000 to the target user accessing the target distributed application will be described. It should be understood that the distributed application platform 1000 may include a distributed navigation entry integrating all distributed applications and may perform data interaction with the blockchain network. It can be understood that the above-mentioned distributed application platform 1000 can obtain a first access request triggered by the target user for the user terminal, and output the application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed navigation entry requested to be accessed by the first access request. Among them, the application navigation interface may include target distributed applications associated with the target category. It should be understood that the distributed navigation entry may be the navigation entry for the target user to access the target distributed application. Among them, the application navigation interface may include at least one category of distributed applications, the above-mentioned at least one category may include the target category, and the distributed applications in the target category may include the target distributed application. It should be understood that the distributed application platform can provide a distributed navigation entry for accessing distributed applications, uniformly manage the distributed applications, and facilitate the target user to quickly access the target distributed application through the distributed navigation entry, thereby improving the efficiency of the target user accessing the target distributed application.
[0062] It should be understood that the distributed application platform 1000 can receive a second access request triggered by the target user for the target distributed application in the application navigation interface. Among them, the second access request includes the blockchain address of the target user. The blockchain address may be an address obtained by operating on the public key of the target user. It should be understood that the second access request may be a request triggered when the target user needs to access the target distributed application in the above-mentioned application navigation interface.
[0063] Furthermore, the distributed application platform 1000 can authenticate the target user according to the blockchain address of the target user in the second access request. It should be understood that the above-mentioned distributed application platform 1000 can host the blockchain address of the user (for example, the blockchain address of the target user) and can set the access permissions for each distributed application in the distributed navigation entry, so as to authenticate the target user according to the blockchain address of the target user.
[0064] Further, when the authentication is successful, the distributed application platform 1000 can determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application. It can be understood that if the distributed application platform 1000 authenticates the target user according to the blockchain address of the target user in the second access request and the authentication is successful, it can be determined that the target user has the permission to access the target distributed application. Further, the distributed application platform 1000 can permit the user terminal where the target user is located to access the target distributed application, and perform blockchain processing on the access process of the target user to access the target distributed application. It should be understood that the distributed application platform can authenticate the target user in response to the click operation of the target distributed application in the distributed navigation entry, thereby improving the security of the target user's access to the target distributed application.
[0065] For ease of understanding, further, please refer to Figure 2 , which is a schematic diagram of a scenario for accessing a distributed application provided by an embodiment of the present application. As Figure 2 shown, the user terminal of the target user can be Figure 1 any user terminal in the user terminal cluster shown (for example, user terminal 3000a), and the distributed application platform can be the distributed application platform 1000 shown above. Figure 1 Among them, the distributed application platform can include but is not limited to: servers, applets, and clients, etc.
[0066] It can be understood that the distributed application platform can obtain a first access request triggered by the target user for the user terminal, and output an application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed navigation entry requested to be accessed in the first access request. Among them, the application navigation interface can include target distributed applications associated with the target category. Among them, the application navigation interface can include at least one category of distributed applications, the above at least one category can include the target category, and the distributed applications in the target category can include the target distributed application. It should be understood that the distributed application platform outputs the application navigation interface corresponding to the distributed application navigation entry to the user terminal, which is convenient for the target user to quickly find the target distributed application to be accessed, and click on the target distributed application to access (for example, distributed application 3), thereby triggering a second access request.
[0067] It should be understood that the distributed application platform can receive a second access request triggered by the target user for the target distributed application in the application navigation interface. The second access request includes the blockchain address of the target user. Further, the distributed application platform can authenticate the target user according to the blockchain address of the target user in the second access request. It should be understood that the above-mentioned distributed application platform can host the blockchain address of the user (such as the blockchain address of the target user), and can set the access permissions for each distributed application in the distributed navigation entry, so as to authenticate the target user according to the blockchain address of the target user.
[0068] Further, when the authentication is successful, the distributed application platform can determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application. It can be understood that if the distributed application platform authenticates the target user according to the blockchain address of the target user in the second access request, and the authentication is successful, it can be determined that the target user has the permission to access the target distributed application, and permit the user terminal where the target user is located to access the target distributed application.
[0069] Thus, in the embodiment of the present application, the distributed application platform can provide a distributed navigation entry for accessing distributed applications, uniformly manage the distributed applications, facilitate the target user to quickly access the target distributed application through the distributed navigation entry, thereby improving the efficiency of the target user accessing the target distributed application; in addition, the distributed application platform can authenticate the target user in response to the click operation of the target distributed application in the distributed navigation entry, thereby improving the security of the target user accessing the target distributed application.
[0070] Among them, the specific implementation manner of the above-mentioned distributed application platform for the target user to access the target distributed application can be referred to the following Figures 3 - 8 corresponding embodiment.
[0071] Further, please refer to Figure 3 , which is a schematic flowchart of a method for accessing a distributed application provided by an embodiment of the present application. As Figure 3 shown, the method may include:
[0072] S101, obtain a first access request triggered by the target user for the user terminal, and output the application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed navigation entry requested to be accessed by the first access request.
[0073] Specifically, the application navigation interface includes a target distributed application associated with a target category. It should be understood that the distributed application platform may include a distributed navigation entry integrating all distributed applications and hosting the blockchain addresses of all users, enabling users to access the required distributed applications through the above-mentioned distributed navigation entry. Among them, the distributed application platform may include, but is not limited to, servers, applets, and clients, etc. Among them, the user terminal may include, but is not limited to, desktop computers, tablet computers, smart phones, etc. It should be understood that when the target user needs to access the distributed navigation entry, the distributed application platform may obtain a first access request triggered by the target user for the user terminal, and this first access request is used to request access to the distributed navigation entry. Further, the distributed application platform may output the application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed navigation entry requested by the first access request. Among them, the application navigation interface may include at least one category of distributed applications, the above-mentioned at least one category may include the target category, and the distributed applications in the target category may include the target distributed application.
[0074] For ease of understanding, please refer to Figure 4 , Figure 4 which is a schematic diagram of an application navigation interface provided by an embodiment of the present application. As Figure 4 shown, the application navigation interface corresponding to the distributed navigation entry may be as shown in 40, that is, the application navigation interface 40 may include three categories of distributed applications, namely the first category of distributed applications, the second category of distributed applications, and the third category of distributed applications. Among them, 4A may be the first category of distributed applications, and the first category of distributed applications in 4A may include application 1a, distributed application 1b, and distributed application 1c. Among them, 4B may be the second category of distributed applications, and the second category of distributed applications in 4B may include distributed application 2a, distributed application 2b, and distributed application 2c. Among them, 4C may be the third category of distributed applications, and the third category of distributed applications in 4C may include distributed application 3a, distributed application 3b, and distributed application 3c. It can be understood that the distributed navigation entry provided by the above-mentioned distributed application platform for the target user to access the target distributed application facilitates the target user to quickly find the target category of the target distributed application on the application navigation interface corresponding to the distributed navigation entry and further find the target distributed application to be accessed.
[0075] S102. Receive a second access request triggered by the target user for the target distributed application in the application navigation interface.
[0076] Specifically, the second access request includes the blockchain address of the target user. It should be understood that when the target user needs to access the target distributed application, the distributed application platform can receive the second access request triggered by the target user for the target distributed application in the application navigation interface. Wherein, the second access request is used to request access to the target distributed application in the application navigation interface. It should be understood that the blockchain address of the target user in the second access request can be used by the distributed application platform to authenticate whether the target user has the permission to access the target distributed application.
[0077] S103. Authenticate the target user according to the blockchain address of the target user in the second access request.
[0078] Specifically, the distributed application platform can authenticate the target user according to the blockchain address of the target user in the second access request. It can be understood that the distributed application platform can obtain the blockchain address information associated with the target distributed application. Wherein, the blockchain address information contains the access address information of the authorized users for accessing the target distributed application. Further, if the distributed application platform finds the access address information that matches the blockchain address of the target user in the blockchain address information, the authentication is successful, and it is determined that the target user has the permission to access the target distributed application. It should be understood that if the distributed application platform does not find the access address information that matches the blockchain address of the target user in the blockchain address information, the authentication fails, and it is determined that the target user does not have the permission to access the target distributed application.
[0079] S104. When the authentication is successful, determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application.
[0080] Specifically, when the authentication is successful, the distributed application platform determines that the target user has the permission to access the target distributed application, and permits the user terminal to access the target distributed application. It should be understood that if the distributed application platform authenticates the target user according to the blockchain address of the target user in the second access request and the authentication is successful, it can be determined that the target user has the permission to access the target distributed application. Further, the distributed application platform can permit the user terminal where the target user is located to access the target distributed application, so that the user terminal where the target user is located can use the service corresponding to the target distributed application. For example, the service of the target distributed application can be a lottery service, a shopping service, and so on.
[0081] It is understandable that the distributed application platform can determine the data associated with the second access request as the application access data of the target user. It should be understood that the application access data of the target user may include data associated with the access process and access result of the target user's user terminal accessing the target distributed application.
[0082] Furthermore, the distributed application platform can determine the signature information corresponding to the application access data according to the private key of the target user. It should be understood that the distributed application platform can perform a hashing operation on the application access data to obtain a first hash value, and based on the digital signature algorithm, use the private key of the target user to sign the application access data, thereby obtaining the signature information corresponding to the application access data. Among them, the digital signature algorithm may include, but is not limited to: RSA (a signature algorithm), DSA (a signature algorithm), ECDSA (a signature algorithm), and so on.
[0083] Furthermore, the distributed application platform can upload the application access data, the signature information corresponding to the application access data, and the public key corresponding to the private key to the blockchain network, so that the blockchain network verifies the signature of the application access data according to the public key. It should be understood that the distributed application platform can upload the application access data, the signature information corresponding to the application access data, and the public key corresponding to the private key to the blockchain network, so that the blockchain network decrypts the signature information corresponding to the application access data using the public key to obtain a second hash value. If the second hash value is the same as the above first hash value, the signature verification is successful, and it is determined that the application access data is generated by the target user accessing the target distributed application. It is understandable that if the second hash value is different from the above first hash value, the signature verification fails, and it is determined that the application access data is not generated by the target user accessing the target distributed application. Furthermore, if the signature verification passes, the distributed application platform can add the target block containing the application access data to the blockchain corresponding to the blockchain network.
[0084] For ease of understanding, please refer to Figure 5 , which is a schematic diagram of the generation and on-chain of a target block provided by an embodiment of the present application. As Figure 5 shown, when generating a target block in the blockchain, the blockchain node where the blockchain is located can verify the application access data when receiving the application access data (for example, it can be verifying the signature information corresponding to the application access data). After the verification is completed (for example, the signature verification of the application access data passes), the application access data is stored in the memory pool, and its hash tree for recording the application access data is updated; then, the update timestamp is updated to the time when the application access data is received, and different random numbers are tried, and the eigenvalue calculation is performed multiple times, and the calculated eigenvalue can satisfy the following formula (1):
[0085] SHA256(SHA256(version + prev_hash + merkle_root + ntime + nbits + x)) < TARGET, (1)
[0086] Among them, SHA256 is the eigenvalue algorithm used to calculate the eigenvalue; version (version number) is the version information of the relevant block protocol in the blockchain; prev_hash is the block header eigenvalue of the parent block of the current block; merkle_root is the eigenvalue of the application access data; ntime is the update time of the update timestamp; nbits is the current difficulty, which is a fixed value within a certain period of time and is determined again after exceeding the fixed time period; x is a random number; TARGET is the eigenvalue threshold, and this eigenvalue threshold can be determined according to nbits.
[0087] It can be understood that when a random number that satisfies the above formula is calculated, the information can be stored correspondingly to generate a block header and a block body, obtaining a block to be verified. Subsequently, the node where the blockchain is located sends the block to be verified to other nodes in its blockchain network according to the node identifiers of other nodes in the blockchain network. Other nodes verify the block to be verified and obtain the target block after the verification is completed, and add the target block to the blockchain stored by them.
[0088] For easy understanding, please refer to Figure 6 , which is a schematic diagram of a blockchain including a target block provided by an embodiment of the present application. As Figure 6 shown, the blockchain 60 can be composed of multiple blocks (for example, the genesis block 6a and the target block 6b, etc.). The genesis block 6a includes a block header and a block body. The block header stores the input information eigenvalue, version number, timestamp, and difficulty value. The block body stores the input information. The next block of the genesis block uses the genesis block as the parent block. The next block can include a block header and a block body. The block header stores the input information eigenvalue of the current block, the block header eigenvalue of the parent block, version number, timestamp, and difficulty value. Among them, the target block 6b can include a block header and a block body. The block header stores the application access data eigenvalue, the block header eigenvalue of the parent block, version number, timestamp, and difficulty value. At this time, the block data stored in each block in the blockchain is associated with the block data stored in the parent block, ensuring the security of the input information in the block (for example, the application access data in the target block).
[0089] In the embodiments of the present application, the distributed application platform can provide a distributed navigation entry for accessing distributed applications, and uniformly manage the distributed applications, facilitating target users to quickly access the target distributed applications through the distributed navigation entry, thereby improving the efficiency of target users accessing the target distributed applications. In addition, the distributed application platform can authenticate the target user in response to the click operation of the target distributed application in the distributed navigation entry, thereby improving the security of the target user accessing the target distributed applications.
[0090] Further, please refer to Figure 7 , which is a schematic flow chart of a method for accessing a distributed application provided by an embodiment of the present application. As Figure 7 shown, the method may include:
[0091] S201, Obtain frequency feature information and influence degree feature information associated with the target user from the blockchain network.
[0092] Specifically, the frequency feature information is determined by the usage frequency of the distributed applications in the distributed navigation entry by the target user, and the influence degree feature information is determined according to the influence degree of the distributed applications in the distributed navigation entry on the target user. For example, the influence degree of the distributed applications in the distributed navigation entry on the target user can be 70%. It should be understood that the distributed application platform can obtain the frequency feature information and the influence degree feature information associated with the target user from the blockchain network. For example, if the distributed navigation entry can include distributed application 1, distributed application 2, distributed application 3,..., distributed application n, and user a has used distributed application 1 five times and distributed application 2 three times within a week, the frequency feature information can be that user a has used distributed application 1 five times and distributed application 2 three times within a week. For example, the influence degree feature information can be information associated with the distributed applications that user a likes to use.
[0093] S202, Determine the frequency feature information and the influence degree feature information as the first feature information, and determine the application attribute information of the distributed applications in the distributed navigation entry as the second feature information.
[0094] Specifically, the distributed application platform can determine the frequency feature information and the influence degree feature information as the first feature information, and determine the application attribute information of the distributed applications in the distributed navigation entry as the second feature information. Among them, the application attribute information can be the business or function information of the distributed application. For example, the application attribute information can be game application attributes, exchange application attributes, and other application attributes. It can be understood that the first feature information and the second feature information can be used to classify the distributed applications in the distributed navigation entry.
[0095] S203. Classify the distributed applications in the distributed navigation entry according to the first feature information and the second feature information, and add the classified distributed applications to the classification clusters associated with the distributed navigation entry respectively.
[0096] Specifically, the distributed application platform may create classification clusters associated with the distributed applications in the distributed navigation entry on the application navigation interface corresponding to the distributed navigation entry. Among them, the classification cluster includes at least one classification category; the at least one classification category includes a first category, a second category, and a third category. It should be understood that the classification cluster may be the classification category corresponding to the distributed applications in the distributed navigation entry. Among them, the first category may be the classification category associated with the frequency feature information, the second category may be the classification category associated with the influence degree feature information, and the third category may be the classification category associated with the application attribute information of the distributed application. For example, the first category may be "Recently Used" (i.e., the category corresponding to the distributed applications frequently used by the target user), the second category may be "My Favorites" (i.e., the distributed applications set by the target user as their favorites), and the third category may include game categories, exchange categories, and other categories.
[0097] Further, the distributed application platform may obtain the time dimension information associated with the frequency feature information, screen the distributed applications in the distributed navigation entry that match the frequency feature information according to the time dimension information, and add the screened distributed applications to the first category. It should be understood that the time dimension information may be information that describes and expresses the usage frequency of the distributed applications in the distributed navigation entry by the target user in terms of time. It can be understood that the distributed application platform may add the distributed applications with a usage frequency greater than or equal to the first threshold to the first category, where the usage frequency may be obtained based on the number of times the target user accesses the distributed application. Among them, the first threshold may be set by the developer of the distributed application platform. Specifically, the time dimension information may be as shown in Table 1 below:
[0098] Table 1
[0099] Time of Target Users Using Distributed Applications Number of Times Target Users Access Distributed Applications T1 1 T2 1 T3 1
[0100] Among them, the target user accessed a distributed application once at T1, once at T2, and once at T3, and T1, T2, and T3 are within a time period. Then, the target user accessed the distributed application three times within this time period. Further, the distributed application platform can screen out the distributed applications that the target user accessed three times within this time period from the distributed applications in the distributed navigation entry as the distributed applications that match the frequency feature information, and add the screened distributed applications to the first category.
[0101] Further, the distributed application platform can obtain the distributed applications in the distributed navigation entry whose influence degree feature information meets the influence degree threshold, and add the obtained distributed applications to the second category. For example, the distributed application platform can obtain the distributed applications whose influence degree feature information is greater than 50% in the distributed applications in the distributed navigation entry, and add the distributed applications whose influence degree feature information is greater than 50% to the second category.
[0102] Further, the distributed application platform can perform attribute partitioning on the distributed applications in the distributed navigation entry according to the second feature information, and add the distributed applications with the same application attribute information after attribute partitioning to the third category. Specifically, the distributed application platform can obtain the application attribute information of each distributed application in the distributed navigation entry. Further, the distributed application platform can perform attribute partitioning on the application attribute information of each distributed application to obtain at least one sub-category associated with the third category. Among them, one sub-category corresponds to one application attribute information. For example, the sub-category can be game category, exchange category or other category. Further, the distributed application platform can add the distributed applications with the same application attribute information to the sub-categories associated with the corresponding attribute information respectively. For example, the distributed application platform can add the distributed applications with game application attributes to the game category, add the distributed applications with exchange application attributes to the exchange category, and add the distributed applications with other application attributes to the other category.
[0103] For ease of understanding, please refer to Figure 8 , which is a schematic diagram of an application navigation interface provided by an embodiment of the present application. As Figure 8As shown, 80 may be an application navigation interface, where the application navigation interface 80 may include three categories of distributed applications. It should be understood that the three categories of distributed applications in the application navigation interface 80 may include the first category of distributed applications 8A, the second category of distributed applications 8B, and the third category of distributed applications 8C. Among them, the first category of distributed applications 8A may include application 1a, distributed application 1b, and distributed application 1c. Among them, the second category of distributed applications 8B may include application 2a, distributed application 2b, and distributed application 2c. Among them, the third category of distributed applications 8C may include three sub-categories of distributed applications, namely the first sub-category of distributed applications 8D, the second sub-category of distributed applications 8E, and the third sub-category of distributed applications 8F. Specifically, the first sub-category of distributed applications 8D may include application 3a, distributed application 3b, and distributed application 3c. Specifically, the second sub-category of distributed applications 8E may include distributed application 4a, distributed application 4b, and distributed application 4c. Specifically, the third sub-category of distributed applications 8F may include distributed application 5a, distributed application 5b, and distributed application 5c.
[0104] S204. Obtain a first access request triggered by a target user for a user terminal, and output, to the user terminal, an application navigation interface corresponding to the distributed navigation entry according to the distributed navigation entry requested to be accessed in the first access request.
[0105] Specifically, for the specific implementation manner of this step S204, reference may be made to the description of step S101 in the corresponding embodiment above. Figure 3 Details will not be described here again.
[0106] S205. Determine a target category to which the target distributed application belongs from at least one category in a classification cluster included in the application navigation interface according to application category information associated with the target distributed application in the first access request.
[0107] Specifically, the first access request may include application category information and application identification information associated with the target distributed application. It should be understood that the distributed application platform may determine the target category to which the target distributed application belongs from at least one category in the classification cluster included in the application navigation interface according to the application category information associated with the target distributed application in the first access request. For example, if the application category information associated with the target distributed application in the first access request is the game category, the distributed application platform may determine that the target category to which the target distributed application belongs is the game category from the classification cluster (such as the game category, the exchange category, and other categories) included in the application navigation interface.
[0108] S206: Determine the target distributed application from the distributed applications included in the target category according to the application identification information associated with the target distributed application in the first access request.
[0109] Specifically, the distributed application platform can determine the target distributed application from the distributed applications included in the target category according to the application identification information associated with the target distributed application in the first access request. The application identification information can be a unique identifier for determining the distributed application. It should be understood that one application identification information can correspond to one distributed application.
[0110] S207: Receive a second access request triggered by the target user for the target distributed application in the application navigation interface.
[0111] Specifically, the specific implementation of step S207 can be found in the above Figure 3 The description of step S102 in the corresponding embodiment will not be repeated here.
[0112] S208, obtaining blockchain address information associated with the target distributed application.
[0113] Specifically, the blockchain address information includes access address information of authorized users for accessing the target distributed application. It should be understood that the distributed application platform can host the user's blockchain address, and can determine the blockchain address information associated with the distributed application in the distributed navigation portal based on the user's blockchain address. Among them, one blockchain address information corresponds to one distributed application. It is understandable that the distributed application platform can obtain the blockchain address information associated with the target distributed application from the blockchain address information associated with the distributed application in the distributed navigation portal. Specifically, the access address information in the blockchain address information associated with the target distributed application can be as shown in Table 2:
[0114] Table 2
[0115] Access Address Information 33xxx11 12XXX34 45xx127
[0116] S209, if access address information matching the blockchain address of the target user is found in the blockchain address information, the authentication is successful, and it is determined that the target user has the authority to access the target distributed application.
[0117] Specifically, if the distributed application platform can find the access address information that matches the blockchain address of the target user in the blockchain address information, the authentication is successful, and it is determined that the target user has the permission to access the target distributed application. It can be understood that if the distributed application platform cannot find the access address information that matches the blockchain address of the target user in the blockchain address information, the authentication fails, and it is determined that the target user does not have the permission to access the target distributed application. For example, if the blockchain address of the target user is "12XXX34" and the distributed application platform can find the access address information that matches the blockchain address of the target user in the blockchain address information (as shown in Table 2 above), the authentication is successful, and it is determined that the target user has the permission to access the target distributed application.
[0118] S210. When the authentication is successful, determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application.
[0119] Specifically, for the specific implementation manner of this step S210, reference can be made to the description of step S104 in the corresponding embodiment above. Figure 3 Details will not be described herein again.
[0120] In the embodiment of the present application, the distributed application platform can provide a distributed navigation entry for accessing the distributed application to uniformly manage the distributed application, facilitating the target user to quickly access the target distributed application through the distributed navigation entry, thereby improving the efficiency of the target user accessing the target distributed application. In addition, the distributed application platform can authenticate the target user in response to the click operation of the target distributed application in the distributed navigation entry, thereby improving the security of the target user accessing the target distributed application.
[0121] Further, please refer to Figure 9 , which is a schematic structural diagram of a distributed application access device provided in the embodiment of the present application. The distributed application access device can be a computer program (including program code) running in a computer device. For example, the distributed application access device is an application software. The distributed application access device can be used to execute the corresponding steps in the method provided in the embodiment of the present application. As Figure 9 shown, the distributed application access device 1 can run on the above Figure 2The distributed application platform in the corresponding embodiment. Among them, the distributed application access device 1 may include: an acquisition module 10, a second determination module 11, a classification module 12, an acquisition and output module 13, a third determination module 14, a fourth determination module 15, a reception module 16, an authentication module 17, a first determination module 18, a fifth determination module 19, a sixth determination module 20, an upload module 21, and an addition module 22.
[0122] The acquisition and output module 13 is configured to acquire a first access request triggered by a target user for a user terminal, and output an application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed navigation entry requested to be accessed by the first access request; the application navigation interface includes target distributed applications associated with a target category.
[0123] The reception module 16 is configured to receive a second access request triggered by the target user for the target distributed application in the application navigation interface; the second access request includes the blockchain address of the target user.
[0124] The authentication module 17 is configured to authenticate the target user according to the blockchain address of the target user in the second access request.
[0125] Among them, the authentication module 17 includes: an acquisition unit 171 and an authentication unit 172.
[0126] The acquisition unit 171 is configured to acquire blockchain address information associated with the target distributed application; the blockchain address information includes access address information of an authorized user for accessing the target distributed application;
[0127] The authentication unit 172 is configured to, if access address information matching the blockchain address of the target user is found in the blockchain address information, the authentication is successful, and it is determined that the target user has the permission to access the target distributed application.
[0128] Among them, the specific implementation manners of the acquisition unit 171 and the authentication unit 172 may refer to the descriptions of steps S208 - S209 in the above-mentioned Figure 7 corresponding embodiment, and details will not be elaborated here.
[0129] The first determination module 18 is configured to, when the authentication is successful, determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application.
[0130] Among them, the above-mentioned distributed application access device 1 further includes:
[0131] An acquisition module 10 is configured to acquire frequency feature information and influence degree feature information associated with a target user from a blockchain network; the frequency feature information is determined by the usage frequency of the distributed applications in the distributed navigation entry by the target user, and the influence degree feature information is determined according to the influence degree of the distributed applications in the distributed navigation entry on the target user.
[0132] A second determination module 11 is configured to determine the frequency feature information and the influence degree feature information as first feature information, and determine the application attribute information of the distributed applications in the distributed navigation entry as second feature information.
[0133] A classification module 12 is configured to classify the distributed applications in the distributed navigation entry according to the first feature information and the second feature information, and add the classified distributed applications to classification clusters associated with the distributed navigation entry respectively.
[0134] Wherein, the classification module 12 includes: a creation unit 121, a first addition unit 122, a second addition unit 123, and a third addition unit 124.
[0135] The creation unit 121 is configured to create classification clusters associated with the distributed applications in the distributed navigation entry on an application navigation interface corresponding to the distributed navigation entry; the classification clusters include at least one classification category; the at least one classification category includes a first category, a second category, and a third category.
[0136] The first addition unit 122 is configured to obtain time dimension information associated with the frequency feature information, screen out the distributed applications that match the frequency feature information from the distributed applications in the distributed navigation entry, and add the screened-out distributed applications to the first category.
[0137] The second addition unit 123 is configured to obtain the distributed applications in the distributed navigation entry whose influence degree feature information meets an influence degree threshold, and add the obtained distributed applications to the second category.
[0138] The third addition unit 124 is configured to perform attribute partitioning on the distributed applications in the distributed navigation entry according to the second feature information, and add the distributed applications with the same application attribute information after attribute partitioning to the third category.
[0139] Wherein, the specific implementation manners of the creation unit 121, the first addition unit 122, the second addition unit 123, and the third addition unit 124 can refer to the description of step S203 in the corresponding embodiment above, and will not be elaborated here. Figure 7 The description in the corresponding embodiment will not be repeated here.
[0140] Among them, the third adding unit 124 includes: a first obtaining subunit 1241, an attribute dividing subunit 1242, and an adding subunit 1243.
[0141] The first obtaining subunit 1241 is configured to obtain application attribute information of each distributed application in the distributed navigation entry;
[0142] The attribute dividing subunit 1242 is configured to perform attribute division on the application attribute information of each distributed application to obtain at least one subcategory associated with the third category; one subcategory corresponds to one piece of application attribute information;
[0143] The adding subunit 1243 is configured to add the distributed applications with the same application attribute information to the subcategories associated with the corresponding attribute information respectively.
[0144] Among them, for the specific implementation manners of the first obtaining subunit 1241, the attribute dividing subunit 1242, and the adding subunit 1243, reference may be made to the description of the third category in step S203 in the corresponding embodiment above, and details will not be elaborated here. Figure 7 The corresponding description in the embodiment corresponding to the third category in step S203 will not be elaborated here.
[0145] Among them, the first access request includes application category information and application identification information associated with the target distributed application;
[0146] The above-mentioned distributed application access device 1 further includes:
[0147] A third determining module 14, configured to determine the target category to which the target distributed application belongs from at least one category in the classification clusters included in the application navigation interface according to the application category information associated with the target distributed application in the first access request;
[0148] A fourth determining module 15, configured to determine the target distributed application from the distributed applications included in the target category according to the application identification information associated with the target distributed application in the first access request.
[0149] Among them, the above-mentioned distributed application access device 1 further includes:
[0150] A fifth determining module 19, configured to determine the data associated with the second access request as the application access data of the target user;
[0151] A sixth determining module 20, configured to determine the signature information corresponding to the application access data according to the private key of the target user;
[0152] The uploading module 21 is used to upload the application access data, the signature information corresponding to the application access data, and the public key corresponding to the private key to the blockchain network, so that the blockchain network verifies the signature of the application access data according to the public key;
[0153] The adding module 22 is used to add the target block containing the application access data to the blockchain corresponding to the blockchain network if the signature verification is passed.
[0154] The specific implementation of the acquisition module 10, the second determination module 11, the classification module 12, the acquisition output module 13, the third determination module 14, the fourth determination module 15, the receiving module 16, the authentication module 17, the first determination module 18, the fifth determination module 19, the sixth determination module 20, the upload module 21 and the adding module 22 can be referred to above. Figure 7 The description of step S201 to step S210 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated.
[0155] For further information, see Figure 10 , is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 10 As shown, the computer device 1000 may be the above Figure 2 Corresponding to the distributed application platform in the embodiment, the computer device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and a keyboard (Keyboard), and the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1005 may optionally also be at least one storage device located away from the aforementioned processor 1001. Figure 10 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.
[0156] exist Figure 10 In the computer device 1000 shown, the network interface 1004 can provide a network communication function; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0157] Obtain a first access request triggered by a target user for a user terminal, and output an application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed navigation entry requested to be accessed by the first access request; the application navigation interface includes a target distributed application associated with a target category.
[0158] Receive a second access request triggered by the target user for the target distributed application in the application navigation interface; the second access request includes the blockchain address of the target user.
[0159] Authenticate the target user according to the blockchain address of the target user in the second access request.
[0160] When the authentication is successful, determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application.
[0161] It should be understood that the computer device 1000 described in the embodiments of the present application can execute the description of the distributed application access method in the corresponding embodiments mentioned above Figure 3 and Figure 7 can also execute the description of the distributed application access device 1 in the corresponding embodiments mentioned above. Details will not be described herein again. In addition, the description of the beneficial effects of using the same method will not be repeated. Figure 9 For the computer-readable storage medium embodiments of the present application, the technical details not disclosed will be referred to the description of the method embodiments of the present application. As an example, the program instructions can be deployed to be executed on one computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network. The multiple computing devices distributed at multiple locations and interconnected by a communication network can form a blockchain system.
[0162] In addition, it should be noted here that: the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores a computer program executed by the distributed application access device 1 mentioned above, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the description of the distributed application access method in the corresponding embodiments mentioned above Figure 3 or Figure 7 Details will not be described herein again. In addition, the description of the beneficial effects of using the same method will not be repeated. For the computer-readable storage medium embodiments of the present application, the technical details not disclosed will be referred to the description of the method embodiments of the present application. As an example, the program instructions can be deployed to be executed on one computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network. The multiple computing devices distributed at multiple locations and interconnected by a communication network can form a blockchain system.
[0163] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The above program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above various methods. Among them, the above storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM), etc.
[0164] The above-disclosed are only the preferred embodiments of the present application. Of course, the scope of rights of the present application cannot be limited thereby. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.
Claims
1. A distributed application access method, characterized in that, The method is executed by a distributed application platform, which at least includes a server and can perform data interaction with blockchain nodes in a blockchain network. The distributed application platform can provide a distributed navigation entry for unified management of all distributed applications. The method includes: Obtain a first access request triggered by a target user for a user terminal. According to the distributed navigation entry requested to be accessed in the first access request, output an application navigation interface corresponding to the distributed application navigation entry to the user terminal. The application navigation interface includes at least one category of distributed applications, and the at least one category includes a target category. The distributed applications in the target category include a target distributed application. The at least one category includes classification categories determined based on frequency feature information and influence degree feature information associated with the target user obtained from the blockchain network. The frequency feature information is determined by the usage frequency of the distributed applications in the distributed navigation entry by the target user, and the influence degree feature information is determined according to the influence degree of the distributed applications in the distributed navigation entry on the target user. Receive a second access request triggered by the target user for the target distributed application in the application navigation interface. The second access request includes the blockchain address of the target user. Authenticate the target user according to the blockchain address of the target user in the second access request and the access address information of the authorized user for accessing the target distributed application hosted on the distributed application platform. Among them, the blockchain address of the target user is the address obtained by operating on the public key of the target user. When the authentication is successful, determine that the target user has the permission to access the target distributed application, and permit the user terminal to access the target distributed application, and submit application access data including the access process of the target user accessing the target distributed application to the blockchain node, so that the blockchain node performs an on-chain process on the application access data.
2. The method according to claim 1, wherein The method further includes: Obtain frequency feature information and influence degree feature information associated with the target user from the blockchain network. Determine the frequency feature information and the influence degree feature information as first feature information, and determine the application attribute information of the distributed applications in the distributed navigation entry as second feature information. Classify the distributed applications in the distributed navigation entry according to the first feature information and the second feature information, and add the classified distributed applications to classification clusters associated with the distributed navigation entry respectively.
3. The method according to claim 2, wherein The classifying the distributed applications in the distributed navigation entry according to the first feature information and the second feature information, and adding the classified distributed applications to classification clusters associated with the distributed navigation entry respectively includes: Create a classification cluster associated with the distributed application in the distributed navigation entry on the corresponding application navigation interface; the classification cluster includes at least one classification category; the at least one classification category includes a first category, a second category, and a third category; Obtain time dimension information associated with the frequency feature information, filter distributed applications that match the frequency feature information from the distributed applications of the distributed navigation entry according to the time dimension information, and add the filtered distributed applications to the first category; In the distributed applications of the distributed navigation entry, obtain the distributed applications whose influence degree feature information meets the influence degree threshold, and add the obtained distributed applications to the second category; Perform attribute partitioning on the distributed applications in the distributed navigation entry according to the second feature information, and add the distributed applications with the same application attribute information after attribute partitioning to the third category.
4. The method according to claim 3, wherein The performing attribute partitioning on the distributed applications in the distributed navigation entry according to the second feature information, and adding the distributed applications with the same application attribute information after attribute partitioning to the third category includes: Obtain the application attribute information of each distributed application in the distributed navigation entry; Perform attribute partitioning on the application attribute information of each distributed application to obtain at least one sub-category associated with the third category; one sub-category corresponds to one application attribute information; Add the distributed applications with the same application attribute information to the sub-categories associated with the corresponding attribute information respectively.
5. The method according to claim 3, wherein The first access request includes application category information and application identification information associated with the target distributed application; The method further includes: Determine the target category to which the target distributed application belongs from at least one of the categories in the classification cluster included in the application navigation interface according to the application category information associated with the target distributed application in the first access request; Determine the target distributed application from the distributed applications included in the target category according to the application identification information associated with the target distributed application in the first access request.
6. The method according to claim 1, wherein The authenticating the target user according to the blockchain address of the target user in the second access request and the access address information of the authorized user for accessing the target distributed application hosted on the distributed application platform includes: Obtain blockchain address information associated with the target distributed application; the blockchain address information includes the access address information of the authorized user for accessing the target distributed application; If access address information matching the blockchain address of the target user is found in the blockchain address information, the authentication is successful, and it is determined that the target user has the permission to access the target distributed application.
7. The method according to claim 1, characterized in that, The submitting application access data including the access process of the target user accessing the target distributed application to the blockchain node, so that the blockchain node performs on-chain processing on the application access data includes: Determine the data associated with the second access request as the application access data of the target user; Determine the signature information corresponding to the application access data according to the private key of the target user; Upload the application access data, the signature information corresponding to the application access data, and the public key corresponding to the private key to the blockchain network, so that the blockchain network verifies the signature of the application access data according to the public key. If the signature verification passes, add the target block containing the application access data to the blockchain corresponding to the blockchain network.
8. A distributed application access device, characterized in that The device runs on a distributed application platform, which at least includes a server and can perform data interaction with blockchain nodes in the blockchain network. The distributed application platform can provide a distributed navigation entry for unified management of all distributed applications. The device includes: An acquisition and output module, configured to acquire a first access request triggered by a target user for a user terminal, and output an application navigation interface corresponding to the distributed application navigation entry to the user terminal according to the distributed application navigation entry requested to be accessed by the first access request; at least one category of distributed applications is included in the application navigation interface, the at least one category includes a target category, and the distributed applications in the target category include target distributed applications; the at least one category includes classification categories determined based on frequency feature information and influence degree feature information associated with the target user obtained from the blockchain network; the frequency feature information is determined by the usage frequency of the target user for the distributed applications in the distributed application navigation entry, and the influence degree feature information is determined according to the influence degree of the distributed applications in the distributed application navigation entry on the target user; A receiving module, configured to receive a second access request triggered by the target user for the target distributed application in the application navigation interface; the second access request includes the blockchain address of the target user; An authentication module, configured to authenticate the target user according to the blockchain address of the target user in the second access request and the access address information of the authorized users for accessing the target distributed application hosted on the distributed application platform; wherein, the blockchain address of the target user is the address obtained by operating on the public key of the target user; A first determination module, configured to, when the authentication is successful, determine that the target user has the permission to access the target distributed application, permit the user terminal to access the target distributed application, and submit application access data including the access process of the target user accessing the target distributed application to the blockchain node, so that the blockchain node performs the process of uploading the application access data to the chain.
9. A computer device, characterized in that, Includes: A processor, a memory, and a network interface; The processor is connected to the memory and the network interface. Among them, the network interface is used to provide a data communication function, the memory is used to store a computer program, and the processor is used to call the computer program to execute the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a processor, execute the method according to any one of claims 1-7.
Citation Information
Patent Citations
Application implementation method, apparatus and device based on a block chain network and storage medium
CN108984784A
Authority management method and device based on block chain, equipment and medium
CN110602088A