CN113938499A - Decentralized service method, device and system - Google Patents

Decentralized service method, device and system Download PDF

Info

Publication number
CN113938499A
CN113938499A CN202111154375.XA CN202111154375A CN113938499A CN 113938499 A CN113938499 A CN 113938499A CN 202111154375 A CN202111154375 A CN 202111154375A CN 113938499 A CN113938499 A CN 113938499A
Authority
CN
China
Prior art keywords
energy
information
working
module
fault
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.)
Pending
Application number
CN202111154375.XA
Other languages
Chinese (zh)
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.)
Shenzhen Spacetime Cloud Technology Co ltd
Original Assignee
Shenzhen Spacetime Cloud 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 Shenzhen Spacetime Cloud Technology Co ltd filed Critical Shenzhen Spacetime Cloud Technology Co ltd
Priority to CN202111154375.XA priority Critical patent/CN113938499A/en
Publication of CN113938499A publication Critical patent/CN113938499A/en
Pending legal-status Critical Current

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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords

Abstract

The invention provides a decentralized service method, a decentralized service device and a decentralized service system, wherein the working information of each energy end is obtained, wherein the energy end is used for providing energy, the working information is used for indicating whether the energy end is in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end; the working information is stored in a link mode, query information of the energy consumption end is received, the energy end is matched based on the query information, and the working information corresponding to the energy end is obtained; the technical scheme that the rights and interests of the energy consumption end are responded, the rights and interests chain information of the energy consumption end is sent to the energy consumption end, the private key of the working information is read by the energy consumption end is sent, the energy ends are connected to form a block chain system, the energy ends can communicate with each other, decentralized information sharing is carried out, a user can access the block chain system to inquire the working information of the energy ends, the state of each energy end can be known without going to the field of the energy ends, and user experience is improved.

Description

