Movatterモバイル変換


[0]ホーム

URL:


CN110517047A - Virtual objects calling processing method, device and equipment and medium based on block chain - Google Patents

Virtual objects calling processing method, device and equipment and medium based on block chain
Download PDF

Info

Publication number
CN110517047A
CN110517047ACN201910833591.3ACN201910833591ACN110517047ACN 110517047 ACN110517047 ACN 110517047ACN 201910833591 ACN201910833591 ACN 201910833591ACN 110517047 ACN110517047 ACN 110517047A
Authority
CN
China
Prior art keywords
virtual objects
call
intelligent contract
call request
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910833591.3A
Other languages
Chinese (zh)
Inventor
王星雅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201910833591.3ApriorityCriticalpatent/CN110517047A/en
Publication of CN110517047ApublicationCriticalpatent/CN110517047A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

This application discloses a kind of virtual objects calling processing method, device and equipment and medium based on block chain, comprising: receives the call request for calling virtual objects, and determines the corresponding object invocation type of call request;Obtaining the first intelligent contract described in the first intelligent contract is the intelligent contract generated according to the corresponding default call type of each unit of the virtual objects;When determining that object invocation type is consistent with default call type based on the described first intelligent contract, then allow to respond call request.The pre-generated intelligent contract of the application, after getting the call request to virtual objects, request corresponding call type whether consistent with the call type in intelligent contract for determining, only allow to respond call request when call type is consistent, unified believable running environment is provided using the intelligent contract technology in block chain, convenient for supervision and management, the risk of contract distorting and forging behavior, reduce in calling process is avoided.

Description

