CN109922079B - Service agent method and device based on block chain - Google Patents

Service agent method and device based on block chain Download PDF

Info

Publication number
CN109922079B
CN109922079B CN201910248817.3A CN201910248817A CN109922079B CN 109922079 B CN109922079 B CN 109922079B CN 201910248817 A CN201910248817 A CN 201910248817A CN 109922079 B CN109922079 B CN 109922079B
Authority
CN
China
Prior art keywords
service
block chain
account
identification code
proxy
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.)
Active
Application number
CN201910248817.3A
Other languages
Chinese (zh)
Other versions
CN109922079A (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.)
Beijing Jupiter Technology Co ltd
Original Assignee
Beijing Lemi 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 Beijing Lemi Technology Co ltd filed Critical Beijing Lemi Technology Co ltd
Priority to CN201910248817.3A priority Critical patent/CN109922079B/en
Publication of CN109922079A publication Critical patent/CN109922079A/en
Application granted granted Critical
Publication of CN109922079B publication Critical patent/CN109922079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a service agent method and a device based on a block chain, wherein the method comprises the following steps: acquiring a service processing request which is sent by terminal equipment and carries an account identification code and a service identifier, and detecting whether a service proxy authority with the account identification code exists or not according to a local proxy account; if the service agent authority with the account identification code is obtained, corresponding processing operation is executed in the block chain according to the service identification; and receiving the processing result fed back by the block chain, and carrying out service response on the terminal equipment according to the processing result. Therefore, the technical problem that the registration threshold is high because the established block chain account needs to be communicated with the established block chain account in advance before the corresponding service is executed in the block chain in the prior art and the established block chain account is introduced into the block chain is solved.

Description