Decentralized service method, device and system
Technical Field
The present invention relates to distributed storage technologies, and in particular, to a decentralized service method, apparatus, and system.
Background
In a service system in the prior art, the service system generally includes ports such as a service end, a user end, and a backend end.
With the development of society, more and more offline entity servers serve users, and the servers are isolated from each other, so that when a user needs to select a certain server for service, the user often needs to go to the entity server to know the working state of the server, for example, whether the server is being used by another user or whether the server has a fault and cannot be used, and the user experience is reduced.
Therefore, the existing service system can not let the user know the state of each server, and the user experience is low.
Disclosure of Invention
The embodiment of the invention provides a decentralized service method, a decentralized service device and a decentralized service system, which can enable a user to know the state of each service end and improve user experience.
In a first aspect of the embodiments of the present invention, a decentralized service method is provided, including:
the method comprises the steps of obtaining working information of each energy end, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
performing link storage on the working information;
receiving query information of the energy consumption end, matching the energy end based on the query information, and corresponding to working information of the energy end;
responding the rights and interests arrival chain information of the energy consumption end, and sending the rights and interests arrival chain information to the energy consumption end to read a private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
Optionally, in a possible implementation manner of the first aspect, the occupancy module includes a pressure sensor disposed below the energy end charging area, and the pressure sensor is configured to acquire pressure information of the energy end charging area.
Optionally, in a possible implementation manner of the first aspect, the packing, by each energy end, the working data of the energy end according to a consensus mechanism includes:
acquiring a service period and a fault rate of the energy end, and acquiring a rights and interests certificate of the energy end based on the service period and the fault rate;
packing the working data according to the right certificate of the energy end to obtain the working information;
and the right value of the energy end with long service period is greater than that of the energy end with short service period, and the right value of the energy end with low fault rate is greater than that of the energy end with high fault rate.
Optionally, in a possible implementation manner of the first aspect, after the obtaining the work information of each supply end, the method further includes:
providing rights to the energy end that packages the working data to form the working information.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
receiving a work confirmation result of the energy consumption end to the energy end, and forwarding the work confirmation result to a down-link verification node;
comparing the work information with the work confirmation result to obtain a verification opinion;
and obtaining the verification opinions for link storage and publishing in the whole network.
In a second aspect of the embodiments of the present invention, a decentralized service method is provided, including:
transmitting working information of each energy end to a block chain system for link storage, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
transmitting query information of the energy consumption end to a block chain system, wherein the block chain system matches the energy end and working information corresponding to the energy end based on the query information;
receiving right and interest arrival chain information of the block chain system responding to the energy consumption end, and sending the right and interest arrival chain information to the energy consumption end to read a private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
In a third aspect of the embodiments of the present invention, a decentralized service device is provided, including:
the information acquisition module is used for acquiring working information of each energy end, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
the storage module is used for performing link storage on the working information;
the query receiving module is used for receiving query information of the energy consumption end, matching the energy end based on the query information and corresponding working information of the energy end;
the private key sending module is used for responding to the rights and interests arrival chain information of the energy consumption end and sending the rights and interests arrival chain information to the energy consumption end to read the private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
In a fourth aspect of the embodiments of the present invention, a decentralized service device is provided, including:
the system comprises a state transmission module, a block chain system and a state detection module, wherein the state transmission module is used for transmitting working information of each energy end to the block chain system for link storage, the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
the query transmission module is used for transmitting query information of the energy consumption end to a block chain system, and the block chain system is matched with the energy end and working information corresponding to the energy end based on the query information;
the private key receiving module is used for receiving the right to reach chain information of the energy consumption end responded by the block chain system and sending the right to reach chain information to the energy consumption end to read the private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
In a fifth aspect of the embodiments of the present invention, a decentralized service system is provided, including a blockchain system, an energy end, and an energy consumption end;
the block chain system acquires working information of each energy end, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
the block chain system stores the work information in a linked mode;
the block chain system receives query information of the energy consumption end, and matches the energy end and working information corresponding to the energy end based on the query information;
the block chain system responds to the rights and interests arrival chain information of the energy consumption end and sends the rights and interests arrival chain information to the energy consumption end to read a private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
In a sixth aspect of the embodiments of the present invention, there is provided a decentralized service device, including: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of the first aspect, the second aspect and various possible aspects of the first and second aspects of the invention.
A seventh aspect of embodiments of the present invention provides a readable storage medium, in which a computer program is stored, which, when executed by a processor, is configured to implement the method according to the first aspect, the second aspect and various possible aspects of the first aspect and the second aspect of the present invention.
According to the decentralized service method, the decentralized service device and the decentralized service system, the energy ends are connected to form the block chain system, so that the energy ends can communicate with each other to perform decentralized information sharing, for example, collected work information of the energy ends can be shared, a user can access the block chain system to inquire the work information of the energy ends, the work information can be read by using a private key, the state of each energy end can be known without the field of the decentralized end, and user experience is improved.
Drawings
Fig. 1 is a schematic flow chart of a decentralized service method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a decentralized serving device according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of another decentralized serving device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a decentralized service system according to an embodiment of the present invention;
fig. 5 is a schematic hardware structure diagram of a decentralized service device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, for example, and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that all three of A, B, C comprise, "comprises A, B or C" means that one of A, B, C comprises, "comprises A, B and/or C" means that any 1 or any 2 or 3 of A, B, C comprises.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Example 1
Referring to fig. 1, which is a flowchart illustrating a method for decentralized servicing according to an embodiment of the present invention, an execution subject of the method shown in fig. 1 may be a software and/or hardware device. The execution subject of the present application may include, but is not limited to, at least one of: user equipment, network equipment, etc. The user equipment may include, but is not limited to, a computer, a smart phone, a Personal Digital Assistant (PDA), the above mentioned electronic equipment, and the like. The network device may include, but is not limited to, a single network server, a server group of multiple network servers, or a cloud of numerous computers or network servers based on cloud computing, wherein cloud computing is one type of distributed computing, a super virtual computer consisting of a cluster of loosely coupled computers. The present embodiment does not limit this. The method is executed by a block chain system, and comprises steps S101 to S104, wherein the steps are as follows:
s101, obtaining working information of each energy end, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end.
Specifically, according to the scheme, the energy ends are connected to form the block chain system, so that the energy ends can communicate with each other to perform decentralized information sharing, for example, collected work information of the energy ends can be shared, a user can access the block chain system to inquire the work information of the energy ends, the work information can be read by using a private key, the state of each energy end can be known on the spot without removing the energy ends, and user experience is improved.
The working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
Aiming at the fault module:
it can be understood that the fault module is intermittently communicated with the output end of the energy end, and then whether a detection signal is generated or not is judged, if so, the energy output of the output end of the energy end is normal, and if not, the energy output of the output end of the energy end is abnormal, so that whether the energy end is in fault or not is judged.
In practical applications, the fault module may include a signal generation module, and the signal generation module generates the detection signal after obtaining the energy of the energy terminal. In addition, in order to realize intermittent communication between the signal generating module and the output end of the energy end, a control circuit can be arranged between the signal transmitting module and the output end of the energy end, the control circuit can comprise a timing circuit and a relay, the relay is connected between the signal transmitting module and the output end of the energy end, and the timing circuit controls the on-off of the relay; when the relay is not closed, the signal sending module is not communicated with the output end of the energy end, the signal sending module cannot receive energy, and a detection signal cannot be generated.
It can be understood that, while the fault detection is performed on the energy end, the intermittent connection between the control signal sending module and the output end of the energy end can save the energy consumption of the continuous connection.
In addition, the energy in this embodiment may be, for example, electric energy, and the energy end may be, for example, a charging pile, or the like, or may be other energy and a corresponding energy end, which is not limited in this embodiment.
For the occupancy module:
it can be understood that when other users need to charge, the energy consumption end needs to be located in the energy end charging area, and then pressure information is generated, and the pressure information can be generated by a pressure sensor arranged below the energy end charging area, and then whether the energy end is occupied or not is judged.
And S102, performing link storage on the working information.
It can be understood that the working information is obtained by each energy terminal by packaging the working data of the energy terminal according to a consensus mechanism, and after the working information is acquired, the working information needs to be uplink stored, so that the subsequent query of a user is facilitated.
The method for obtaining the working information by packing the working data of the energy terminals by the energy terminals according to a consensus mechanism comprises the following steps:
acquiring a service period and a fault rate of the energy end, and acquiring a rights and interests certificate of the energy end based on the service period and the fault rate; packing the working data according to the right certificate of the energy end to obtain the working information; and the right value of the energy end with long service period is greater than that of the energy end with short service period, and the right value of the energy end with low fault rate is greater than that of the energy end with high fault rate.
It can be understood that, in this embodiment, the right certificate is obtained through the service period and the failure rate of each energy end, and the work information is obtained by packing the work data.
The right value of the energy end with the long service period is larger than that of the energy end with the short service period, the right value of the energy end with the high stability (low failure rate) is larger than that of the energy end with the low stability (high failure rate), and then the right value of the service period, the right value of the stability and the right increment are accumulated to obtain the right certificate.
In practical application, after the obtaining of the work information of each supply terminal, the method further includes providing rights and interests to the energy terminal which packages the work data to form the work information.
S103, receiving query information of the energy consumption end, matching the energy end based on the query information, and corresponding to working information of the energy end.
It can be understood that, before the user needs to charge the energy terminal, query information may be input to the blockchain, where the query information may be, for example, number information of the energy terminal, or name information of the energy terminal, and it is sufficient to precisely implement query on the energy terminal. The block chain can send corresponding work information to the energy consumption end, and a user can input a private key to read the work information.
And S104, responding to the rights and interests arrival chain information of the energy consumption end, and sending the rights and interests arrival chain information to the energy consumption end to read the private key of the working information.
It will be appreciated that the user is obliged to obtain the private key to read the working information.
In the above embodiment, the working information is collected according to a detection network at the energy end, and when a problem occurs in the detection network, the working information may be inaccurate and mislead the user, and to solve the above technical problem, the method in the above embodiment further includes:
receiving a work confirmation result of the energy consumption end to the energy end, and forwarding the work confirmation result to a down-link verification node;
comparing the work information with the work confirmation result to obtain a verification opinion;
and obtaining the verification opinions for link storage and publishing in the whole network.
It is understood that the work information and the work confirmation result of the user are verified to obtain the verification opinion, for example, the work information indicates that the energy terminal is not occupied, and the work confirmation result indicates that the energy terminal is occupied, so that the obtained verification opinion may be an error opinion, and the verification opinion is published in the blockchain in the whole network.
Referring to fig. 2, which is a schematic structural diagram of a decentralized service device according to an embodiment of the present invention, the decentralized service device 20 includes:
the information acquisition module 21 is configured to acquire working information of each energy end, where the energy end is used to provide energy, the working information is used to indicate whether the energy end is faulty and/or occupied, and the working information is read by a private key provided by an energy consumption end;
the storage module 22 is used for performing linked storage on the working information;
the query receiving module 23 is configured to receive query information of the energy consumption end, match the energy end based on the query information, and correspond to the working information of the energy end;
the private key sending module 24 is configured to respond to the rights and interests arrival chain information of the energy consumption end, and send the rights and interests arrival chain information to the energy consumption end to read the private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
The apparatus in the embodiment shown in fig. 2 can be correspondingly used to perform the steps in the method embodiment shown in fig. 1, and the implementation principle and technical effect are similar, which are not described herein again.
Example 2
A decentralized service method takes an energy consumption end as an execution main body and comprises the following steps:
transmitting working information of each energy end to a block chain system for link storage, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
transmitting query information of the energy consumption end to a block chain system, wherein the block chain system matches the energy end and working information corresponding to the energy end based on the query information;
receiving right and interest arrival chain information of the block chain system responding to the energy consumption end, and sending the right and interest arrival chain information to the energy consumption end to read a private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
Referring to fig. 3, which is a schematic structural diagram of another decentralized service device according to an embodiment of the present invention, the decentralized service device 30 includes:
the state transmission module 31 is configured to transmit work information of each energy end to a blockchain system for link storage, where the energy end is configured to provide energy, the work information is used to indicate whether the energy end is faulty and/or occupied, and the work information is read by a private key provided by an energy consumption end;
the query transmission module 32 is configured to transmit query information of the energy consumption end to a blockchain system, where the blockchain system matches the energy end and work information corresponding to the energy end based on the query information;
the private key receiving module 33 is configured to receive the right to reach chain information of the energy consumption end responded by the block chain system, and send the private key to the energy consumption end to read the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
The apparatus in the embodiment shown in fig. 3 can be correspondingly used to perform the steps in the above method embodiments, and the implementation principle and technical effect are similar, which are not described herein again.
Example 3
A decentralized service system, see fig. 4, includes a blockchain system and a consumer end;
the block chain system acquires working information of each energy end, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
the block chain system stores the work information in a linked mode;
the block chain system receives query information of the energy consumption end, and matches the energy end and working information corresponding to the energy end based on the query information;
the block chain system responds to the rights and interests arrival chain information of the energy consumption end and sends the rights and interests arrival chain information to the energy consumption end to read a private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
Example 4
Referring to fig. 5, which is a schematic diagram of a hardware structure of a decentralized service device according to an embodiment of the present invention, the decentralized service device 40 includes: a processor 41, memory 42 and computer programs; wherein
A memory 42 for storing the computer program, which may also be a flash memory (flash). The computer program is, for example, an application program, a functional module, or the like that implements the above method.
A processor 41 for executing the computer program stored in the memory to implement the steps performed by the apparatus in the above method. Reference may be made in particular to the description relating to the preceding method embodiment.
Alternatively, the memory 42 may be separate or integrated with the processor 41.
When the memory 42 is a device independent of the processor 41, the apparatus may further include:
a bus 43 for connecting the memory 42 and the processor 41.
Example 5
The present invention also provides a readable storage medium, in which a computer program is stored, which, when being executed by a processor, is adapted to implement the methods provided by the various embodiments described above.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the apparatus, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for decentralized serving, comprising:
the method comprises the steps of obtaining working information of each energy end, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
performing link storage on the working information;
receiving query information of the energy consumption end, matching the energy end based on the query information, and corresponding to working information of the energy end;
responding the rights and interests arrival chain information of the energy consumption end, and sending the rights and interests arrival chain information to the energy consumption end to read a private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
2. The method of claim 1, wherein the occupancy module comprises a pressure sensor disposed below the energy end charging area, the pressure sensor configured to obtain pressure information of the energy end charging area.
3. The method of claim 1, wherein the working information is obtained by each energy end packing the working data of the energy end according to a consensus mechanism, and comprises:
acquiring a service period and a fault rate of the energy end, and acquiring a rights and interests certificate of the energy end based on the service period and the fault rate;
packing the working data according to the right certificate of the energy end to obtain the working information;
and the right value of the energy end with long service period is greater than that of the energy end with short service period, and the right value of the energy end with low fault rate is greater than that of the energy end with high fault rate.
4. The method according to claim 1, further comprising, after the obtaining the work information of each supplier:
providing rights to the energy end that packages the working data to form the working information.
5. The method of claim 1, further comprising:
receiving a work confirmation result of the energy consumption end to the energy end, and forwarding the work confirmation result to a down-link verification node;
comparing the work information with the work confirmation result to obtain a verification opinion;
and obtaining the verification opinions for link storage and publishing in the whole network.
6. A method for decentralized serving, comprising:
transmitting working information of each energy end to a block chain system for link storage, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
transmitting query information of the energy consumption end to a block chain system, wherein the block chain system matches the energy end and working information corresponding to the energy end based on the query information;
receiving right and interest arrival chain information of the block chain system responding to the energy consumption end, and sending the right and interest arrival chain information to the energy consumption end to read a private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
7. A decentralized serving device, comprising:
the information acquisition module is used for acquiring working information of each energy end, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
the storage module is used for performing link storage on the working information;
the query receiving module is used for receiving query information of the energy consumption end, matching the energy end based on the query information and corresponding working information of the energy end;
the private key sending module is used for responding to the rights and interests arrival chain information of the energy consumption end and sending the rights and interests arrival chain information to the energy consumption end to read the private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
8. A decentralized serving device, comprising:
the system comprises a state transmission module, a block chain system and a state detection module, wherein the state transmission module is used for transmitting working information of each energy end to the block chain system for link storage, the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
the query transmission module is used for transmitting query information of the energy consumption end to a block chain system, and the block chain system is matched with the energy end and working information corresponding to the energy end based on the query information;
the private key receiving module is used for receiving the right to reach chain information of the energy consumption end responded by the block chain system and sending the right to reach chain information to the energy consumption end to read the private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
9. A decentralized service system is characterized by comprising a block chain system and an energy consumption end;
the block chain system acquires working information of each energy end, wherein the energy ends are used for providing energy, the working information is used for indicating whether the energy ends are in fault and/or occupied, and the working information is read by a private key provided by an energy consumption end;
the block chain system stores the work information in a linked mode;
the block chain system receives query information of the energy consumption end, and matches the energy end and working information corresponding to the energy end based on the query information;
the block chain system responds to the rights and interests arrival chain information of the energy consumption end and sends the rights and interests arrival chain information to the energy consumption end to read a private key of the working information;
the working information is obtained by packaging the working data of the energy terminals by each energy terminal according to a consensus mechanism, the working data is obtained by a detection network arranged at the energy terminals, and the detection network comprises:
the fault module is used for intermittently communicating the output end of the energy end, generating a detection signal based on the energy of the energy end, and judging whether the energy end is in fault according to the detection signal;
and the occupation module is used for acquiring pressure information of the energy charging area of the energy end and judging whether the energy end is occupied or not based on the pressure information.
10. A decentralized serving device, comprising: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of any of claims 1 to 6.
CN202111154375.XA 2021-09-29 2021-09-29 Decentralized service method, device and system Pending CN113938499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111154375.XA CN113938499A (en) 2021-09-29 2021-09-29 Decentralized service method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111154375.XA CN113938499A (en) 2021-09-29 2021-09-29 Decentralized service method, device and system

