CN110889760A - Service processing method, device and system - Google Patents

Service processing method, device and system Download PDF

Info

Publication number
CN110889760A
CN110889760A CN201811057439.2A CN201811057439A CN110889760A CN 110889760 A CN110889760 A CN 110889760A CN 201811057439 A CN201811057439 A CN 201811057439A CN 110889760 A CN110889760 A CN 110889760A
Authority
CN
China
Prior art keywords
service
intelligent contract
transaction information
value
code
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
CN201811057439.2A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811057439.2A priority Critical patent/CN110889760A/en
Publication of CN110889760A publication Critical patent/CN110889760A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Educational Administration (AREA)
  • Technology Law (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application provides a service processing method, a service processing device and a service processing system, wherein the service processing system comprises: the system comprises a service provider, a service requester, an ore machine node and a block chain node; the service provider is used for compiling codes of the intelligent contracts for the provided services and setting the value of the services; the service requester is used for requesting a service by executing the code of the intelligent contract and paying corresponding cost according to the value of the service when the service needs to be paid; and the mining machine node is used for generating corresponding transaction information according to the executed intelligent contract and writing the transaction information into the block chain node. By endowing value to the service, the ecological environment of the open system can be activated, the block chain and the set value for the service are introduced into the platform open basic capability construction, the enthusiasm and the viscosity of user participation can be stimulated, and the high availability and the stability of the system service are improved.

Description

Service processing method, device and system
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a service processing system, a service processing method, and a service processing apparatus.
Background
A large open ecological construction needs to depend on active participation and contribution of all participants, and finally a closed-loop ecological system is formed. However, in the cold start phase of an open system, the participation degree of participants is not high due to insufficient interest relevance, and the high availability and stability of the system are more and more important with the gradual prosperity of ecology.
In the prior art, the construction of traditional platforms generally attracts participants through the output of benefits of the platform itself, for example, by publicizing or subsidizing, etc. But the scheme of subsidy and the like has high risk, low user stickiness, non-durability and low return rate.
Disclosure of Invention
In view of the above problems, embodiments of the present application are proposed to provide a service processing system, a service processing method, and a service processing apparatus that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a service processing system, where the service processing system includes: the system comprises a service provider, a service requester, an ore machine node and a block chain node;
the service provider is used for compiling codes of the intelligent contracts for the provided services and setting the value of the services;
the service requester is used for requesting a service by executing the code of the intelligent contract and paying corresponding cost according to the value of the service when the service needs to be paid;
and the mining machine node is used for generating corresponding transaction information according to the executed intelligent contract and writing the transaction information into the block chain node.
Preferably, the ore mining node is further configured to excavate the ore by providing an execution environment for the intelligent contract.
Preferably, the service processing system further comprises a cloud computing platform, the ore node comprising a server of the cloud computing platform.
Preferably, the service provider is further configured to query the blockchain node for transaction information.
Preferably, the service requester is further configured to execute a code of an intelligent contract corresponding to the service by calling an interface of the service to be requested, so as to request the corresponding service, and pay a corresponding fee according to a value of the service when the service needs to be paid.
The embodiment of the application also discloses a service processing method, which comprises the following steps:
a service provider compiles a code of an intelligent contract for the provided service and sets the value of the service;
code of the intelligent contract is deployed in a service request system.
Preferably, the method further comprises:
and inquiring transaction information from the block chain nodes, wherein the transaction information is information generated by the mining machine nodes and written into the block chain nodes after the intelligent contract is executed.
The embodiment of the application also discloses a service processing method, which comprises the following steps:
the service requester requests the service by executing the code of the intelligent contract in the service request system;
and when the service needs to be paid, paying corresponding fee according to the value of the service.
Preferably, the service requester requests the service by executing the code of the intelligent contract in the service request system, including:
and executing the code of the intelligent contract corresponding to the service by calling an interface of the service to be requested so as to request the corresponding service, and paying corresponding cost according to the value of the service.
The embodiment of the application also discloses a service processing method, which comprises the following steps:
the mining machine node generates transaction information corresponding to the requested service according to the executed intelligent contract;
and writing the transaction information into a block chain node.
Preferably, the method further comprises:
mining by providing an execution environment for the intelligent contract.
The embodiment of the application further discloses that the mining machine node comprises a server of a preset cloud computing platform.
The embodiment of the application also discloses a service processing device, which comprises:
the intelligent contract compiling module is used for compiling codes of intelligent contracts for the provided services and setting the value of the services;
and the intelligent contract deployment module is used for deploying the code of the intelligent contract in the service request system.
The embodiment of the application also discloses a service processing device, which comprises:
a service request module for requesting a service by executing a code of the intelligent contract in the service request system;
and the fee payment module is used for paying corresponding fees according to the value of the service when the service needs to be paid.
The embodiment of the application also discloses a service processing device, which comprises:
the transaction information generation module is used for generating transaction information corresponding to the requested service according to the executed intelligent contract;
and the transaction information storage module is used for writing the transaction information into the block chain node.
The embodiment of the application has the following advantages:
in the embodiment of the application, a service provider can provide services through an intelligent contract and set the value of the services, a service requester can enjoy the services through executing codes of the intelligent contract and pay corresponding fees when the requested services need to be paid, and an ore machine node generates corresponding transaction information according to the executed intelligent contract and writes the transaction information into a blockchain node for storage. The method and the device have the advantages that value is given to the service, the ecological environment of the open system can be activated, the block chain and the value set for the service are introduced into the platform open basic capacity construction, the enthusiasm and the stickiness of user participation can be stimulated, and the high availability and the stability of the system service are improved.
Drawings
FIG. 1 is a block diagram of a service processing system embodiment of the present application;
FIG. 2 is a schematic diagram of a service processing system architecture of the present application;
FIG. 3 is a flow chart of steps of an embodiment of a service processing method of the present application;
FIG. 4 is a flow chart of steps of another embodiment of a service processing method of the present application;
FIG. 5 is a flow chart of steps of yet another embodiment of a service processing method of the present application;
FIG. 6 is a block diagram of a service processing device according to an embodiment of the present application;
FIG. 7 is a block diagram of another embodiment of a service processing device according to the present application;
FIG. 8 is a block diagram of a service processing device according to yet another embodiment of the present application;
fig. 9 is a schematic structural diagram of an open system embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to FIG. 1, a block diagram of a service processing system embodiment of the present application is shown. In the embodiment of the present application, the service processing system may be an open ecosystem (i.e., an open platform) that provides platform ecological infrastructure based on an Ethereal (ETH) blockchain technology.
In the embodiment of the present application, the service processing system may include, but is not limited to: a service provider 10, a service requester 20, an ore node 30, and a blockchain node 40, wherein,
the service provider 10 is configured to compile a code of an intelligent contract for a provided service, and set a value of the service;
the service requester 20 is configured to request a service by executing a code of the smart contract, and pay a corresponding fee according to a value of the service when the service needs to be paid;
the mining machine node 30 is configured to generate corresponding transaction information according to the executed intelligent contract, and write the transaction information into the block chain node 40.
In a preferred embodiment of the present embodiment, the mining machine node is further configured to excavate a mine by providing an execution environment for the intelligent contract.
Specifically, the intelligent contract is a contract for recording terms by using a computer language instead of a legal language, and the intelligent contract can be automatically executed by a computing system, so that manual intervention in the protocol execution process can be effectively reduced.
In the ether house, the intelligent contract is a system participant, which can respond to the received information, can receive and store the value, and can send the information and the value to the outside.
The etherhouse implements a runtime environment on the blockchain, called the etherhouse virtual machine. Each node participating in the ethernet lane network will run an ethernet lane virtual machine as part of the block verification protocol. These nodes will validate each transaction that is covered in the block and run the transaction triggered code (code inside the smart contracts) in the ethernet virtual machine. All nodes on each network would perform the same calculations and store the same values. In executing these codes and calculations, each command, such as using a service, hash, etc., will have a specific consumption, and the ether house will be counted on fuel, e.g., the service requester 20 will need to consume fuel to request the service at the ether house.
In one embodiment, the value of the service may be represented by GAS and the fee paid may be paid by burning the corresponding fuel (GAS).
In practice, the fuel Gas may be purchased by a token in a market, or may be issued free (i.e. the Gas price is 0), which is determined by the rules of the smart contract and is not limited by the embodiment of the present application.
As shown in the structural diagram of the service processing system in fig. 2, the service provider 10 may include a server providing services, i.e., a producer of open services, which may be a merchant with development capability, or a service provider of a merchant (referring to a merchant without development capability, i.e., a gold owner), such as isv (independent Software vendors).
The service provider 10 may write and deploy code of an intelligent contract in the service processing system to host the services in the service processing system, and may also set a corresponding value, i.e., a service value, for each service in the intelligent contract.
Services need to be scanned and supervised by the service handling system.
The service requester 20 may include a server that requests a service and uses the service, and as a consumer that consumes the open service, the service requester 20 may execute a code of an intelligent contract corresponding to the service to be requested by calling an interface of the service to be requested to use the corresponding service from the service processing system and pay a corresponding fee according to a value of the service used.
The service requester may pay the fee to the ore node 30 that actually uses memory, hard disk, computing and power to execute the intelligent contract. Specifically, as shown in fig. 2, there may be multiple ore nodes 30, and the multiple ore nodes 30 may make up a mine pit. In computing power, the ore nodes 30 excavate the ore by providing an execution environment for the intelligent contracts. For the ore node 30, the ore consensus mechanism is not a POW (Proof of Work) mode, but a POS (Proof of service) mode, which can generate transaction information once the ore gets the task of executing the service request. The consensus mechanism does not need to waste computing power to calculate nonces (numerical values), is environment-friendly and efficient, and can stimulate participation power of the mining machine nodes.
In a preferred embodiment of the present application, the service processing system may further include a cloud computing platform as a computing capability supporter to provide cloud service support. The above-described ore machine node 30 may comprise a server of a cloud computing platform, i.e., a mineworker may excavate an ore by renting the server of the cloud computing platform.
In the embodiment of the present application, as shown in fig. 2, after the intelligent contract is executed, each mining machine node 30 in the mining machine pool may send the generated transaction information to the sorting node, and the sorting node generates a block according to the transaction information and submits the block to the block chain.
It should be noted that the blockchain in the embodiment of the present application may include, but is not limited to, a private chain, a federation chain, a common chain, and so on.
In a specific implementation, the transaction information may be information generated after the service requester executes the code of the smart contract, which may be used as an operation and maintenance log.
In the embodiment of the present application, as shown in fig. 2, the service provider is also used to query transaction information from the block link points. Specifically, when a service provider wants to obtain transaction information of a certain service, the service provider can directly search the transaction information from the block link points.
In order to enable those skilled in the art to better understand the embodiment of the present application, a specific application scenario is listed below in conjunction with fig. 2 to exemplify the embodiment of the present application:
first, each role in the service processing system is explained, which includes the following roles:
consumers consuming open services, producers of open services (ISVs, etc., which are service providers for merchants), open platforms (which provide platform ecological infrastructure), merchants (gold owners, for which ISVs develop business facilities and are provided for consumers), and computing power supporters (cloud platforms that provide cloud computing support).
The interaction of the characters is as follows:
1. merchants have operational requirements that require the development of commercially valuable services to consumers (e.g., for coupons), and the merchants themselves have no development capability, so these commercial services are provided by outsourcing to ISVs;
2. the ISV develops the business service by means of smart contracts and defines the Gas price at which contracts are executed, which of course may be 0, i.e. free;
the ISV provider earns a commission through the outsourced merchant's commercial service development needs, or may not collect the merchant's service fee. The fee can be paid offline or online with ethernet currency;
theoretically, the more popular the service offered by an ISV, the more Ethernet coins it can earn, i.e., the more gas value burned.
3. After ISVs develop services, the services are deployed on an open platform and are exposed to consumers for use;
4. the computing platform (i.e., cloud platform) provides computing services and mines by providing computing power for the ISVs, acquiring ethernet coins. For example, a miner at a computer creating a new block and eventually providing computing services to a merchant may receive a reward of 5 ethernet coins. The fuel cost of the execution of the intelligent contracts within the block is settled to the ISV.
The consensus of miners in mining also enables sufficient computing capacity on the platform, and the miners are in distributed mining, so that high availability is guaranteed.
5. The user (consumer) enjoys services (such as receiving coupons) by executing smart contracts while generating transaction records on the tiles. This transaction incurs a fee depending on the gas value of the smart contract and may be free.
In the embodiment of the application, a service provider can provide services through an intelligent contract and set the value of the services, a service requester can enjoy the services through executing codes of the intelligent contract and pay corresponding fees when the requested services need to be paid, and an ore machine node generates corresponding transaction information according to the executed intelligent contract and writes the transaction information into a blockchain node for storage. The method and the device have the advantages that value is given to the service, the ecological environment of the open system can be activated, the block chain and the value set for the service are introduced into the platform open basic capacity construction, the enthusiasm and the stickiness of user participation can be stimulated, and the high availability and the stability of the system service are improved.
Based on the service processing system, referring to fig. 3, a flowchart illustrating steps of an embodiment of a service processing method according to the present application is shown, where the method may specifically include the following steps:
step 301, a service provider compiles a code of an intelligent contract for a provided service and sets the value of the service;
step 302, deploying the code of the intelligent contract in a service request system.
In a preferred embodiment of the embodiments of the present application, the method may further include the steps of:
and inquiring transaction information from the block chain nodes, wherein the transaction information is information generated by the mining machine nodes and written into the block chain nodes after the intelligent contract is executed.
As for the method embodiment of fig. 3, since it is basically similar to the system embodiment described above, the description is simple, and the relevant points can be referred to the partial description of the system embodiment.
Referring to fig. 4, a flowchart illustrating steps of another embodiment of a service processing method according to the present application is shown, where the method specifically includes the following steps:
step 401, a service requester requests a service by executing a code of an intelligent contract in a service request system;
and 402, when the service needs to be paid, paying corresponding fee according to the value of the service.
In a preferred embodiment of the present application, step 401 may further include the following sub-steps:
and executing the code of the intelligent contract corresponding to the service by calling an interface of the service to be requested so as to request the corresponding service, and paying corresponding cost according to the value of the service.
As for the method embodiment of fig. 4, since it is basically similar to the system embodiment described above, the description is simple, and the relevant points can be referred to the partial description of the system embodiment.
Referring to fig. 5, a flowchart illustrating steps of another embodiment of a service processing method according to the present application is shown, where the method specifically includes the following steps:
step 501, the mining machine node generates transaction information corresponding to the requested service according to the executed intelligent contract;
step 502, writing the transaction information into a blockchain node.
In a preferred embodiment of the embodiments of the present application, the method may further include the steps of:
mining by providing an execution environment for the intelligent contract.
In a preferred embodiment of the present application, the ore node includes a server of a preset cloud computing platform.
As for the method embodiment of fig. 5, since it is basically similar to the system embodiment described above, the description is simple, and the relevant points can be referred to the partial description of the system embodiment.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 6, a block diagram of a service processing apparatus according to an embodiment of the present application is shown, where the apparatus may specifically include the following modules:
the intelligent contract compiling module 601 is used for compiling codes of intelligent contracts for the provided services and setting the value of the services;
an intelligent contract deployment module 602, configured to deploy the code of the intelligent contract in a service request system.
In a preferred embodiment of the present application, the apparatus may further include the following modules:
and the query module is used for querying transaction information from the block chain nodes, wherein the transaction information is information which is generated by the mining machine nodes and written into the block chain nodes after the intelligent contract is executed.
Referring to fig. 7, a block diagram of another embodiment of the service processing apparatus according to the present application is shown, where the apparatus may specifically include the following modules:
a service request module 701 for requesting a service by executing a code of the intelligent contract in the service request system;
a fee payment module 702, configured to pay a corresponding fee according to the value of the service when the service needs to be paid.
In a preferred embodiment of the present application, the service request module 701 is further configured to:
and executing the code of the intelligent contract corresponding to the service by calling an interface of the service to be requested so as to request the corresponding service, and paying corresponding cost according to the value of the service.
Referring to fig. 8, a block diagram of a service processing apparatus according to another embodiment of the present application is shown, where the apparatus may specifically include the following modules:
a transaction information generation module 801 for generating transaction information corresponding to the requested service according to the executed smart contract;
and a transaction information storage module 802, configured to write the transaction information into a blockchain node.
In a preferred embodiment of the present application, the apparatus may further include the following modules:
and the ore digging module is used for digging the ore by providing an execution environment for the intelligent contract.
In a preferred embodiment of the present application, the ore node includes a server of a preset cloud computing platform.
Embodiments of the disclosure may be implemented as a system using any suitable hardware, firmware, software, or any combination thereof, in a desired configuration. Fig. 9 schematically illustrates an exemplary open system 900 that may be used to implement various embodiments described in this disclosure.
For one embodiment, fig. 9 illustrates an exemplary system 900 having one or more processors 902, a system control module (chipset) 904 coupled to at least one of the processor(s) 902, a system memory 906 coupled to the system control module 904, a non-volatile memory (NVM)/storage 908 coupled to the system control module 904, one or more input/output devices 910 coupled to the system control module 904, and a network interface 912 coupled to the system control module 906.
The processor 902 may include one or more single-core or multi-core processors, and the processor 902 may include any combination of general-purpose or special-purpose processors (e.g., graphics processors, application processors, baseband processors, etc.). In some embodiments, the system 900 can be used as a data platform as described in embodiments herein.
In some embodiments, system 900 may include one or more computer-readable media (e.g., system memory 906 or NVM/storage 908) having instructions and one or more processors 902 in combination with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described in this disclosure.
For one embodiment, the system control module 904 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 902 and/or any suitable device or component in communication with the system control module 904.
The system control module 904 may include a memory controller module to provide an interface to the system memory 906. The memory controller module may be a hardware module, a software module, and/or a firmware module.
System memory 906 may be used, for example, to load and store data and/or instructions for system 900. For one embodiment, the system memory 906 may comprise any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 906 may include a double data rate type four synchronous dynamic random access memory (DDR2 SDRAM).
For one embodiment, the system control module 904 may include one or more input/output controllers to provide an interface to the NVM/storage 908 and input/output device(s) 910.
For example, NVM/storage 908 may be used to store data and/or instructions. NVM/storage 908 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 908 may include storage resources that are physically part of the device on which system 900 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 908 may be accessible over a network via input/output device(s) 910.
Input/output device(s) 910 may provide an interface for system 900 to communicate with any other suitable device, and input/output device(s) 910 may include communication components, audio components, sensor components, and so forth. Network interface 912 may provide an interface for system 900 to communicate over one or more networks, and system 900 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols, such as to access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof.
For one embodiment, at least one of the processor(s) 902 may be packaged together with logic for one or more controller(s) (e.g., memory controller module) of the system control module 904. For one embodiment, at least one of the processor(s) 902 may be packaged together with logic for one or more controller(s) of the system control module 904 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 902 may be integrated on the same die with logic for one or more controller(s) of the system control module 904. For one embodiment, at least one of the processor(s) 902 may be integrated on the same die with logic of one or more controllers of the system control module 904 to form a system on a chip (SoC).
In various embodiments, system 900 may be, but is not limited to being: a browser, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 900 may have more or fewer components and/or different architectures. For example, in some embodiments, system 900 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
Wherein, if the display includes a touch panel, the display screen may be implemented as a touch screen display to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
The embodiment of the present application further provides a non-volatile readable storage medium, where one or more modules (programs) are stored in the storage medium, and when the one or more modules are applied to a terminal device, the one or more modules may cause the terminal device to execute instructions (instructions) of the steps of the method in the embodiment of the present application.
Provided in one example is a system comprising: one or more processors; and one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the instructions (instructions) for the steps of the above-described methods in the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
It will be appreciated by those skilled in the art that embodiments of the present application can be provided as a client, an apparatus, or a computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of client terminals, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, client, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, client, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, client, article, or terminal that comprises the element.
The service processing method, the service processing device and the service processing system provided by the application are introduced in detail, a specific example is applied in the description to explain the principle and the implementation of the application, and the description of the above embodiment is only used to help understand the client and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (15)

1. A service processing system, characterized in that the service processing system comprises: the system comprises a service provider, a service requester, an ore machine node and a block chain node;
the service provider is used for compiling codes of the intelligent contracts for the provided services and setting the value of the services;
the service requester is used for requesting a service by executing the code of the intelligent contract and paying corresponding cost according to the value of the service when the service needs to be paid;
and the mining machine node is used for generating corresponding transaction information according to the executed intelligent contract and writing the transaction information into the block chain node.
2. The service processing system of claim 1, wherein the ore node is further configured to mine by providing an execution environment for the smart contract.
3. The service processing system of claim 2, further comprising a cloud computing platform, the ore node comprising a server of the cloud computing platform.
4. The service processing system of claim 1,
the service provider is also used for inquiring transaction information from the blockchain node.
5. The service processing system according to any one of claims 1 to 4, wherein the service requester is further configured to execute the code of the intelligent contract corresponding to the service by calling an interface of the service to be requested to request the corresponding service, and pay a corresponding fee according to the value of the service when the service needs to be paid.
6. A method for service processing, the method comprising:
a service provider compiles a code of an intelligent contract for the provided service and sets the value of the service;
code of the intelligent contract is deployed in a service request system.
7. The method of claim 6, further comprising:
and inquiring transaction information from the block chain nodes, wherein the transaction information is information generated by the mining machine nodes and written into the block chain nodes after the intelligent contract is executed.
8. A method for service processing, the method comprising:
the service requester requests the service by executing the code of the intelligent contract in the service request system;
and when the service needs to be paid, paying corresponding fee according to the value of the service.
9. The method of claim 8, wherein the service requestor requests the service in the service request system by executing code of the intelligent contract, comprising:
and executing the code of the intelligent contract corresponding to the service by calling an interface of the service to be requested so as to request the corresponding service, and paying corresponding cost according to the value of the service.
10. A method for service processing, the method comprising:
the mining machine node generates transaction information corresponding to the requested service according to the executed intelligent contract;
and writing the transaction information into a block chain node.
11. The method of claim 10, further comprising:
mining by providing an execution environment for the intelligent contract.
12. A method as claimed in claim 10 or claim 11, wherein said ore nodes comprise servers of a pre-provisioned cloud computing platform.
13. A service processing apparatus, characterized in that the apparatus comprises:
the intelligent contract compiling module is used for compiling codes of intelligent contracts for the provided services and setting the value of the services;
and the intelligent contract deployment module is used for deploying the code of the intelligent contract in the service request system.
14. A service processing apparatus, characterized in that the apparatus comprises:
a service request module for requesting a service by executing a code of the intelligent contract in the service request system;
and the fee payment module is used for paying corresponding fees according to the value of the service when the service needs to be paid.
15. A service processing apparatus, characterized in that the apparatus comprises:
the transaction information generation module is used for generating transaction information corresponding to the requested service according to the executed intelligent contract;
and the transaction information storage module is used for writing the transaction information into the block chain node.
CN201811057439.2A 2018-09-11 2018-09-11 Service processing method, device and system Pending CN110889760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811057439.2A CN110889760A (en) 2018-09-11 2018-09-11 Service processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811057439.2A CN110889760A (en) 2018-09-11 2018-09-11 Service processing method, device and system

Publications (1)

Publication Number Publication Date
CN110889760A true CN110889760A (en) 2020-03-17

Family

ID=69745596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811057439.2A Pending CN110889760A (en) 2018-09-11 2018-09-11 Service processing method, device and system

Country Status (1)

Country Link
CN (1) CN110889760A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130144702A1 (en) * 2011-12-01 2013-06-06 Sparkfly Llc Integrated Payment and Reward Transactions
CN106897902A (en) * 2017-02-21 2017-06-27 中链科技有限公司 Service transacting method, system and trading server based on block chain technology
CN107993149A (en) * 2017-12-18 2018-05-04 深圳前海微众银行股份有限公司 Account information management method, system and readable storage medium storing program for executing
CN108062671A (en) * 2017-11-03 2018-05-22 深圳市轱辘车联数据技术有限公司 Data trade method, block chain node server and data submit terminal
CN108197913A (en) * 2017-12-18 2018-06-22 深圳前海微众银行股份有限公司 Method of payment, system and computer readable storage medium based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130144702A1 (en) * 2011-12-01 2013-06-06 Sparkfly Llc Integrated Payment and Reward Transactions
CN106897902A (en) * 2017-02-21 2017-06-27 中链科技有限公司 Service transacting method, system and trading server based on block chain technology
CN108062671A (en) * 2017-11-03 2018-05-22 深圳市轱辘车联数据技术有限公司 Data trade method, block chain node server and data submit terminal
CN107993149A (en) * 2017-12-18 2018-05-04 深圳前海微众银行股份有限公司 Account information management method, system and readable storage medium storing program for executing
CN108197913A (en) * 2017-12-18 2018-06-22 深圳前海微众银行股份有限公司 Method of payment, system and computer readable storage medium based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王博;张一锋;: "以区块链为基础打造智慧城市大数据基础平台" *
黄洁华;高灵超;许玉壮;白晓敏;胡凯;: "众筹区块链上的智能合约设计" *

Similar Documents

Publication Publication Date Title
CN109242453B (en) Transaction method and system based on centralized settlement and block chain deposit certificate
CN108196952B (en) Resource allocation method, device and equipment
Yadav et al. LARAVEL: a PHP framework for e-commerce website
US10135804B2 (en) Mobile application based account aggregation
US20210264391A1 (en) Method and device for distributing copyright earnings on basis of blockchain
CN111383019A (en) Transaction execution method and system based on alliance link network
TW202008235A (en) Transaction method and system based on centralized settlement and block chain storage
CN105814539A (en) Method and apparatus for code virtualization and remote process call generation
KR20130086138A (en) Cross-platform application framework
CN110766458A (en) Data processing method and device based on block chain
JP2018524713A (en) Payment threshold acquisition method and apparatus
CN109359118B (en) Data writing method and device
CN113222555B (en) Data processing method, device, equipment and system
TW202004597A (en) Virtual resource delivery and crowdfunding method and device based on block chain
JP6127241B2 (en) Application fulfillment to device
CN111709733B (en) Resource transfer method, device and equipment
CN111737583B (en) Data processing method and device and recommendation processing method and device
CN109345392B (en) Method and system for issuing programming question, issuing solution code and checking solution code
EP3508262A1 (en) Method and system for sharing user activity information
CN108153795B (en) Data processing method, system and device for electronic red packet
WO2022237574A1 (en) Benefit sharing processing method and apparatus
CN113344567A (en) Method, device, equipment and medium for accessing payment page of aggregation code
TW201732587A (en) Resource loading method, and service function implementing method and device for application (app)
US20140244393A1 (en) Fall-back to saved location where user location is unknown
CN104050412A (en) Font delivery service

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