Service agent method and device based on block chain
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a service agent method and apparatus based on a blockchain.
Background
In recent years, as the block chain has low trust cost, trust judgment based on a consensus mechanism among a plurality of block chain link points is widely applied. Among them, commercial distributed blockchains have been widely used due to their high application prospects (EOS) in the commercial field.
In the related technology, several original block chain account numbers with higher authority are preset based on an operation mechanism of an EOS block chain, other block chain account numbers are introduced into other block chain account numbers by taking the original block chain account number as a reference block chain account number, all block chain account numbers which have been successfully registered can be used as a registration basis of a new block chain account number, that is, the block chain account numbers cannot be independently applied for registration, and the block chain account numbers which already exist in the block chain must be used as introduction account numbers. Therefore, the new terminal device needs to communicate with the established block chain account in advance before executing the corresponding service in the block chain, and the established block chain account is introduced into the block chain, which results in a higher registration threshold and affects the popularization of the block chain.
Disclosure of Invention
The invention provides a service agent method and device based on a block chain, which aim to solve the technical problem that the registration threshold is higher because the established block chain account needs to be communicated with the established block chain account in advance before a corresponding service is executed in the block chain in the prior art and the established block chain account is introduced into the block chain.
An embodiment of one aspect of the present invention provides a service agent method based on a block chain, where the method is applied to an EOS block chain, and includes: acquiring a service processing request which is sent by terminal equipment and carries an account identification code and a service identifier; detecting whether a service proxy authority of the account identification code exists or not according to a local proxy account; if the service agent authority with the account identification code is known, executing corresponding processing operation in the block chain according to the service identification; and receiving the processing result fed back by the block chain, and carrying out service response on the terminal equipment according to the processing result.
The service proxy method based on the block chain of the embodiment of the invention obtains a service processing request which is sent by a terminal device and carries an account identification code and a service identifier, detects whether the service proxy authority of the account identification code exists or not according to a local proxy account, executes corresponding processing operation in the block chain according to the service identifier if the service proxy authority of the account identification code exists, and finally receives a processing result fed back by the block chain and carries out service response on the terminal device according to the processing result. Therefore, the corresponding service can be executed in the block chain without registration, the registration threshold is reduced, the flexibility of the block chain is improved, and the popularization of the block chain is facilitated.
In addition, the service agent method based on the block chain in the embodiment of the present invention further includes the following additional technical features:
optionally, before the detecting whether the service agent authority has the account identification code according to the local proxy account, the method further includes: acquiring an agent request carrying a terminal identifier and sent by the terminal equipment, and generating the account identification code uniquely corresponding to the terminal identifier; and locally storing the account identification code, and feeding back the account identification code to the terminal equipment.
Optionally, before the detecting whether the service agent authority has the account identification code according to the local proxy account, the method further includes: and acquiring an agent request sent by the terminal equipment, and sending the account identification code to the terminal equipment according to the agent request, wherein the account identification code corresponds to a terminal identifier of a service agent terminal.
Optionally, the detecting whether the service agent authority has the account identification code according to the local agent account includes: and judging whether the account identification code is consistent with the terminal identification of the local computer.
Optionally, if the service agent permission with the account identification code is known, executing corresponding processing operations in the block chain according to the service identifier includes: extracting service content and a target block chain node according to the service identifier; and performing corresponding information interaction with the target block chain node according to the service content.
Another embodiment of the present invention provides a service agent apparatus based on a block chain, where the apparatus is applied to an EOS block chain, and includes: the first acquisition module is used for acquiring a service processing request which is sent by the terminal equipment and carries an account identification code and a service identifier; the detection module is used for detecting whether the service agent authority of the account identification code exists or not according to a local agent account; the service execution module is used for executing corresponding processing operation in the block chain according to the service identification if the service agent authority with the account identification code is acquired; and the service feedback module is used for receiving the processing result fed back by the block chain and carrying out service response on the terminal equipment according to the processing result.
The service agent device based on the block chain in the embodiment of the invention obtains a service processing request which is sent by a terminal device and carries an account identification code and a service identifier, detects whether the service agent device has the service agent authority of the account identification code according to a local agent account, executes corresponding processing operation in the block chain according to the service identifier if the service agent authority of the account identification code is obtained, and finally receives a processing result fed back by the block chain and carries out service response on the terminal device according to the processing result. Therefore, the corresponding service can be executed in the block chain without registration, the registration threshold is reduced, the flexibility of the block chain is improved, and the popularization of the block chain is facilitated.
In addition, the service agent device based on the block chain in the embodiment of the present invention further includes the following additional technical features:
optionally, the method further comprises: the second acquisition module is used for acquiring a proxy request carrying a terminal identifier and sent by the terminal equipment and generating the account identification code uniquely corresponding to the terminal identifier; and the first proxy module is used for locally storing the account identification code and feeding back the account identification code to the terminal equipment.
Optionally, the method further comprises: a third obtaining module, configured to obtain an agent request sent by the terminal device; and the second proxy module is used for sending the account identification code to the terminal equipment according to the proxy request, wherein the account identification code corresponds to the terminal identification of the service proxy terminal.
Another embodiment of the present invention provides an electronic device, including a processor and a memory; wherein the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the service brokering method based on the blockchain as described in the above embodiments.
A further embodiment of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the service brokering method based on blockchain as described in the above embodiment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a service agent method based on a block chain according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of a service proxy method based on a block chain according to an embodiment of the present invention;
fig. 3 is a schematic view of an application scenario of another service proxy method based on a block chain according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service agent device based on a block chain according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service broker apparatus based on a blockchain according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a service broker apparatus based on a blockchain according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The service agent method and apparatus based on the block chain according to the embodiment of the present invention will be described with reference to the accompanying drawings.
Based on the technical problems mentioned in the background art that the block chain account registration threshold is high and the block chain popularization is affected, the embodiment of the invention provides a proxy method capable of executing a service in a block chain without registration. The block chain account is symbolic information of the block chain node, and can uniquely identify the block chain node.
Specifically, fig. 1 is a schematic flowchart of a service brokering method based on a block chain according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step 101, acquiring a service processing request carrying an account identification code and a service identifier sent by a terminal device.
And 102, detecting whether the service agent authority has the account identification code according to the local agent account.
The account identification code can be understood as a proxy pass allocated to the service proxy terminal before, wherein the service proxy terminal is an account of a driving proxy function in a block chain account existing in a block chain and can be owned by a certain organization with higher authority, in addition, the service identification represents the service type and the service content to be executed, and the service proxy terminal can detect and effectively identify whether the service proxy terminal can proxy or not based on the service type, so that illegal or non-authority services can be filtered.
Specifically, when the terminal device has a service that needs to be executed in a block chain, a service processing request is sent to the proxy terminal, and after the service proxy terminal obtains the service processing request carrying an account identification code and a service identifier sent by the terminal device, whether the service proxy terminal has a service proxy authority of the account identification code or not is detected according to the proxy account, and whether the account identification code is a pass which is sent to the proxy terminal after the proxy terminal agrees to proxy before.
It should be noted that, in different application scenarios, the account id is different, which is exemplified as follows:
example one:
in this example, the service agent terminal obtains an agent request carrying a terminal identifier sent by a terminal device, and generates an account identification code uniquely corresponding to the terminal identifier, so that the account identification code uniquely corresponds to the terminal identifier, and account identification codes generated by different terminal devices are different, for example, as shown in fig. 2, account identification codes allocated by the service agent terminal to the terminal device 1 and the terminal device 2 are different, so that a service processing result can be fed back in a targeted manner during subsequent service processing, and the service agent terminal stores the account identification code locally and feeds back the account identification code to the terminal device, so that the subsequent terminal device can perform a service agent request based on the account identification code.
Example two:
in this example, after acquiring a proxy request sent by a terminal device, a service agent terminal sends an account identification code to the terminal device according to the proxy request, where the account identification code corresponds to a terminal identifier of the service agent terminal, for example, as shown in fig. 3, the terminal identifier of the service agent terminal is sent, and the same terminal identifier is fed back for terminal device 1 and terminal device 2, and thus, the account identification code sent by each service agent terminal is the same, and the account identification codes sent by different service agent terminals are different, so that after acquiring a service processing request, it can be determined whether the service agent authority is possessed by determining whether the account identification code is consistent with the terminal identifier of the terminal device.
And 103, if the service agent authority with the account identification code is acquired, executing corresponding processing operation in the block chain according to the service identification.
Specifically, if the service agent authority with the account id is known, corresponding processing operation is executed in the blockchain according to the service identifier, that is, the agent terminal device executes a corresponding service in the blockchain according to the blockchain account of the agent terminal device in the blockchain, as a possible example, service content and a target blockchain node are extracted according to the service identifier, corresponding information interaction is performed with the target blockchain node according to the service content, for example, the service content extracted according to the service identifier sent by the terminal device 1 is to send a file a to the blockchain node 2, and the file a is broadcast to the blockchain node 2 in the blockchain.
And 104, receiving the processing result fed back by the block chain, and performing service response on the terminal equipment according to the processing result.
Specifically, in order to improve the participation of the terminal device, the processing result fed back by the block chain is received, and a service response is performed on the terminal device according to the processing result, as a possible example, when the processing result is feedback information of a simple service interaction result, such as "file sending success", and the like, the feedback information is sent to the corresponding terminal device, as a possible example, when the processing result relates to an operation on the terminal device, the corresponding operation is performed on the terminal device, for example, when the processing result is that a corresponding bonus is allocated to the terminal device, the corresponding bonus is allocated to the terminal device, and of course, a part of agent fee and the like may be deducted.
Certainly, in practical applications, considering that many terminal devices may rely on a large number of proxy service terminals to perform illegal tasks due to the reduction of the registration threshold, for example, a plurality of proxy service terminals are used to flush traffic, and in order to avoid such a behavior, in an embodiment of the present invention, a service proxy terminal broadcasts a terminal identifier of a terminal device that is proxied to the service proxy terminal to a block chain, and when a service proxy terminal recorded in a block in the block chain and directed to the same terminal identifier exceeds a preset threshold, for example, exceeds 1 or 10, a relevant monitoring node in the block chain may prohibit proxy information from a block chain account transmitter corresponding to the service proxy terminal, so that the service proxy terminal denies service proxy to the corresponding terminal device.
To sum up, the service proxy method based on the block chain according to the embodiment of the present invention obtains a service processing request carrying an account identification code and a service identifier sent by a terminal device, and detects whether the service proxy request has a service proxy authority of the account identification code according to a local proxy account, if the service proxy authority having the account identification code is obtained, corresponding processing operation is executed in the block chain according to the service identifier, and finally, a processing result fed back by the block chain is received, and a service response is performed on the terminal device according to the processing result. Therefore, the corresponding service can be executed in the block chain without registration, the registration threshold is reduced, the flexibility of the block chain is improved, and the popularization of the block chain is facilitated.
In order to implement the foregoing embodiment, an embodiment of the present invention further provides a service agent apparatus based on a block chain. Fig. 4 is a schematic structural diagram of a service broker apparatus based on a blockchain according to an embodiment of the present invention, and as shown in fig. 4, the service broker apparatus based on a blockchain includes: a first acquisition module 100, a detection module 200, a service execution module 300 and a service feedback module 400, wherein,
the first obtaining module 100 is configured to obtain a service processing request which is sent by a terminal device and carries an account identification code and a service identifier.
The detecting module 200 is configured to detect whether the service agent authority has an account identification code according to a local proxy account.
And the service execution module 300 is configured to, if the service agent authority having the account identification code is obtained, execute corresponding processing operation in the block chain according to the service identifier.
And a service feedback module 400, configured to receive the processing result fed back by the block chain, and perform a service response on the terminal device according to the processing result.
In one embodiment of the present invention, as shown in fig. 5, on the basis of that shown in fig. 4, the apparatus comprises: a second acquisition module 500 and a first proxy module 600, wherein,
the second obtaining module 500 is configured to obtain an agent request with a terminal identifier sent by a terminal device, and generate an account identification code uniquely corresponding to the terminal identifier.
The first agent module 600 is configured to locally store the account identification code, and feed back the account identification code to the terminal device.
In one embodiment of the present invention, as shown in fig. 6, on the basis of that shown in fig. 4, the apparatus comprises: a third acquisition module 700 and a second proxy module 800, wherein,
a third obtaining module 700, configured to obtain an agent request sent by a terminal device.
The second proxy module 800 is configured to send an account identification code to the terminal device according to the proxy request, where the account identification code corresponds to the terminal identifier of the service proxy terminal.
It should be noted that the foregoing explanation of the embodiment of the service proxy method based on a block chain is also applicable to the service proxy apparatus based on a block chain in this embodiment, and therefore is not described herein again.
To sum up, the service agent apparatus based on the block chain according to the embodiment of the present invention obtains a service processing request carrying an account identification code and a service identifier sent by a terminal device, and detects whether the service agent apparatus has a service agent authority of the account identification code according to a local proxy account, if the service agent authority having the account identification code is obtained, corresponding processing operation is executed in the block chain according to the service identifier, and finally, a processing result fed back by the block chain is received, and a service response is performed on the terminal device according to the processing result. Therefore, the corresponding service can be executed in the block chain without registration, the registration threshold is reduced, the flexibility of the block chain is improved, and the popularization of the block chain is facilitated.
In order to implement the foregoing embodiments, an electronic device is further provided in an embodiment of the present application, including a processor and a memory;
wherein, the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the service brokering method based on the block chain as described in the above embodiments.
FIG. 7 illustrates a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present application. The electronic device 12 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in FIG. 7, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. These architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus, to name a few.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, and commonly referred to as a "hard drive"). Although not shown in FIG. 7, a disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), a Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally perform the functions and/or methodologies of the embodiments described herein.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the Internet) via the Network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing, for example, implementing the methods mentioned in the foregoing embodiments, by executing programs stored in the system memory 28.
In order to implement the foregoing embodiments, the present application further proposes a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the non-transitory computer-readable storage medium implements the service brokering method based on the blockchain as described in the foregoing embodiments.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (6)