Publications (1)

Publication Number Publication Date
CN113938499A true CN113938499A (en) 2022-01-14

Family

ID=79277339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111154375.XA Pending CN113938499A (en) 2021-09-29 2021-09-29 Decentralized service method, device and system

Country Status (1)

Country Link
CN (1) CN113938499A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109961292A (en) * 2019-03-22 2019-07-02 杭州复杂美科技有限公司 Block chain identifying code application method, equipment and storage medium
US20190342095A1 (en) * 2018-05-01 2019-11-07 Jordan Simons Distributed Consent Protecting Data Across Systems And Services
CN110598434A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 House information processing method and device based on block chain network, electronic equipment and storage medium
CN110990408A (en) * 2019-12-02 2020-04-10 中国银行股份有限公司 Block chain-based business information cooperation method, business system and alliance chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190342095A1 (en) * 2018-05-01 2019-11-07 Jordan Simons Distributed Consent Protecting Data Across Systems And Services
CN109961292A (en) * 2019-03-22 2019-07-02 杭州复杂美科技有限公司 Block chain identifying code application method, equipment and storage medium
CN110598434A (en) * 2019-09-12 2019-12-20 腾讯科技(深圳)有限公司 House information processing method and device based on block chain network, electronic equipment and storage medium
CN110990408A (en) * 2019-12-02 2020-04-10 中国银行股份有限公司 Block chain-based business information cooperation method, business system and alliance chain

