CN112954073A - Service providing method, device, equipment and system - Google Patents

Service providing method, device, equipment and system Download PDF

Info

Publication number
CN112954073A
CN112954073A CN202110328396.2A CN202110328396A CN112954073A CN 112954073 A CN112954073 A CN 112954073A CN 202110328396 A CN202110328396 A CN 202110328396A CN 112954073 A CN112954073 A CN 112954073A
Authority
CN
China
Prior art keywords
service
information
registration
service type
service registration
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
CN202110328396.2A
Other languages
Chinese (zh)
Other versions
CN112954073B (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.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co 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 Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202110328396.2A priority Critical patent/CN112954073B/en
Publication of CN112954073A publication Critical patent/CN112954073A/en
Application granted granted Critical
Publication of CN112954073B publication Critical patent/CN112954073B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5058Service discovery by the service manager
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The embodiment of the specification provides a service providing method, a service providing device, service providing equipment and a service providing system, wherein the method comprises the following steps: the method comprises the steps that a service registration platform receives a first service registration request sent by first terminal equipment of a service provider; if the service to be registered meets the preset service registration condition according to the service registration information included in the first service registration request, acquiring first digital identity information of a service provider; and performing service registration processing based on the service registration information through the block chain link point, and storing the service registration record information into the block chain so as to provide service information to the service requester based on the service registration record information stored in the block chain.

Description

Service providing method, device, equipment and system
This patent application is application number: 202010140437.0, filing date: 3/2020, the invention provides a divisional application of the Chinese patent application entitled "service providing method, device, equipment and system".
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a system for providing services.
Background
With the rapid development of internet technology, service providers usually publish services provided by themselves to a network, and users obtain services required by themselves from the services published by each service provider through a search engine. However, as the types of services are more and more, the versions of the services are continuously updated, so that various different versions of the services exist in the network; not only is it detrimental to the management of the service, but it is not possible for the user to determine the authenticity and reliability of the service obtained.
Disclosure of Invention
One or more embodiments of the present specification provide a service providing method. The method includes receiving a service type query request sent by a first terminal device of a service provider. Wherein the service type query request comprises second description information of the service type to be queried. And inquiring whether the service type corresponding to the second description information exists or not based on the block chain, and sending an inquiry result to the first terminal equipment. And the query result is used for the first terminal equipment to perform service registration. And receiving a first service registration request sent by the first terminal equipment. Wherein the first service registration request includes service registration information of a service to be registered. The service registration information includes. And the service type of the service to be registered. And if the service type is determined to be the registered service type, performing service registration processing through the block link point based on the service registration information. And storing the service registration record information generated based on the service registration information into the block chain.
One or more embodiments of the present specification provide a service providing method. The method includes receiving a second service registration request sent by the service registration platform. Wherein the second service registration request is sent based on the first service registration request sent by the first terminal device of the service provider according to the obtained query result of the service type. The second service registration request includes service registration information of a service to be registered. The service registration information includes a service type to which the service to be registered belongs. A first intelligent contract in the blockchain is invoked. And if the service type is determined to be the registered service type based on the first intelligent contract, performing service registration processing according to the service registration information. And generating service registration record information according to the service registration information, and storing the service registration record information into the block chain.
One or more embodiments of the present specification provide a service providing apparatus. The apparatus includes a receiving module that receives a service type query request transmitted by a first terminal device of a service provider. Wherein the service type query request comprises second description information of the service type to be queried. The device also comprises a sending module which is used for inquiring whether the service type corresponding to the second description information exists or not based on the block chain and sending the inquiring result to the first terminal equipment. And the query result is used for the first terminal equipment to perform service registration. The receiving module further receives a first service registration request sent by the first terminal device. Wherein the first service registration request includes service registration information of a service to be registered. The service registration information includes a service type to which the service to be registered belongs. The device also comprises a processing module, and if the service type is determined to be the registered service type, service registration processing is carried out through the block link points based on the service registration information. And storing the service registration record information generated based on the service registration information into the block chain. And providing service information to a service requester based on the service registration record information saved by the blockchain.
One or more embodiments of the present specification provide a service providing apparatus. The device comprises a receiving module for receiving a second service registration request sent by the service registration platform. Wherein the second service registration request is sent based on the first service registration request sent by the first terminal device of the service provider according to the obtained query result of the service type. The second service registration request includes service registration information of a service to be registered. The service registration information includes a service type to which the service to be registered belongs. The apparatus also includes a processing module that invokes a first intelligent contract in the blockchain. And if the service type is determined to be the registered service type based on the first intelligent contract, performing service registration processing according to the service registration information. The device also comprises a generating module for generating service registration record information according to the service registration information. And storing the service registration record information into the block chain.
One or more embodiments of the present specification provide a service providing system. The system comprises: the system comprises a first terminal device of a service provider, a second terminal device of a service requester, a service registration platform and a blockchain system. And the first terminal equipment responds to the query operation of the service provider and sends a service type query request to the service registration platform. And receiving the query result sent by the service registration platform. Wherein the service type query request comprises second description information of the service type to be queried. In response to a service registration operation of the service provider, a first service registration request is sent to the service registration platform. Wherein the first service registration request includes service registration information of a service to be registered. The service registration information includes a service type to which the service to be registered belongs. And the service registration platform receives the service type query request sent by the first terminal equipment. And inquiring whether the service type corresponding to the second description information exists or not based on the block chain system, and sending an inquiry result to the first terminal equipment. Receiving the first service registration request. And if the service type is determined to be the registered service type, generating a second service registration request according to the service registration information. Sending the second service registration request to the blockchain system. And the block chain system calls a first intelligent contract in the block chain according to the second service registration request. And if the service type is determined to be the registered service type based on the first intelligent contract, performing service registration processing according to the service registration information. And generating service registration record information according to the service registration information. And storing the service registration record information into the blockchain system.
One or more embodiments of the present specification provide a service providing apparatus. The apparatus includes a processor. The apparatus also comprises a memory arranged to store computer executable instructions. The computer-executable instructions, when executed, cause the processor to receive a service type query request transmitted by a first terminal device of a service provider. Wherein the service type query request comprises second description information of the service type to be queried. And inquiring whether the service type corresponding to the second description information exists or not based on the block chain, and sending an inquiry result to the first terminal equipment. And the query result is used for the first terminal equipment to perform service registration. And receiving a first service registration request sent by the first terminal equipment. Wherein the first service registration request includes service registration information of a service to be registered. The service registration information includes. And the service type of the service to be registered. And if the service type is determined to be the registered service type, performing service registration processing through the block link point based on the service registration information. And storing the service registration record information generated based on the service registration information into the block chain.
One or more embodiments of the present specification provide a service providing apparatus. The apparatus includes a processor. The apparatus also comprises a memory arranged to store computer executable instructions. The computer-executable instructions, when executed, cause the processor to receive a second service registration request sent by a service registration platform. Wherein the second service registration request is sent based on the first service registration request sent by the first terminal device of the service provider according to the obtained query result of the service type. The second service registration request includes service registration information of a service to be registered. The service registration information includes a service type to which the service to be registered belongs. A first intelligent contract in the blockchain is invoked. And if the service type is determined to be the registered service type based on the first intelligent contract, performing service registration processing according to the service registration information. And generating service registration record information according to the service registration information, and storing the service registration record information into the block chain.
One or more embodiments of the present specification provide a storage medium. The storage medium is used to store computer-executable instructions. The computer-executable instructions, when executed, receive a service type query request sent by a first terminal device of a service provider. Wherein the service type query request comprises second description information of the service type to be queried. And inquiring whether the service type corresponding to the second description information exists or not based on the block chain, and sending an inquiry result to the first terminal equipment. And the query result is used for the first terminal equipment to perform service registration. And receiving a first service registration request sent by the first terminal equipment. Wherein the first service registration request includes service registration information of a service to be registered. The service registration information includes. And the service type of the service to be registered. And if the service type is determined to be the registered service type, performing service registration processing through the block link point based on the service registration information. And storing the service registration record information generated based on the service registration information into the block chain.
One or more embodiments of the present specification provide a storage medium. The storage medium is used to store computer-executable instructions. The computer-executable instructions, when executed, receive a second service registration request sent by a service registration platform. Wherein the second service registration request is sent based on the first service registration request sent by the first terminal device of the service provider according to the obtained query result of the service type. The second service registration request includes service registration information of a service to be registered. The service registration information includes a service type to which the service to be registered belongs. A first intelligent contract in the blockchain is invoked. And if the service type is determined to be the registered service type based on the first intelligent contract, performing service registration processing according to the service registration information. And generating service registration record information according to the service registration information, and storing the service registration record information into the block chain.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and that other drawings can be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a first schematic view of a service providing method according to one or more embodiments of the present disclosure;
fig. 2 is a schematic diagram of a second scenario of a service providing method according to one or more embodiments of the present disclosure;
fig. 3 is a first flowchart of a service providing method according to one or more embodiments of the present disclosure;
fig. 4 is a second flowchart of a service providing method according to one or more embodiments of the present disclosure;
fig. 5 is a third flowchart of a service providing method according to one or more embodiments of the present disclosure;
fig. 6 is a fourth flowchart of a service providing method according to one or more embodiments of the present disclosure;
fig. 7 is a fifth flowchart of a service providing method according to one or more embodiments of the present disclosure;
fig. 8 is a sixth flowchart of a service providing method according to one or more embodiments of the present disclosure;
fig. 9 is a seventh flowchart of a service providing method according to one or more embodiments of the present disclosure;
fig. 10 is a first flowchart of a service type registration providing method according to one or more embodiments of the present disclosure;
fig. 11 is a second flowchart of a service type registration providing method according to one or more embodiments of the present disclosure;
fig. 12 is an eighth flowchart illustrating a service providing method according to one or more embodiments of the present disclosure
Fig. 13 is a schematic diagram illustrating a first module composition of a service providing apparatus according to one or more embodiments of the present disclosure;
fig. 14 is a schematic diagram illustrating a second module of a service providing apparatus according to one or more embodiments of the present disclosure;
fig. 15 is a schematic diagram illustrating a service providing system according to one or more embodiments of the present disclosure;
fig. 16 is a schematic structural diagram of a service providing apparatus according to one or more embodiments of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
One or more embodiments of the present disclosure provide a service providing method, an apparatus, a device, and a system, where when receiving a first service registration request sent by a service provider, a service registration platform performs service registration processing through a blockchain node if it is determined that a service to be registered satisfies a preset service registration condition, and stores service registration record information including service registration information and first digital identity information of the service provider into a blockchain, so as to provide service information to a service requester based on the service registration record information stored in the blockchain in the following process, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
Fig. 1 is a schematic view of an application scenario of a service providing method according to one or more embodiments of the present specification, where as shown in fig. 1, the scenario includes: the method comprises the steps that first terminal equipment of a service provider, a service registration platform and block chain link points of an access block chain are connected; the first terminal device can be a mobile phone, a tablet computer, a desktop computer, a portable notebook computer and the like; the first terminal equipment is in communication connection with the service registration platform through a wireless network, and the service registration platform is in communication connection with the block link points through the wireless network.
Specifically, when a service provider needs to register a service provided by the service provider, operating a first terminal device of the service provider; the first terminal equipment responds to the service registration operation of a service provider and sends a first service registration request to a service registration platform according to service registration information; the service registration platform determines whether the service to be registered meets preset service registration conditions according to service registration information included in the first service registration request, and acquires first digital identity information of a service provider when the service registration conditions are determined to be met; and sending a second service registration request to the blockchain node according to the service registration information and the first digital identity information so as to perform service registration processing based on the service registration information through the blockchain node and store service registration record information into the blockchain, wherein the service registration record information comprises the first digital identity information and the service registration information.
Further, in one or more embodiments of the present specification, as shown in fig. 2, the scenario may further include a second terminal device of the service requester; the second terminal equipment can be a mobile phone, a tablet computer, a desktop computer, a portable notebook computer and the like; and the second terminal equipment is in communication connection with the service registration platform through a wireless network. When a service requester needs to acquire service, operating a second terminal device of the service requester, and sending a service acquisition request to the service registration platform by the second terminal device in response to the service acquisition operation of the service requester; the service registration platform sends first description information of the service to be acquired, which is included in the service acquisition request, to the block link point; when the block chain node inquires the matched candidate service from the block chain according to the description information, returning the service information of the candidate service to the service registration platform; and the service registration platform sends a service discovery result to the second terminal device according to the received service information of the candidate service, so that the service requester selects a target service from the candidate service according to the service discovery result.
Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
Based on the application scenario architecture, one or more embodiments of the present specification provide a service providing method; fig. 3 is a flowchart illustrating a service providing method provided in one or more embodiments of the present specification, where the method in fig. 3 can be executed by the service registration platform in fig. 1, and as shown in fig. 3, the method includes the following steps:
step S102, receiving a first service registration request sent by a first terminal device of a service provider; the first service registration request comprises service registration information of a service to be registered;
the service registration information includes information such as a service type, a service version, an access path of the service, a service identifier, and parameters required for using the service of the service to be registered. Wherein, the service type is identity verification, financial payment, etc.; the service versions are preferably registered sequentially in an increasing order, for example, sequentially in the order of V1.0, V2.0, and V3.0 …, that is, the service version is V1.0 when registered for the first time, and when the service has an update, the service version registered for the second time is V2.0, and so on.
Step S104, if the service to be registered is determined to meet the preset service registration condition according to the service registration information, acquiring first digital identity information of a service provider; and the number of the first and second groups,
the digital identity information is, for example, DID (fully-English: Decentralized identities; Chinese: Decentralized identities or distributed identities).
Step S106, performing service registration processing based on the service registration information through the block chain nodes, storing the service registration record information into the block chain, and providing service information to the service requester based on the service registration record information stored in the block chain; wherein the service registration record information includes the first digital identity information and the service registration information.
In one or more embodiments of the present description, when receiving a first service registration request sent by a service provider, if it is determined that a service to be registered satisfies a preset service registration condition, a service registration platform performs service registration processing through a blockchain node, and stores service registration record information including service registration information and first digital identity information of the service provider into a blockchain, so as to provide service information to a service requester based on the service registration record information stored in the blockchain in the following, so that the service requester selects a required service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
In order to facilitate management of each registered service and to specify input information and output information of the service, in one or more embodiments of the present specification, a plurality of service types are registered in advance, so that services having the same or similar functions belong to the same service type. In order to improve the service registration efficiency and avoid service registration failure caused by service type errors, the service provider can also query the service type before service registration. Specifically, as shown in fig. 4, step S102 further includes, before:
step S100-2, receiving a service type query request sent by a first terminal device of a service registration party, wherein the service type query request comprises second description information of a service type to be queried;
specifically, the service registry operates a first terminal device of the service registry, and edits second description information of the service type to be queried, and the first terminal device responds to the query operation of the service registry and sends a service type query request to the service registry platform according to the second description information; the service registration platform receives a service type query request sent by the first terminal device.
Step S100-4, if the service type corresponding to the second description information is determined not to be included in the second designated database, sending the second description information to the block chain node, so that the block chain node registers record information based on the service type stored in the block chain, determines whether the service type corresponding to the second description information exists or not, and returns a query result; wherein the second specified database includes registered service types;
in order to avoid accessing the blockchain multiple times and causing huge access pressure to the blockchain, in one or more embodiments of the present specification, after the service type is registered, the related information of the registered service type is further stored in a second specified database, so that when a service type query request is received, a query is first performed based on the second specified database. Specifically, step S100-4 includes: matching the second description information with the relevant information of the registered service type included in the second specified database, if the matching is successful, generating a query result according to the relevant information of the successfully matched service type, and executing the step S100-6; and if the matching fails, sending second description information to the block chain link point, so that the block chain link point determines whether the service type corresponding to the second description information exists or not based on the service type registration record information stored in the block chain and returns a query result. The query result may include a name of the service type, and may also include information such as input parameter information and output parameter information specified by the service type, which may be set by itself in actual application as needed.
And S100-6, sending the query result to the first terminal equipment.
Therefore, the query result is returned based on the service type query request of the service registrant, and the service registrant is favorable for providing correct service registration information when registering the service.
In order to ensure that the service can be effectively registered, when receiving a first service registration request, a service registration platform firstly verifies service registration information included in the first service registration request; specifically, as shown in fig. 5, step S104 includes:
step S104-2, if the service type included by the service registration information is determined to be the registered service type, the service version included by the service registration information is an effective service version, and the format of the service registration information conforms to a first preset format, determining that the service to be registered meets a preset service registration condition, and executing step S104-4;
specifically, as shown in fig. 6, step S104-2 includes:
step S104-2-2, determining whether the second specified database comprises the service type in the service registration information, if so, executing step S104-2-8, otherwise, executing step S104-2-4;
step S104-2-4, the service type in the service registration information is sent to the block link point, so that the block link point registers the record information based on the service type in the block chain, whether the service type in the service registration information is the registered service type or not is determined, and the determination result information is returned;
step S104-2-6, determining whether the service type in the service registration information is the registered service type according to the received determination result information, if so, executing step S104-2-8, otherwise, sending service registration failure information to the first terminal equipment;
step S104-2-8, matching the service identification in the service registration information with the service identification of the registered service included in the first appointed database, and if the matching is successful, executing step S104-2-10; if the matching fails, executing step S104-2-12;
specifically, if the matching is successful, the characterization indicates that the current service to be registered is the upgrade registration of the registered service, and step S104-2-10 is executed to determine whether the service version is valid; if the matching fails, the current service to be registered is represented as the first registration, and step S104-2-12 is executed to determine whether the service version is valid.
Step S104-2-10, acquiring a service version associated with the successfully matched service identifier, judging whether the acquired service version and the service version in the service registration information are sequentially increased, if so, determining that the service version in the service registration information is valid, and executing step S104-2-14, otherwise, sending service registration failure information to the first terminal equipment;
specifically, if it is determined that the acquired service version and the service version in the service registration information are sequentially increasing, it is determined that the service version in the service registration information is valid, step S104-2-14 is performed, and if it is determined that the acquired service version and the service version in the service registration information are not sequentially increasing, it is determined that the service version in the service registration information is invalid, and service registration failure information is sent to the first terminal device.
Step S104-2-12, judging whether the service version in the service registration information is the initial version, if so, executing step S104-2-14; otherwise, sending service registration failure information to the first terminal equipment;
specifically, if the service version in the service registration information is the initial version, it is determined that the service version in the service registration information is valid, and step S104-2-14 is executed; otherwise, determining that the service version in the service registration information is invalid, and sending service registration failure information to the first terminal equipment.
Step S104-2-14 judges whether the format of the service registration information accords with a first preset format, if so, the service to be registered is determined to meet the preset service registration condition, step S104-6 is executed, otherwise, the service registration failure information is sent to the first terminal equipment.
It should be noted that the first preset format can be set by itself according to the requirement in practical application; the verification order of the service type, the service version, and the format of the service registration information is not limited to the above verification order, and may be set as needed in practical application.
And step S104-6, acquiring first digital identity information of the service provider.
Specifically, when the service provider has not applied for the digital identity information, the first service registration request further includes application information of the digital identity information, and correspondingly, step S104-6 includes: first digital identity information of a service provider is created. When the service provider has applied for the digital identity information, the first service registration request further includes the first digital identity information of the service provider, and correspondingly, step S104-6 includes: first digital identity information is obtained from a first service registration request.
The first digital identity information of the service provider is created, a character string can be randomly generated according to a preset dynamic generation mechanism, and the generated character string is used as the first digital identity information of the service provider; or, according to user information (such as an identity document number, a mobile phone number and the like) included in the application information of the digital identity information, generating first digital identity information of the service provider based on a preset algorithm.
By verifying the service type, the service version and the format of the service registration information included in the service registration information, the service to be registered can be matched with the current existing service type, and the service to be registered can be ensured to be effective. The first digital identity information of the service provider is acquired to generate service registration record information according to the first digital identity information, the service registration information and the like in the subsequent process, so that the incidence relation between the service and the service provider is determined based on the service registration record information, and the service is managed conveniently.
Further, it is contemplated that a service provider may offer a plurality of different services, and that a service provider may revoke the services it offers; based on this, in order to quickly query each service provided by the service provider, in one or more embodiments of the present description, the service provider stores service registration information of each service provided by the service provider in a document corresponding to the first digital identity information, and adds the service registration information to the document to implement service registration, and deletes the service registration information to implement revocation of the corresponding service. In correspondence, as shown in figure 7,
step S102 includes:
step S102', receiving a first service registration request sent by a first terminal device of a service provider; the first service registration request comprises a document corresponding to first digital identity information of a service provider;
step S104 includes:
step S104', if the service to be registered is determined to meet the preset service registration condition according to the service registration information included in the document, acquiring first digital identity information of a service provider;
step S106 includes:
step S106-2, generating a second service registration request according to the first digital identity information and the document corresponding to the first digital identity information;
step S106-4, a second service registration request is sent to the blockchain node, so that the blockchain node generates service registration record information according to the first digital identity information and the document after performing service registration processing according to the service registration information in the document, and stores the service registration record information into the blockchain.
Wherein, the first service registration request and the second service registration request can be the same or different; it is noted that when the first service registration request includes the application information of the first digital identity information, the first service payout amount request is different from the second service registration request.
Further, in order to enable the service provider to know the service registration result, and when the service requester obtains the service, the service provider can quickly provide the service information to the service requester, and reduce the access frequency to the block chain, in one or more embodiments of the present specification, as shown in fig. 8, after step S106-4, the method further includes:
step S108, if the service registration record information is determined to be stored in the block chain, service registration success information is sent to the first terminal equipment;
optionally, if service registration success information sent by the blockchain node is received, it is determined that the service registration record information is already stored in the blockchain, and the service registration success information is sent to the first terminal device. Or, if the preset monitoring thread monitors that the block link point stores the service registration record information into the block chain, determining that the service registration record information is stored into the block chain, and sending the service registration success information to the first terminal device.
Step S110, if it is determined that the revoked service exists according to the document corresponding to the first digital identity information, updating the registered service included in the first specified database according to the service registration information and the revoked service in the document.
Specifically, the associated registered service is inquired from a first designated database according to the first digital identity information, the inquired registered service is matched with each historical service registration information included in a document corresponding to the first digital identity information, if the registered service is determined to have no matched historical service registration information, the registered service is determined to be revoked, the related information of the revoked service is deleted from the first designated database, and the related information of the service to be registered and the first digital identity information are stored in the first designated database in an associated manner according to the service registration information of the service to be registered in the document. The first designated database includes the relevant information of the registered service, which can be set by itself in practical application according to the need, such as information of service identification, service access path, etc.
Thus, by saving the information on the registered service to the first specified database, it is possible to provide the service information based on the first specified database when receiving the service acquisition request transmitted from the second terminal device of the service requester. Specifically, as shown in fig. 9, after step S110, the method may further include:
step S112, receiving a service acquisition request sent by a second terminal device of a service requester, wherein the service acquisition request includes first description information of a service to be acquired;
the first description information may be a service name of the service to be acquired, a function of the service, and the like.
Step S114, if it is determined that the first designated database does not include the service corresponding to the first description information, the first description information is sent to the block chain node, so that the block chain node returns the service information of the candidate service when the block chain node inquires the matched candidate service from the block chain according to the description information;
specifically, the first description information is matched with the relevant information of the registered service included in the first designated database, if the matching is successful, the successfully matched service is determined as a candidate service, the service information of the candidate service is determined, and a service discovery result is sent to the second terminal device according to the candidate service, so that the service requester selects a target service from the candidate service according to the service discovery result; the service information is all or part of the information related to the registered service included in the first designated database. Further, if the matching fails, the first description information is sent to the block chain node, so that the block chain node returns the service information of the candidate service when the block chain node inquires the matched candidate service according to the description information. Wherein the service information
Step S116, according to the service information of the candidate service, sending the service discovery result to the second terminal device, so that the service requester selects the target service from the candidate service according to the service discovery result.
Therefore, the service information is provided for the service requester based on the service registration record information stored in the blockchain, the authenticity and the validity of the service corresponding to the provided service information are ensured, and the trouble of illegal service and the like to users is avoided.
As described above, in order to facilitate management of each registered service and specify input information and output information of the service, in one or more embodiments of the present specification, a plurality of service types are also registered in advance, so that different services are subsequently registered in the corresponding service types. The service type can be defined by the service registration platform, or by an authority related to the service, and when the service to be registered does not belong to any existing service type, a new service type can be defined by the service provider. Specifically, as shown in fig. 10, in one or more embodiments of the present specification, the method further includes:
step S202, receiving a first service type registration request sent by a third terminal device of a service type registration party; the first service type registration request comprises service type registration information of a service type to be registered;
the service type registration information comprises information such as the name of the service type, the version of the service type, description information of input parameters, description information of output parameters, an access mode, second digital identity information registered by the service type and the like. The service type versions are preferably registered in an increasing order, for example, the service type versions are registered in an order of V1.0, V2.0, and V3.0 …, that is, the service type version is V1.0 when first registered, and when the service type is updated, the service type version registered for the second time is V2.0, and so on.
Step S204, if the service type to be registered is determined to meet the preset service type registration condition according to the service type registration information, a second service type registration request is sent to the block chain node according to the service type registration information, so that the block chain node performs service type registration processing according to the service type registration information, and the generated service type registration record information is stored in the block chain;
the second service type registration request may be the same as or different from the first service type registration request.
To ensure the validity of the service type, in one or more embodiments of the present description, not only the identity of the service type registrar is verified, but also the service type registration information. Specifically, the first service type registration request further includes: second digital identity information and first signature data of the service type registrant; the first signature data is obtained by signing the first specified information by using a private key corresponding to the second digital identity information. Correspondingly, the step S204 of determining that the service type to be registered meets the preset service type registration condition according to the service type registration information includes:
and step A, if the first signature data passes the signature verification according to the public key corresponding to the acquired second digital identity information and the service type registration information is determined to be in accordance with a second preset format, and the registered service types included in the second specified database do not include the service type to be registered, determining that the service type to be registered meets the service type registration condition.
Specifically, when the service type registrant performs service type registration, the third terminal device of the service type registrant is operated; the third terminal device responds to the service type registration operation of the service type registration party, acquires a private key corresponding to the second digital identity information of the service type registration party, signs the appointed data by adopting the acquired private key to obtain first signature data, and sends a service type registration request to the service registration platform according to the service type registration information, the second digital identity information, the first signature data and other information. When the service registration platform receives the service type registration request, firstly, a public key corresponding to the second digital identity information is obtained, and the obtained public key is adopted to verify the first signature data; then when the check is passed, determining whether the registered service types included in the second specified database do not include the service type to be registered; and then, when the second specified database does not comprise the service type to be registered, determining whether the service type registration information conforms to a second preset format, and when the service type registration information conforms to the second preset format, determining that the service type to be registered meets the service type registration condition.
The public key corresponding to the second digital identity information is obtained, and may be a document corresponding to the second digital identity information which is queried from the block chain, and the public key is obtained from the queried document; the public key obtaining request can be sent to the appointed organization according to the second digital identity information, and the public key sent by the appointed organization can be received.
Further, the second preset format can be set in practical application according to the requirement. Thus, by setting the format of the service type information in advance, it is possible to perform a unified and effective registration management at the time of registration of each service type. Determining whether a service type to be registered already exists based on a second specified database by saving the registered service type information to the second specified database and upon receiving a service type registration request; instead of accessing the blockchain directly, in order to reduce the access pressure of the blockchain.
In step S206, if it is determined that the service type registration record information is stored in the blockchain, the registered service type included in the second specified database is updated according to the service type registration information.
Optionally, when receiving service type registration success information sent by a blockchain node, determining that the service type information is already stored in the blockchain; or when the preset monitoring thread monitors that the block chain link points store the service type registration record information into the block chain, determining that the service type registration record information is stored into the block chain. Further, when it is determined that the service type registration record information is stored in the blockchain, the information such as the name of the service type and the version of the service type included in the service registration information is stored in the second specified database, and the registered service type included in the second specified database is updated.
The service type registration is completed based on the block chain, and a foundation is provided for service registration. Considering that the service type is not constant, when the access mode, the input parameter, the output parameter, or the like is changed, the change of the service type is required. Based on this, as shown in fig. 11, in one or more embodiments of the present specification, step S206 may be followed by
Step S208, receiving a first service type change request sent by a third terminal device; the first service type changing request comprises changing information of a service type to be changed;
step S210, if the service type to be changed is determined to meet the change condition according to the change information, a second service type change request is sent to the block chain node according to the change information, so that the block chain node performs service type change processing according to the change information, and the generated service type change record information is stored in the block chain.
The second service type change request may be the same as or different from the first service type change request.
In order to ensure that the service type cannot be changed at will, in one or more embodiments of the present specification, only the service type registrant of the service type may change the service type registered by the service type registrant; in order to enable the service registration platform to determine that the first service type change request is valid, and further ensure that the service type change is valid, the first service type change request further includes: second digital identity information and second signature data; the second signature data is obtained by signing second specified information by using a private key corresponding to second digital identity information; correspondingly, the step S210 of determining that the service to be changed satisfies the change condition according to the change information includes:
and step B, if the signature of the second signature data is checked to pass according to the public key corresponding to the acquired second digital identity information and the service type version included by the change information is determined to accord with the preset rule, determining that the service type to be changed meets the change condition.
Specifically, when receiving a first service type change request, the service registration platform first acquires a public key corresponding to the second digital identity information, and verifies the second signature data by using the acquired public key; then, when the check and the sign pass, inquiring the current service type version of the service type to be changed from the second specified database, and determining whether the service type version included in the change information and the inquired service type version are sequentially increased; if so, determining that the service type version included in the change information meets the preset rule, and further determining that the service type to be changed meets the change condition. Thus, by verifying the second signature data and the service type change information, effective change of the service type is ensured.
In one or more embodiments of the present description, when receiving a first service registration request sent by a service provider, if it is determined that a service to be registered satisfies a preset service registration condition, a service registration platform performs service registration processing through a blockchain node, and stores service registration record information including service registration information and first digital identity information of the service provider into a blockchain, so as to provide service information to a service requester based on the service registration record information stored in the blockchain in the following, so that the service requester selects a required service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
On the basis of the same technical concept, corresponding to the service providing methods described in fig. 3 to 11, another service providing method is provided in one or more embodiments of the present specification; fig. 12 is a flow diagram illustrating another service providing method provided in one or more embodiments of the present disclosure, where the method in fig. 12 can be performed by the block chain node in fig. 1; as shown in fig. 12, the method includes the steps of:
step S302, receiving a second service registration request sent by the service registration platform; the second service registration request is sent by the service registration platform based on the first service registration request sent by the first terminal equipment of the service provider; the second service registration request comprises service registration information of the service to be registered and first digital identity information of the service provider;
wherein, the second service registration request may be the same as or different from the first service registration request; it should be noted that, when the first service registration request further includes application information of the digital identity information, the second service registration request is different from the first service registration request.
Step S304, calling a first intelligent contract in the block chain, and performing service registration processing according to service registration information based on the first intelligent contract;
step S306, generating service registration record information according to the service registration information and the first digital identity information, and storing the service registration record information in the block chain.
In one or more embodiments of the present disclosure, the blockchain node performs service registration processing based on a second service registration request sent by the service registration platform, and stores the service registration record information into the blockchain, so as to provide service information to the service requester based on the service registration record information stored in the blockchain in the following, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
In order to ensure that the service is effectively registered, when receiving the second service registration request, the block link point verifies the service registration information based on the first intelligent contract, and specifically, in step S302, performing service registration processing according to the service registration information based on the first intelligent contract includes:
and if the service registration information is determined to be valid based on the first intelligent contract, performing service registration according to the service registration information.
The process of determining that the service registration information is valid based on the first intelligent contract is similar to the process of determining whether the service to be registered meets the preset service registration condition according to the service registration information, and reference may be made to the related description above.
It is contemplated that a service provider may offer a number of different services and that the service provider may revoke the services it offers; based on this, in order to quickly query each service provided by the service provider, in one or more embodiments of the present description, the service provider stores service registration information of each service provided by the service provider in a document corresponding to the first digital identity information, and adds the service registration information to the document to implement service registration, and deletes the service registration information to implement revocation of the corresponding service. Correspondingly, the second service registration request comprises: a document corresponding to the first digital identity information, wherein the document comprises service registration information; step S306 includes:
step S306', the first digital identity information and the document are recorded in an associated mode, the recorded information is determined to be service registration record information, and the service registration record information is stored in the block chain.
Further, the step S304 of performing service registration processing according to the service registration information based on the first intelligent contract further includes:
step D2, if the block chain is determined to include the historical service registration record information corresponding to the first digital identity information based on the first intelligent contract, determining whether the document includes the revoked service according to the historical service registration record information;
specifically, based on a first intelligent contract, whether historical service registration record information corresponding to first digital identity information is inquired from a block chain is determined, if yes, the last historical service registration record information is used as target service registration record information according to the sequence of service registration record information chaining time; matching each service registration information in the document included in the target service registration record information with each service registration information in the document included in the second service registration request, and if the document included in the target service registration record information has history service registration information with failed matching, determining the service corresponding to the history service registration information with failed matching as a cancelled service; otherwise, it is determined that there is no revoked service.
And D4, if the document is determined to contain the revoked service, generating service revocation record information according to the first digital identity information and the related information of the revoked service, and storing the service revocation record information into the blockchain.
Specifically, if it is determined that the document includes the revoked service, the recorded information is determined as service revocation record information according to all or part of information in the history service registration information with failed matching, the first digital identity information and other associated records, and the service revocation record information is stored in the block chain.
By determining the revoked service and saving the service revocation record information into the blockchain, it is ensured that the service information of the effective service can be provided to the service requester based on the record information in the blockchain when the service requester acquires the service. Specifically, in one or more embodiments of the present description, the method further includes:
step S308, receiving first description information of the service to be acquired, which is sent by the service registration platform; the first description information is information included in a service acquisition request sent by second terminal equipment of a service requester to the service registration platform;
step S310, a second intelligent contract in the block chain is called, if the candidate service matched with the first description information is inquired from the block chain based on the second intelligent contract, the service information of the candidate service is sent to the service registration platform, so that the service registration platform sends a service discovery result to the second terminal device according to the service information of the candidate service.
Specifically, the block chain node calls a second intelligent contract in the block chain, the first description information is matched with a document included in service registration record information of the service which is stored in the block chain and is in an effective state based on the second intelligent contract, if the matching is successful, the corresponding service is determined to be a candidate service, and the service information of the candidate service is sent to the service registration platform, so that the service registration platform sends a service discovery result to the second terminal device according to the service information of the candidate service; and if the matching fails, sending query failure information to the service registration platform so that the service registration platform sends request failure information to the second terminal equipment.
Therefore, the service information is provided for the service requester based on the service registration record information stored in the blockchain, the authenticity and the validity of the service corresponding to the provided service information are ensured, and the trouble of illegal service and the like to users is avoided.
In order to facilitate management of each registered service and to standardize input information and output information of the service, in one or more embodiments of the present specification, a plurality of service types are also registered in advance, so that services having the same or similar functions belong to the same service type. In order to improve the service registration efficiency and avoid service registration failure caused by service type errors, the service provider can also query the service type before service registration. Correspondingly, step S302 further includes:
step S300-2, receiving second description information of the service type to be inquired, which is sent by the service registration platform; the second description information is information included in a service type query request sent by the first terminal device;
specifically, the first terminal device responds to a service type query operation of a service provider, and sends a service type query request to the service registration platform according to the second description information of the service type to be queried; when the service registration platform does not inquire the matched service type from the second specified database, sending second description information to the block chain nodes; and the blockchain node receives second description information sent by the service registration platform.
And step S300-4, calling a third intelligent contract in the block chain, inquiring the service type matched with the second description information from the block chain based on the third intelligent contract, and sending the inquiry result to the service registration platform so that the service registration platform sends the inquiry result to the first terminal equipment.
Specifically, a third intelligent contract in the block chain is called, the second description information is matched with the service type registration information included in the service type registration record information in the block chain based on the third intelligent contract, if the matching is successful, a query success result is sent to the service registration platform, and if the matching is failed, a query failure result is sent to the service registration platform. The query success result may include a name of the service type, and may also include information such as input parameter information and output parameter information of the service type.
Therefore, the service type registration record information in the block chain is used for providing the query result of the service type to the service registrant, and the service registrant is favorable for providing correct service registration information when registering the service.
Further, as mentioned above, in order to facilitate management of each registered service and specify input information and output information of the service, in one or more embodiments of the present specification, a plurality of service types are registered in advance, and accordingly, the method further includes:
step E2, receiving a second service type registration request sent by the service registration platform; the second service type registration request is sent by the service registration platform based on the first service type registration request sent by the third terminal equipment of the service type registration party; the second service type registration request comprises service type registration information of the service type to be registered and second digital identity information of a service type registrant;
step E4, a fourth intelligent contract in the block chain is called, and if the service type registration information is determined to be valid based on the fourth intelligent contract, the service type is registered according to the service type registration information;
the process of determining that the service type registration information is valid based on the fourth intelligent contract is similar to the process of determining that the service type to be registered meets the preset service type registration condition according to the service type registration information, and reference may be made to the related description above.
And step E6, generating service type registration record information according to the service type registration information and the second digital identity information, and storing the service type registration record information into the block chain.
The service type registration is completed, and a foundation is provided for service registration. Considering that the service type is not constant, when the access mode, the input parameter, the output parameter, or the like is changed, the change of the service type is required. Based on this, in one or more embodiments of the present specification, the method further comprises:
step F2, receiving a second service type change request sent by the service registration platform; the second service type changing request is sent by the service registration platform based on the first service type changing request sent by the third terminal equipment; the second service type changing request comprises changing information of the service type to be changed and second digital identity information;
step F4, a fifth intelligent contract in the block chain is called, and if the change information is determined to be effective based on the fifth intelligent contract, the corresponding service type is changed according to the change information;
the process of determining that the change information is valid based on the fifth intelligent contract is similar to the process of determining that the service to be changed meets the change condition according to the change information, and reference may be made to the related description above.
Step F6, generating service type change record information based on the change information and the second digital identity information, and storing the service type change record information in the blockchain.
By storing the service type change record information into the blockchain, the service type can be queried and an effective query result can be provided based on the record information stored in the blockchain when second description information sent by the service registration platform is subsequently received.
In one or more embodiments of the present disclosure, the blockchain node performs service registration processing based on a second service registration request sent by the service registration platform, and stores the service registration record information into the blockchain, so as to provide service information to the service requester based on the service registration record information stored in the blockchain in the following, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
On the basis of the same technical concept, one or more embodiments of the present specification further provide a service providing apparatus corresponding to the service providing method described in fig. 3 to 11. Fig. 13 is a schematic diagram illustrating a module composition of a service providing apparatus according to one or more embodiments of the present disclosure, where the apparatus is configured to perform the service providing method described in fig. 3 to 11, and as shown in fig. 13, the apparatus includes:
a receiving module 401, configured to receive a first service registration request sent by a first terminal device of a service provider; wherein the first service registration request comprises service registration information of a service to be registered;
an obtaining module 402, configured to obtain first digital identity information of the service provider if it is determined that the service to be registered meets a preset service registration condition according to the service registration information; and the number of the first and second groups,
a processing module 403, configured to perform service registration processing based on the service registration information through a blockchain link point, and store service registration record information into a blockchain, so as to provide service information to a service requester based on the service registration record information stored in the blockchain; wherein the service registration record information includes the first digital identity information and the service registration information.
In the service providing device provided in one or more embodiments of the present specification, when a first service registration request sent by a service provider is received, if it is determined that a service to be registered satisfies a preset service registration condition, service registration processing is performed through a blockchain node, and service registration record information including service registration information and first digital identity information of the service provider is stored in a blockchain, so that service information is provided to a service requester based on the service registration record information stored in the blockchain in the following process, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
Optionally, the service registration information includes: the service type of the service to be registered and the service version of the service to be registered;
correspondingly, if the service type is determined to be the registered service type, the service version is determined to be the valid service version, and the format of the service registration information conforms to a first preset format, the obtaining module 402 determines that the service to be registered meets the preset service registration condition.
Optionally, the first registration request further includes: a document corresponding to the first digital identity information, wherein the document comprises the service registration information;
the processing module 403, generating a second service registration request according to the first digital identity information and the document; and the number of the first and second groups,
and sending the second service registration request to the blockchain node, so that the blockchain node generates service registration record information according to the first digital identity information and the document after performing service registration processing according to the service registration information, and stores the service registration record information into the blockchain.
Optionally, the apparatus further comprises: a sending module and a second updating module;
the sending module, after the processing module 403 sends the second service registration request to the block link node, if it is determined that the service registration record information is stored in the block link, sends service registration success information to the first terminal device;
and the second updating module is used for updating the registered service included in the first designated database according to the service registration information and the cancelled service if the existence of the cancelled service is determined according to the document.
Optionally, the receiving module 401 further receives a service obtaining request sent by a second terminal device of the service requester, where the service obtaining request includes first description information of a service to be obtained;
the processing module 403, if it is determined that the service corresponding to the first description information is not included in the first specified database, sends the first description information to the block link node, so that the block link node returns service information of a candidate service when querying a matching candidate service from the block link according to the description information; and the number of the first and second groups,
and sending a service discovery result to the second terminal device according to the service information of the candidate service, so that the service requester selects a target service from the candidate service according to the service discovery result.
Optionally, the receiving module 401, before receiving a first service registration request sent by a first terminal device of a service provider, further receives a service type query request sent by the first terminal device, where the service type query request includes second description information of a service type to be queried;
the sending module, if it is determined that the service type corresponding to the second description information is not included in a second specified database, sends the second description information to the block chain node, so that the block chain node determines whether the service type corresponding to the second description information exists or not based on service type registration record information stored in the block chain, and returns a query result; wherein the second specified database includes registered service types; and the number of the first and second groups,
and sending the query result to the first terminal equipment.
Optionally, the apparatus further comprises: a first update module;
the receiving module receives a first service type registration request sent by a third terminal device of a service type registration party; the first service type registration request comprises service type registration information of a service type to be registered;
the processing module 403, if it is determined that the service type to be registered meets a preset service type registration condition according to the service type registration information, sends a second service type registration request to the block chain node according to the service type registration information, so that the block chain node performs service type registration processing according to the service type registration information, and stores the generated service type registration record information into the block chain;
and the first updating module updates the registered service type included in the second specified database according to the service type registration information if the service type registration record information is determined to be stored in the block chain.
Optionally, the first service type registration request further includes: second digital identity information and first signature data of the service type registrar; the first signature data is signature data obtained by signing first specified information by using a private key corresponding to the second digital identity information;
the processing module 403, if the first signature data is verified according to the public key corresponding to the obtained second digital identity information, and it is determined that the service type registration information conforms to a second preset format, and the registered service type included in the second specified database does not include the service type to be registered, determines that the service type to be registered satisfies the service type registration condition.
Optionally, the receiving module 401 further receives a first service type change request sent by the third terminal device; the first service type changing request comprises changing information of a service type to be changed;
if it is determined that the service type to be changed satisfies the change condition according to the change information, the processing module 403 sends a second service type change request to the blockchain node according to the change information, so that the blockchain node performs service type change processing according to the change information, and stores the generated service type change record information into the blockchain.
Optionally, the first service type change request further includes: the second digital identity information and second signature data; the second signature data is obtained by signing second specified information by using a private key corresponding to the second digital identity information;
the processing module 403, if the signature of the second signature data is verified according to the public key corresponding to the obtained second digital identity information and it is determined that the service type version included in the change information meets a preset rule, determines that the service type to be changed meets a change condition.
In the service providing device provided in one or more embodiments of the present specification, when a first service registration request sent by a service provider is received, if it is determined that a service to be registered satisfies a preset service registration condition, service registration processing is performed through a blockchain node, and service registration record information including service registration information and first digital identity information of the service provider is stored in a blockchain, so that service information is provided to a service requester based on the service registration record information stored in the blockchain in the following process, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
It should be noted that the embodiment of the service providing apparatus in this specification and the embodiment of the service providing method in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to implementation of the foregoing corresponding service providing method, and repeated details are not described again.
Further, based on the same technical concept, the service providing method described in correspondence to fig. 12 above further provides a service providing apparatus applied to a blockchain node in one or more embodiments of the present specification. Fig. 14 is a schematic block diagram of a service providing apparatus according to one or more embodiments of the present disclosure, where the apparatus is configured to perform the service providing method described in fig. 12, and as shown in fig. 14, the apparatus includes:
a receiving module 501, configured to receive a second service registration request sent by the service registration platform; the second service registration request is sent by the service registration platform based on a first service registration request sent by a first terminal device of a service provider; the second service registration request comprises service registration information of a service to be registered and first digital identity information of the service provider;
a processing module 502, which invokes a first intelligent contract in a block chain, and performs service registration processing according to the service registration information based on the first intelligent contract;
a generating module 503, configured to generate service registration record information according to the service registration information and the first digital identity information, and store the service registration record information in the block chain.
In the service providing apparatus provided in one or more embodiments of the present specification, based on the second service registration request sent by the service registration platform, the service registration processing is performed, and the service registration record information is stored in the blockchain, so that the service information is provided to the service requester based on the service registration record information stored in the blockchain in the following, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
Optionally, the processing module 502 performs service registration according to the service registration information if it is determined that the service registration information is valid based on the first intelligent contract.
Optionally, the second service registration request further includes: a document corresponding to the first digital identity information, wherein the document comprises the service registration information;
the generating module 503 is configured to perform association recording on the first digital identity information and the document, and determine recorded information as service registration record information;
the processing module 502, if it is determined that the blockchain includes historical service registration record information corresponding to the first digital identity information based on the first intelligent contract, determines whether the document includes a revoked service according to the historical service registration record information;
if the processing module 502 determines that the document includes the revoked service, the generating module 503 generates service revocation record information according to the first digital identity information and the related information of the revoked service, and stores the service revocation record information in the block chain.
Optionally, the receiving module 501 further receives first description information of a service to be acquired, which is sent by the service registration platform; the first description information is information included in a service acquisition request sent by a second terminal device of a service requester to the service registration platform;
correspondingly, the processing module 502 invokes a second intelligent contract in the block chain, and if a candidate service matched with the first description information is queried from the block chain based on the second intelligent contract, sends service information of the candidate service to the service registration platform, so that the service registration platform sends a service discovery result to the second terminal device according to the service information of the candidate service.
Optionally, the receiving module 501, before receiving a second service registration request sent by a service registration platform, further receives second description information of a service type to be queried, which is sent by the service registration platform; the second description information is information included in a service type query request sent by the first terminal device;
correspondingly, the processing module 502 invokes a third intelligent contract in the block chain, queries a service type matched with the second description information from the block chain based on the third intelligent contract, and sends a query result to the service registration platform, so that the service registration platform sends the query result to the first terminal device.
Optionally, the receiving module 501 further receives a second service type registration request sent by the service registration platform; the second service type registration request is sent by the service registration platform based on a first service type registration request sent by a third terminal device of a service type registration party; the second service type registration request comprises service type registration information of a service type to be registered and second digital identity information of the service type registrant;
the processing module 502 calls a fourth intelligent contract in the block chain, and registers the service type according to the service type registration information if the service type registration information is determined to be valid based on the fourth intelligent contract;
the generating module 503 generates service type registration record information according to the service type registration information and the second digital identity information, and stores the service type registration record information into the block chain.
Optionally, the receiving module 501 further receives a second service type change request sent by the service registration platform; the second service type change request is sent by the service registration platform based on the first service type change request sent by the third terminal device; the second service type changing request comprises changing information of a service type to be changed and the second digital identity information;
the processing module 502 is configured to invoke a fifth intelligent contract in the block chain, and if it is determined that the change information is valid based on the fifth intelligent contract, change the corresponding service type according to the change information;
the generating module 503 generates service type change record information according to the change information and the second digital identity information, and stores the service type change record information into the block chain.
In the service providing apparatus provided in one or more embodiments of the present specification, based on the second service registration request sent by the service registration platform, the service registration processing is performed, and the service registration record information is stored in the blockchain, so that the service information is provided to the service requester based on the service registration record information stored in the blockchain in the following, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
It should be noted that the embodiment of the service providing apparatus in this specification and the embodiment of the service providing method in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to implementation of the foregoing corresponding service providing method, and repeated details are not described again.
Further, on the basis of the same technical concept, one or more embodiments of the present specification further provide a service providing system corresponding to the service providing method described above. Fig. 15 is a schematic diagram illustrating a component of a service providing system according to one or more embodiments of the present disclosure, where, as shown in fig. 15, the system includes: a third terminal device 601 of the service type registry, a first terminal device 602 of the service registry, a second terminal device 603 of the service requester, a service registration platform 604 and a blockchain 605;
the third terminal device 601, responding to the service type registration operation of the service type registrar, sending a first service type registration request to the service registration platform 604; the first service type registration request comprises service type registration information of a service type to be registered;
the first terminal device 602, responding to the service registration operation of the service registration party, sending a first service registration request to the service registration platform 604; wherein the first service registration request comprises service registration information of a service to be registered;
the second terminal device 603, in response to the service acquisition operation of the service requester, sends a service acquisition request to the service registration platform 604; the service acquisition request comprises first description information of a service to be acquired;
if the service type to be registered is determined to meet the preset service type registration condition according to the service type registration information, the service registration platform 604 sends a second service type registration request to the block link points in the block chain 605 according to the service type registration information; if the service to be registered meets the preset service registration condition according to the service registration information, acquiring first digital identity information of the service provider, and sending a second service registration request to the block chain node; if it is determined that the service corresponding to the first description information is not included in the first designated database, sending the first description information to the blockchain node, and sending a service discovery result to the second terminal device 603 according to the service information of the candidate service sent by the blockchain node;
the block chain node in the block chain 605 performs service type registration processing according to the second service type registration request, and stores service type registration record information into the block chain 605; performing service registration processing according to the second service registration request, and storing service registration record information into the block chain 605; and if the candidate service matched with the first description information is inquired from the block chain 605, sending the service information of the candidate service to the service registration platform 604.
In the service providing system provided in one or more embodiments of the present specification, when receiving a first service registration request sent by a service provider, if it is determined that a service to be registered satisfies a preset service registration condition, a service registration platform performs service registration processing through a blockchain node, and stores service registration record information including service registration information and first digital identity information of the service provider into a blockchain, so as to provide service information to a service requester based on the service registration record information stored in the blockchain in the following order for the service requester to select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
It should be noted that the embodiment related to the service providing system in this specification and the embodiment related to the service providing method in this specification are based on the same inventive concept, so that specific implementation of this embodiment may refer to implementation of the foregoing corresponding service providing method, and repeated details are not repeated.
Further, corresponding to the service providing method described above, based on the same technical concept, one or more embodiments of the present specification further provide a service providing device, where the service providing device is configured to perform the service providing method described above, and fig. 16 is a schematic structural diagram of a service providing device provided by one or more embodiments of the present specification.
As shown in fig. 16, the service providing device may have a relatively large difference due to different configurations or performances, and may include one or more processors 701 and a memory 702, where one or more stored applications or data may be stored in the memory 702. Memory 702 may be, among other things, transient storage or persistent storage. The application program stored in memory 702 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a service providing device. Still further, processor 701 may be configured to communicate with memory 702 to execute a series of computer-executable instructions in memory 702 on a service providing device. The service providing apparatus may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input-output interfaces 705, one or more keyboards 706, and the like.
In one particular embodiment, the service providing apparatus comprises a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may comprise one or more modules, and each module may comprise a series of computer-executable instructions for the service providing apparatus, and the one or more programs configured to be executed by the one or more processors comprise computer-executable instructions for:
receiving a first service registration request sent by first terminal equipment of a service provider; wherein the first service registration request comprises service registration information of a service to be registered;
if the service to be registered meets the preset service registration condition according to the service registration information, acquiring first digital identity information of the service provider; and the number of the first and second groups,
performing service registration processing based on the service registration information through the block chain link point, and storing service registration record information into a block chain so as to provide service information to a service requester based on the service registration record information stored by the block chain; wherein the service registration record information includes the first digital identity information and the service registration information.
In the service providing device provided in one or more embodiments of the present specification, when receiving a first service registration request sent by a service provider, if it is determined that a service to be registered satisfies a preset service registration condition, service registration processing is performed through a blockchain node, and service registration record information including service registration information and first digital identity information of the service provider is stored in a blockchain, so that service information is provided to a service requester based on the service registration record information stored in the blockchain in the following, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
Optionally, the service registration information comprises, when executed, computer executable instructions for: the service type of the service to be registered and the service version of the service to be registered;
the determining whether the service to be registered meets a preset service registration condition according to the service registration information includes:
and if the service type is determined to be the registered service type, the service version is determined to be the effective service version, and the format of the service registration information conforms to a first preset format, determining that the service to be registered meets a preset service registration condition.
Optionally, the computer-executable instructions, when executed, further comprise: a document corresponding to the first digital identity information, wherein the document comprises the service registration information;
the performing, by the blockchain link point, service registration processing based on the service registration information and storing service registration record information into a blockchain includes:
generating a second service registration request according to the first digital identity information and the document;
and sending the second service registration request to the blockchain node, so that the blockchain node generates service registration record information according to the first digital identity information and the document after performing service registration processing according to the service registration information, and stores the service registration record information into the blockchain.
Optionally, the computer executable instructions, when executed, further comprise, after sending the second service registration request to the block chain node:
if the service registration record information is determined to be stored in the block chain, sending service registration success information to the first terminal device; and the number of the first and second groups,
and if the existence of the revoked service is determined according to the document, updating the registered service included in the first appointed database according to the service registration information and the revoked service.
Optionally, the computer executable instructions, when executed, further comprise:
receiving a service acquisition request sent by second terminal equipment of the service requester, wherein the service acquisition request comprises first description information of a service to be acquired;
if the service corresponding to the first description information is determined not to be included in the first designated database, the first description information is sent to the block chain node, so that the block chain node returns the service information of the candidate service when the block chain node inquires the matched candidate service from the block chain according to the description information;
and sending a service discovery result to the second terminal device according to the service information of the candidate service, so that the service requester selects a target service from the candidate service according to the service discovery result.
Optionally, the computer executable instructions, when executed, further comprise, before receiving a first service registration request sent by a first terminal device of a service provider:
receiving a service type query request sent by the first terminal device, wherein the service type query request comprises second description information of a service type to be queried;
if the service type corresponding to the second description information is determined not to be included in a second specified database, sending the second description information to the block chain node, so that the block chain node determines whether the service type corresponding to the second description information exists or not based on service type registration record information stored in the block chain and returns a query result; wherein the second specified database includes registered service types;
and sending the query result to the first terminal equipment.
Optionally, the computer executable instructions, when executed, further comprise:
receiving a first service type registration request sent by a third terminal device of a service type registration party; the first service type registration request comprises service type registration information of a service type to be registered;
if the service type to be registered is determined to meet the preset service type registration condition according to the service type registration information, sending a second service type registration request to the block chain node according to the service type registration information so that the block chain node performs service type registration processing according to the service type registration information and stores the generated service type registration record information into the block chain; and the number of the first and second groups,
and if the service type registration record information is determined to be stored in the block chain, updating the registered service type included in the second specified database according to the service type registration information.
Optionally, the first service type registration request further comprises, when executed by computer-executable instructions: second digital identity information and first signature data of the service type registrar; the first signature data is signature data obtained by signing first specified information by using a private key corresponding to the second digital identity information;
the determining that the service type to be registered meets the service type registration condition according to the service type registration information includes:
and if the first signature data passes the signature verification according to the public key corresponding to the acquired second digital identity information and the service type registration information is determined to be in accordance with a second preset format and the registered service types included in the second specified database do not include the service type to be registered, determining that the service type to be registered meets the service type registration condition.
Optionally, the computer executable instructions, when executed, further comprise:
receiving a first service type change request sent by the third terminal equipment; the first service type changing request comprises changing information of a service type to be changed;
and if the service type to be changed meets the change condition according to the change information, sending a second service type change request to the block chain node according to the change information so that the block chain node performs service type change processing according to the change information and stores the generated service type change record information into the block chain.
Optionally, the computer-executable instructions, when executed, further comprise: the second digital identity information and second signature data; the second signature data is obtained by signing second specified information by using a private key corresponding to the second digital identity information;
the determining that the service type to be changed meets the change condition according to the change information includes:
and if the signature of the second signature data is checked to pass according to the public key corresponding to the acquired second digital identity information and the service type version included in the change information is determined to accord with a preset rule, determining that the service type to be changed meets a change condition.
In the service providing device provided in one or more embodiments of the present specification, when receiving a first service registration request sent by a service provider, if it is determined that a service to be registered satisfies a preset service registration condition, service registration processing is performed through a blockchain node, and service registration record information including service registration information and first digital identity information of the service provider is stored in a blockchain, so that service information is provided to a service requester based on the service registration record information stored in the blockchain in the following, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
In another particular embodiment, a service providing apparatus includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the service providing apparatus, and the one or more programs configured to be executed by the one or more processors include computer-executable instructions for:
receiving a second service registration request sent by the service registration platform; the second service registration request is sent by the service registration platform based on a first service registration request sent by a first terminal device of a service provider; the second service registration request comprises service registration information of a service to be registered and first digital identity information of the service provider;
calling a first intelligent contract in a block chain, and performing service registration processing according to the service registration information based on the first intelligent contract;
and generating service registration record information according to the service registration information and the first digital identity information, and storing the service registration record information into the block chain.
In the service providing device provided in one or more embodiments of the present specification, based on the second service registration request sent by the service registration platform, the service registration processing is performed, and the service registration record information is stored in the blockchain, so that the service information is provided to the service requester based on the service registration record information stored in the blockchain in the following, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
Optionally, when executed, the performing service registration processing according to the service registration information based on the first intelligent contract includes:
and if the service registration information is determined to be valid based on the first intelligent contract, performing service registration according to the service registration information.
Optionally, the second service registration request, when executed by the computer-executable instructions, further comprises: a document corresponding to the first digital identity information, wherein the document comprises the service registration information;
generating service registration record information according to the service registration information and the first digital identity information, including:
performing association recording on the first digital identity information and the document, and determining the recorded information as service registration record information;
the service registration processing is carried out according to the service registration information based on the first intelligent contract, and the method further comprises the following steps:
if the block chain is determined to include historical service registration record information corresponding to the first digital identity information based on the first intelligent contract, determining whether the document includes revoked service according to the historical service registration record information; and the number of the first and second groups,
and if the document is determined to contain the revoked service, generating service revocation record information according to the first digital identity information and the related information of the revoked service, and storing the service revocation record information into the block chain.
Optionally, the computer executable instructions, when executed, further comprise:
receiving first description information of a service to be acquired, which is sent by the service registration platform; the first description information is information included in a service acquisition request sent by a second terminal device of a service requester to the service registration platform;
and calling a second intelligent contract in the block chain, and if the candidate service matched with the first description information is inquired from the block chain based on the second intelligent contract, sending the service information of the candidate service to the service registration platform so that the service registration platform sends a service discovery result to the second terminal device according to the service information of the candidate service.
Optionally, when executed, the computer-executable instructions, before receiving the second service registration request sent by the service registration platform, further include:
receiving second description information of the service type to be inquired, which is sent by the service registration platform; the second description information is information included in a service type query request sent by the first terminal device;
and calling a third intelligent contract in the block chain, inquiring the service type matched with the second description information from the block chain based on the third intelligent contract, and sending an inquiry result to the service registration platform so that the service registration platform sends the inquiry result to the first terminal device.
Optionally, the computer executable instructions, when executed, further comprise:
receiving a second service type registration request sent by the service registration platform; the second service type registration request is sent by the service registration platform based on a first service type registration request sent by a third terminal device of a service type registration party; the second service type registration request comprises service type registration information of a service type to be registered and second digital identity information of the service type registrant;
calling a fourth intelligent contract in the block chain, and if the service type registration information is determined to be valid based on the fourth intelligent contract, registering the service type according to the service type registration information; and the number of the first and second groups,
and generating service type registration record information according to the service type registration information and the second digital identity information, and storing the service type registration record information into the block chain.
Optionally, the computer executable instructions, when executed, further comprise:
receiving a second service type change request sent by the service registration platform; the second service type change request is sent by the service registration platform based on the first service type change request sent by the third terminal device; the second service type changing request comprises changing information of a service type to be changed and the second digital identity information;
calling a fifth intelligent contract in the block chain, and if the change information is determined to be valid based on the fifth intelligent contract, changing the corresponding service type according to the change information; and the number of the first and second groups,
and generating service type change record information according to the change information and the second digital identity information, and storing the service type change record information into the block chain.
In the public opinion query device provided in one or more embodiments of the present specification, based on the second service registration request sent by the service registration platform, service registration processing is performed, and the service registration record information is stored in the blockchain, so that service information is provided to the service requester based on the service registration record information stored in the blockchain in the following, so that the service requester can select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
It should be noted that the embodiment related to the service providing device in this specification and the embodiment related to the service providing method in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to implementation of the foregoing corresponding service providing method, and repeated details are not described again.
Further, based on the same technical concept, one or more embodiments of the present specification further provide a storage medium for storing computer-executable instructions, where in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, and the like, and when the storage medium stores the computer-executable instructions, the following processes can be implemented when the processor executes the computer-executable instructions:
receiving a first service registration request sent by first terminal equipment of a service provider; wherein the first service registration request comprises service registration information of a service to be registered;
if the service to be registered meets the preset service registration condition according to the service registration information, acquiring first digital identity information of the service provider; and the number of the first and second groups,
performing service registration processing based on the service registration information through the block chain link point, and storing service registration record information into a block chain so as to provide service information to a service requester based on the service registration record information stored by the block chain; wherein the service registration record information includes the first digital identity information and the service registration information.
When executed by a processor, when receiving a first service registration request sent by a service provider, if it is determined that a service to be registered satisfies a preset service registration condition, performing service registration processing through a blockchain node, and storing service registration record information including service registration information and first digital identity information of the service provider into a blockchain, so as to provide service information to the service requester on the basis of the service registration record information stored in the blockchain in the following process, so that the service requester can select a required service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, cause the service registration information to include: the service type of the service to be registered and the service version of the service to be registered;
the determining whether the service to be registered meets a preset service registration condition according to the service registration information includes:
and if the service type is determined to be the registered service type, the service version is determined to be the effective service version, and the format of the service registration information conforms to a first preset format, determining that the service to be registered meets a preset service registration condition.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, the first registration request further comprises: a document corresponding to the first digital identity information, wherein the document comprises the service registration information;
the performing, by the blockchain link point, service registration processing based on the service registration information and storing service registration record information into a blockchain includes:
generating a second service registration request according to the first digital identity information and the document;
and sending the second service registration request to the blockchain node, so that the blockchain node generates service registration record information according to the first digital identity information and the document after performing service registration processing according to the service registration information, and stores the service registration record information into the blockchain.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise, after sending the second service registration request to the block chaining point:
if the service registration record information is determined to be stored in the block chain, sending service registration success information to the first terminal device; and the number of the first and second groups,
and if the existence of the revoked service is determined according to the document, updating the registered service included in the first appointed database according to the service registration information and the revoked service.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise:
receiving a service acquisition request sent by second terminal equipment of the service requester, wherein the service acquisition request comprises first description information of a service to be acquired;
if the service corresponding to the first description information is determined not to be included in the first designated database, the first description information is sent to the block chain node, so that the block chain node returns the service information of the candidate service when the block chain node inquires the matched candidate service from the block chain according to the description information;
and sending a service discovery result to the second terminal device according to the service information of the candidate service, so that the service requester selects a target service from the candidate service according to the service discovery result.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise, before receiving a first service registration request sent by a first terminal device of a service provider:
receiving a service type query request sent by the first terminal device, wherein the service type query request comprises second description information of a service type to be queried;
if the service type corresponding to the second description information is determined not to be included in a second specified database, sending the second description information to the block chain node, so that the block chain node determines whether the service type corresponding to the second description information exists or not based on service type registration record information stored in the block chain and returns a query result; wherein the second specified database includes registered service types;
and sending the query result to the first terminal equipment.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise:
receiving a first service type registration request sent by a third terminal device of a service type registration party; the first service type registration request comprises service type registration information of a service type to be registered;
if the service type to be registered is determined to meet the preset service type registration condition according to the service type registration information, sending a second service type registration request to the block chain node according to the service type registration information so that the block chain node performs service type registration processing according to the service type registration information and stores the generated service type registration record information into the block chain; and the number of the first and second groups,
and if the service type registration record information is determined to be stored in the block chain, updating the registered service type included in the second specified database according to the service type registration information.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise: second digital identity information and first signature data of the service type registrar; the first signature data is signature data obtained by signing first specified information by using a private key corresponding to the second digital identity information;
the determining that the service type to be registered meets the service type registration condition according to the service type registration information includes:
and if the first signature data passes the signature verification according to the public key corresponding to the acquired second digital identity information and the service type registration information is determined to be in accordance with a second preset format and the registered service types included in the second specified database do not include the service type to be registered, determining that the service type to be registered meets the service type registration condition.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise:
receiving a first service type change request sent by the third terminal equipment; the first service type changing request comprises changing information of a service type to be changed;
and if the service type to be changed meets the change condition according to the change information, sending a second service type change request to the block chain node according to the change information so that the block chain node performs service type change processing according to the change information and stores the generated service type change record information into the block chain.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, the first service type change request further comprises: the second digital identity information and second signature data; the second signature data is obtained by signing second specified information by using a private key corresponding to the second digital identity information;
the determining that the service type to be changed meets the change condition according to the change information includes:
and if the signature of the second signature data is checked to pass according to the public key corresponding to the acquired second digital identity information and the service type version included in the change information is determined to accord with a preset rule, determining that the service type to be changed meets a change condition.
When executed by a processor, when receiving a first service registration request sent by a service provider, if it is determined that a service to be registered satisfies a preset service registration condition, performing service registration processing through a blockchain node, and storing service registration record information including service registration information and first digital identity information of the service provider into a blockchain, so as to provide service information to the service requester on the basis of the service registration record information stored in the blockchain in the following process, so that the service requester can select a required service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
In another specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and the storage medium stores computer executable instructions that, when executed by the processor, implement the following process:
receiving a second service registration request sent by the service registration platform; the second service registration request is sent by the service registration platform based on a first service registration request sent by a first terminal device of a service provider; the second service registration request comprises service registration information of a service to be registered and first digital identity information of the service provider;
calling a first intelligent contract in a block chain, and performing service registration processing according to the service registration information based on the first intelligent contract;
and generating service registration record information according to the service registration information and the first digital identity information, and storing the service registration record information into the block chain.
The storage medium stores computer-executable instructions that, when executed by the processor, perform service registration processing based on a second service registration request sent by the service registration platform, and store service registration record information into the blockchain, so as to provide service information to a service requester based on the service registration record information stored in the blockchain subsequently, for the service requester to select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
Optionally, the storage medium stores computer-executable instructions that, when executed by a processor, perform service registration processing according to the service registration information based on the first smart contract, including:
and if the service registration information is determined to be valid based on the first intelligent contract, performing service registration according to the service registration information.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, the second service registration request further comprises: a document corresponding to the first digital identity information, wherein the document comprises the service registration information;
generating service registration record information according to the service registration information and the first digital identity information, including:
performing association recording on the first digital identity information and the document, and determining the recorded information as service registration record information;
the service registration processing is carried out according to the service registration information based on the first intelligent contract, and the method further comprises the following steps:
if the block chain is determined to include historical service registration record information corresponding to the first digital identity information based on the first intelligent contract, determining whether the document includes revoked service according to the historical service registration record information; and the number of the first and second groups,
and if the document is determined to contain the revoked service, generating service revocation record information according to the first digital identity information and the related information of the revoked service, and storing the service revocation record information into the block chain.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise:
receiving first description information of a service to be acquired, which is sent by the service registration platform; the first description information is information included in a service acquisition request sent by a second terminal device of a service requester to the service registration platform;
and calling a second intelligent contract in the block chain, and if the candidate service matched with the first description information is inquired from the block chain based on the second intelligent contract, sending the service information of the candidate service to the service registration platform so that the service registration platform sends a service discovery result to the second terminal device according to the service information of the candidate service.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, before receiving a second service registration request sent by the service registration platform, further include:
receiving second description information of the service type to be inquired, which is sent by the service registration platform; the second description information is information included in a service type query request sent by the first terminal device;
and calling a third intelligent contract in the block chain, inquiring the service type matched with the second description information from the block chain based on the third intelligent contract, and sending an inquiry result to the service registration platform so that the service registration platform sends the inquiry result to the first terminal device.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise:
receiving a second service type registration request sent by the service registration platform; the second service type registration request is sent by the service registration platform based on a first service type registration request sent by a third terminal device of a service type registration party; the second service type registration request comprises service type registration information of a service type to be registered and second digital identity information of the service type registrant;
calling a fourth intelligent contract in the block chain, and if the service type registration information is determined to be valid based on the fourth intelligent contract, registering the service type according to the service type registration information; and the number of the first and second groups,
and generating service type registration record information according to the service type registration information and the second digital identity information, and storing the service type registration record information into the block chain.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise:
receiving a second service type change request sent by the service registration platform; the second service type change request is sent by the service registration platform based on the first service type change request sent by the third terminal device; the second service type changing request comprises changing information of a service type to be changed and the second digital identity information;
calling a fifth intelligent contract in the block chain, and if the change information is determined to be valid based on the fifth intelligent contract, changing the corresponding service type according to the change information; and the number of the first and second groups,
and generating service type change record information according to the change information and the second digital identity information, and storing the service type change record information into the block chain.
The storage medium stores computer-executable instructions that, when executed by the processor, perform service registration processing based on a second service registration request sent by the service registration platform, and store service registration record information into the blockchain, so as to provide service information to a service requester based on the service registration record information stored in the blockchain subsequently, for the service requester to select a desired service. Therefore, service registration and provision are carried out based on the block chain, service management is facilitated, the block chain is used as a credit endorsement, and authenticity and reliability of the service are guaranteed.
It should be noted that the embodiment related to the storage medium in this specification and the embodiment related to the service providing method in this specification are based on the same inventive concept, and therefore, specific implementation of this embodiment may refer to implementation of the foregoing corresponding service providing method, and repeated details are not described again.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 30 s of the 20 th century, improvements in a technology could clearly be distinguished between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in multiple software and/or hardware when implementing the embodiments of the present description.
One skilled in the art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description 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 the like) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. 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 data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement 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.
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 like elements in a process, method, article, or apparatus that comprises the element.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of this document and is not intended to limit this document. Various modifications and changes may occur to those skilled in the art from this document. Any modifications, equivalents, improvements, etc. which come within the spirit and principle of the disclosure are intended to be included within the scope of the claims of this document.