1. A service agent method based on block chain is characterized in that the method is applied to EOS block chain, and comprises the following steps:
acquiring a service processing request which is sent by terminal equipment and carries an account identification code and a service identifier;
detecting whether a service proxy authority of the account identification code exists or not according to a local proxy account, wherein the original block chain account is used as the proxy account, and the block chain account is symbolic information of a block chain node and can uniquely identify the block chain node;
if the service agent authority with the account identification code is known, executing corresponding processing operation in the block chain according to the service identification;
receiving a processing result fed back by the block chain, and carrying out service response on the terminal equipment according to the processing result;
before the detecting whether the service agent authority with the account identification code is provided according to the local agent account, the method further includes:
acquiring an agent request carrying a terminal identifier and sent by the terminal equipment, and generating the account identification code uniquely corresponding to the terminal identifier;
locally storing the account identification code, and feeding back the account identification code to the terminal equipment;
or acquiring a proxy request sent by the terminal equipment, and sending the account identification code to the terminal equipment according to the proxy request, wherein the account identification code corresponds to a terminal identifier of a service proxy terminal.
2. The method of claim 1, wherein the detecting whether the service proxy authority with the account identification code exists according to the local proxy account comprises:
and judging whether the account identification code is consistent with the terminal identification of the local computer.
3. The method of claim 1, wherein if the service proxy permission with the account id is known, executing corresponding processing operation in the block chain according to the service identifier includes:
extracting service content and a target block chain node according to the service identifier;
and performing corresponding information interaction with the target block chain node according to the service content.
4. A blockchain-based service broker apparatus, wherein the apparatus is applied to an EOS blockchain, and comprises:
the first acquisition module is used for acquiring a service processing request which is sent by the terminal equipment and carries an account identification code and a service identifier;
the detection module is used for detecting whether the service proxy authority of the account identification code exists or not according to a local proxy account, wherein the original block chain account is used as the proxy account, and the block chain account is symbolic information of a block chain node and can uniquely identify the block chain node;
the service execution module is used for executing corresponding processing operation in the block chain according to the service identification if the service agent authority with the account identification code is acquired;
the service feedback module is used for receiving the processing result fed back by the block chain and carrying out service response on the terminal equipment according to the processing result;
the second acquisition module is used for acquiring a proxy request carrying a terminal identifier and sent by the terminal equipment and generating the account identification code uniquely corresponding to the terminal identifier;
the first proxy module is used for locally storing the account identification code and feeding back the account identification code to the terminal equipment;
or, a third obtaining module, configured to obtain an agent request sent by the terminal device;
and the second proxy module is used for sending the account identification code to the terminal equipment according to the proxy request, wherein the account identification code corresponds to the terminal identification of the service proxy terminal.
5. An electronic device comprising a processor and a memory;
wherein the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for implementing the blockchain-based service brokering method according to any one of claims 1 to 3.
6. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the blockchain based service brokering method according to any one of claims 1-3.
CN201910248817.3A 2019-03-29 2019-03-29 Service agent method and device based on block chain Active CN109922079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910248817.3A CN109922079B (en) 2019-03-29 2019-03-29 Service agent method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910248817.3A CN109922079B (en) 2019-03-29 2019-03-29 Service agent method and device based on block chain