Similar Documents

Publication Publication Date Title
CN111913818A (en) Method for determining dependency relationship between services and related device
CN108737570A (en) A kind of information-pushing method, apparatus and system
CN114567650B (en) Data processing method and Internet of things platform system
CN113872967B (en) Vehicle information transmission method and device, electronic equipment and storage medium
CN108564462A (en) Acquisition methods, terminal device and the medium of collage-credit data
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
CN109871408B (en) Multi-type database adaptation method, device, electronic equipment and storage medium
CN111338750A (en) Pressure adjusting method and device for execution node, server and storage medium
CN112241615B (en) Method and system for detecting data balance time sequence and electronic equipment
CN113938499A (en) Decentralized service method, device and system
CN115794423B (en) Intelligent machine room management method and device, electronic equipment and storage medium
CN112015813A (en) Data sharing method, system and device of power distribution network and computer equipment
CN109525550B (en) Data message processing method, device and system
CN113193959A (en) Authentication method, device and system for vehicle-mounted sensor
CN113901139A (en) Distributed service method, device and system
JP2017162046A (en) Sensor data processing apparatus, sensor data processing system, sensor data processing method, and sensor data processing program
CN105025042A (en) Method of determining data information, system and proxy servers
CN108509513B (en) Platform customer data reflow method, electronic device, equipment and storage medium
CN114513792A (en) Remote network control method and device based on eSIM card
CN113507394A (en) Network performance detection method and device, electronic equipment and storage medium
CN113612619B (en) Distributed multi-terminal supervision method and device
CN114501678B (en) Communication processing method and device
CN115118583B (en) Log query method and device, electronic equipment and computer readable storage equipment
CN109286659A (en) A kind of games method for pushing, device, terminal and computer storage medium
CN113573309B (en) Energy data processing method and device

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