Virtual objects calling processing method, device and equipment and medium based on block chain
Technical field
This application involves block chain technical fields, call more specifically to a kind of virtual objects based on block chainProcessing method, device and a kind of electronic equipment and a kind of computer readable storage medium.
Background technique
It is increasingly mature with Internet technology, virtual objects using more and more extensive.Virtual objects refer to virtual worldIn article, may include supplementing all kinds of articles such as coin, cash equivalent coin, red packet, network flow with money, type can be according to the virtual objectsApplication type in the specific implementation scenario carries out dynamically flexibly setting, and is transmitted without logistics, compared to physical objectsProduct have great flexibility and convenience, to be liked by user.
In the conventional technology, usually pass through verbal contract, papery contract or logical when being called for above-mentioned virtual objectsThe mode for crossing third-party platform signing network contract controls the calling of the virtual objects, however this control mode is difficult toRealize the supervision to calling process, there are the security risks of operation loophole and platform itself that platform may fake, it is likely thatWill appear malice and the behaviors such as break one's promise or cheat, can not the calling to virtual objects effectively controlled.
Therefore, how to solve the above problems is that those skilled in the art need to pay close attention to.
Summary of the invention
In view of this, the application's is designed to provide a kind of virtual objects calling processing method based on block chain, dressIt sets and a kind of electronic equipment and a kind of computer readable storage medium, exercises supervision and manage convenient for the calling process to virtual objectsReason, and avoid and the behaviors such as distort and forge to treaty content, effectively reduce the risk in virtual objects calling process.ItsConcrete scheme is as follows:
To achieve the above object, the application first aspect provides a kind of virtual objects calling processing side based on block chainMethod, comprising:
Call request is received, and determines the corresponding object invocation type of the call request;The call request is virtualThe request for being used to call the virtual objects that article owning user is initiated;
Obtain the first intelligent contract;Described first intelligent contract is corresponding pre- according to each unit of the virtual objectsIf the intelligent contract that call type generates;
When determining that the object invocation type is consistent with the default call type based on the described first intelligent contract, thenAllow to respond the call request.
It is described to allow to institute in conjunction with the application's in a first aspect, in the first embodiment of the application first aspectIt states after call request responded, further includes:
It will be in the corresponding essential information for calling record that the virtual objects are written of the call request;The calling recordIncluding allocating time and call type;The essential information includes user identity information and the institute of the virtual objects owning userState calling record;
The article identification information for determining presently described virtual objects, to the article identification information and the essential information intoRow binding, and will binding after essential information cochain.
In conjunction with the first embodiment of the application first aspect, in second of embodiment of the application first aspectIn, comprising:
If the call request is the request for being shifted to the virtual objects, true according to the call requestSecond user account belonging to after the first user account and transfer belonging to before the fixed virtual objects transfer;
The virtual object for including in first user account and the second user account is modified based on the call requestProduct, and the corresponding user identity information of the virtual objects is modified, complete the transfer of the virtual objects.
In conjunction with the first embodiment of the application first aspect, in the third embodiment of the application first aspectIn, it is described by essential information cochain after binding, comprising:
Corresponding block structure data are generated based on essential information after the binding, and by the block structure data broadcastingTo block chain network;
The block structure data are saved to the block chain network according to common recognition mechanism.
In conjunction with the application's in a first aspect, in the 4th kind of embodiment of the application first aspect, described in the determinationBefore the corresponding object invocation type of call request, further includes:
Private key verifying is carried out to the call request;
If the private key for the call request is verified, executes and determine the corresponding object invocation of the call requestThe step of type.
It is described to obtain first in conjunction with the application's in a first aspect, in the 5th kind of embodiment of the application first aspectAfter intelligent contract, further includes:
When determining the object invocation type and the inconsistent default call type based on the described first intelligent contract,Then forbid responding the call request, and triggers corresponding alarm prompt;
The second intelligent contract is obtained, corresponding risk is executed based on the described second intelligent contract and the alarm promptProcessing operation;Described second intelligent contract is the intelligence generated previously according to alarm prompt and corresponding risk processing operationContract.
In conjunction with the first embodiment of the application first aspect, second of embodiment of the application first aspect, sheetApply for the third embodiment of first aspect, the 4th kind of embodiment of the application first aspect, the application first aspect5th kind of embodiment, in the 6th kind of embodiment of the application first aspect, the method also includes:
Obtain inquiry request;The inquiry request includes the first inquiry request and/or the second inquiry request;Wherein, describedFirst inquiry request includes user identity information, the virtual objects for being included for inquiring corresponding user account;Described second looks intoRequest inclusion product identification information is ask, for inquiring the corresponding essential information of the virtual objects;
Corresponding query result is returned according to the identification information that the inquiry request includes.
To achieve the above object, the application second aspect provides a kind of virtual objects calling processing dress based on block chainIt sets, comprising:
Determination type module for receiving call request, and determines the corresponding object invocation type of the call request;InstituteStating call request is the request for being used to call the virtual objects that virtual objects owning user is initiated;
Contract obtains module, for obtaining the first intelligent contract;Described first intelligent contract is according to the virtual objectsThe intelligent contract that generates of the corresponding default call type of each unit;
Ask respond module determines that the object invocation type is preset with described based on the described first intelligent contract for working asWhen call type is consistent, then allow to respond the call request.
To achieve the above object, the application third aspect provides a kind of electronic equipment, comprising:
Processor and memory;
Wherein, the processor is for executing the program stored in the memory;
For storing program, described program is at least used for the memory:
Call request is received, and determines the corresponding object invocation type of the call request;The call request is virtualThe request for being used to call the virtual objects that article owning user is initiated;
Obtain the first intelligent contract;Described first intelligent contract is corresponding pre- according to each unit of the virtual objectsIf the intelligent contract that call type generates;
When determining that the object invocation type is consistent with the default call type based on the described first intelligent contract, thenAllow to respond the call request.
To achieve the above object, the application fourth aspect provides a kind of computer readable storage medium, the computerIt is stored with computer program on readable storage medium storing program for executing, is realized when the computer program is executed by processor and is based on block as above-mentionedThe step of virtual objects calling processing method of chain.
By above scheme it is found that a kind of virtual objects calling processing method based on block chain provided by the present application, packetIt includes: receiving call request, and determine the corresponding object invocation type of the call request;The call request is virtual objects instituteBelong to the request that Client-initiated is used to call virtual objects;Obtain the first intelligent contract;Described first intelligent contract is according to instituteState the intelligent contract that the corresponding default call type of each unit of virtual objects generates;When true based on the described first intelligent contractWhen the fixed object invocation type is consistent with the default call type, then allow to respond the call request.By upperIt is found that each unit that the application is directed to virtual objects in advance sets the call type of its permission, and generate corresponding first intelligenceEnergy contract will currently be asked after getting the request being called for virtual objects using the above-mentioned first intelligent contract determinationAsk corresponding object invocation type whether consistent with default call type, it is only consistent with default call type in object invocation typeWhen allow to respond current call request, provide unified believable operation using intelligent contract for the calling of virtual objectsEnvironment exercises supervision and manages convenient for the calling process to virtual objects, and avoids distorting and forging to treaty contentBehavior effectively reduces the risk in virtual objects calling process.
Disclosed herein as well is a kind of, and the virtual objects based on block chain call processing unit and a kind of electronic equipment and oneKind computer readable storage medium, is equally able to achieve above-mentioned technical effect.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limitedApplication.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show belowThere is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisSome embodiments of application for those of ordinary skill in the art without creative efforts, can be withIt obtains other drawings based on these drawings.
Fig. 1 is a kind of architecture diagram of the virtual objects calling processing system based on block chain disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow chart of the virtual objects calling processing method based on block chain disclosed in the embodiment of the present application;
Fig. 3 is the process of virtual objects calling processing method of the another kind based on block chain disclosed in the embodiment of the present applicationFigure;
Fig. 4 is the process of another virtual objects calling processing method based on block chain disclosed in the embodiment of the present applicationFigure;
Fig. 5 returns the result schematic diagram for a kind of inquiry request disclosed in the embodiment of the present application;
Fig. 6 returns the result schematic diagram for another kind inquiry request disclosed in the embodiment of the present application;
Fig. 7 is a kind of structure chart of the virtual objects calling processing unit based on block chain disclosed in the embodiment of the present application;
Fig. 8 is the structure chart of a kind of electronic equipment disclosed in the embodiment of the present application
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based onEmbodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall in the protection scope of this application.
In the conventional technology, usually pass through verbal contract, papery contract when being called for the virtual objects in networkOr the calling of above-mentioned virtual objects is controlled in such a way that third-party monitoring platform signs network contract, however this controlMode processed is difficult to realize for the supervision in calling process, may only be faked by the mode of platform maintenance contract there are platformOperate the security risk of loophole and platform itself, it is likely that it will appear and the behaviors such as maliciously break one's promise or cheat, it can not be to virtual objectThe calling of product is effectively controlled.
In view of the above problem existing at present, the virtual objects calling processing based on block chain that present applicant proposes a kind ofMethod exercises supervision and manages convenient for the calling process to virtual objects, and avoids distorting and forging to treaty contentBehavior effectively reduces the risk in virtual objects calling process.
Virtual objects calling processing method provided by the present application based on block chain in order to facilitate understanding, is used for belowSystem be introduced.Referring to Fig. 1, it illustrates a kind of virtual objects calling based on block chain provided by the embodiments of the present applicationThe architecture diagram of processing system.As shown in Figure 1, including terminal 10, server 20 and block chain node device 30.Wherein, terminal 10Information input interface can be provided for user on user interface and information is sent by itself preassembled clientTrigger unit, and the call request that user inputs is obtained by information input interface.It is touched when information sends trigger unit by the external worldAfter hair, terminal 10 can use the first communication network, and the call request got by information input interface is sent to serviceDevice 20.It is understood that above-mentioned terminal 10 can specifically include but be not limited to be mounted with the smart phone of above-mentioned client, puts downPlate computer, desktop computer or intelligent wearable equipment.
In the application, server 20 specifically can be the server of single network server, multiple network servers compositionGroup is based on cloud computing cloud consisting of a large number of computers or network servers.Server 20 passes through the first communication network and terminal10 establish communication connection, after the call request for getting the transmission of terminal 10, by pre-establishing with block chain node device 30The second communication network above-mentioned call request is forwarded to block chain node device 30, the call flow of virtual objects is unfolded.
In specific implementation, the quantity of the block chain node device 30 in the application can be multiple, it can utilize moreA block chain node device 30 forms block chain network.It is understood that the device type of block chain node device 30 can be withIncluding but not limited to various types of servers, personal computer, handheld terminal etc..Wherein, the class of block chain node device 30Type can be identical, can not also be identical.For example, it may be some block chain node devices 30 are Cloud Server, other blocksChain node device 30 is mobile phone terminal etc..
It should be noted that above-mentioned first communication network and the second communication network in the application can be according to practical applicationsNetwork status and application demand in the process determines, either wireless communication networks, such as mobile communication network or WiFi netNetwork etc. is also possible to restricted communication network;Either wide area network, can also use local area network when situation allows.
The embodiment of the present application discloses a kind of virtual objects calling processing method based on block chain, convenient for virtual objectsCalling process exercise supervision and manage, and avoid and the behaviors such as distort and forge to treaty content, effectively reduce virtualRisk in article calling process.
It is shown in Figure 2, a kind of virtual objects calling processing method based on block chain provided by the embodiments of the present application, such asShown in Fig. 2, this method comprises:
S101: receiving call request, and determines the corresponding object invocation type of the call request;The call request isThe request for being used to call the virtual objects that virtual objects owning user is initiated;
In the embodiment of the present application, the calling for being used to call virtual objects that user sends is received using block chain node deviceRequest, and then determine the corresponding object invocation type of the call request.Above-mentioned virtual objects can be specially to supplement coin, cash equivalent with moneyAll kinds of articles such as coin, red packet, network flow, type can according to the application type of the virtual objects in the specific implementation scenario intoMobile state setting, for example, the virtual objects in game application may include the stage property for being exclusively used in the game, supplement coin with money etc., InClass software is for example read in function services class software, the virtual objects in class software of doing shopping may include discount coupon, cash equivalent coin, showGolden red packet etc..Specifically, above-mentioned call request is the initiation of current virtual article owning user for owned virtual objectThe request that product are called, can be specifically used for virtual objects carry out using, transfer etc. operation.
In specific implementation, the terminal that user can be held by itself issues call request to server, and utilizes clothesThe call request is forwarded on block chain node device by business device.Block chain node device can be connect by preset one or moreMouth receives above-mentioned call request, that is, the embodiment of the present application, which can use a unified input interface, obtains what user issuedCall request can also be used multiple input interfaces and receive call requests, can specifically set what each interface connection correspondence was specifiedUser, so as to correspond to the call request that user issues using the interface.
As a kind of feasible embodiment, the embodiment of the present application, can be to the calling after receiving call requestRequest carries out private key verifying, only logical in the private key verifying to current call request with the legitimacy of the current call request of determinationJust starting executes the step of determining current call request corresponding object invocation type after crossing, and avoids and asks to illegal callingIt asks and carries out subsequent processing cost of idle time, in some instances it may even be possible to there are problems that certain risk.Certainly, in addition to being carried out to current requestOther modes realization also can be used for the legitimate verification of current request in private key verifying, and the present embodiment does not do specific limit hereinIt is fixed.
It, can be with it should be noted that when determining the corresponding object invocation type of current call request in the embodiment of the present applicationCall type is determined according to the target side that call request is directed to, for example, if current call request is to shift to virtual objectsRequest, can determine virtual objects will transfer to where according to call request, obtain the corresponding target side of virtual objects, and according toThe type of target side determines the corresponding object invocation type of current call request.Certainly, the corresponding target tune of current call requestIt, can also be according to call request initiator in some specific implementations with type in addition to that can be determined according to the target side that request is directed toUser type, allocating time, call request for virtual objects carry out which kind of operation etc. to determine the corresponding target tune of requestUse type.
S102: the first intelligent contract is obtained;Described first intelligent contract is each unit pair according to the virtual objectsThe intelligent contract that the default call type answered generates;
In this step, the first intelligent contract is obtained from block chain network using block chain node device.Intelligent contractRefer specifically to ensure service order execute, the computer protocol of verifying, in the embodiment of the present application, the first intelligent contract is according in advanceThe intelligent contract generated for the call type of unit each in virtual objects setting.It is understood that the embodiment of the present applicationWhen setting default call type for virtual objects, virtual objects are divided into different units first, and specific for each unitCorresponding default call type is set, thus realize the ZOOM analysis to virtual objects, it can be virtual for each unitThe calling of article is controlled.For example, if virtual objects are cash equivalent coin, it can be corresponding default for the setting of each cash equivalent coinCall type.Wherein, the corresponding default call type of the virtual objects of different units may be the same or different, Ke YigenIt is specifically set according to the situation in specific implementation.
When the above-mentioned virtual objects for each unit set default call type, a kind of default calling can be specifically setType can also be that it sets corresponding a variety of default call types, by compare in a variety of default call types with the presence or absence of withThe call type of the corresponding object invocation type matching of current call request obtains comparing result.It is of course also possible to be in advance voidQuasi- article sets corresponding default calling range, is corresponded to by judging whether object invocation type belongs to default calling rangeJudging result, this does not influence the realization of the application.
S103: when determining that the object invocation type is consistent with the default call type based on the described first intelligent contractWhen, then allow to respond the call request.
It is understood that if obtaining the corresponding object invocation of current call request based on the above-mentioned first intelligent contract determinationDefault call type in type and the first intelligent contract for the setting of current virtual article is consistent or object invocation type and defaultAny kind successful match or object invocation type belong to default calling range in call type, then characterize current call requestThe restriction for meeting intelligent contract allows to respond current call request.
From the foregoing, it will be observed that each unit that the application is directed to virtual objects in advance sets the call type of its permission, and generateCorresponding first intelligent contract will determine that current request is corresponding after getting the request being called for virtual objectsWhether object invocation type is consistent with the default call type in the first intelligent contract, only in object invocation type and default callingAllow to respond current call request when type is consistent, providing unification using intelligent contract for the calling of virtual objects canThe running environment of letter exercises supervision and manages convenient for the calling process to virtual objects, and avoids and distort to treaty contentWith forge etc. behaviors, effectively reduce the risk in virtual objects calling process.
The embodiment of the present application discloses another virtual objects calling processing method based on block chain, real relative to upper oneExample is applied, the present embodiment has made further instruction and optimization to technical solution.It is shown in Figure 3, specific:
S201: receiving call request, and determines the corresponding object invocation type of the call request;The call request isThe request for being used to call the virtual objects that virtual objects owning user is initiated;
S202: the first intelligent contract is obtained;Described first intelligent contract is each unit pair according to the virtual objectsThe intelligent contract that the default call type answered generates;
S203: when determining that the object invocation type is consistent with the default call type based on the described first intelligent contractWhen, then allow to respond the call request;
S204: will be in the corresponding essential information for calling record that the virtual objects are written of the call request;The tuneIt include allocating time and call type with record;The essential information includes the user identifier letter of the virtual objects owning userBreath and calling record;
S205: determining the article identification information of presently described virtual objects, to the article identification information and described basicInformation is bound, and will binding after essential information cochain.
In the embodiment of the present application, however, it is determined that obtain pre- in the corresponding object invocation type of call request and the first intelligent contractWhen first consistent for the default call type of current virtual article setting, then allow to respond call request.As a kind of excellentThe corresponding calling record of the call request is further saved, specifically, can be incited somebody to action by the embodiment of choosing, the embodiment of the present applicationIt calls in the corresponding essential information of record write-in current virtual article.Wherein, when calling record to can include but is not limited to callBetween and call type;The corresponding essential information of virtual objects can include but is not limited to the user identifier of virtual objects owning userInformation and above-mentioned calling record.
In specific implementation, if current call request is the request for being shifted to virtual objects, when calling is askedWhen asking corresponding object invocation type consistent with the default call type in intelligent contract, it can be determined according to current call requestSecond user account belonging to after corresponding virtual objects the first user account affiliated before transfer and transfer, and based on upperIt states call request and modifies the virtual objects for including in the first user account and second user account, and it is corresponding to modify virtual objectsUser identity information completes the transfer of virtual objects.For example, the request is used if current call request is the request that user A is initiatedIt is transferred in the account of user B in by 10 cash equivalent coin in its account, after allowing to respond current call request, rootDetermine that the preceding affiliated account of cash equivalent coin transfer is the corresponding account of user A according to call request, affiliated account is user B after transferCorresponding account, is respectively modified the total quantity of cash equivalent coin in the corresponding account of user A and the corresponding account of user B, and will work asThe corresponding user identity information of former generation gold coin is revised as user B by original user A.Further, by the transfer of cash equivalent coinCheng Jilu is into the corresponding essential information of current cash equivalent coin.
It is understood that the above-mentioned process by information cochain after binding can be with specifically: based on essential information after bindingGenerate corresponding block structure data, and by block structure data broadcasting to block chain network;According to common recognition mechanism by block knotStructure data are saved to the block chain network.
It should be noted that essential information is stored to block after needing to bind after receiving binding after essential informationIn chain network, and stores to block chain network and need to generate data format possessed by data in block chain network, i.e. block countsCorresponding block chain data structure is generated according to structure, therefore based on essential information after binding.It can not tamper for ensure dataAnd reliability, the data needs being stored in block chain network are tieed up jointly by whole block chain nodes in block chain networkShield and supervision, after generating binding after the corresponding block chain data structure of essential information, by the block structure data broadcasting to areaIn each block chain node of block chain network, and then by block structure data record in each block chain node.FurtherGround, common recognition mechanism are to maintain the agreement of whole block chain node cooperative works in block chain network, the whole in block chain networkBlock chain node saves block structure data all in accordance with identical execution logic, to ensure that all block chain nodes are protectedThe consistency for the block structure data deposited.Therefore the present embodiment saves block structure data to block link network according to common recognition mechanismIn network, i.e., block structure data are saved into whole block chain nodes into block chain network, so as to using in block chain networkAll block chain nodes safeguard and supervise jointly the block structure data.
Present embodiment discloses another virtual objects calling processing methods based on block chain, implement relative to upper oneExample, the present embodiment have made further instruction and optimization to technical solution.It is shown in Figure 4, specific:
Referring to fig. 4, the stream of another virtual objects calling processing method based on block chain provided by the embodiments of the present applicationCheng Tu, as shown in Figure 4, comprising:
S301: call request is received, and private key verifying is carried out to the call request;The call request is virtual objectsThe request for being used to call the virtual objects that owning user is initiated;
S302: if being verified for the private key of the call request, it is determined that the corresponding target tune of the call requestUse type;
S303: the first intelligent contract is obtained;Described first intelligent contract is each unit pair according to the virtual objectsThe intelligent contract that the default call type answered generates;
S304: when determining that the object invocation type and the default call type are different based on the described first intelligent contractWhen cause, then forbid responding the call request, and trigger corresponding alarm prompt;
S305: obtaining the second intelligent contract, executes correspondence based on the described second intelligent contract and the alarm promptRisk processing operation;Described second intelligent contract is to generate previously according to alarm prompt and corresponding risk processing operationIntelligent contract;
In the embodiment of the present application, if determined based on the above-mentioned first intelligent contract obtain object invocation type whether with default tuneWith Type-Inconsistencies, then the regulation for not meeting the first intelligent contract to the calling of virtual objects currently is characterized, needed to forbid to working asPreceding call request is responded, and can trigger corresponding alarm prompt.It is understood that alarm mentions in the present embodimentShow that information can be the prompt information for prompting current call request promoter, the call request of its initiation of user can be remindedFail correctly to respond, informs that current call request does not meet the first intelligent contract, and can show the regulation of the first intelligent contract, i.e.,Default call type such as re-initiates and default call type so that user takes appropriate measures according to default call typeConsistent call request;In addition, above-mentioned alarm prompt can also be the prompt information for prompting administrative staff, i.e. basisThe call request of response is currently forbidden to generate alarm log, so that administrative staff trace illegal calling, such as can basisAlarm log counts the user for repeatedly initiating illegal call request, and carries out disable operation to the account of the user.
It should be noted that the embodiment of the present application also determines corresponding risk processing behaviour previously according to alarm promptMake, and the second intelligent contract is generated according to alarm prompt and corresponding risk processing operation, thus in triggering alarm promptAfter information, corresponding risk processing operation can be executed automatically based on the second intelligent contract, what realization operated current riskProcessing.
S306: when determining that the object invocation type is consistent with the default call type based on the described first intelligent contractWhen, then allow to respond the call request;
S307: will be in the corresponding essential information for calling record that the virtual objects are written of the call request;The tuneIt include allocating time and call type with record;The essential information includes the user identifier letter of the virtual objects owning userBreath and calling record;
S308: determining the article identification information of presently described virtual objects, to the article identification information and described basicInformation is bound, and will binding after essential information cochain;
S309: inquiry request is obtained;The inquiry request includes the first inquiry request and/or the second inquiry request;Wherein,First inquiry request includes user identity information, the virtual objects for being included for inquiring corresponding user account;DescribedTwo inquiry requests include article identification information, for inquiring the corresponding essential information of the virtual objects;
S310: corresponding query result is returned to according to the identification information that the inquiry request includes.
In the embodiment of the present application, the corresponding essential information of virtual objects and corresponding article identification information cochain are protectedIt deposits to the whole network, can further obtain Client-initiated inquiry request.Wherein, above-mentioned inquiry request can be particularly forThe inquiry user account virtual objects that are included, can also particularly for inquiring the corresponding essential information of any virtual objects,It is understood that if when current queries request is request for inquiring the virtual objects that user account is included, the inquiryNeeded in request comprising user identity information, i.e., according to user identity information search corresponding account and it includes virtual objectProduct;If current queries request is for inquiring virtual objects corresponding essential information, need in the inquiry request comprising articleIdentification information searches corresponding essential information using article identification information.
It is understood that the embodiment of the present application is after getting the inquiry request of user, it can be further to inquiryThe permission of request is verified, to judge whether active user allows to execute inquiry operation.As a kind of feasible embodiment,Third intelligence contract can be generated previously according to user type and its corresponding search access right, to ask getting user queryAfter asking, it is first determined active user for user type, and then determine that active user is corresponding based on third intelligence contractSearch access right returns to corresponding query result to active user.
In order to make it easy to understand, coming below by a specific application scenarios example description to provided by the embodiments of the present applicationVirtual objects calling processing method based on block chain is illustrated.Specifically, user A shifts 100 cash equivalent coin to user B,And the call type of above-mentioned 100 cash equivalent coin is limited in transfer, for example, setting wherein ID number as 1 to 30 totally 30 cash equivalentCoin is only limitted to use when purchase game weapon equipment, sets wherein ID number and is only limitted to buy trip as 31 to 70 totally 40 cash equivalent coinIt is used when pet in play, sets wherein ID number and be only limitted to transfer as 71 to 100 totally 30 cash equivalent coin and use, and will be above-mentioned rightIt is written in intelligent contract in the setting of cash equivalent coin usage type.It initiates to call ID number to be that 10 to 20 cash equivalent coin is used in user BWhen being transferred to user C, according to the regulation of intelligent contract, determines that current call does not meet default call type, forbid adjusting to currentIt is responded with request, and shows corresponding prompt information.
Further, if user B initiates to be directed to after the inquiry request of the cash equivalent coin itself possessed, as shown in figure 5, canTo return to the identification information and the corresponding calling record of all cash equivalent coin of all cash equivalent coin that user B is possessed.If withAfter the inquiry request that it is 1 for cash equivalent coin ID that family B, which is initiated, as shown in fig. 6, can return the cash equivalent coin it is current belonging to user andCall record.
It is understood that the virtual objects calling processing method provided by the embodiments of the present application based on block chain can haveBody is applied in P2P (peer to peer lending, point to point network are borrowed money) scene, can be realized for internet financeThe accurate control of funds flow and complete documentation in point-to-point loan platform.
Processing unit is called to be introduced a kind of virtual objects based on block chain provided by the embodiments of the present application below,A kind of virtual objects based on block chain described below call processing unit and a kind of above-described void based on block chainQuasi- article calling processing method can be cross-referenced.
It is shown in Figure 7, a kind of virtual objects calling processing unit packet based on block chain provided by the embodiments of the present applicationIt includes:
Determination type module 401 for receiving call request, and determines the corresponding object invocation class of the call requestType;The call request is the request for being used to call the virtual objects that virtual objects owning user is initiated;
Contract obtains module 402, for obtaining the first intelligent contract;Described first intelligent contract is according to the virtual objectThe intelligent contract that the corresponding default call type of each unit of product generates;
Ask respond module 403, for when based on it is described first intelligence contract determine the object invocation type with it is describedWhen default call type is consistent, then allow to respond the call request.
Specific implementation process about above-mentioned module 401 to 403 can refer to corresponding contents disclosed in previous embodiment, hereinNo longer repeated.
On the basis of the above embodiments, provided by the embodiments of the present application as a preferred implementation manner, to be based on blockThe virtual objects of chain call processing unit can further include:
Writing module is recorded, for after allowing to respond the call request, the call request to be corresponded toCalling record be written in the essential information of the virtual objects;The calling record includes allocating time and call type;InstituteState the user identity information and calling record that essential information includes the virtual objects owning user.
Information cochain module believes the article mark for determining the article identification information of presently described virtual objectsBreath and the essential information bound, and will binding after essential information cochain.
On the basis of the above embodiments, the ask respond module as a preferred implementation manner, comprising:
Account determination unit, if being the request for being shifted to the virtual objects for the call request,Second belonging to after determining preceding the first affiliated user account of the virtual objects transfer according to the call request and shiftUser account;
Item transfer unit, for modifying first user account and the second user account based on the call requestThe virtual objects for including in number, and the corresponding user identity information of the virtual objects is modified, complete the virtual objectsTransfer.
On the basis of the above embodiments, the information cochain module as a preferred implementation manner, comprising:
Block generation unit, for generating corresponding block structure data based on essential information after the binding, and by instituteBlock structure data broadcasting is stated to block chain network;
Data common recognition unit, for being saved the block structure data to the block chain network according to common recognition mechanism.
On the basis of the above embodiments, provided by the embodiments of the present application as a preferred implementation manner, to be based on blockThe virtual objects of chain call processing unit can further include:
Requests verification module, for before determining the corresponding object invocation type of the call request, to the callingRequest carries out private key verifying;If the private key for the call request is verified, executes and determine that the call request is correspondingObject invocation type the step of.
On the basis of the above embodiments, provided by the embodiments of the present application as a preferred implementation manner, to be based on blockThe virtual objects of chain call processing unit can further include:
Alarm prompt module, after obtaining the first intelligent contract, described in being determined based on the described first intelligent contractWhen object invocation type and the inconsistent default call type, then forbid responding the call request, and trigger phaseThe alarm prompt answered;
Risk processing module, for obtaining the second intelligent contract, based on the described second intelligent contract and the alarm promptInformation executes corresponding risk processing operation;Described second intelligent contract is previously according to alarm prompt and corresponding riskThe intelligent contract that processing operation generates.
On the basis of the above embodiments, provided by the embodiments of the present application as a preferred implementation manner, to be based on blockThe virtual objects of chain call processing unit can further include:
Information inquiry module, for obtaining inquiry request;The inquiry request includes that the first inquiry request and/or second are looked intoAsk request;Wherein, first inquiry request includes user identity information, virtual for inquire that corresponding user account includedArticle;Second inquiry request includes article identification information, for inquiring the corresponding essential information of the virtual objects;
Result return module, the identification information for including according to the inquiry request return to corresponding query result.
Present invention also provides a kind of electronic equipment, referring to Fig. 8, a kind of electronic equipment 50 provided by the embodiments of the present applicationStructure chart, as shown in figure 8, the electronic equipment 50 can specifically include 51, memories 52 of a processor.
Wherein, processor 51 may include one or more processing cores, such as 4 core processors, 8 core processorsDeng.Processor 51 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmedLogic array) at least one of example, in hardware realize.Processor 51 also may include primary processor and coprocessor, main placeReason device is the processor for being handled data in the awake state, also referred to as CPU (Central ProcessingUnit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.InIn some embodiments, processor 51 can be integrated with GPU (Graphics Processing Unit, image processor), GPUFor being responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 51 can also include AI(Artificial Intelligence, artificial intelligence) processor, the AI processor is for handling the calculating in relation to machine learningOperation.
The carrier that memory 52 is stored as resource may include one or more computer readable storage mediums, the meterCalculation machine readable storage medium storing program for executing can be non-transient.Memory 52 may also include high-speed random access memory and non-volatileProperty memory, such as one or more disk storage equipment, flash memory device.In the present embodiment, stored in memoryResource includes operating system 521, computer program 522 and data 523 etc., wherein operating system is for managing and controlling electronicsEach hardware device and computer program in equipment, to realize processor to the operation of mass data 523 and place in memoryReason, can be Windows Server, Netware, Unix, Linux etc..Computer program 522 is in addition to including that can be used inExcept the computer program for completing the virtual objects calling processing method based on block chain disclosed in aforementioned any embodiment, may be used alsoTo further comprise the computer program that can be used in completing other particular jobs.Data 523 are in addition to may include user accountIt can also include the business datums such as game data, electric business transaction data outside the data such as information, the essential information of virtual objects.
In some embodiments, electronic equipment 50, which may also include, display screen 53, input/output interface 54, communication interface55, power supply 56 and communication bus 57.
In the present embodiment, display screen 53 is for the data of video-stream processor processing and for showing visual user circleFace.The display screen 53 can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and OLED (OrganicLight-Emitting Diode, Organic Light Emitting Diode) touch device etc..Input/output interface 54, for obtaining extraneous inputData or outwardly output data, specific interface type can be chosen according to concrete application, herein withoutIt is specific to limit.Communication interface 55 can be the data transmission channel between electronic equipment creation and external device, be followedCommunication protocol is can be suitable for the random communication protocol of technical scheme, is not limited specifically it herein.Power supply56 are specifically used for providing operating voltage for each hardware device on electronic equipment.
Certainly, the structure of electronic equipment shown in Fig. 8 does not constitute the restriction to electronic equipment in the embodiment of the present application, InElectronic equipment may include than more or fewer components shown in Fig. 8, or the certain components of combination in practical application.
Present invention also provides a kind of computer readable storage medium, the storage medium may include: USB flash disk, mobile hard disk,Read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magneticThe various media that can store program code such as dish or CD.Computer program, the calculating are stored on the storage mediumMachine program realizes the virtual objects calling processing method based on block chain disclosed in aforementioned any embodiment when being executed by processorThe step of.
Each unit that the application is directed to virtual objects in advance sets the call type of its permission, and generates corresponding firstIntelligent contract will be determined current after getting the request being called for virtual objects using the above-mentioned first intelligent contractRequest corresponding object invocation type whether consistent with default call type, only in object invocation type and default call type oneAllow to respond current call request when cause, provides unified believable fortune using intelligent contract for the calling of virtual objectsRow environment exercises supervision and manages convenient for the calling process to virtual objects, and avoids distorting and forging to treaty contentEqual behaviors, effectively reduce the risk in virtual objects calling process.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realitiesThe difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodimentSpeech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, alsoCan to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this applicationIt is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to byOne entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operationBetween there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaningCovering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes thatA little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article orThe intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arrangedExcept there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

CN201910833591.3A2019-09-042019-09-04Virtual objects calling processing method, device and equipment and medium based on block chainPendingCN110517047A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910833591.3ACN110517047A (en)2019-09-042019-09-04Virtual objects calling processing method, device and equipment and medium based on block chain

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910833591.3ACN110517047A (en)2019-09-042019-09-04Virtual objects calling processing method, device and equipment and medium based on block chain

Publications (1)

Publication NumberPublication Date
CN110517047Atrue CN110517047A (en)2019-11-29

Family

ID=68629730

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910833591.3APendingCN110517047A (en)2019-09-042019-09-04Virtual objects calling processing method, device and equipment and medium based on block chain

Country Status (1)

CountryLink
CN (1)CN110517047A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111176791A (en)*2019-12-312020-05-19杭州趣链科技有限公司 A cross-virtual machine calling method based on multi-virtual machine blockchain platform
CN113098835A (en)*2020-01-082021-07-09北京奇虎科技有限公司Honeypot implementation method based on block chain, honeypot client and honeypot system

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109272324A (en)*2018-09-252019-01-25深圳市元征科技股份有限公司A kind of business function implementation method, system, equipment and computer storage medium
CN109345390A (en)*2018-09-252019-02-15深圳市元征科技股份有限公司A kind of intelligence contract access method, system, equipment and computer storage medium
CN109345259A (en)*2018-09-292019-02-15腾讯科技(深圳)有限公司Virtual resource transfer method, device, medium and electronic equipment based on block chain
CN109493019A (en)*2018-11-072019-03-19四川长虹电器股份有限公司A kind of account method of commerce and device based on block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109272324A (en)*2018-09-252019-01-25深圳市元征科技股份有限公司A kind of business function implementation method, system, equipment and computer storage medium
CN109345390A (en)*2018-09-252019-02-15深圳市元征科技股份有限公司A kind of intelligence contract access method, system, equipment and computer storage medium
CN109345259A (en)*2018-09-292019-02-15腾讯科技(深圳)有限公司Virtual resource transfer method, device, medium and electronic equipment based on block chain
CN109493019A (en)*2018-11-072019-03-19四川长虹电器股份有限公司A kind of account method of commerce and device based on block chain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111176791A (en)*2019-12-312020-05-19杭州趣链科技有限公司 A cross-virtual machine calling method based on multi-virtual machine blockchain platform
CN111176791B (en)*2019-12-312023-09-29杭州趣链科技有限公司Cross-virtual machine calling method based on multi-virtual machine blockchain platform
CN113098835A (en)*2020-01-082021-07-09北京奇虎科技有限公司Honeypot implementation method based on block chain, honeypot client and honeypot system

Similar Documents

PublicationPublication DateTitle
CN109064334B (en)Intelligent contract accounting method, computer device and readable storage medium
CN110570282B (en)Cross-region resource transfer method, device, equipment and storage medium
Mineraud et al.A gap analysis of Internet-of-Things platforms
CN110009498A (en)Resource allocation methods and device based on block chain
CN112767133B (en)Service decision method and device, storage medium and computer equipment
WO2020107919A1 (en)Distributed network and ecosystem based on innovative proof-of-reputation consensus protocol
US20210019849A1 (en)Method for External Data-Based Constructing Various Triggering Mechanisms to Execute Smart Contract in Blockchain Network and System Thereof
CN107767265A (en)A kind of data sharing method and server
CN110490728A (en)Transaction, transaction monitoring and managing method, device and equipment based on block chain
CN110163483A (en)Virtual resource allocation method and apparatus based on block chain
TW201933204A (en)Smart contract generation method and apparatus
CN109472568A (en)A kind of block chain method of commerce, device, management system, equipment and storage medium
CN109559257A (en)Contract generation method, device, equipment and readable storage medium storing program for executing based on block chain
CN117010894A (en)Resource management method and device based on block chain and electronic equipment
CN109510713A (en)A kind of shared motivational techniques of the flow based on block chain
CN106504088A (en)A kind of method and system that realizes quantifying transaction in removable computing device
CN112511651B (en)Service access method and device based on block chain
Guan et al.Blockchain: A distributed solution to UAV‐enabled mobile edge computing
Kshetri et al.Big data and cloud computing for development: Lessons from key industries and economies in the global south
CN111444090B (en) Contract testing method, device, electronic device and storage medium in blockchain
CN109117608A (en)A kind of data processing method, device and relevant device
CN109447605A (en)A kind of chain currency conversion method, apparatus, equipment and medium based on block chain
CN110598419B (en)Block chain client vulnerability mining method, device, equipment and storage medium
CN110349437A (en)A kind of parking resource Sharing Management system and method based on alliance's chain
CN112115204A (en)Multi-party security calculation implementation method based on block chain technology

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp