WO2018214833A1 - 一种业务执行的方法及装置 - Google Patents

一种业务执行的方法及装置 Download PDF

Info

Publication number
WO2018214833A1
WO2018214833A1 PCT/CN2018/087595 CN2018087595W WO2018214833A1 WO 2018214833 A1 WO2018214833 A1 WO 2018214833A1 CN 2018087595 W CN2018087595 W CN 2018087595W WO 2018214833 A1 WO2018214833 A1 WO 2018214833A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
block
terminal
blockchain
qualification
Prior art date
Application number
PCT/CN2018/087595
Other languages
English (en)
French (fr)
Inventor
唐强
Original Assignee
阿里巴巴集团控股有限公司
唐强
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 阿里巴巴集团控股有限公司, 唐强 filed Critical 阿里巴巴集团控股有限公司
Priority to MYPI2019004926A priority Critical patent/MY195941A/en
Priority to SG11201907830PA priority patent/SG11201907830PA/en
Priority to JP2019546288A priority patent/JP6896087B2/ja
Priority to EP18805639.4A priority patent/EP3576036A4/en
Priority to KR1020197025112A priority patent/KR102288344B1/ko
Publication of WO2018214833A1 publication Critical patent/WO2018214833A1/zh
Priority to PH12019501964A priority patent/PH12019501964A1/en
Priority to US16/664,020 priority patent/US11188961B2/en

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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0605Supply or demand aggregation
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0609Buyer or seller confidence or verification
    • 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method and an apparatus for performing a service.
  • the business platform provides users with various forms of business models.
  • some emerging business models are gradually emerging. These emerging business models not only bring new users to users. The user experience also brings more convenience to the daily life of the user.
  • each user may send a request for obtaining the spike product qualification to the service platform that provides the commodity spike activity within the time period specified by the commodity spike activity, and the service platform will obtain the spike product qualification from the transmission.
  • a set number of users are selected among the requested users, and the qualifications for the spiked goods are issued to these.
  • the business platform usually determines the first few users who first sent the request to obtain the spike product qualification as the user who can obtain the spike product qualification.
  • the request for acquiring the eligibility of the spiked product sent by each user can be continuously received, and when the deadline for receiving the request for the spiked merchandise is reached, the eligibility for the spiked product is sent from this period of time.
  • a plurality of users are randomly selected among the requested users as the user who obtains the qualification of the spike product, and the determined user who has obtained the qualification of the spike product is announced.
  • the user who publishes the business license to the user for obtaining the qualification of the service often lacks credibility, and it is often difficult for the service platform to prove that the user determined to obtain the service is fair and effective. .
  • the service platform does not have the practice of malpractice in the process of determining the users who perform the business. Therefore, for users, the results published by the business platform are often difficult to convince. Therefore, how to provide an effective and fair mechanism between the service platform and the user to ensure that the results announced by the service platform can be convinced by the majority of users is an urgent problem to be solved.
  • the embodiment of the present application provides a method for performing a service to solve the problem of lack of credibility in the execution process of the prior art service.
  • the embodiment of the present application provides a method for performing a service, including:
  • the service platform receives the qualification acquisition request sent by the terminal for the service
  • an eligibility obtaining rule and a result generating rule to the terminal, so that the terminal generates a to-be-verified result corresponding to the result generating rule, and includes the to-be-verified result and the user identifier.
  • the pre-processing block performs consensus, and when the consensus is passed, the pre-processing block is written as a block into the blockchain;
  • the service is performed for a user identification included in the at least one block.
  • the embodiment of the present application provides a device for performing service, which is used to solve the problem of lack of credibility in the execution process of the prior art service.
  • An embodiment of the present application provides a service execution apparatus, including:
  • the receiving terminal obtains a qualification acquisition request for the service
  • the module returns an eligibility acquisition rule and a result generation rule to the terminal according to the eligibility acquisition request, so that the terminal generates a to-be-verified result corresponding to the result generation rule, and includes the to-be-verified result
  • the pre-processing block of the user identifier is used for consensus, and when the consensus is passed, the pre-processing block is written as a block into the blockchain;
  • An execution module performs the service for a user identifier included in the at least one block.
  • the embodiment of the present application provides a method for performing a service to solve the problem of lack of credibility in the execution process of the prior art service.
  • the embodiment of the present application provides a method for performing a service, including:
  • the terminal sends a qualification acquisition request for the service to the service platform;
  • the pre-processing block After determining that the pre-processing block passes the consensus of the other terminal, the pre-processing block is written as a block into the blockchain of the terminal itself;
  • the embodiment of the present application provides a device for performing service, which is used to solve the problem of lack of credibility in the execution process of the prior art service.
  • An embodiment of the present application provides a service execution apparatus, including:
  • the first receiving module receives an eligibility acquisition rule and a result generation rule returned by the service platform according to the qualification acquisition request;
  • a result generating module generating a rule according to the result, and generating a corresponding to-be-verified result
  • the pre-processing block generating module generates a pre-processing block including the to-be-verified result and the user identifier, and sends the pre-processing block to other terminals, so that the other terminal performs consensus on the pre-processing block;
  • the second receiving module when receiving the qualification confirmation information sent by the service platform, sends the blockchain saved by itself to the service platform, so that the service platform selects from the blockchain Complying with at least one block of the qualification acquisition rule and performing the service for the user identification included in the at least one block.
  • the service platform may return the qualification obtaining rule and the result generating rule to each terminal respectively.
  • the terminal may be based on the service.
  • the result returned by the platform generates a rule, generates a corresponding to-be-verified result, and then carries the to-be-verified result and the user identifier of the user using the terminal in the pre-processing block, and sends the result to the other terminal, and determines that the pre-processing block passes the other
  • the pre-processing block is written as a block into the blockchain for the service that is saved by itself.
  • the service platform determines the user who can obtain the qualification for executing the service
  • the blockchain for the service can be obtained from the at least one terminal, and the block that meets the qualification acquisition rule is determined according to the obtained blockchain, and then The service is performed for the user corresponding to the user identifier according to the user identifier included in the block.
  • Each terminal can write the to-be-verified result generated according to the result generation rule into the blockchain corresponding to the service, so that each terminal can view the blockchain generated by the other terminal by using the blockchain for the service saved by itself.
  • the service platform can deliver the eligibility acquisition rule for performing the service to each terminal, so that the terminal obtains the rule according to the obtained qualification and the blockchain for the service saved by the terminal.
  • the user ID determined by the platform to perform the service is verified.
  • the effective prevention of the business platform in the process of obtaining the user who executes the service is effective, thereby protecting the user's rights and interests from being infringed.
  • the business platform it provides an effective verification method for users, thereby improving their credibility.
  • FIG. 1 is a schematic diagram of a service execution process according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of obtaining an address of a terminal by a service platform according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a blockchain corresponding to a service provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a service center management address provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of an apparatus for performing service according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of another apparatus for performing service according to an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a service execution process according to an embodiment of the present disclosure, which specifically includes the following steps:
  • S101 The service platform receives a qualification acquisition request sent by the terminal for the service.
  • each user may send a qualification acquisition request for obtaining an execution service to the service platform through the terminal held by the user.
  • the user may send a request for obtaining an execution qualification of the execution service to the service platform through the terminal when viewing the information about the start of the service qualification acquisition activity of the service platform, or may be the terminal of the service platform to the user when the service qualification acquisition activity starts.
  • the terminal may send the qualification obtaining request to the service platform; or the service platform may send the service qualification to the user terminal within a set time before the business qualification obtaining activity starts Obtaining a prompt that the activity is about to start, so that the user's terminal sends a qualification acquisition request for obtaining the execution service to the service platform when monitoring the current time to reach the start time of the business qualification acquisition.
  • the time when the above-mentioned business qualification acquisition activity starts can be understood as the time when the service platform allows the user to send a request for obtaining the qualification for executing the service. For example, suppose an item spike activity (ie, business) starts at 8:00 am, and when it arrives at 8:00 am, the user can send a request for eligibility to obtain the qualification to kill the item to the service platform, where 8 o'clock in the morning is the time when the business qualification acquisition activity begins.
  • an item spike activity ie, business
  • 8 o'clock in the morning is the time when the business qualification acquisition activity begins.
  • the user may also send the foregoing qualification obtaining request to the service platform through the client installed in the terminal.
  • the terminal monitors that the user performs a specified operation on the client (such as monitoring that the user clicks the icon of the client or receives the voice information of the user to start the client, etc.)
  • the terminal may be activated to enable the client.
  • the terminal displays the operation interface to the user.
  • the corresponding qualification acquisition request may be edited in the operation interface, and the client detects that the user performs the specified input operation on the operation interface,
  • the corresponding qualification acquisition request may be generated, and when the user is performed to perform the specified operation for sending the qualification acquisition request to the service platform, the qualification acquisition request may be sent to the service platform by the terminal, and the service platform will also be corresponding Received the qualification acquisition request sent by the terminal.
  • S102 Return an eligibility acquisition rule and a result generation rule to the terminal according to the qualification acquisition request.
  • the service platform may determine the service for which the qualification acquisition request is directed, and then return the qualification acquisition rule and the result generation rule corresponding to the service to the terminal.
  • the service platform may further determine the service identifier included in the qualification obtaining request, and further determine, according to the determined service identifier, the service targeted by the qualification obtaining request.
  • different services may correspond to different qualification acquisition rules and result generation rules
  • the qualification acquisition rules stipulate how the user can obtain the qualification for executing the business.
  • the qualification acquisition rule corresponding to the service specifies which blocks in the blockchain are eligible for the blockchain for the service saved by subsequent terminals. Obtaining the block of the rule, in other words, among the users participating in the service qualification acquisition activity, which blocks generated by the user through the terminal are eligible for the acquisition rule.
  • the qualification acquisition rule can directly specify which blocks in the blockchain corresponding to the service are eligible for the acquisition rule.
  • the qualification acquisition rule may directly rule in the blockchain corresponding to the service, and the four blocks located at the 4th, 58th, 123rd, and 356th are the blocks that meet the qualification acquisition rule, in other words, pass The user who generates the four blocks by the terminal can obtain the qualification to execute the service.
  • the eligibility acquisition rules may also stipulate which of the blocks in the blockchain are eligible for the rule. For example, suppose that the qualification acquisition rule stipulates that the block with the order number of 16 in the blockchain is the block that meets the qualification acquisition rule, so for the blockchain containing 160 blocks, the qualification is obtained.
  • the blocks of the rule are: 10 blocks of 16, 16, 48, 64, 80, 96, 112, 128, 144 and 160.
  • the qualification acquisition rule may also specify, by using the time dimension, which of the blockchains corresponding to the service are eligible for the acquisition rule.
  • the above-mentioned business corresponding qualification acquisition rules specify at 07:45:45 ⁇ 07:46:45, 07:50:30-07:51:30, and 08:00:28-08:01:28.
  • the blocks generated in the three time periods are eligible for the acquisition rule. Therefore, in the blockchain corresponding to the service, only the blocks whose generation time is within the three time segments are eligible for the acquisition rule.
  • the block generated by the user through the terminal and written to the service corresponding blockchain has only the generation time in the three time periods, and the user can obtain the qualification to execute the service.
  • the above qualification acquisition rule can be specified by other time dimensions in addition to the block in which the rule is qualified according to the generation time of the block.
  • the qualification acquisition rule may specify that the difference between the generation time of the previous block and the generation time of the previous block is a block that meets the qualification acquisition rule, or the sum of the generation times of the consecutively set number of blocks is smaller than When setting the time, these blocks are the blocks that qualify for the rule.
  • the qualification acquisition rules can also stipulate the conditions for the block to meet the qualification acquisition rules according to other time dimensions, and will not be exemplified here.
  • qualification acquisition rules can be defined in other dimensions in addition to the blocks that qualify for the rule according to the time dimension.
  • each block includes a user identifier, where the user identifier is a user identifier (such as a user account, an ID number, etc.) used by the user to generate a block through the terminal, so the qualification is obtained.
  • the rule may stipulate that in the blockchain, the user identifies the block that satisfies the set condition as the block that meets the qualification acquisition rule.
  • the eligibility acquisition rules can also be specified by other dimensions, which are not illustrated here.
  • the service platform may return a result generation rule to the terminal in addition to returning the corresponding qualification acquisition rule to the terminal.
  • the result generation rules can be different for different services.
  • the result generation rule may specify how the terminal should generate a pre-processing block that is sent to other terminals for consensus.
  • the result generation rule can be formulated according to a Proof Of Work (POW), that is, the result generation rule can specify that the terminal needs to generate a result to be verified that satisfies the set condition by calculation.
  • POW Proof Of Work
  • the result generation rule stipulates that the terminal needs to obtain a value (the value is the result to be verified), and the set condition to be satisfied by the value is: after the hash conversion of the value, a series of hash values are obtained. The first 6 digits should be 0. Therefore, after the terminal has passed the hash conversion, the first 6 digits of the hash value can be qualified to pass the consensus of other terminals.
  • the result generation rules can also be formulated in other ways, and will not be exemplified here.
  • the service platform starts the qualification acquisition activity of the service each time (the qualification acquisition activity referred to herein refers to the service platform starts to receive the qualification acquisition request sent by the terminal to start.
  • the result generation rule transmitted to each terminal may be different. For example, suppose the service platform holds a plurality of spike activities (ie, the same service) for the same product, and the result generation rules sent by the service platform to each terminal may be different for each spike event of the product. That is, each time the spike activity of the commodity corresponds to a result generation rule, and the result generation rule of each spike activity may be different.
  • the result generation rule corresponding to each service may be set by the operation and maintenance personnel of the service platform according to actual needs, or may be set by the service platform.
  • the service platform sets the result generation rule
  • the average generation time of each block in the blockchain may be set according to the qualification of the previous service acquisition activity.
  • the service platform finds that the average generation time of each block in the blockchain is too long during the qualification acquisition activity of the previous service, the terminal specified in the result generation rule corresponding to the service may be satisfied.
  • the difficulty of setting the value of the condition is appropriately lowered. If the service platform finds that the average generation time of each block in the blockchain is too short during the qualification acquisition activity of the previous service, the terminal specified in the result generation rule corresponding to the service may be satisfied. The difficulty of the numerical value of the condition is appropriately increased.
  • the service platform may adjust the result generation rule corresponding to the service qualification acquisition activity according to the average generation time of the block in the generated blockchain according to the previous service qualification acquisition activity through a preset adjustment policy.
  • the preset adjustment strategy mentioned here can be presented in the form of a table or in the form of a formula or an algorithm.
  • the service platform can also be adjusted in other ways.
  • the service platform may adjust the result generation rule corresponding to the service according to the number of users who obtain the execution of the service according to the qualification qualification acquisition activity; or may obtain the activity according to the qualification of the service. The estimated time to continue to adjust the results generation rules for this business.
  • the result generation rules corresponding to the service may be adjusted in other ways, and the examples are not illustrated here.
  • the service platform can also adjust the result generation rules corresponding to the foregoing services in a plurality of manners, whether the result generation rules are adjusted in a separate manner, or the result generation rules are adjusted in combination with various methods, and the service platform can pass The preset adjustment strategy is implemented.
  • the terminal may save the qualification acquisition rule.
  • the purpose of the terminal to save the eligibility acquisition rule is that the terminal can obtain the eligibility acquisition rule obtained by the terminal, and perform qualification verification on the user who obtains the service performed by the subsequent service platform.
  • the terminal may generate a rule according to the result and generate a corresponding verification result. For example, it is assumed that a value generated by the terminal (that is, a result to be verified) needs to satisfy a value of the hash number of the first 5 digits being 0 after the hash conversion. At this time, the terminal will generate a rule according to the result, and by successively calculating the resource consumption, a value corresponding to the result generation rule (ie, the result to be verified) is obtained.
  • the terminal may package the to-be-verified result, the generation time of the to-be-verified result, and the user identifier into a pre-processing block.
  • the user identifier mentioned herein is used for the subsequent service platform to determine the user who is qualified to perform the service, and the user identifier may be determined by the terminal according to the user when compiling the qualification obtaining request, or input in the terminal. User information is determined.
  • the terminal may determine the user account on which the user sends the qualification acquisition request when sending the foregoing qualification acquisition request, and then the user account may be generated when the preprocessing block is generated. It is packaged as a user ID in this pre-processing block.
  • the user identifier may be a user account, such as an ID number, a fingerprint code (a string of characters obtained by converting a user fingerprint data), a user nickname (the user nickname needs to be unique), and the like.
  • the terminal may also carry the terminal identifier of the terminal in the pre-processing block.
  • the service platform may determine, according to the block in the blockchain, which terminals have the qualification to acquire the service in the qualification acquisition activity participating in the service.
  • the terminal identifier mentioned herein may be identifier information that can uniquely identify the terminal, such as a terminal serial number, a Bluetooth address, a Media Access Control (MAC) address, and the like.
  • the pre-processing block may be sent to other terminals participating in the service qualification acquisition activity, so that other terminals can agree on the pre-processing block. Specifically, the other terminal may agree on the to-be-verified result included in the pre-processing block, and after determining that the to-be-verified result passes the consensus, the pre-processing block is written to the locally saved blockchain for the service. in.
  • the service platform when the terminal sends the foregoing qualification acquisition request to the service platform, the service platform may obtain the address of the terminal and save the address. Similarly, for all terminals participating in the service qualification acquisition activity, the service platform needs to obtain the addresses of the terminals, so that the terminal may send the pre-processing block to other terminals for consensus according to the address acquired by the service platform. ,as shown in picture 2.
  • FIG. 2 is a schematic diagram of a service platform acquiring an address of a terminal according to an embodiment of the present disclosure.
  • the service platform acquires the address of the terminal and saves it.
  • the address may be provided by the terminal to the service platform, that is, the terminal may carry the address in the eligibility acquisition request, and the service platform may obtain the address of the terminal and save it by parsing the eligibility request.
  • the address of the terminal may be obtained by the service platform from the terminal actively.
  • the service platform may send an address query request to the terminal, and after receiving the address query request, the terminal receives the address query request. , can return its own address to the business platform.
  • the service platform can obtain the addresses of these terminals and save these addresses. In this way, the terminal sends the pre-processing block to the other terminal in the process of sending the pre-processing block to the service platform, and then the service platform sends the pre-processing block to the service platform according to the obtained address of the terminal. Consensus to other terminals.
  • the terminal can also obtain the address of each terminal acquired by the service platform from the service platform (that is, the address of each terminal that has participated in the qualification acquisition activity at the current time), and then, in the obtained address, The pre-processing block is sent to other terminals for consensus.
  • the process of the service platform sending the pre-processing block to another terminal is to send the pre-processing block to the terminal that has participated in the service qualification acquisition activity at the moment. This is because, in practical applications, each user is usually involved in the business qualification acquisition activities. Therefore, the service platform can only obtain the address of each terminal that has participated in the business qualification acquisition activity at the current moment (that is, at this moment The address of the terminal that sent the above qualification acquisition request to the service platform).
  • the service platform may send the pre-processing block to the terminal that has participated in the service qualification acquisition activity at the moment, and may also send to the target qualification acquisition at the moment. Activities, but advance reservations to participate in the terminal in this business qualification acquisition activity.
  • the terminals need to send their own addresses to the service platform for storage, so that the service platform can obtain the obtained addresses.
  • the pre-processing block is sent to the terminal participating in the reservation for the service qualification acquisition activity.
  • the terminal may agree on the to-be-verified result included in the pre-processing block, and determine the to-be-verified result.
  • the pre-processing block is stored as a block in the blockchain corresponding to the service.
  • the terminal can write each block into the blockchain corresponding to the service according to the generation time of each block, as shown in FIG. 3 .
  • FIG. 3 is a schematic diagram of a blockchain corresponding to a service provided by an embodiment of the present application.
  • the terminal may write the pre-processing block as a block to the foregoing service according to the generation time of the to-be-verified result in the pre-processing block.
  • Corresponding blockchain wherein, for each block in the blockchain, the block includes a user identifier of a user that is generated by the terminal (the pre-processing block can become a block after passing the consensus). In this way, after the subsequent service platform determines at least one block that meets the qualification acquisition rule from the blockchain, the user who is qualified to perform the service can be finally determined according to the user identifier included in the block.
  • the terminal may write the pre-processing block through the consensus (also referred to as a pre-processing block by consensus) to the foregoing service, in addition to the generation time of the to-be-verified result.
  • the pre-processing block can also be written as a block into the blockchain according to the time sequence of the consensus, and the pre-processing block that passes the consensus can also be generated according to the generation time of the pre-processing block.
  • the terminals participating in the consensus can also write the pre-processing block through the consensus into the blockchain according to other standards, and the examples are not illustrated here.
  • S103 When it is determined that the service meets a preset condition, acquire a blockchain from at least one terminal, and select at least one block that meets the qualification acquisition rule from the blockchain.
  • the service platform may monitor whether the service meets the preset condition when determining the block that meets the foregoing qualification acquisition rule. When determining that the service meets the preset condition, the service platform may obtain the at least one terminal that participates in the service qualification acquisition activity. The blockchain corresponding to the service determines at least one block that meets the above qualification acquisition rule from the blockchain.
  • the preset condition mentioned here may be: monitoring whether the foregoing service reaches a set time specified by the service, and the set time mentioned herein may refer to a deadline for the qualified participation time of the business qualification acquisition activity,
  • the deadline mentioned here can be understood as the start time and deadline of the qualification acquisition activity of the business.
  • the deadline is the time when the service platform no longer receives or accepts the qualification acquisition request sent by the terminal.
  • the qualification participation time of the service can also be It is understood that the service platform starts to determine the start time of the user who can obtain the qualification for executing the service, and the time period between the start time and the deadline is the qualified participation time of the service. Therefore, the service platform determines that the service meets the preset condition, and may refer to determining the deadline for the qualified participation time of the service at the current time.
  • the set time mentioned above may be other time in addition to the deadline for the above-mentioned business qualification acquisition activity.
  • the foregoing setting time may also refer to a specified block generation time in the blockchain corresponding to the service, and correspondingly, the foregoing determining that the service meets the preset condition may be obtained by the service platform from the terminal. a blockchain of the service, and determining a generation time of the last block in the blockchain (the generation time is included in the block), when it is determined that the generation time of the block has arrived at the service When the time is set, it is determined that the service satisfies the preset condition.
  • the above set time can also be other forms of time, and will not be exemplified here.
  • the preset condition mentioned above may also refer to the number of blocks specified by the foregoing service.
  • the service platform determining that the service meets the preset condition may be: the service platform obtains the blockchain corresponding to the service from at least one terminal participating in the service qualification acquisition activity, and may determine that the service is included in the blockchain. The number of the blocks, when it is determined that the number of blocks included in the blockchain is not less than the number of blocks specified by the service, it can be determined that the service satisfies the preset condition.
  • the preset conditions of the above services may be other preset conditions in addition to the above two preset conditions.
  • the preset condition of the service may be: whether the number of terminals participating in the service qualification acquisition activity has met the number of terminals specified by the service, in other words, the foregoing qualification acquisition request sent by the terminal received by the service platform. Whether the quantity has reached the quantity specified by the service (usually the terminal only sends a qualification acquisition request to the service platform).
  • the service platform determines that the number of terminals that send the qualification acquisition request for the service qualification acquisition activity to the service platform has met the number of terminals specified by the service, it may determine that the service meets the preset condition.
  • the preset conditions of the service may also be other preset conditions.
  • the operation and maintenance personnel of the service platform may set different preset conditions according to actual needs, and the examples are not illustrated here.
  • the blockchain corresponding to the service may be obtained from at least one terminal participating in the service qualification acquisition activity, and then the eligibility acquisition rule is determined from the blockchain. At least one block.
  • the service platform may obtain a blockchain corresponding to the service saved by each terminal from multiple terminals participating in the service qualification acquisition activity, and select a main chain from the acquired blockchains, and then A block that meets the above qualification acquisition rule is selected from the blocks included in the main chain.
  • the main chain mentioned here may refer to the longest chain.
  • the purpose of selecting the longest chain of the service platform is that, in practical applications, for the blockchains for the above services saved by different terminals, the blocks generated in the service qualification acquisition activity recorded in the longest chain are often The most complete, so the business platform is also most effective in determining the blocks that meet the eligibility rules from the longest chain, that is, there will be no such things as missed elections.
  • the service platform may select one main chain from the multiple side chains. Further, in the subsequent process, at least one block that meets the above qualification acquisition rule is selected from the selected main chain.
  • the main chain may be selected from the plurality of side chains in the blockchain to select the longest chain having the longest length (ie, the largest number of blocks) as the main chain.
  • the manner of selecting the main chain may be selected by other means in addition to the manner of selecting the longest chain as described above.
  • the starting block ie, the blockchain
  • the starting block ie, the blockchain
  • the generated time of the first block generated after the start of the qualification acquisition activity and the cut-off block that is, the last block generated after the start of the qualification acquisition activity recorded in the blockchain.
  • the service platform can use the blockchain in the blockchain whose generation time and the cutoff block are closest to the start time and the deadline of the qualification acquisition activity as the main chain (the start time of the qualification acquisition activity and The deadline is the start time and deadline for the qualification participation time mentioned above.
  • the manner of determining the main chain described above is also applicable to the case where a plurality of side chains may appear in the above-mentioned blockchain, that is, the start block and the cutoff block included in each side chain are determined (
  • the starting block and the cut-off block mentioned here refer to the generation time of the starting block and the cut-off block of the qualification acquisition activity recorded in the side chain in each side chain, and then one of the side chains is selected.
  • the start block and the cutoff block are generated as the main chain with the side chain closest to the start time and the cutoff time of the qualification acquisition activity described above.
  • there are other ways to determine the way of the main chain and I will not give an example here.
  • At least one block that meets the above qualification acquisition rule may be determined from each block included in the blockchain.
  • the specific determining manner may be: the service platform may determine, for each block included in the blockchain, the location of the block in the blockchain, and then the service platform may further determine the block. Whether the location is the location of the block in the blockchain that meets the eligibility acquisition rule specified by the eligibility acquisition rule, and if so, determines that the block is a block that meets the eligibility acquisition rule.
  • the qualification acquisition rule corresponding to the service specifies the third, 19th, 44th, and 88th (the 3rd, 19th, 44th, and 88th) in the blockchain (or the longest chain).
  • the location of the block that meets the eligibility acquisition rules in the blockchain. The four blocks are the blocks that meet the eligibility rules, and the service platform can be from the blockchain (or the longest chain).
  • the four blocks are selected, and then the four blocks are determined as the blocks that meet the qualification acquisition rule, and in the subsequent process, the users corresponding to the user identifiers included in the four blocks are determined to be acquired. The user of this business qualification.
  • qualification acquisition rules may be specified in other ways in addition to the block in which the block is located in the blockchain to qualify for the rule.
  • the qualification acquisition rule may specify whether the block in the blockchain meets the qualification acquisition rule according to the time of the block entry, or the qualification acquisition rule may be according to the generation time of the block (it may also be understood as preprocessing).
  • the generation time of the block specifies whether the block in the blockchain conforms to the qualification acquisition rule.
  • other methods can also be used for the regulation, and the examples are not illustrated here.
  • the foregoing service has a blockchain corresponding to the terminal, and the blockchain includes a pre-processing block generated by the terminal according to the result generation during the service qualification acquisition activity (after the consensus is also adopted) Can be called a block).
  • the above-mentioned business qualification acquisition activities may not be held only once, and the business platform may hold multiple qualifications of the business for the same business. Therefore, the terminal often records the blocks generated during the period of the business qualification acquisition activity.
  • the service platform In order to enable the service platform to accurately determine from the blockchain corresponding to the service, which (or which) block is the block that meets the above qualification acquisition rule in the block generated during the service qualification acquisition activity.
  • the service platform needs to determine the generation time of the to-be-verified result contained in the block in the blockchain (or the generation time of the block, wherein the generation time of the block can also be understood as the generation time of the pre-processing block), and the During the business qualification acquisition activity, which blocks were generated during this period. In other words, the service platform needs to determine from the blockchain which (or which) blocks were generated during the qualifying participation period of the service.
  • the service platform may determine each block included in the blockchain from the obtained blockchain, and further determine the generation of the to-be-verified result included in each block. time. Then, the service platform may determine, according to the determined generation time of the to-be-verified results included in each block, the blocks generated within the set time period specified by the foregoing service.
  • the set time period specified by the business mentioned here may refer to the qualified participation time of the business qualification acquisition activity.
  • the service platform can view, in the blockchain corresponding to the service, which (or which) block the generation time of the to-be-verified result included in the qualified participation time period of the service, and then When the block is determined to be the activity qualification acquisition activity, the terminal generates a block generated by the rule according to the above result.
  • the set time period specified by the service described above may be other time periods in addition to the qualification participation time, and the set time period may be set by the operation and maintenance personnel of the service platform according to actual needs. This is not an example.
  • the block may also be passed through the block.
  • Other information included to determine For example, it is assumed that the terminal carries the identification information of the result generation rule (or the qualification acquisition rule) acquired from the service platform in the pre-processing block.
  • the service corresponding to each service qualification acquisition activity may be the same service, but the result generation rule (or the qualification acquisition rule) corresponding to each service qualification acquisition activity may be different, corresponding, different result generation rules. (or qualification acquisition rules) can correspond to different identification information.
  • the service platform may also pass through the block (the pre-processing block must be Through consensus, it will become the identification information of the result generation rule (or qualification acquisition rule) included in the blockchain corresponding to the service, and determine which (or which) block belongs to the service qualification acquisition. Active block.
  • the business platform can also determine the block corresponding to the business qualification acquisition activity through other means. For example, for the different qualification acquisition activities held by the same service, each activity qualification acquisition activity corresponds to an activity identifier, and the terminal may carry the activity identifier in the pre-processing block when generating the pre-processing block. In this way, the service platform can determine which (or which) block is through the activity identifier included in the block (the block is written into the blockchain corresponding to the service after the pre-processing block passes the consensus). Generated during this business qualification acquisition activity.
  • the blocks generated during the qualification acquisition activity can be determined in other ways, and the examples are not illustrated here.
  • the service platform when the service platform acquires the blockchain corresponding to the service from at least one terminal participating in the service qualification acquisition activity, the terminal sends the foregoing qualification acquisition request to the service platform.
  • the service platform can obtain the address of the terminal. Therefore, the service platform may obtain the blockchain corresponding to the service from at least one terminal participating in the service qualification acquisition activity by using at least one address obtained previously, and then determine that the qualification is met from the blockchain. Get at least one block of the rule.
  • S104 Perform the service for a user identifier included in the at least one block.
  • the service platform determines, according to the user identifier included in the block, the user who obtains the qualification to perform the service, and further The above services are performed for the determined users.
  • the user who obtains the qualification to perform the service refers to the user who can perform the service through the service platform.
  • the service platform may also publish the user identifier included in the at least one block that meets the above qualification acquisition rule, so that other users participating in the service qualification acquisition activity can view the service platform through the terminal.
  • the result Moreover, after the user views the results published by the service platform, the terminal can verify the result to determine whether the result published by the service platform is a true and effective result.
  • the terminal may obtain the rule of the service from the blockchain of the service and the qualification acquisition rule previously obtained from the service platform. At least one block that meets the eligibility acquisition rule is determined in the blockchain, and the user identifier included in the at least one block is further determined.
  • the terminal can compare the user identifier determined by the user to obtain the user qualification for performing the service, and the user identifier obtained from the service platform. When it is determined that the user identifier determined by the service platform is consistent with the user identifier published by the service platform, it may be determined that the result published by the service platform is true and effective, and if otherwise, the service platform may be determined to exist in the service qualification acquisition activity. Falsified behavior.
  • each terminal can write the to-be-verified result generated according to the result generation rule into the blockchain corresponding to the service, so that each terminal can save the blockchain for the service by itself. View the blocks generated by other terminals.
  • the service platform can deliver the eligibility acquisition rule for performing the service to each terminal, so that the terminal publishes the service platform according to the obtained qualification acquisition rule and the blockchain for the service saved by the terminal. The results were verified.
  • the effective prevention of the business platform in the process of obtaining the user who executes the service is effective, thereby protecting the user's rights and interests from being infringed.
  • the business platform it provides an effective verification method for users, thereby improving their credibility.
  • the address of each terminal that manages the participation in the service qualification acquisition activity may also be performed by a dedicated service center, as shown in FIG. 4 .
  • FIG. 4 is a schematic diagram of a service center management address provided by an embodiment of the present application.
  • the user may first send the address to the service center through the terminal when sending the foregoing qualification acquisition request to the service platform.
  • the service center can save the address.
  • the service center can also actively obtain the address of the terminal.
  • the terminal may first send the foregoing qualification acquisition request to the service center, and the service center sends the qualification acquisition request to the service platform.
  • the service center may send an address inquiry to the terminal. The message is such that after receiving the inquiry message, the terminal actively sends its own address to the service center.
  • the service center may actively obtain the corresponding address from the terminal and save it.
  • the terminal may also carry its own address in the qualification acquisition request and send it to the service center, and the service center obtains the address of the terminal by parsing the qualification acquisition request.
  • the terminal may obtain, from the service center, each terminal that participates in the current business qualification acquisition activity at the current time (if the business qualification).
  • the acquisition activity may be reserved in advance, and the terminals also include the addresses of the terminals participating in the reservation, and then the pre-processed blocks generated by themselves are sent to the terminals corresponding to the addresses for consensus.
  • the terminal may also send the pre-processing block to the service center, and the service center may send the pre-processing block to each address according to the address of the terminal participating in the service qualification acquisition activity according to the obtained current time. Consensus in the terminal.
  • the service platform or the service center may not save the address of the terminal participating in the service qualification acquisition activity, but the user identifier of the user participating in the service qualification acquisition activity. (such as user account, etc.) to save.
  • the subsequent pre-processing block can be sent to the current user through the user identifier according to the previously obtained user identifiers (user identifiers of users currently participating in the service qualification acquisition activity at the moment). Participate in the terminal used in this business qualification acquisition activity.
  • the service platform or the service center may also send the user identifier of the user who participated in the current qualification acquisition activity to the terminal at the current time, so that the terminal generates the pre-process generated by the obtained user identifier.
  • the block is sent to the terminal used by the current user to participate in the business qualification acquisition activity through these user IDs.
  • step S104 for each terminal, when the terminal determines, according to the blockchain corresponding to the service saved by the terminal and the qualification obtaining rule obtained from the service platform, the result published by the service platform is not true and effective.
  • the third party may jointly initiate a notification to the third-party fair structure that the business platform has obtained fraudulent behavior for the business qualification acquisition activity.
  • the terminal may initiate a service platform for the third party impartial structure.
  • the business qualification acquisition activity has a notice of fraudulent behavior.
  • the third-party fair structure can determine that the results published by the service platform for the business qualification acquisition rules lack the authenticity when it is determined that the received notification of the fraudulent behavior of the business platform qualification activity has reached the set number. Then, it is determined that the results announced by the business platform are invalidated, and the accountability of the business platform can be pursued.
  • the terminal may also send the to-be-verified result obtained according to the result generation rule delivered by the service platform to each terminal in the consensus network (that is, the terminal currently participating in the target service qualification acquisition activity at the current time).
  • a consensus is reached, and after the result to be verified passes the consensus, the result to be verified is written into the block containing the user identifier and sent to each terminal in the consensus network.
  • Each terminal can write the block into the blockchain corresponding to the target service.
  • the service platform When the service platform receives the service qualification acquisition request sent by each terminal, the service platform may receive a large number of service qualification acquisition requests in a short period of time. Therefore, after receiving the service qualification acquisition request, the service platform may not immediately return the qualification acquisition rule and the result generation rule to each terminal, but randomly divide the business qualification acquisition request into several batches, and then, each time At a fixed time interval, each terminal corresponding to a batch of service qualification acquisition request returns a corresponding qualification acquisition rule and a result generation rule.
  • the header of the last block in the blockchain contains the header Hash of the previous block, and then the blocks are connected end to end in this way.
  • the above service platform starts a target service qualification acquisition activity, it may receive a large number of service qualification acquisition requests sent by each terminal in a short time.
  • the terminal When the terminal generates a rule according to the result returned by the service platform, and obtains the corresponding to-be-verified result and the to-be-verified block, the header hash of the previous block included in the block to be verified may be the header Hash of the same block, resulting in a large number of sides. The emergence of the chain.
  • the service platform may not immediately return the corresponding qualification acquisition rule and the result generation rule to each terminal, but The service qualification acquisition requests are randomly grouped, and after each set time interval, the corresponding qualification acquisition rule and the result generation rule are returned to the terminal corresponding to the group of service qualification acquisition requests.
  • the terminal that first receives the batch return qualification acquisition rule and the result generation rule of the service platform may first write the self-generated and consensus-based block into the blockchain first due to the advantage of time.
  • the terminal of the next batch generates a block to be verified according to the result generation rule, it is likely to be obtained based on the block generated by the previous batch.
  • the block generated by each terminal in each batch will likely contain the header hash of the block generated by each terminal in the previous batch, which can reduce the occurrence of sidechain to some extent. And complexity.
  • the subsequent terminal needs to randomly generate a side chain from the side chain when the self-generated and the consensus block is written into the block chain on the side chain basis.
  • the header Hash of the current last block of the side chain is written into the pre-processing block.
  • each terminal the terminal that has participated in the qualification acquisition activity at present may include an advance reservation
  • the header hash determines the side chain of the block corresponding to the header Hash, and then writes the pre-processing block as a block into the side chain.
  • the pre-preparation when each terminal participating in the qualification acquisition activity at the current time is in consensus on the pre-processing block sent by a certain terminal, once the pre-processing block is determined to pass the consensus, the pre-preparation may be The processing block is written as a block in the blockchain corresponding to the foregoing service, and the other terminal and the pre-processing block sent by itself are ignored (or deleted) in the process of consensus on the pre-processing block, and further The other terminal and the self-recovery result are generated according to the result generation rule obtained from the service platform, and the to-be-verified result is carried in the regenerated pre-processing block and sent to each terminal in the consensus network for consensus. This can further reduce the possibility of creating side chains in the blockchain.
  • the result generation rule acquired by each terminal can generate a result generation rule from the beginning to the end. Therefore, when the terminal performs the consensus on the pre-processing block, in addition to verifying the to-be-verified result included in the pre-processing block to determine whether the to-be-verified result meets the result generation rule, it is also possible to verify whether the to-be-verified result is Whether the result to be verified in the pre-processing block in the previous consensus process is the same result, and the time interval between the generation time of the verification result to be verified and the generation time of the to-be-verified result contained in the pre-processing block in the previous consensus process Whether the set time interval is met.
  • the terminal that generates the result to be verified may be plagiarized, that is, the result to be verified is not obtained by the terminal by consuming a certain computing resource and time. It may be obtained directly from the block that was previously approved. In this way, the pre-processing block to which the result to be verified belongs will also fail to pass the consensus of each terminal in the consensus network.
  • the service execution manner provided by the embodiment of the present application is not limited to the scenario of the above-mentioned spike product, and is also applicable to other scenarios similar to the spike product, such as a product lottery, a car lottery, etc., the business execution process involved in these scenarios. It is basically the same as the business execution process provided by this application, and will not be described in detail here.
  • the embodiment of the present application further provides two types of service execution devices, as shown in FIG. 5 and FIG.
  • FIG. 5 is a schematic diagram of a device for performing service according to an embodiment of the present disclosure, specifically including:
  • the receiving module 501 is configured to receive an eligibility acquisition request sent by the terminal for the service.
  • the module 502 according to the eligibility acquisition request, returning an eligibility acquisition rule and a result generation rule to the terminal, so that the terminal generates a to-be-verified result corresponding to the result generation rule, and includes the to-be-verified
  • the result and the pre-processing block of the user identity are used for consensus, and when the consensus is passed, the pre-processing block is written as a block into the blockchain;
  • the obtaining module 503 when determining that the service meets a preset condition, acquiring a blockchain from at least one terminal, and selecting at least one block that meets the qualification acquisition rule from the blockchain;
  • the executing module 504 is configured to perform the service for the user identifier included in the at least one block.
  • the obtaining module 503 when determining that the current time reaches the set time of the service, determining that the service meets a preset condition; and/or
  • the obtaining module 503 selects a main chain from the blockchain, and selects at least one block that meets the eligibility acquisition rule from the main chain.
  • the obtaining module 503 selects the longest chain in the blockchain as the main chain.
  • the obtaining module 503 determines, for each block in the blockchain, a location of the block in the blockchain; when determining that the location of the block in the blockchain is located in the blockchain When the qualification is required to obtain the location specified by the rule, the block is determined to be a block that meets the qualification acquisition rule.
  • the pre-processing block includes a generation time of the result to be verified
  • the obtaining module 503, the obtaining module determines, according to a generation time of the to-be-verified result included in each block in the blockchain, at least one block generated within a set time specified by the service; Selecting at least one of the at least one block that meets the qualification acquisition rule.
  • the executing module 504 publishes the user identifier included in the at least one block.
  • FIG. 6 is a schematic diagram of another apparatus for performing service according to an embodiment of the present disclosure, which specifically includes:
  • the sending module 601 sends a qualification acquisition request for the service to the service platform;
  • the first receiving module 602 receives an eligibility acquisition rule and a result generation rule that are returned by the service platform according to the qualification acquisition request;
  • the result generation module 603 generates a corresponding to-be-verified result according to the result generation rule.
  • the pre-processing block generating module 604 generates a pre-processing block including the to-be-verified result and the user identifier, and sends the pre-processing block to other terminals, so that the other terminal performs consensus on the pre-processing block;
  • the writing module 605 after determining that the pre-processing block passes the consensus of the other terminal, writing the pre-processing block as a block to the blockchain included in the device;
  • the second receiving module 606, when receiving the qualification confirmation information sent by the service platform, sending the blockchain saved by itself to the service platform, so that the service platform is from the blockchain Selecting at least one block that meets the eligibility acquisition specification and performing the service for the user identification included in the at least one block.
  • the pre-processing block generating module 604 generates a corresponding to-be-verified result according to the result generation rule, and generates a pre-processing block that includes the to-be-verified result, the user identifier, and the generation time of the to-be-verified result.
  • the pre-processing block generating module 604 obtains an address of another terminal from the service platform, where the address of the other terminal is obtained by the service platform when receiving the eligibility acquisition request for the service sent by another terminal
  • the pre-processing block is sent to other terminals according to the obtained addresses of other terminals.
  • the device also includes:
  • the verification module 607 is configured to obtain at least one user identifier that is published by the service platform, and verify, according to the blockchain and the qualification acquisition rule, whether the user corresponding to the at least one user identifier has the qualification to perform the service.
  • the service platform may return the qualification obtaining rule and the result generating rule to each terminal respectively.
  • the terminal may be based on the service.
  • the result returned by the platform generates a rule, generates a corresponding to-be-verified result, and then carries the to-be-verified result and the user identifier of the user using the terminal in the pre-processing block, and sends the result to the other terminal, and determines that the pre-processing block passes the other
  • the pre-processing block is written as a block into the blockchain for the service that is saved by itself.
  • the service platform determines the user who can obtain the qualification for executing the service
  • the blockchain for the service can be obtained from the at least one terminal, and the block that meets the qualification acquisition rule is determined according to the obtained blockchain, and then The service is performed for the user corresponding to the user identifier according to the user identifier included in the block.
  • Each terminal can write the to-be-verified result generated according to the result generation rule into the blockchain corresponding to the service, so that each terminal can view the blockchain generated by the other terminal by using the blockchain for the service saved by itself.
  • the service platform can be used to deliver the eligibility acquisition rule for performing the service to each terminal, so that the terminal determines the service platform based on the obtained qualification acquisition rule and the blockchain stored for the service.
  • the user ID of the user who can perform the service is verified.
  • the effective prevention of the business platform in the process of obtaining the user who executes the service is effective, thereby protecting the user's rights and interests from being infringed.
  • the business platform it provides an effective verification method for users, thereby improving their credibility.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and a computer readable medium storing computer readable program code (eg, software or firmware) executable by the (micro)processor.
  • computer readable program code eg, software or firmware
  • examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, The Microchip PIC18F26K20 and the Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can 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, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can 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, etc.) including computer usable program code.
  • the application can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本申请公开一种业务执行的方法及装置,该方法中业务平台可向终端发送资格获取规则,以使各终端根据该资格获取规则,对业务平台确定出的能够执行该业务的用户的用户标识进行验证。由于各终端可将根据结果生成规则生成的待验证结果写入到业务对应的区块链中,各终端均可通过自身保存的针对该业务的区块链,查看到其他终端所生成的区块,业务平台还可将如何能够获取执行该业务的资格获取规则下发至各终端中,使得终端根据获取到的资格获取规则以及自身保存的针对该业务的区块链,对业务平台公布确定出的能够执行该业务的用户的用户标识进行验证,防止业务平台在确定获取执行该业务的用户的过程中存在徇私舞弊的行为,保障用户的权益不受侵害。

Description

一种业务执行的方法及装置 技术领域
本申请涉及计算机技术领域,尤其涉及一种业务执行的方法及装置。
背景技术
随着计算机技术的不断发展,业务平台向用户提供了多种形式的业务模型,而在这些业务模型中,一些新兴的业务模型正在逐渐兴起,这些新兴的业务模型除了给用户带来了全新的用户体验,还给用户的日常生活带来了更多的便利。
目前,在新兴的业务模式中,一些限时抢购的业务尤为受到人们的关注与欢迎,这些业务通常规定在一定时间内,人们可以通过争抢的方式以低廉的价格获取到执行该业务的资格。
例如,在商品秒杀这项业务中,各用户可在商品秒杀活动所指定的时间段内,向提供商品秒杀活动的业务平台发送获取秒杀商品资格的请求,该业务平台将从发送获取秒杀商品资格请求的各用户中选取设定数量的用户,并对这些发放秒杀商品的资格。一般来说,业务平台通常会将最先发送获取秒杀商品资格请求的前若干名用户确定为能够获取秒杀商品资格的用户。当然,也可以在商品秒杀活动开始后,先不停的接收各用户发送的获取秒杀商品资格的请求,而在到达接收秒杀商品资格请求的截止时间时,从这段时间内发送获取秒杀商品资格请求的各用户中随机选取若干名用户,作为获取秒杀商品资格的用户,并将确定出的获取到秒杀商品资格的用户进行公布。
然而,对于上述说明的限时抢购业务来说,业务平台向各用户公布的获取执行该业务资格的用户往往缺乏公信力,业务平台通常很难证明自身确定出的获取执行该业务的用户是公正有效的。而在用户角度上来讲,用户往往也很难确信业务平台在确定获取执行该业务的各用户的过程中没有存在徇私舞弊的行为。所以,对于用户来说,业务平台所公布出的结果往往也很难信服。因此, 如何能够使业务平台和用户之间提供有效的公正机制,确保业务平台公布出的结果能够得到广大用户的信服,则是一个亟待解决的问题。
发明内容
本申请实施例提供一种业务执行的方法,用以解决现有技术业务执行过程中缺乏公信力的问题。
本申请实施例提供了一种业务执行的方法,包括:
业务平台接收终端针对业务发送的资格获取请求;
根据所述资格获取请求,向所述终端返回资格获取规则以及结果生成规则,以使所述终端生成与所述结果生成规则相对应的待验证结果,并将包含所述待验证结果以及用户标识的预处理块进行共识,以及当通过共识后,将所述预处理块作为区块写入到区块链中;
当确定所述业务满足预设条件时,从至少一个终端中获取区块链,并从所述区块链中选择符合所述资格获取规则的至少一个区块;
针对所述至少一个区块中包含的用户标识执行所述业务。
本申请实施例提供一种业务执行的装置,用以解决现有技术业务执行过程中缺乏公信力的问题。
本申请实施例提供了一种业务执行的装置,包括:
接收模块,接收终端针对业务发送的资格获取请求;
返回模块,根据所述资格获取请求,向所述终端返回资格获取规则以及结果生成规则,以使所述终端生成与所述结果生成规则相对应的待验证结果,并将包含所述待验证结果以及用户标识的预处理块进行共识,以及当通过共识后,将所述预处理块作为区块写入到区块链中;
获取模块,当确定所述业务满足预设条件时,从至少一个终端中获取区块链,并从所述区块链中选择符合所述资格获取规则的至少一个区块;
执行模块,针对所述至少一个区块中包含的用户标识执行所述业务。
本申请实施例提供一种业务执行的方法,用以解决现有技术业务执行过程中缺乏公信力的问题。
本申请实施例提供了一种业务执行的方法,包括:
终端向业务平台发送针对业务的资格获取请求;
接收所述业务平台根据所述资格获取请求返回的资格获取规则以及结果生成规则;
根据所述结果生成规则,生成相对应的待验证结果;
生成包含有所述待验证结果以及用户标识的预处理块,并将所述预处理块发送至其他终端,以使所述其他终端对所述预处理块进行共识;
当确定所述预处理块通过所述其他终端的共识后,将所述预处理块作为区块写入到所述终端自身的区块链中;
当接收到所述业务平台发送的资格确认信息时,则将自身保存的所述区块链发送至所述业务平台,以使所述业务平台从所述区块链中选择符合所述资格获取规定的至少一个区块,并针对所述至少一个区块中包含的用户标识执行所述业务。
本申请实施例提供一种业务执行的装置,用以解决现有技术业务执行过程中缺乏公信力的问题。
本申请实施例提供了一种业务执行的装置,包括:
发送模块,向业务平台发送针对业务的资格获取请求;
第一接收模块,接收所述业务平台根据所述资格获取请求返回的资格获取规则以及结果生成规则;
结果生成模块,根据所述结果生成规则,生成相对应的待验证结果;
预处理块生成模块,生成包含有所述待验证结果以及用户标识的预处理块,并将所述预处理块发送至其他终端,以使所述其他终端对所述预处理块进行共识;
写入模块,当确定所述预处理块通过所述其他终端的共识后,将所述预处 理块作为区块写入到所述装置包含的区块链中;
第二接收模块,当接收到所述业务平台发送的资格确认信息时,则将自身保存的所述区块链发送至所述业务平台,以使所述业务平台从所述区块链中选择符合所述资格获取规定的至少一个区块,并针对所述至少一个区块中包含的用户标识执行所述业务。
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:
在本申请实施例中,业务平台在接收到各终端发送的针对业务的资格获取请求后,可分别向各终端返回资格获取规则以及结果生成规则,对于每个终端来说,该终端可根据业务平台返回的结果生成规则,生成相应的待验证结果,而后再将该待验证结果以及使用该终端的用户的用户标识携带在预处理块中发送至其他终端,并在确定该预处理块通过其他终端的共识后,将该预处理块作为区块写入到自身保存的针对业务的区块链中。而业务平台在确定能够获取执行业务的资格的用户时,可从至少一个终端中获取到针对该业务的区块链,并根据获取到的区块链,确定符合资格获取规则的区块,继而根据区块中包含的用户标识,针对该用户标识对应的用户执行该业务。由于各终端可将根据结果生成规则生成的待验证结果写入到业务对应的区块链中,这样,各终端均可通过自身保存的针对该业务的区块链,查看到其他终端所生成的区块,并且,业务平台可将如何能够获取执行该业务的资格获取规则下发至各终端中,从而使得终端根据获取到的资格获取规则以及自身保存的针对该业务的区块链,对业务平台确定出的能够执行该业务的用户的用户标识进行验证。对于用户而言,有效的防止了业务平台在确定获取执行该业务的用户的过程中存在徇私舞弊的行为,从而保障了用户的权益不受侵害。而对于业务平台而言,则向用户提供的一种有效的验证方式,从而提高了自身的公信力。
附图说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分, 本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例提供的业务执行过程的示意图;
图2为本申请实施例提供的业务平台获取终端的地址的示意图;
图3为本申请实施例提供的业务对应的区块链的示意图;
图4为本申请实施例提供的服务中心管理地址的示意图;
图5为本申请实施例提供的一种业务执行的装置示意图;
图6为本申请实施例提供的另一种业务执行的装置示意图。
具体实施方式
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
图1为本申请实施例提供的业务执行过程的示意图,具体包括以下步骤:
S101:业务平台接收终端针对业务发送的资格获取请求。
在本申请实施例中,各用户可通过自身所持有的终端,向业务平台发送获取执行业务的资格获取请求。其中,用户可以在查看到业务平台发布业务资格获取活动开始的信息时,通过终端向业务平台发送获取执行业务的资格获取请求;也可以是业务平台在业务资格获取活动开始时,向用户的终端发送提示信息,终端在接收到该提示信息后,可将资格获取请求发送至业务平台中;抑或是业务平台可以在业务资格获取活动开始之前的一段设定时间内,向用户的终端发送业务资格获取活动将要开始的提示,以使用户的终端在监测到当前时间到达业务资格获取的开始时间时,向业务平台发送获取执行业务的资格获取请求。
上述提到的业务资格获取活动开始的时间可以理解为业务平台允许用户向其发送获取执行该业务的资格获取请求的时间。例如,假设一项商品秒杀的活动(即业务)在上午8点钟开始,当到达上午8点钟时,用户方可向业务平台发送获取秒杀该商品资格的资格获取请求,其中,这里提到的上午8点钟即为业务资格获取活动开始的时间。
当然,在本申请实施例中,用户也可以通过终端中安装的客户端向业务平台发送上述资格获取请求。例如,终端监测到用户对该客户端执行了指定操作(如监测到用户点击了该客户端的图标或是接收到用户启动该客户端的语音信息等)时,可启动该客户端,以使该客户端将操作界面展示给用户。用户在该操作界面上查看到上述业务的资格获取活动开始时,可在该操作界面编辑相应的资格获取请求,而客户端在监测到用户在该操作界面上执行了指定的输入操作时,则可生成相应的资格获取请求,并在监测到用户执行了将该资格获取请求发送至业务平台的指定操作时,则可通过终端将该资格获取请求发送至业务平台,而业务平台也将相应的接收到终端发送过来的资格获取请求。
S102:根据所述资格获取请求,向所述终端返回资格获取规则以及结果生成规则。
业务平台在接收到终端发送的资格获取请求后,可确定出该资格获取请求所针对的业务,继而向终端返回该业务所对应的资格获取规则以及结果生成规则。
其中,业务平台在接收到上述资格获取请求后,可进一步的确定出该资格获取请求所包含的业务标识,进而根据确定出的业务标识,确定出该资格获取请求所针对的业务。
在本申请实施例中,不同的业务可以对应不同的资格获取规则以及结果生成规则,而资格获取规则规定了用户如何才能获取到执行业务的资格。比如说,对于商品秒杀的业务来说,该业务所对应的资格获取规则规定了后续各终端保存的针对该业务的区块链中,位于该区块链中的哪几个区块是符合资格获取规 则的区块,换句话说,在参与该业务资格获取活动的用户中,哪些用户通过终端生成的区块是符合资格获取规则的。
其中,资格获取规则中可以直接规定业务所对应的区块链中到底哪几个区块是符合资格获取规则的。例如,资格获取规则可以直接规则在该业务对应的区块链中,位于第4、第58、第123、第356的这4个区块是符合资格获取规则的区块,换句话说,通过终端生成这4个区块的用户能够获取到执行该业务的资格。
资格获取规则也可规定确定区块链中哪几个区块符合资格获取规则的条件。例如,假设资格获取规则规定在区块链中排序标号为16倍数的区块为符合该资格获取规则的区块,所以,对于包含有160个区块的区块链来说,符合该资格获取规则的区块为:第16、32、48、64、80、96、112、128、144和160这10个区块。
当然,资格获取规则中也可以规定其他形式的条件,用以确定在上述业务对应的区块链中哪几个区块为符合资格获取规则的区块,在此就不一一举例说明了。而在本申请实施例中,资格获取规则也可通过时间的维度,来规定业务对应的区块链中,哪几个区块是符合资格获取规则的。
例如,假设上述业务对应的资格获取规则中规定了在07:45:45~07:46:45、07:50:30~07:51:30以及08:00:28~08:01:28这三个时间段内生成的区块是符合资格获取规则的,所以,该业务对应的区块链中,只有生成时间位于这三个时间段内的区块才是符合资格获取规则的。换句话说,用户通过终端生成的写入到业务对应区块链的区块只有生成时间位于这三个时间段内,该用户才能够获取到执行该业务的资格。
当然,上述资格获取规则除了以区块的生成时间为维度来规则符合资格获取规则的区块外,还可以通过其他的时间维度来规定。如,资格获取规则可以规定与前一区块的生成时间之差小于设定时间的区块为符合资格获取规则的区块,或是,连续设定个数的区块的生成时间之和小于设定时间时,则这几个 区块为符合资格获取规则的区块。除此之外,资格获取规则也可以按照其他的时间维度来规定区块符合资格获取规则的条件,在此就不一一举例说明了。
资格获取规则除了可以按照时间的维度来确定符合资格获取规则的区块外,还可以按照其他的维度来规定。例如,上述业务对应的区块链中,各区块包含有用户标识,该用户标识是指用户通过终端生成区块时所使用的用户标识(如用户账号、身份证号等),所以,资格获取规则可以规定在区块链中,用户标识满足设定条件的区块为符合资格获取规则的区块。
资格获取规则除了可以按照上述几个维度来确定符合资格获取规则的区块外,还可以通过其他的维度来规定,在此就不一一举例说明了。
在本申请实施例中,业务平台在接收到终端发送的资格获取请求后,除了需要向终端返回相应的资格获取规则外,还可向终端返回结果生成规则。对于不同的业务来说,结果生成规则可以是不同的。该结果生成规则可以规定终端应该如何生成发送至其他终端进行共识的预处理块。
通常来说,该结果生成规定可以根据工作量证明(Proof Of Work,POW)来进行制定,即,该结果生成规则可以规定,终端需要生成通过计算,得到满足设定条件的待验证结果。如,假设该结果生成规则规定终端需要得出一个数值(该数值即为待验证结果),该数值所要满足的设定条件为:将该数值进行Hash转化后,得出的一串Hash值的前6位应为0,所以,终端后续只有在得出的数值经过Hash转化后,Hash值前6位为0的才能够有资格通过其他终端的共识。当然,结果生成规则也可通过其他的方式来制定,在此就不一一举例说明了。
需要说明的是,在本申请实施例中,对于同一业务来说,业务平台每次开始该业务的资格获取活动(这里指的资格获取活动是指业务平台开始接收终端发送的资格获取请求到开始确定哪些用户获取到执行该业务的资格的开始时间为止的这段过程)时,向各终端发送的结果生成规则可以不同。例如,假设业务平台举办了多个针对同一商品的秒杀活动(即相同的业务),而对于每次 举办的该商品的秒杀活动来说,业务平台向各终端发送的结果生成规则可以均不相同,即,每次该商品的秒杀活动均对应有一个结果生成规则,而每次秒杀活动的结果生成规则可以均不相同。
在本申请实施例中,每次业务(同一业务)所对应的结果生成规则可以由业务平台的运维人员根据实际需求来进行设定,也可以由业务平台自行进行设定。其中,业务平台设定结果生成规则时,可以依据上一次业务的资格获取活动期间,区块链(该业务对应的区块链)中的每个区块的平均生成时间来设定。
例如,业务平台若发现上一次业务的资格获取活动期间,区块链中的每个区块的平均生成时间过长时,则可将此次业务对应的结果生成规则中所规定的终端得到满足设定条件的数值的难度适当的降低。而若业务平台发现上一次业务的资格获取活动期间,区块链中的每个区块的平均生成时间过短,则可将此次业务对应的结果生成规则中所规定的终端得到满足设定条件的数值的难度适当的提高。
其中,业务平台可以通过一个预设的调整策略,来根据之前业务资格获取活动期间,所产生的区块链中的区块的平均生成时间来调整此次业务资格获取活动对应的结果生成规则。这里提到的预设的调整策略可以表的形式来呈现,也可以公式或算法的形式来呈现。
业务平台除了可以通过上述方式调整每次业务(这里提到的每次业务均为同一业务)对应的结果生成规则外,还可以通过其他方式来调整。如,业务平台可以根据针对此次业务资格获取活动所规定的获取执行此次业务的用户人数,来对此次业务对应的结果生成规则进行调整;或是可以根据此次业务的资格获取活动所持续的预计时间,来调整此次业务对应的结果生成规则。当然还可以通过其他的方式来对该业务对应的结果生成规则进行调整,在此就不一一举例说明了。
业务平台也可以结合多种方式来对上述业务对应的结果生成规则进行调整,而无论是以单独方式对该结果生成规则进行调整,还是结合多种方式来调 整结果生成规则,业务平台均可通过预设的调整策略来实现。
终端在接收到业务平台返回的资格获取规则以及结果生成规则后,可将该资格获取规则进行保存。其中,终端保存该资格获取规则的目的在于,终端可以通过获取到的资格获取规则,对后续业务平台所公布出的获取执行上述业务的用户进行资格验证。
终端在获取到结果生成规则后,可以根据该结果生成规则,生成相应的待验证结果。例如,假设终端获取到的结果生成规则中规定,终端生成的一个数值(即待验证结果)需要满足该数值经过Hash转化得到前5位为0的一串Hash数。此时,终端将根据该结果生成规则,通过消耗计算资源所经过逐次的运算,得出符合该结果生成规则的一个数值(即待验证结果)。
终端在得到上述待验证结果后,可将该待验证结果、该待验证结果的生成时间以及用户标识打包成一个预处理块。其中,这里提到的用户标识是用于后续业务平台确定有资格执行业务的用户的依据,而该用户标识则可以是终端根据用户在编译上述资格获取请求时确定出,或是在终端中输入的用户信息确定的。
例如,假设该用户标识为用户账号时,则终端在发送上述资格获取请求时,可确定出用户发送该资格获取请求所基于的用户账号,进而在生成上述预处理块时,可将该用户账号作为用户标识打包在该预处理块中。
当然,上述用户标识除了可以是用户账号外,还可以是诸如身份证号、指纹码(将用户指纹进行数据转化得到的一串字符)、用户昵称(该用户昵称需要具有唯一性)等。而终端除了可将用户标识携带在上述预处理块中外,还可将终端的终端标识携带在该预处理块中。相应的,业务平台在确定获取执行业务的资格时,可根据区块链中的区块确定出在参与此次业务的资格获取活动中,哪些终端具备获取执行该业务的资格。其中,这里提到的终端标识可以是诸如终端序列号、蓝牙地址、媒体访问控制(Media Access Control,MAC)地址等能够唯一标识终端的标识信息。
终端得到上述预处理块后,可将该预处理块发送至其他参与此次业务资格获取活动的其他终端中,以使其他终端对该预处理块进行共识。具体的,其他终端可对该预处理块中包含的待验证结果进行共识,并在确定出该待验证结果通过共识后,将该预处理块写入到本地保存的针对该业务的区块链中。
在本申请实施例中,终端在向业务平台发送上述资格获取请求时,业务平台可获取到该终端的地址,并将该地址进行保存。同样,对于参与此次业务资格获取活动的所有终端来说,业务平台需要获取到这些终端的地址,进而使终端可能根据业务平台所获取到的地址,将上述预处理块发送至其他终端进行共识,如图2所示。
图2为本申请实施例提供的业务平台获取终端的地址的示意图。
在图2中,终端在向业务平台发送上述资格获取请求时,业务平台将获取到该终端的地址,并将其进行保存。其中,该地址可以是终端主动向业务平台提供的,即,终端可将该地址携带在该资格获取请求中,业务平台通过对该资格获取请求的解析,可以获取到该终端的地址并保存。
当然,终端的地址可以是业务平台主动从终端中获取的,如,业务平台在接收到终端发送的上述资格获取请求后,可向终端发送一个地址询问请求,终端在接收到该地址询问请求后,可将自身的地址返回给业务平台。
对于每个参与到此次业务资格获取活动中的终端来说,业务平台均可以获取到这些终端的地址,并将这些地址进行保存。这样一来,终端后续将上述预处理块发送至其他终端的过程中,可将该预处理块先发送至业务平台中,再由业务平台根据获取到的终端的地址,将该预处理块发送至其他终端中进行共识。当然,终端也可以从业务平台中获取到该业务平台获取到的各终端的地址(即当前时刻已参与到此次资格获取活动中的各终端的地址),而后在通过获取到的各地址,将该预处理块发送至其他终端中进行共识。
其中,业务平台将上述预处理块发送至其他终端的过程中,是将该预处理块发送至此刻已参与到业务资格获取活动中的终端。这是因为,在实际应用中, 各用户通常是陆续参与到业务资格获取活动中的,所以,业务平台此刻只能获取到当前时刻已参与到业务资格获取活动中各终端的地址(即此刻已向业务平台发送上述资格获取请求的终端的地址)。
当然,若该业务的资格获取活动支持预约的话,业务平台除了可将上述预处理块发送至此刻已参与到该业务资格获取活动中的终端外,还可发送至此刻未参与到该目标资格获取活动,但是提前预约参与此次业务资格获取活动中的终端。相应的,对于预约此次业务资格获取活动的终端来说,这些终端在进行预约的过程中,需要将自身的地址发送至业务平台中进行保存,以使业务平台可通过获取到的这些地址,将上述预处理块发送至参与预约此次业务资格获取活动中的终端。
对于每个参与到此次业务资格获取活动中的终端来说,终端在接收到上述预处理块后,可对该预处理块中包含的待验证结果进行共识,并在确定出该待验证结果通过共识后,将该预处理块作为区块存储在该业务对应的区块链中。其中,终端可以各区块的生成时间将各区块写入到该业务对应的区块链中,如图3所示。
图3为本申请实施例提供的业务对应的区块链的示意图。
对于参与上述预处理块共识的每个终端来说,终端确定上述预处理块通过共识后,可按照预处理块中待验证结果的生成时间,将该预处理块作为区块写入到上述业务对应的区块链中。其中,对于该区块链中的每个区块来说,该区块中包含有通过终端生成该区块(预处理块通过共识后可以成为区块)的用户的用户标识。这样一来,后续业务平台从该区块链中确定出符合资格获取规则的至少一个区块后,可以根据区块中包含的用户标识,最终确定出获取执行该业务资格的用户。
需要说明的是,在本申请实施例中,终端除了可以按照上述待验证结果的生成时间,将通过共识的预处理块(通过共识的预处理块也称为区块)写入到上述业务的区块链中,也可以按照预处理块通过共识的时间顺序,将预处理块 作为区块写入到区块链中,还可以按照预处理块的生成时间,来将通过共识的预处理块作为区块写入到区块链中。当然,参与共识的终端也可以按照其他的标准将通过共识的预处理块作为区块写入到区块链中,在此就不一一举例说明了。
S103:当确定所述业务满足预设条件时,从至少一个终端中获取区块链,并从所述区块链中选择符合所述资格获取规则的至少一个区块。
业务平台在确定符合上述资格获取规则的区块时,可以对上述业务是否满足预设条件进行监测,当确定该业务满足预设条件时,则可从参与业务资格获取活动的至少一个终端中获取该业务对应的区块链,以从区块链中确定出符合上述资格获取规则的至少一个区块。
其中,这里提到的预设条件可以是:监测上述业务是否到达该业务所规定的设定时间,而这里提到的设定时间可以是指该业务资格获取活动的资格参与时间的截止时间,这里提到的截止时间可以理解成业务的资格获取活动有起始时间和截止时间,截止时间即为业务平台不再接收或受理终端发送的资格获取请求时的时间,业务的资格参与时间也可以理解为业务平台开始确定能够获取执行业务资格的用户的起始时间,起始时间和截止时间之间这一时间段即为该业务的资格参与时间。所以,业务平台确定出该业务满足预设条件可以是指确定当前时刻已到达该业务的资格参与时间的截止时间。
当然,在本申请实施例中,上述提到的设定时间除了可以是上述业务资格获取活动的截止时间外,还可以是其他的时间。如,上述设定时间也可以是指上述业务对应的区块链中一个指定的区块生成时间,相应的,上述提到的确定该业务满足预设条件则可以是业务平台从终端中获取到该业务的区块链,并确定出该区块链中当前时刻位于最后的区块的生成时间(该生成时间包含在区块中),当确定该区块的生成时间已到达该业务所规定的设定时间时,则确定该业务满足预设条件。除此之外,上述设定时间也可以其他形式的时间,在此就不一一举例说明了。
在本申请实施例中,上述提到的预设条件中也可以是指上述业务规定的区块数量。相应的,业务平台确定该业务满足预设条件可以是指:业务平台从参与该业务资格获取活动的至少一个终端获取到该业务对应的区块链中,可以确定出该区块链中所包含的区块的数量,当确定出该区块链中包含的区块的数量不小于该业务规定的区块数量时,则可以确定出该业务满足预设条件。
上述业务的预设条件除了可以上述两种预设条件外,还可以是其他的预设条件。例如,该业务的预设条件可以是:参与此次业务资格获取活动的终端的数量是否已满足该业务所规定的终端数量,换句话说,业务平台接收到的终端发送的上述资格获取请求的数量是否达到了该业务所规定的数量(通常终端只向业务平台发送一次资格获取请求)。相应的,业务平台当确定出向该业务平台发送针对此次业务资格获取活动的资格获取请求的终端数量已满足该业务所规定的终端数量时,则可确定出该业务满足预设条件。
当然,业务的预设条件也可以是其他形式的预设条件,业务平台的运维人员可以根据实际需求来设定不同的预设条件,在此就不一一举例说明了。
当业务平台确定上述业务满足预设条件时,可以从参与此次业务资格获取活动的至少一个终端中获取到该业务对应的区块链,继而从该区块链中确定出符合上述资格获取规则的至少一个区块。
其中,业务平台可以从参与此次业务资格获取活动中的多个终端中获取各终端保存的该业务对应的区块链,并从获取到的各区块链中挑选出一个主链,继而从该主链中包含的区块中选择出符合上述资格获取规则的区块。其中,这里提到的主链可以是指最长链。
业务平台选取最长链的目的在于,在实际应用中,对于不同终端保存的针对上述业务的区块链来说,最长链中记录的此次业务资格获取活动中所生成的区块往往是最为完整的,所以,业务平台从该最长链中确定符合资格获取规则的区块也是最有效的,即,不会存在诸如漏选等情况发生。
当然,对于上述业务对应的区块链中可能出现多个侧链的情况来说,上述 业务平台在获取到上述业务对应的区块链后,可从多个侧链中选取出一个主链,进而在后续的过程中,从选取出的主链中选择出符合上述资格获取规则的至少一个区块。其中,选取主链的方式同样可以是从该区块链中的众多侧链中选取出一个长度最长(即区块数量最多)的最长链作为主链。
需要说明的是,在本申请实施例中,选取主链的方式除了上述说明的选取最长链的方式外,还可以通过其他的方式来选取。如,业务平台从各终端中获取到针对上述业务的各区块链后,可针对每个区块链,确定出该区块链中在本次资格获取活动期间起始块(即该区块链所记录的本次资格获取活动开始后产生的第一个区块)和截止块(即该区块链所记录的本次资格获取活动开始后产生的最后一个区块)的生成时间。而后,业务平台可将各区块链中,该起始块和截止块的生成时间最接近本次资格获取活动起始时间和截止时间的区块链作为主链(资格获取活动的起始时间和截止时间即为上述提到的资格参与时间的起始时间和截止时间)。
上述说明的确定主链的方式对于上述提到的区块链中可能出现多个侧链的情况来说也同样适用,即,确定出每个侧链中所包含的起始块和截止块(这里提到的起始块和截止块是指每条侧链中,该侧链所记录的本次资格获取活动的起始块和截止块)的生成时间,继而从各侧链中选取出一个起始块和截止块的生成时间与上述资格获取活动的起始时间和截止时间最为接近的侧链作为主链。当然,确定主链的方式还可以有其他的方式,在此就不一一举例说明了。
业务平台从获取到的针对上述业务的区块链后,可从该区块链中包含的各区块中确定出符合上述资格获取规则的至少一个区块。具体的确定方式可以是:业务平台可以针对该区块链中包含的每个区块,确定出该区块在该区块链中的位置,而后,业务平台可进一步的确定出该区块所处的位置是否为该资格获取规则所规定的符合资格获取规则的区块在区块链中所处的位置,若是,则确定出该区块为符合该资格获取规则的区块。
例如,假设该业务对应的资格获取规则规定区块链(或最长链)中第3、 第19、第44、第88(第3、第19、第44、第88即为该资格获取规则所规定的符合资格获取规则的区块在区块链中所处的位置)这4个区块为符合资格获取规则的区块,则业务平台可从该区块链(或最长链)中选取这4个区块,继而将这4个区块确定为符合该资格获取规则的区块,并在后续过程中,将这4个区块中包含的用户标识所对应的用户确定为获取执行此次业务资格的用户。
当然,上述资格获取规则除了以区块在区块链中所处的位置来规定符合资格获取规则的区块外,也可以按照其他的方式来进行规定。如,该资格获取规则可以按照区块入链的时间来规定区块链中的区块是否符合该资格获取规则,或是,资格获取规则可以按照区块的生成时间(也可以理解成预处理块的生成时间)来规定区块链中的区块是否符合该资格获取规则。当然也可以采用其他的方式进行规定,在此就不一一举例说明了。
在本申请实施例中,上述业务在终端均对应有一个区块链,该区块链中包含有业务资格获取活动期间,各终端根据上述结果生成规则所生成的预处理块(通过共识后也可以称之为区块)。然而,在实际应用中,上述业务资格获取活动可能并不只是举行一次,业务平台可能针对同种业务举办多次该业务的资格获取活动。所以,终端中往往记录有业务所有资格获取活动期间所产生的区块。
而为了使业务平台能够从该业务对应的区块链中准确的确定出在此次业务资格获取活动期间所产生的区块中,哪些(或哪个)区块是符合上述资格获取规则的区块,业务平台需要根据区块链中区块包含的待验证结果的生成时间(或是区块的生成时间,其中,区块的生成时间也可以理解成预处理块的生成时间),确定出在此次业务资格获取活动期间,哪些区块是在此期间生成的。换句话说,业务平台需要从该区块链中确定出哪些(或哪个)区块是在此次业务的资格参与时间段内生成的。
因此,在本申请实施例中,业务平台可从获取到的上述区块链中,确定出该区块链中包含的各区块,并进一步的确定出各区块中所包含的待验证结果的 生成时间。而后,业务平台可根据确定出的各区块中包含的待验证结果的生成时间,从这些区块中确定出在上述业务所规定的设定时间段内所生成的区块。其中,这里提到的该业务所规定的设定时间段可以指该此次业务资格获取活动的资格参与时间。
业务平台可从获取到的该业务对应的区块链中,查看哪些(或哪个)区块中包含的待验证结果的生成时间是指此次业务的资格参与时间段内生成的,进而将这些区块确定为此次业务资格获取活动期间,终端根据上述结果生成规则所生成的区块。
当然,上述说明的该业务规定的设定时间段除了可以是资格参与时间外,还可以是其他的时间段,该设定时间段可由业务平台的运维人员根据实际需求来进行设定,在此就不一一举例说明了。
除了通过区块中包含的待验证结果的生成时间来确定上述业务对应的区块链中,哪些(或哪个)区块是在此次业务资格获取活动期间生成的外,还可以通过区块中包含的其他信息来确定。例如,假设终端在生成预处理块中,还将从业务平台获取到的结果生成规则(或资格获取规则)的标识信息携带在该预处理块中。其中,每次业务资格获取活动所对应的业务可以是同一业务,但是,每次业务资格获取活动所对应的结果生成规则(或资格获取规则)可以是不同的,相应的,不同的结果生成规则(或资格获取规则)可以对应不同的标识信息。基于此,若终端也将此次业务资格获取活动所对应的结果生成规则(或资格获取规则)的标识信息携带在预处理块中,则业务平台后续也可通过区块中(预处理块一定通过共识则将成为区块写入到该业务对应的区块链中)包含的结果生成规则(或资格获取规则)的标识信息,确定出哪些(或哪个)区块是属于此次业务资格获取活动的区块。
除此之外,业务平台也可通过其他的方式来确定出此次业务资格获取活动所对应的区块。如,针对同一业务所举办的不同资格获取活动,每次业务资格获取活动均对应有一个活动标识,终端在生成上述预处理块时,可将该活动标 识携带在该预处理块中。这样一来,业务平台后续可通过区块(预处理块通过共识后则作为区块写入到该业务对应的区块链中)中包含的活动标识,确定出哪些(或哪个)区块是在此次业务资格获取活动期间生成的。当然,还可以通过其他的方式确定出在此次业务资格获取活动期间所生成的区块,在此就不一一举例说明了。
需要说明的是,在本申请实施例中,业务平台在从参与此次业务资格获取活动中的至少一个终端获取该业务对应的区块链时,由于终端在向业务平台发送上述资格获取请求时,业务平台可获取到终端的地址。所以,业务平台可通过先前获取到的至少一个地址,从参与此次业务资格获取活动中的至少一个终端中获取到该业务对应的区块链,进而从该区块链中确定出符合上述资格获取规则的至少一个区块。
S104:针对所述至少一个区块中包含的用户标识执行所述业务。
业务平台从获取到的上述业务对应的区块链中,确定出符合上述资格获取规则的至少一个区块后,可根据区块中包含的用户标识,确定出获取执行该业务资格的用户,进而针对确定出的用户执行上述业务。其中,获取到执行该业务资格的用户是指可以通过该业务平台对该业务进行执行的用户。
与此同时,业务平台还可将符合上述资格获取规则的至少一个区块中包含的用户标识进行公布,以使其他参与到此次业务资格获取活动中的用户能够通过终端查看到业务平台所公布出的结果。并且,用户查看到业务平台所公布出的结果后,可通过终端来对该结果进行验证,以确定业务平台所公布出的结果是否为真实有效的结果。
其中,终端在获取到业务平台所公布的获取执行上述业务资格的用户的用户标识后,可根据自身保存的该业务的区块链,以及先前从业务平台中获取的资格获取规则,从该区块链中确定出符合该资格获取规则的至少一个区块,并进一步确定出所述至少一个区块所包含的用户标识。终端可将自身确定出的有权获取到执行该业务资格的用户的用户标识,与从业务平台中获取到的用户标 识进行对比。当确定自身确定出的用户标识与业务平台公布出的用户标识一致时,则可确定出业务平台所公布出的结果是真实有效的,若否则可认定业务平台在此次业务资格获取活动中存在弄虚作假的行为。
从上述方法可以看出,由于各终端可将根据结果生成规则生成的待验证结果写入到业务对应的区块链中,这样,各终端均可通过自身保存的针对该业务的区块链,查看到其他终端所生成的区块。并且,业务平台可将如何能够获取执行该业务的资格获取规则下发至各终端中,从而使得终端根据获取到的资格获取规则以及自身保存的针对该业务的区块链,对业务平台公布的结果进行验证。对于用户而言,有效的防止了业务平台在确定获取执行该业务的用户的过程中存在徇私舞弊的行为,从而保障了用户的权益不受侵害。而对于业务平台而言,则向用户提供的一种有效的验证方式,从而提高了自身的公信力。
需要说明的是,在本申请实施例中,管理参与此次业务资格获取活动的各终端的地址也可由一个专门的服务中心来进行负责,如图4所示。
图4为本申请实施例提供的服务中心管理地址的示意图。
在本申请实施例中,对于参与此次业务资格获取活动的每个用户来说,该用户通过终端在向业务平台发送上述资格获取请求的时候,可以先向终端的地址发送至该服务中心,相应的,服务中心在接收到终端发送的地址后,可将该地址进行保存。
当然,服务中心也可以主动获取该终端的地址。具体的,终端可先将上述资格获取请求发送至服务中心,由服务中心将该资格获取请求发送至业务平台中,服务中心在接收到终端发送的资格获取请求后,可向终端发送地址的询问消息,以使终端在接收到该询问消息后,将自身的地址主动发送至服务中心中。服务中心也可以在接收到终端发送的资格获取请求后,主动从该终端中获取到相应的地址并保存。除此之外,终端也可将自身的地址携带在该资格获取请求中发送至服务中心,服务中心通过对该资格获取请求的解析,获取到该终端的地址。
而在预处理块的共识过程中(或称之为待验证结果的共识过程),终端可从服务中心中获取到当前时刻参与到此次业务资格获取活动中的各终端(若此次业务资格获取活动可以提前预约,则这些终端中也包含有参与预约的终端)的地址,继而将自身生成的预处理块发送至这些地址所对应的终端中进行共识。
当然,终端也可将该预处理块发送至服务中心中,而服务中心则可根据获取到的当前时刻参与此次业务资格获取活动的终端的地址,将预处理块发送至各地址所对应的终端中进行共识。
需要说明的是,在本申请实施例中,无论是业务平台还是服务中心,也可不保存参与此次业务资格获取活动的终端的地址,而是将参与此次业务资格获取活动的用户的用户标识(如用户账号等)进行保存。这样一来,无论是业务平台还是服务中心,后续可根据先前获取到的各用户标识(当前时刻参与此次业务资格获取活动的用户的用户标识),将预处理块发送至当前用户通过用户标识参与此次业务资格获取活动所使用的终端中。
当然,业务平台或是服务中心也可将先前获取到的当前时刻参与此次业务资格获取活动的用户的用户标识发送至终端,以使终端通过获取到的各用户标识,将自身生成的预处理块发送至当前用户通过这些用户标识参与此次业务资格获取活动所使用的终端中。
在上述步骤S104中,对于每个终端来说,当该终端根据自身保存的上述业务对应的区块链以及从业务平台获取的资格获取规则,确定出业务平台所公布的结果不是真实有效的结果时(即业务平台所公布出的至少一个用户标识所对应的用户不具备获取执行该业务的资格),则可联合向第三方公正结构发起针对业务平台此次业务资格获取活动存在弄虚作假行为的通知。换句话说,对于参与此次业务资格获取活动的每个终端来说,当该终端确定出业务平台所公布的结果不是真实有效的结果时,则可向第三方公正结构发起针对业务平台此次业务资格获取活动存在弄虚作假行为的通知。
而第三方公正结构当确定接收到的针对业务平台此次业务资格获取活动 存在弄虚作假行为的通知达到设定数量时,则可认定业务平台针对此次业务资格获取规则所公布出的结果缺乏真实性,继而认定业务平台所公布出的结果作废,并可向该业务平台进行责任追究。
在本申请实施例中,终端也可将根据上述业务平台下发的结果生成规则得到的待验证结果向发送至共识网络中的各终端(即当前时刻参与到上述目标业务资格获取活动中的终端)进行共识,待该待验证结果通过共识后,再将该待验证结果写入到包含有用户标识的区块中发送至共识网络中的各终端中。而各终端则可将该区块写入到该目标业务所对应的区块链中。
上述业务平台在接收到各终端发送的业务资格获取请求时,可能会出现短时间内接收大量业务资格获取请求的情况出现。所以,业务平台在接收到一部分业务资格获取请求后,也可不立即将上述资格获取规则以及结果生成规则返回给各终端,而是将这些业务资格获取请求随机分成若干批次,而后,每经过设定的时间间隔,向一个批次的业务资格获取请求所对应的各终端返回相应的资格获取规则以及结果生成规则。
此举的目的在于,在实际应用中,区块链中后一个区块的区块头中包含有前一个区块的头Hash,继而通过这种方式将各区块首尾连接起来。而由于上述业务平台在目标业务资格获取活动开始时,可能短时间内接收到大量的由各终端发送的业务资格获取请求。而各终端根据业务平台返回的结果生成规则,得到相应待验证结果以及待验证块时,待验证块中包含的前一区块的头Hash可能均为同一区块的头Hash,从而导致大量侧链的出现。
为了有效的降低侧链的出现,在本申请实施例中,业务平台在接收到大量的业务资格获取请求后,可先不立即向各终端返回相应的资格获取规则以及结果生成规则,而是将这些业务资格获取请求随机进行分组,并每隔设定时间间隔后,向一组业务资格获取请求所对应的终端返回相应的资格获取规则以及结果生成规则。这样一来,最先接收到业务平台返回资格获取规则以及结果生成规则的一个批次的终端可能会由于时间的优势将自己生成的、通过共识的区块 最先写入到区块链中,而下一个批次的终端根据结果生成规则生成待验证块时,很可能是基于前一批次所生成的区块来得到的。换句话说,每个批次中各终端所生成的区块中将很可能包含有前一批次中各终端所生成的区块的头Hash,这样则可在一定程度上降低侧链的出现以及复杂度。
对于出现侧链长度均相同的情况来说,后续终端需要在侧链基础上将自己生成、通过共识的区块写入到区块链中时,可随机从这些侧链中选取一个侧链,进而在生成预处理块时,将该侧链当前最后一个区块的头Hash写入到该预处理块中。这样一来,当该预处理块通过共识时,各终端(当前已参与到此次资格获取活动中的各终端,可以包括提前预约的)可根据该预处理块中包含的上一个区块的头Hash,确定出该头Hash对应的区块所位于侧链,进而将该预处理块作为区块写入到该侧链中。
在本申请实施例中,当前时刻参与到此次资格获取活动中的各终端在对某一终端所发送的预处理块进行共识时,一旦确定该预处理块通过共识后,除了可将该预处理块作为区块写入到上述业务对应的区块链中外,还可将在对该预处理块进行共识的过程中,其他终端以及自身所发送的预处理块进行忽略(或删除),进而使其他终端以及自身重新根据从业务平台获取到的结果生成规则生成相应的待验证结果,并将该待验证结果携带在重新生成的预处理块中发送至共识网络中的各终端中进行共识。这样可以进一步的降低在区块链中产生侧链的可能。
而由于在本次资格获取活动中,各终端所获取的结果生成规则至始至终可以一个结果生成规则。所以,各终端对预处理块进行共识时,除了需要对该预处理块中所包含的待验证结果进行验证以确定该待验证结果是否符合该结果生成规则外,还可以验证该待验证结果是否与之前共识过程中预处理块中包含的待验证结果是否为同一结果,以及验证该待验证结果的生成时间与之前共识过程中预处理块中包含的待验证结果的生成时间之间的时间间隔是否满足设定的时间间隔。若验证该待验证结果与之前共识过程中预处理块中包含的待验 证结果为同一结果,且该待验证结果的生成时间与之前共识过程中预处理块中包含的同一待验证结果的生成时间之间的时间间隔未满足设定的时间间隔时,则可认定生成该待验证结果的终端存在抄袭行为,即,该待验证结果并不是该终端通过消耗一定计算资源和时间而得来的,而是可能直接从之前通过共识的区块中获取到的。这样一来,该待验证结果所属的预处理块也将无法通过共识网络中各终端的共识。
还需要说明的是,为了能够清楚、详细的说明本申请所提供的业务执行的过程,本申请实施例中以秒杀商品的具体场景来对业务执行过程中所涉及的一些内容进行了举例说明。然而,本申请实施例所提供的业务执行方式并不仅仅限于上述秒杀商品的场景中,也适用于类似秒杀商品的其他场景,如商品抽奖、汽车摇号等,这些场景中所涉及的业务执行过程与本申请所提供的业务执行过程基本相同,在此就不进行详细说明了。
以上为本申请实施例提供的业务执行方法,基于同样的思路,本申请实施例还提供两种业务执行的装置,如图5、6所示。
图5为本申请实施例提供的一种业务执行的装置示意图,具体包括:
接收模块501,接收终端针对业务发送的资格获取请求;
返回模块502,根据所述资格获取请求,向所述终端返回资格获取规则以及结果生成规则,以使所述终端生成与所述结果生成规则相对应的待验证结果,并将包含所述待验证结果以及用户标识的预处理块进行共识,以及当通过共识后,将所述预处理块作为区块写入到区块链中;
获取模块503,当确定所述业务满足预设条件时,从至少一个终端中获取区块链,并从所述区块链中选择符合所述资格获取规则的至少一个区块;
执行模块504,针对所述至少一个区块中包含的用户标识执行所述业务。
所述获取模块503,当确定当前时刻到达所述业务的设定时间时,则确定所述业务满足预设条件;和/或
从至少一个终端中获取对应所述业务的区块链,确定所述区块链中包含的 区块的数量,当确定所述数量不小于所述业务规定的区块数量时,则确定所述业务满足预设条件。
所述获取模块503,从所述区块链中选取出主链;从所述主链中选择符合所述资格获取规则的至少一个区块。
所述获取模块503,将所述区块链中的最长链选取为所述主链。
所述获取模块503,针对所述区块链中的每个区块,确定该区块在所述区块链中的位置;当确定该区块在所述区块链中的位置位于所述资格获取规则所规定的位置时,确定该区块为符合所述资格获取规则的区块。
所述预处理块中包含有待验证结果的生成时间;
所述获取模块503,所述获取模块,根据所述区块链中各区块所包含的待验证结果的生成时间,确定在所述业务规定的设定时间内所生成的至少一个区块;从确定出的至少一个区块中选择符合所述资格获取规则的至少一个区块。
所述执行模块504,将所述至少一个区块包含的用户标识进行公布。
图6为本申请实施例提供的另一种业务执行的装置示意图,具体包括:
发送模块601,向业务平台发送针对业务的资格获取请求;
第一接收模块602,接收所述业务平台根据所述资格获取请求返回的资格获取规则以及结果生成规则;
结果生成模块603,根据所述结果生成规则,生成相对应的待验证结果;
预处理块生成模块604,生成包含有所述待验证结果以及用户标识的预处理块,并将所述预处理块发送至其他终端,以使所述其他终端对所述预处理块进行共识;
写入模块605,当确定所述预处理块通过所述其他终端的共识后,将所述预处理块作为区块写入到所述装置包含的区块链中;
第二接收模块606,当接收到所述业务平台发送的资格确认信息时,则将自身保存的所述区块链发送至所述业务平台,以使所述业务平台从所述区块链中选择符合所述资格获取规定的至少一个区块,并针对所述至少一个区块中包 含的用户标识执行所述业务。
所述预处理块生成模块604,根据所述结果生成规则,生成相应的待验证结果;生成包含有所述待验证结果、用户标识以及所述待验证结果的生成时间的预处理块。
所述预处理块生成模块604,从业务平台中获取其他终端的地址,所述其他终端的地址是所述业务平台接收其他终端发送的针对所述业务的资格获取请求时,从其他终端中获取到的;根据获取到的其他终端的地址,将所述预处理块发送至其他终端中。
所述装置还包括:
验证模块607,获取所述业务平台公布的至少一个用户标识;根据所述区块链以及所述资格获取规则,验证所述至少一个用户标识对应的用户是否具有执行所述业务的资格。
在本申请实施例中,业务平台在接收到各终端发送的针对业务的资格获取请求后,可分别向各终端返回资格获取规则以及结果生成规则,对于每个终端来说,该终端可根据业务平台返回的结果生成规则,生成相应的待验证结果,而后再将该待验证结果以及使用该终端的用户的用户标识携带在预处理块中发送至其他终端,并在确定该预处理块通过其他终端的共识后,将该预处理块作为区块写入到自身保存的针对业务的区块链中。而业务平台在确定能够获取执行业务的资格的用户时,可从至少一个终端中获取到针对该业务的区块链,并根据获取到的区块链,确定符合资格获取规则的区块,继而根据区块中包含的用户标识,针对该用户标识对应的用户执行该业务。由于各终端可将根据结果生成规则生成的待验证结果写入到业务对应的区块链中,这样,各终端均可通过自身保存的针对该业务的区块链,查看到其他终端所生成的区块。并且,业务平台可将如何能够获取执行该业务的资格获取规则下发至各终端中,从而使得终端根据获取到的资格获取规则以及自身保存的针对该业务的区块链,对业务平台确定出的能够执行该业务的用户的用户标识进行验证。对于用户而言, 有效的防止了业务平台在确定获取执行该业务的用户的过程中存在徇私舞弊的行为,从而保障了用户的权益不受侵害。而对于业务平台而言,则向用户提供的一种有效的验证方式,从而提高了自身的公信力。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器 或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和 /或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中 的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (22)

  1. 一种业务执行的方法,包括:
    业务平台接收终端针对业务发送的资格获取请求;
    根据所述资格获取请求,向所述终端返回资格获取规则以及结果生成规则,以使所述终端生成与所述结果生成规则相对应的待验证结果,并将包含所述待验证结果以及用户标识的预处理块进行共识,以及当通过共识后,将所述预处理块作为区块写入到区块链中;
    当确定所述业务满足预设条件时,从至少一个终端中获取区块链,并从所述区块链中选择符合所述资格获取规则的至少一个区块;
    针对所述至少一个区块中包含的用户标识执行所述业务。
  2. 如权利要求1所述的方法,确定所述业务满足预设条件,具体包括:
    当确定当前时刻到达所述业务的设定时间时,则确定所述业务满足预设条件;和/或
    从至少一个终端中获取对应所述业务的区块链,确定所述区块链中包含的区块的数量,当确定所述数量不小于所述业务规定的区块数量时,则确定所述业务满足预设条件。
  3. 如权利要求1所述的方法,从所述区块链中选择符合所述资格获取规则的至少一个区块,具体包括:
    从所述区块链中选取出主链;
    从所述主链中选择符合所述资格获取规则的至少一个区块。
  4. 如权利要求3所述的方法,从所述区块链中选取出主链,具体包括:
    将所述区块链中的最长链选取为所述主链。
  5. 如权利要求1所述的方法,从所述区块链中选择符合所述资格获取规则的至少一个区块,具体包括:
    针对所述区块链中的每个区块,确定该区块在所述区块链中的位置;
    当确定该区块在所述区块链中的位置位于所述资格获取规则所规定的位置时,确定该区块为符合所述资格获取规则的区块。
  6. 如权利要求1所述的方法,所述预处理块中包含有待验证结果的生成时间;
    从所述区块链中选择符合所述资格获取规则的至少一个区块,具体包括:
    根据所述区块链中各区块所包含的待验证结果的生成时间,确定在所述业务规定的设定时间段内所生成的区块;
    从确定出的区块中选择符合所述资格获取规则的至少一个区块。
  7. 如权利要求1所述的方法,所述方法还包括:
    将所述至少一个区块包含的用户标识进行公布。
  8. 一种业务执行的方法,包括:
    终端向业务平台发送针对业务的资格获取请求;
    接收所述业务平台根据所述资格获取请求返回的资格获取规则以及结果生成规则;
    根据所述结果生成规则,生成相对应的待验证结果;
    生成包含有所述待验证结果以及用户标识的预处理块,并将所述预处理块发送至其他终端,以使所述其他终端对所述预处理块进行共识;
    当确定所述预处理块通过所述其他终端的共识后,将所述预处理块作为区块写入到所述终端自身的区块链中;
    当接收到所述业务平台发送的资格确认信息时,则将自身保存的所述区块链发送至所述业务平台,以使所述业务平台从所述区块链中选择符合所述资格获取规定的至少一个区块,并针对所述至少一个区块中包含的用户标识执行所述业务。
  9. 如权利要求8所述的方法,生成包含有所述待验证结果以及用户标识的预处理块,具体包括:
    根据所述结果生成规则,生成相应的待验证结果;
    生成包含有所述待验证结果、用户标识以及所述待验证结果的生成时间的预处理块。
  10. 如权利要求8所述的方法,将所述预处理块发送至其他终端,具体包括:
    从业务平台中获取其他终端的地址,所述其他终端的地址是所述业务平台接收其他终端发送的针对所述业务的资格获取请求时,从其他终端中获取到的;
    根据获取到的其他终端的地址,将所述预处理块发送至其他终端中。
  11. 如权利要求8所述的方法,所述方法还包括:
    获取所述业务平台公布的至少一个用户标识;
    根据所述区块链以及所述资格获取规则,验证所述至少一个用户标识对应的用户是否具有执行所述业务的资格。
  12. 一种业务执行的装置,包括:
    接收模块,接收终端针对业务发送的资格获取请求;
    返回模块,根据所述资格获取请求,向所述终端返回资格获取规则以及结果生成规则,以使所述终端生成与所述结果生成规则相对应的待验证结果,并将包含所述待验证结果以及用户标识的预处理块进行共识,以及当通过共识后,将所述预处理块作为区块写入到区块链中;
    获取模块,当确定所述业务满足预设条件时,从至少一个终端中获取区块链,并从所述区块链中选择符合所述资格获取规则的至少一个区块;
    执行模块,针对所述至少一个区块中包含的用户标识执行所述业务。
  13. 如权利要求12所述的装置,所述获取模块,当确定当前时刻到达所述业务的设定时间时,则确定所述业务满足预设条件;和/或
    从至少一个终端中获取对应所述业务的区块链,确定所述区块链中包含的区块的数量,当确定所述数量不小于所述业务规定的区块数量时,则确定所述业务满足预设条件。
  14. 如权利要求12所述的装置,所述获取模块,从所述区块链中选取出 主链;从所述主链中选择符合所述资格获取规则的至少一个区块。
  15. 如权利要求14所述的装置,所述获取模块,将所述区块链中的最长链选取为所述主链。
  16. 如权利要求12所述的装置,所述获取模块,针对所述区块链中的每个区块,确定该区块在所述区块链中的位置;当确定该区块在所述区块链中的位置位于所述资格获取规则所规定的位置时,确定该区块为符合所述资格获取规则的区块。
  17. 如权利要求12所述的装置,所述预处理块中包含有待验证结果的生成时间;
    所述获取模块,根据所述区块链中各区块所包含的待验证结果的生成时间,确定在所述业务规定的设定时间内所生成的区块;从确定出的区块中选择符合所述资格获取规则的至少一个区块。
  18. 如权利要求12所述的装置,所述执行模块,将所述至少一个区块包含的用户标识进行公布。
  19. 一种业务执行的装置,包括:
    发送模块,向业务平台发送针对业务的资格获取请求;
    第一接收模块,接收所述业务平台根据所述资格获取请求返回的资格获取规则以及结果生成规则;
    结果生成模块,根据所述结果生成规则,生成相对应的待验证结果;
    预处理块生成模块,生成包含有所述待验证结果以及用户标识的预处理块,并将所述预处理块发送至其他终端,以使所述其他终端对所述预处理块进行共识;
    写入模块,当确定所述预处理块通过所述其他终端的共识后,将所述预处理块作为区块写入到所述装置包含的区块链中;
    第二接收模块,当接收到所述业务平台发送的资格确认信息时,则将自身保存的所述区块链发送至所述业务平台,以使所述业务平台从所述区块链中选 择符合所述资格获取规定的至少一个区块,并针对所述至少一个区块中包含的用户标识执行所述业务。
  20. 如权利要求19所述的装置,所述预处理块生成模块,根据所述结果生成规则,生成相应的待验证结果;生成包含有所述待验证结果、用户标识以及所述待验证结果的生成时间的预处理块。
  21. 如权利要求19所述的装置,所述预处理块生成模块,从业务平台中获取其他终端的地址,所述其他终端的地址是所述业务平台接收其他终端发送的针对所述业务的资格获取请求时,从其他终端中获取到的;根据获取到的其他终端的地址,将所述预处理块发送至其他终端中。
  22. 如权利要求19所述的装置,所述装置还包括:
    验证模块,获取所述业务平台公布的至少一个用户标识;根据所述区块链以及所述资格获取规则,验证所述至少一个用户标识对应的用户是否具有执行所述业务的资格。
PCT/CN2018/087595 2017-05-22 2018-05-21 一种业务执行的方法及装置 WO2018214833A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
MYPI2019004926A MY195941A (en) 2017-05-22 2018-05-21 Service Execution Method and Device
SG11201907830PA SG11201907830PA (en) 2017-05-22 2018-05-21 Service execution method and device
JP2019546288A JP6896087B2 (ja) 2017-05-22 2018-05-21 サービス実行方法およびデバイス
EP18805639.4A EP3576036A4 (en) 2017-05-22 2018-05-21 SERVICE EXECUTION DEVICE AND METHOD
KR1020197025112A KR102288344B1 (ko) 2017-05-22 2018-05-21 서비스 실행 방법 및 디바이스
PH12019501964A PH12019501964A1 (en) 2017-05-22 2019-08-27 Service execution method and device
US16/664,020 US11188961B2 (en) 2017-05-22 2019-10-25 Service execution method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710362177.X 2017-05-22
CN201710362177.XA CN107392623B (zh) 2017-05-22 2017-05-22 一种业务执行的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/664,020 Continuation US11188961B2 (en) 2017-05-22 2019-10-25 Service execution method and device

Publications (1)

Publication Number Publication Date
WO2018214833A1 true WO2018214833A1 (zh) 2018-11-29

Family

ID=60338409

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/087595 WO2018214833A1 (zh) 2017-05-22 2018-05-21 一种业务执行的方法及装置

Country Status (10)

Country Link
US (1) US11188961B2 (zh)
EP (1) EP3576036A4 (zh)
JP (1) JP6896087B2 (zh)
KR (1) KR102288344B1 (zh)
CN (1) CN107392623B (zh)
MY (1) MY195941A (zh)
PH (1) PH12019501964A1 (zh)
SG (1) SG11201907830PA (zh)
TW (1) TWI687833B (zh)
WO (1) WO2018214833A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110517139A (zh) * 2019-08-23 2019-11-29 电子科技大学 一种基于投票机制的联盟区块链分权共识方法
CN111212074A (zh) * 2020-01-02 2020-05-29 腾讯科技(深圳)有限公司 基于区块链的资格认定方法、装置、设备及存储介质

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395665B (zh) * 2017-05-22 2020-04-24 创新先进技术有限公司 一种区块链业务受理及业务共识方法及装置
CN107392623B (zh) 2017-05-22 2020-09-11 创新先进技术有限公司 一种业务执行的方法及装置
CN107577694B (zh) * 2017-07-14 2020-04-24 创新先进技术有限公司 一种基于区块链的数据处理方法及设备
CN108596615B (zh) * 2018-04-04 2021-09-14 中国地质大学(武汉) 一种基于区块链的存证保全公证方法及系统
CN108960837A (zh) * 2018-06-05 2018-12-07 上海和数软件有限公司 区块链共识验证方法、装置及计算机可读存储介质
CN109255611A (zh) * 2018-07-23 2019-01-22 北京京东尚科信息技术有限公司 数据处理方法、装置、系统、服务端装置和客户端装置
US11501295B2 (en) 2019-07-24 2022-11-15 Advanced New Technologies Co., Ltd. Object distribution processing
CN110490640B (zh) * 2019-07-24 2021-08-31 创新先进技术有限公司 用于对象分发处理的方法、装置及系统
CN110636042B (zh) * 2019-08-14 2021-07-16 创新先进技术有限公司 一种服务端已验证块高的更新方法、装置及设备
CN111064711B (zh) * 2019-11-27 2020-11-10 重庆浙大网新科技有限公司 基于区块链的数据流检测方法、装置及服务器
CN111861382B (zh) * 2020-06-28 2024-04-09 微民保险代理有限公司 业务资格认证方法、装置、系统、计算机设备和存储介质
CN113055190B (zh) * 2021-06-02 2021-07-30 支付宝(杭州)信息技术有限公司 针对客户端的访问控制方法
CN115063217B (zh) * 2022-08-22 2022-11-25 深圳市金政软件技术有限公司 预算管理方法、装置、设备及介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204287A (zh) * 2016-07-18 2016-12-07 上海仲托网络科技有限公司 基于区块链的互助保险和互助保障运行方法及系统
US20170031676A1 (en) * 2015-07-27 2017-02-02 Deja Vu Security, Llc Blockchain computer data distribution
CN106504174A (zh) * 2016-09-27 2017-03-15 布比(北京)网络技术有限公司 基于区块链的博彩发行系统及装置
CN107392623A (zh) * 2017-05-22 2017-11-24 阿里巴巴集团控股有限公司 一种业务执行的方法及装置

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0642011A (ja) 1992-07-24 1994-02-15 Ube Ind Ltd 泥土圧送船
JP2002288502A (ja) * 2001-03-23 2002-10-04 Matsushita Electric Ind Co Ltd 電子クーポンサービス装置及び電子クーポンシステム
JP2002335240A (ja) * 2001-05-11 2002-11-22 Hitachi Ltd 電子抽選方法
US10319011B2 (en) * 2010-07-27 2019-06-11 ReplyBuy, Inc. System and method for enabling global and remote flash sale or daily deal commerce through unsecured electronic channels
US20120220362A1 (en) * 2011-02-24 2012-08-30 Anthony Robert Farah Lottery Method and System
US20130060641A1 (en) * 2011-06-01 2013-03-07 Faisal Al Gharabally Promotional content provided privately via client devices
US8771080B2 (en) * 2011-06-30 2014-07-08 Zynga Inc. Socially-mediated flash sales
US20130254007A1 (en) 2012-03-22 2013-09-26 Ebay Inc. Flash Sale Systems
KR101372854B1 (ko) * 2012-03-30 2014-03-13 이규호 이벤트 콘텐츠를 제공하는 서버 및 방법, 그리고 이벤트 콘텐츠를 수신하는 단말
US20140032322A1 (en) * 2012-07-26 2014-01-30 Marc Schwieger Methods and systems for on-site promotion of products
US20150039427A1 (en) * 2013-08-03 2015-02-05 Google Inc. Identifying Media Store Users Eligible for Promotions
CN105096132A (zh) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 交易资格的控制、获取方法及装置
WO2016022864A2 (en) * 2014-08-06 2016-02-11 Blockchain Technologies Corporation System and method for securely receiving and counting votes in an election
US11010780B2 (en) 2014-11-28 2021-05-18 Raise Marketplace Inc. Computer-implemented application for brick and mortar flash sales
CN105991731A (zh) * 2015-02-13 2016-10-05 中兴通讯股份有限公司 一种获取信息的方法、智能终端和服务端
TWI676943B (zh) * 2015-05-06 2019-11-11 現代財富控股有限公司 加密貨幣的電子交易系統及其方法
EP3317775B1 (en) * 2015-07-02 2022-02-16 Nasdaq, Inc. Systems and methods of secure provenance for distributed transaction databases
US20170048234A1 (en) * 2015-07-14 2017-02-16 Fmr Llc Social Aggregating, Fractionally Efficient Transfer Guidance, Conditional Triggered Transaction, Datastructures, Apparatuses, Methods and Systems
US10402792B2 (en) * 2015-08-13 2019-09-03 The Toronto-Dominion Bank Systems and method for tracking enterprise events using hybrid public-private blockchain ledgers
CN106603461A (zh) * 2015-10-14 2017-04-26 阿里巴巴集团控股有限公司 一种业务认证的方法、装置和系统
US20170132621A1 (en) * 2015-11-06 2017-05-11 SWFL, Inc., d/b/a "Filament" Systems and methods for autonomous device transacting
CN105931052A (zh) * 2016-04-21 2016-09-07 四川大学 一种基于区块链多因子交叉验证的虚拟货币交易验证方法
US11694520B2 (en) 2016-04-22 2023-07-04 Americorp Investments Llc System and method for purchasing lottery tickets
JP6042011B1 (ja) * 2016-04-25 2016-12-14 株式会社Sound−F ポイント管理システム、装置、および方法
US10713731B2 (en) * 2016-07-22 2020-07-14 Nec Corporation Method for secure ledger distribution and computer system using secure distributed ledger technology
US10657526B2 (en) * 2016-10-28 2020-05-19 International Business Machines Corporation System and method to dynamically setup a private sub-blockchain based on agility of transaction processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170031676A1 (en) * 2015-07-27 2017-02-02 Deja Vu Security, Llc Blockchain computer data distribution
CN106204287A (zh) * 2016-07-18 2016-12-07 上海仲托网络科技有限公司 基于区块链的互助保险和互助保障运行方法及系统
CN106504174A (zh) * 2016-09-27 2017-03-15 布比(北京)网络技术有限公司 基于区块链的博彩发行系统及装置
CN107392623A (zh) * 2017-05-22 2017-11-24 阿里巴巴集团控股有限公司 一种业务执行的方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110517139A (zh) * 2019-08-23 2019-11-29 电子科技大学 一种基于投票机制的联盟区块链分权共识方法
CN110517139B (zh) * 2019-08-23 2021-12-28 电子科技大学 一种基于投票机制的联盟区块链分权共识方法
CN111212074A (zh) * 2020-01-02 2020-05-29 腾讯科技(深圳)有限公司 基于区块链的资格认定方法、装置、设备及存储介质
CN111212074B (zh) * 2020-01-02 2024-03-01 腾讯科技(深圳)有限公司 基于区块链的资格认定方法、装置、设备及存储介质

Also Published As

Publication number Publication date
US11188961B2 (en) 2021-11-30
CN107392623B (zh) 2020-09-11
EP3576036A1 (en) 2019-12-04
PH12019501964A1 (en) 2020-06-29
KR102288344B1 (ko) 2021-08-11
MY195941A (en) 2023-02-27
JP6896087B2 (ja) 2021-06-30
TW201901511A (zh) 2019-01-01
TWI687833B (zh) 2020-03-11
EP3576036A4 (en) 2020-01-22
JP2020518040A (ja) 2020-06-18
CN107392623A (zh) 2017-11-24
KR20190121777A (ko) 2019-10-28
US20200065872A1 (en) 2020-02-27
SG11201907830PA (en) 2019-09-27

Similar Documents

Publication Publication Date Title
WO2018214833A1 (zh) 一种业务执行的方法及装置
US10650351B2 (en) Auto-Calendaring
JP6946746B2 (ja) スマートな通知スケジューリング及びモダリティ選択の方法、システム、及び非一時的なコンピュータ可読媒体
US20170353817A1 (en) Techniques for predictive power management of a mobile device
TWI664549B (zh) 業務執行的方法和裝置
CN111880927B (zh) 一种资源分配方法、装置及设备
US10733549B2 (en) Focus aware productivity tool
CN108111554B (zh) 一种访问队列的控制方法及装置
CN110659137B (zh) 针对离线任务的处理资源分配方法及系统
US10949810B2 (en) Health condition monitoring and action
WO2014028303A1 (en) Contextual task management and notifications
US9674064B1 (en) Techniques for server transaction processing
US20220215113A1 (en) Systems and methods of providing access to secure data
US20150170107A1 (en) Throttled task scheduling based upon observed task velocity
CN111522843B (zh) 数据平台的控制方法、系统、设备及存储介质
TW201702947A (zh) 行事曆管理裝置及控制行事曆管理裝置之方法
CN111160991A (zh) Pdb广告流量优选方法、装置、存储介质及电子设备
CN112135187B (zh) 多媒体数据生成方法、截取方法、装置、设备及存储介质
CN110689432B (zh) 一种基于区块链的用户目标处理方法、装置及设备
CN117155814A (zh) 压测环境控制方法、装置、电子设备及可读存储介质
CN117055993A (zh) 用于生成与展示投放信息的方法及相关设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18805639

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019546288

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 20197025112

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018805639

Country of ref document: EP

Effective date: 20190827

NENP Non-entry into the national phase

Ref country code: DE