Publications (2)

Publication Number Publication Date
CN109922079A CN109922079A (en) 2019-06-21
CN109922079B true CN109922079B (en) 2022-05-03

Family

ID=66967685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910248817.3A Active CN109922079B (en) 2019-03-29 2019-03-29 Service agent method and device based on block chain

Country Status (1)

Country Link
CN (1) CN109922079B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489234A (en) * 2019-08-16 2019-11-22 中国银行股份有限公司 Message processing method, device, equipment and the readable storage medium storing program for executing of block link layer
CN111314295A (en) * 2020-01-15 2020-06-19 厦门顺势共识信息科技有限公司 Block chain account system implementation method with strong social attribute
CN112395110A (en) * 2020-11-20 2021-02-23 湖南智慧政务区块链科技有限公司 Block chain acceleration response method, device, equipment and storage medium
CN113032823B (en) * 2021-02-26 2023-08-01 加和(北京)信息科技有限公司 Method and device for generating device ID

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451275A (en) * 2017-08-04 2017-12-08 北京明朝万达科技股份有限公司 Business data processing method, device, system and storage device based on block chain
CN108259594A (en) * 2018-01-11 2018-07-06 杭州秘猿科技有限公司 A kind of data interaction system and Relay Server based on block chain
CN108364181A (en) * 2018-01-08 2018-08-03 广州中国科学院计算机网络信息中心 Source tracing method and system based on block chain and Internet of Things mark
CN109040227A (en) * 2018-07-27 2018-12-18 江西贪玩信息技术有限公司 Service request response method, device and computer equipment based on block chain
CN109284197A (en) * 2018-10-25 2019-01-29 中思博安科技(北京)有限公司 Distributed Application platform and implementation method based on intelligent contract
CN109344647A (en) * 2018-09-12 2019-02-15 上海点融信息科技有限责任公司 For the access credentials generation method of block chain network, data access method, storage medium, calculate equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107451275A (en) * 2017-08-04 2017-12-08 北京明朝万达科技股份有限公司 Business data processing method, device, system and storage device based on block chain
CN108364181A (en) * 2018-01-08 2018-08-03 广州中国科学院计算机网络信息中心 Source tracing method and system based on block chain and Internet of Things mark
CN108259594A (en) * 2018-01-11 2018-07-06 杭州秘猿科技有限公司 A kind of data interaction system and Relay Server based on block chain
CN109040227A (en) * 2018-07-27 2018-12-18 江西贪玩信息技术有限公司 Service request response method, device and computer equipment based on block chain
CN109344647A (en) * 2018-09-12 2019-02-15 上海点融信息科技有限责任公司 For the access credentials generation method of block chain network, data access method, storage medium, calculate equipment
CN109284197A (en) * 2018-10-25 2019-01-29 中思博安科技(北京)有限公司 Distributed Application platform and implementation method based on intelligent contract