Claims (25)

1. A service providing method, comprising:
receiving a service type query request sent by first terminal equipment of a service provider, wherein the service type query request comprises second description information of a service type to be queried;
whether a service type corresponding to the second description information exists is inquired based on a block chain, and an inquiry result is sent to the first terminal device, wherein the inquiry result is used for service registration of the first terminal device;
receiving a first service registration request sent by the first terminal equipment; wherein the first service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
and if the service type is determined to be the registered service type, performing service registration processing based on the service registration information through the block link point, and storing service registration record information generated based on the service registration information into the block chain.
2. The method of claim 1, wherein the querying whether the service type corresponding to the second description information exists based on the block chain comprises:
determining whether a second specified database comprises a service type corresponding to the second description information; wherein the second specified database includes registered service types;
and if not, sending the second description information to the block chain link point, wherein the second description information is used for the block chain link point to determine whether the service type corresponding to the second description information exists or not based on the service type registration record information stored by the block chain and return a query result.
3. The method of claim 1, the service registration information further comprising: version information of the service to be registered;
if the service type is determined to be the registered service type, performing service registration processing based on the service registration information through the block link point, including:
and if the service type is determined to be the registered service type and the service version is determined to be the effective service version, performing service registration processing through the block link point based on the service registration information.
4. The method of claim 1, the first service registration request comprising: a document corresponding to first digital identity information of the service provider, wherein the document comprises service registration information of a service to be registered;
the performing, by the block link node, service registration processing based on the service registration information, and storing service registration record information generated based on the service registration information into the block chain includes:
acquiring the first digital identity information of the service provider;
generating a second service registration request according to the first digital identity information and the document and sending the second service registration request to the block chain node; the second service registration request is used for requesting the block link node to perform service registration processing according to the service registration information, and storing service registration record information generated based on the first digital identity information and the service registration information into the block chain; the second service registration request may be the same as or different from the first service registration request.
5. The method of claim 4, after generating and sending the second service registration request to the blockchain node, further comprising:
if the service registration record information is determined to be stored in the block chain, sending service registration success information to the first terminal device; and the number of the first and second groups,
and if the existence of the revoked service is determined according to the document, updating the registered service included in the first appointed database according to the service registration information and the revoked service.
6. The method of claim 5, further comprising:
receiving a service acquisition request sent by second terminal equipment of the service requester, wherein the service acquisition request comprises first description information of a service to be acquired;
if the service corresponding to the first description information is determined not to be included in the first designated database, the first description information is sent to the block chain node, so that the block chain node returns the service information of the candidate service when the block chain node inquires the matched candidate service from the block chain according to the first description information;
and sending a service discovery result to the second terminal device according to the service information of the candidate service, so that the service requester selects a target service from the candidate service according to the service discovery result.
7. The method of claim 1, further comprising:
receiving a first service type registration request sent by a third terminal device of a service type registration party; the first service type registration request comprises service type registration information of a service type to be registered;
if the service type to be registered is determined to meet the preset service type registration condition according to the service type registration information, sending a second service type registration request to the block chain node according to the service type registration information so that the block chain node performs service type registration processing according to the service type registration information and stores the generated service type registration record information into the block chain; and the number of the first and second groups,
and if the service type registration record information is determined to be stored in the block chain, updating the registered service type included in the second specified database according to the service type registration information.
8. The method of claim 7, the first service type registration request further comprising: second digital identity information and first signature data of the service type registrar; the first signature data is signature data obtained by signing first specified information by using a private key corresponding to the second digital identity information;
the determining that the service type to be registered meets the service type registration condition according to the service type registration information includes:
and if the first signature data passes the signature verification according to the public key corresponding to the acquired second digital identity information and the service type registration information is determined to be in accordance with a second preset format and the registered service types included in the second specified database do not include the service type to be registered, determining that the service type to be registered meets the service type registration condition.
9. The method of claim 7, further comprising:
receiving a first service type change request sent by the third terminal equipment; the first service type changing request comprises changing information of a service type to be changed;
and if the service type to be changed meets the change condition according to the change information, sending a second service type change request to the block chain node according to the change information so that the block chain node performs service type change processing according to the change information and stores the generated service type change record information into the block chain.
10. The method of claim 9, the first service type change request further comprising: second digital identity information and second signature data of the service type registrar; the second signature data is obtained by signing second specified information by using a private key corresponding to the second digital identity information;
the determining that the service type to be changed meets the change condition according to the change information includes:
and if the signature of the second signature data is checked to pass according to the public key corresponding to the acquired second digital identity information and the service type version included in the change information is determined to accord with a preset rule, determining that the service type to be changed meets a change condition.
11. A service providing method, comprising:
receiving a second service registration request sent by the service registration platform; the second service registration request is sent based on a first service registration request sent by a first terminal device of a service provider according to the obtained query result of the service type; the second service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
calling a first intelligent contract in a block chain, and if the service type is determined to be a registered service type based on the first intelligent contract, performing service registration processing according to the service registration information;
and generating service registration record information according to the service registration information, and storing the service registration record information into the block chain.
12. The method of claim 11, the service registration information further comprising: version information of the service to be registered
If the service type is determined to be the registered service type based on the first intelligent contract, performing service registration processing according to the service registration information, including:
and if the service type is determined to be the registered service type and the service version is determined to be the effective service version based on the first intelligent contract, performing service registration processing according to the service registration information.
13. The method of claim 11, the second service registration request comprising: first digital identity information of the service provider and a document corresponding to the first digital identity information, wherein the document comprises service registration information of the service to be registered;
the generating of the service registration record information according to the service registration information includes:
and generating service registration record information according to the first digital identity information and the document.
14. The method of claim 13, further comprising, after the service registration process according to the service registration information:
if the block chain is determined to include historical service registration record information corresponding to the first digital identity information based on the first intelligent contract, determining whether the document includes revoked service according to the historical service registration record information; and the number of the first and second groups,
and if the document is determined to contain the revoked service, generating service revocation record information according to the first digital identity information and the related information of the revoked service, and storing the service revocation record information into the block chain.
15. The method of claim 11, further comprising:
receiving first description information of a service to be acquired, which is sent by the service registration platform; the first description information is information included in a service acquisition request sent by a second terminal device of a service requester to the service registration platform;
and calling a second intelligent contract in the block chain, and if the candidate service matched with the first description information is inquired from the block chain based on the second intelligent contract, sending the service information of the candidate service to the service registration platform so that the service registration platform sends a service discovery result to the second terminal device according to the service information of the candidate service.
16. The method according to any of claims 11-15, before receiving the second service registration request sent by the service registration platform, further comprising:
receiving second description information of the service type to be inquired, which is sent by the service registration platform; the second description information is information included in a service type query request sent by the first terminal device;
and calling a third intelligent contract in the block chain, inquiring the service type matched with the second description information from the block chain based on the third intelligent contract, and sending an inquiry result to the service registration platform so that the service registration platform sends the inquiry result to the first terminal device.
17. The method of claim 16, further comprising:
receiving a second service type registration request sent by the service registration platform; the second service type registration request is sent by the service registration platform based on a first service type registration request sent by a third terminal device of a service type registration party; the second service type registration request comprises service type registration information of a service type to be registered and second digital identity information of the service type registrant;
calling a fourth intelligent contract in the block chain, and if the service type registration information is determined to be valid based on the fourth intelligent contract, registering the service type according to the service type registration information; and the number of the first and second groups,
and generating service type registration record information according to the service type registration information and the second digital identity information, and storing the service type registration record information into the block chain.
18. The method of claim 17, further comprising:
receiving a second service type change request sent by the service registration platform; the second service type change request is sent by the service registration platform based on the first service type change request sent by the third terminal device; the second service type changing request comprises changing information of a service type to be changed and the second digital identity information;
calling a fifth intelligent contract in the block chain, and if the change information is determined to be valid based on the fifth intelligent contract, changing the corresponding service type according to the change information; and the number of the first and second groups,
and generating service type change record information according to the change information and the second digital identity information, and storing the service type change record information into the block chain.
19. A service providing apparatus comprising:
the service type query module is used for receiving a service type query request sent by first terminal equipment of a service provider, wherein the service type query request comprises second description information of a service type to be queried;
a sending module, configured to query whether a service type corresponding to the second description information exists based on a block chain, and send a query result to the first terminal device, where the query result is used for service registration of the first terminal device;
the receiving module is further configured to receive a first service registration request sent by the first terminal device; wherein the first service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
and the processing module is used for performing service registration processing based on the service registration information through the block chain link point if the service type is determined to be the registered service type, storing service registration record information generated based on the service registration information into the block chain, and providing service information to the service requester based on the service registration record information stored in the block chain.
20. A service providing apparatus comprising:
the receiving module is used for receiving a second service registration request sent by the service registration platform; the second service registration request is sent based on a first service registration request sent by a first terminal device of a service provider according to the obtained query result of the service type; the second service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
the processing module is used for calling a first intelligent contract in the block chain, and if the service type is determined to be a registered service type based on the first intelligent contract, performing service registration processing according to the service registration information;
and the generating module is used for generating service registration record information according to the service registration information and storing the service registration record information into the block chain.
21. A service providing system comprising: the system comprises a first terminal device of a service provider, a second terminal device of a service requester, a service registration platform and a blockchain system;
the first terminal equipment responds to the query operation of the service provider, sends a service type query request to the service registration platform and receives a query result sent by the service registration platform; the service type query request comprises second description information of the service type to be queried; and, in response to a service registration operation of the service provider, sending a first service registration request to the service registration platform; wherein the first service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
the service registration platform receives the service type query request sent by the first terminal device, queries whether the service type corresponding to the second description information exists or not based on the block chain system, and sends a query result to the first terminal device; receiving the first service registration request, if the service type is determined to be the registered service type, generating a second service registration request according to the service registration information, and sending the second service registration request to the blockchain system;
the block chain system calls a first intelligent contract in a block chain according to the second service registration request, and if the service type is determined to be a registered service type based on the first intelligent contract, service registration processing is carried out according to the service registration information; and generating service registration record information according to the service registration information, and storing the service registration record information into the block chain system.
22. A service providing apparatus comprising:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a service type query request sent by first terminal equipment of a service provider, wherein the service type query request comprises second description information of a service type to be queried;
whether a service type corresponding to the second description information exists is inquired based on a block chain, and an inquiry result is sent to the first terminal device, wherein the inquiry result is used for service registration of the first terminal device;
receiving a first service registration request sent by the first terminal equipment; wherein the first service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
and if the service type is determined to be the registered service type, performing service registration processing based on the service registration information through the block link point, and storing service registration record information generated based on the service registration information into the block chain.
23. A service providing apparatus comprising:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a second service registration request sent by the service registration platform; the second service registration request is sent based on a first service registration request sent by a first terminal device of a service provider according to the obtained query result of the service type; the second service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
calling a first intelligent contract in a block chain, and if the service type is determined to be a registered service type based on the first intelligent contract, performing service registration processing according to the service registration information;
and generating service registration record information according to the service registration information, and storing the service registration record information into the block chain.
24. A storage medium storing computer-executable instructions that when executed by a processor implement the following:
receiving a service type query request sent by first terminal equipment of a service provider, wherein the service type query request comprises second description information of a service type to be queried;
whether a service type corresponding to the second description information exists is inquired based on a block chain, and an inquiry result is sent to the first terminal device, wherein the inquiry result is used for service registration of the first terminal device;
receiving a first service registration request sent by the first terminal equipment; wherein the first service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
and if the service type is determined to be the registered service type, performing service registration processing based on the service registration information through the block link point, and storing service registration record information generated based on the service registration information into the block chain.
25. A storage medium storing computer-executable instructions that when executed by a processor implement the following:
receiving a second service registration request sent by the service registration platform; the second service registration request is sent based on a first service registration request sent by a first terminal device of a service provider according to the obtained query result of the service type; the second service registration request comprises service registration information of a service to be registered; the service registration information comprises a service type of the service to be registered;
calling a first intelligent contract in a block chain, and if the service type is determined to be a registered service type based on the first intelligent contract, performing service registration processing according to the service registration information;
and generating service registration record information according to the service registration information, and storing the service registration record information into the block chain.
CN202110328396.2A 2020-03-03 2020-03-03 Service providing method, device, equipment and system Active CN112954073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110328396.2A CN112954073B (en) 2020-03-03 2020-03-03 Service providing method, device, equipment and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010140437.0A CN110995521B (en) 2020-03-03 2020-03-03 Service providing method, device, equipment and system
CN202110328396.2A CN112954073B (en) 2020-03-03 2020-03-03 Service providing method, device, equipment and system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202010140437.0A Division CN110995521B (en) 2020-03-03 2020-03-03 Service providing method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN112954073A true CN112954073A (en) 2021-06-11
CN112954073B CN112954073B (en) 2022-09-16