Also Published As

Publication number Publication date
CN109922079A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN109922079B (en) Service agent method and device based on block chain
CN110191018B (en) Abnormity monitoring method and device for vehicle CAN bus and computer equipment
CN109213611B (en) Cross-process communication method, device, terminal and storage medium
CN110336742B (en) Information sending method and device, computer equipment and storage medium
CN100390765C (en) Computer system and method for supporting network-enabled devices
CN110300133B (en) Cross-domain data transmission method, device, equipment and storage medium
CN109101228B (en) Application program execution method and device
EP2709016B1 (en) Exception handling test device and method thereof
CN112953753B (en) Data acquisition method and device, terminal equipment and storage medium
CN105138366A (en) Recognition software silent installation method and device
CN109376072B (en) Application program development method and device based on third-party component library
US8875278B2 (en) Dynamic allocation of network security credentials for alert notification recipients
CN109743386B (en) Session request sending method and device, electronic equipment and storage medium
CN109729062B (en) Online method of encryption server and proxy server
CN116016653A (en) Information pushing method and device of blockchain, electronic equipment and storage medium
CN113923190B (en) Equipment identification jump identification method and device, server and storage medium
CN107688951B (en) Information pushing method and device
CN111092765B (en) Intelligent driving method, system, electronic device and readable storage medium
CN111131370B (en) Method, device and system for detecting whether service call is correct
CN106550027B (en) Device connection method and device connection system
CN110113187B (en) Configuration updating method and device, configuration server and configuration system
CN106970850B (en) Hijacking detection method and device for pit position of application program
CN106355093B (en) Application uninstalling device and method
CN113793156A (en) Method, device, equipment and storage medium for prompting fraud application program
CN113792014B (en) Nuclear power station file management method and device, terminal equipment and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20201116

Address after: Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing 100025

Applicant after: Beijing LEMI Technology Co.,Ltd.

Address before: 100085 Beijing City, Haidian District Road 33, two floor East Xiaoying

Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230817

Address after: 3870A, 3rd Floor, Building 4, Courtyard 49, Badachu Road, Shijingshan District, Beijing, 100144

Patentee after: Beijing Jupiter Technology Co.,Ltd.

Address before: Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing 100025

Patentee before: Beijing LEMI Technology Co.,Ltd.

TR01 Transfer of patent right