Family

ID=70081321

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010140437.0A Active CN110995521B (en) 2020-03-03 2020-03-03 Service providing method, device, equipment and system
CN202110328396.2A Active CN112954073B (en) 2020-03-03 2020-03-03 Service providing method, device, equipment and system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010140437.0A Active CN110995521B (en) 2020-03-03 2020-03-03 Service providing method, device, equipment and system

Country Status (1)

Country Link
CN (2) CN110995521B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535691A (en) * 2021-09-15 2021-10-22 支付宝(杭州)信息技术有限公司 User service registration method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111614725A (en) * 2020-04-24 2020-09-01 深圳壹账通智能科技有限公司 Service management method, device and equipment based on block chain development
CN111414436B (en) * 2020-05-29 2023-08-04 支付宝(杭州)信息技术有限公司 Data pushing method, device, equipment and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018126059A1 (en) * 2016-12-30 2018-07-05 Slock.it, Inc. Block-chain enabled service provider system
CN108667618A (en) * 2018-05-10 2018-10-16 阿里巴巴集团控股有限公司 Data processing method, device, server and the system of block chain member management
CN109819443A (en) * 2018-12-29 2019-05-28 东莞见达信息技术有限公司 Authentication registration method, apparatus and system based on block chain
US20190319861A1 (en) * 2018-04-13 2019-10-17 The Curators Of The University Of Missouri Method and system for secure resource management utilizing blockchain and smart contracts
US20190354989A1 (en) * 2018-05-15 2019-11-21 International Business Machines Corporation Automated data projection for smart contract groups on a blockchain
CN110619526A (en) * 2019-09-19 2019-12-27 阿里巴巴集团控股有限公司 Business service providing method, device, equipment and system based on block chain
CN110839029A (en) * 2019-11-14 2020-02-25 腾讯科技(深圳)有限公司 Micro-service registration method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11080701B2 (en) * 2015-07-02 2021-08-03 Royal Bank Of Canada Secure processing of electronic payments
CN108833464B (en) * 2018-04-13 2021-05-11 西安电子科技大学 Binding type multi-domain Internet of things cooperation system and method, smart city and smart home
CN108805573B (en) * 2018-04-21 2022-04-15 深圳市元征科技股份有限公司 Information verification method, server and storage medium
CN109889503B (en) * 2019-01-22 2022-02-22 平安科技(深圳)有限公司 Identity management method based on block chain, electronic device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018126059A1 (en) * 2016-12-30 2018-07-05 Slock.it, Inc. Block-chain enabled service provider system
US20190319861A1 (en) * 2018-04-13 2019-10-17 The Curators Of The University Of Missouri Method and system for secure resource management utilizing blockchain and smart contracts
CN108667618A (en) * 2018-05-10 2018-10-16 阿里巴巴集团控股有限公司 Data processing method, device, server and the system of block chain member management
WO2019217724A1 (en) * 2018-05-10 2019-11-14 Alibaba Group Holding Limited Blockchain member management data processing methods, apparatuses, servers, and systems
US20190354989A1 (en) * 2018-05-15 2019-11-21 International Business Machines Corporation Automated data projection for smart contract groups on a blockchain
CN109819443A (en) * 2018-12-29 2019-05-28 东莞见达信息技术有限公司 Authentication registration method, apparatus and system based on block chain
CN110619526A (en) * 2019-09-19 2019-12-27 阿里巴巴集团控股有限公司 Business service providing method, device, equipment and system based on block chain
CN110839029A (en) * 2019-11-14 2020-02-25 腾讯科技(深圳)有限公司 Micro-service registration method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535691A (en) * 2021-09-15 2021-10-22 支付宝(杭州)信息技术有限公司 User service registration method and device
CN113535691B (en) * 2021-09-15 2022-01-25 支付宝(杭州)信息技术有限公司 User service registration method and device

Also Published As

Publication number Publication date
CN110995521A (en) 2020-04-10
CN110995521B (en) 2021-02-19
CN112954073B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN111680274B (en) Resource access method, device and equipment
CN111741035B (en) Electronic contract signing method, device and equipment
CN109614823B (en) Data processing method, device and equipment
CN110995521B (en) Service providing method, device, equipment and system
CN111311251B (en) Binding processing method, device and equipment
CN109669709B (en) Data migration method and data migration system for block chain upgrading
CN111859470B (en) Business data chaining method and device
CN110889142B (en) Data authority management method, device, system and equipment
CN110781192B (en) Verification method, device and equipment of block chain data
CN111651734B (en) Installation management method, device, equipment and system for applet
CN112200585B (en) Service processing method, device, equipment and system
CN111461623B (en) Block chain-based warehouse bill creating method, device and equipment
CN111008841A (en) Service processing system, service processing method, device and equipment
CN108616361B (en) Method and device for identifying uniqueness of equipment
CN111651467A (en) Block chain link point interface issuing and calling method and device
CN111198677A (en) Equipment object generation method, device and equipment
CN110992039B (en) Transaction processing method, device and equipment
CN113672709B (en) Data processing method, device and equipment
CN111163113B (en) Registration processing method, device, equipment and system
CN114911750A (en) Data conversion method and device
CN112487497A (en) Method and device for managing off-link files based on intelligent contracts and electronic equipment
CN113536342B (en) Block chain-based certificate management method, system, program product and storage medium
CN115658101A (en) Configuration data processing method and device
CN113672750A (en) Data processing method and device based on block chain
CN115328537A (en) Version management method of configuration management system and configuration version management system

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