CN107123051A - The synchronous method and device of a kind of resource - Google Patents

The synchronous method and device of a kind of resource Download PDF

Info

Publication number
CN107123051A
CN107123051A CN201610105154.6A CN201610105154A CN107123051A CN 107123051 A CN107123051 A CN 107123051A CN 201610105154 A CN201610105154 A CN 201610105154A CN 107123051 A CN107123051 A CN 107123051A
Authority
CN
China
Prior art keywords
resource
list
data
user
information
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.)
Granted
Application number
CN201610105154.6A
Other languages
Chinese (zh)
Other versions
CN107123051B (en
Inventor
吴斌
孙廷�
费华辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ant Fortune Shanghai Financial Information Service Co ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610105154.6A priority Critical patent/CN107123051B/en
Publication of CN107123051A publication Critical patent/CN107123051A/en
Application granted granted Critical
Publication of CN107123051B publication Critical patent/CN107123051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis
    • 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]

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Technology Law (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

This application discloses a kind of synchronous method of resource, for improving the processing speed to user resource allocation, this method includes:Receive the resource identification that point Resource Server is sent;According to the resource identification isochronous resources information;According to user's mark and the synchronous shared resource information of resource identification;Resource data to be allocated to user in resource allocation list is determined according to the shared resource information;Resource data and resource data in point resource list from total resources server sync total resources list;Resource data to be allocated to user in point resource list is determined according to the resource data to be allocated to user in resource allocation list, and the resource data to be allocated to user in total resources list is determined according to the resource data to be allocated to user in point resource list.Disclosed herein as well is a kind of sychronisation of resource.

Description

The synchronous method and device of a kind of resource
Technical field
The application is related to field of computer technology, more particularly to a kind of resource synchronous method and device.
Background technology
With the development of information technology, engender that (for example the network information is provided various resources in network Source, network storage resource, security monitoring resource etc.), the various reality of user are met with this should With needs.But it is often the case that the resource that possesses in a certain respect of user is relatively more, and Other resources in a certain respect may be relatively fewer, and now user then wishes that relatively large number of money will be possessed Source is shared away, again fetches the resource shared away until needing, and the utilization rate of resource is improved with this.
To improve the utilization rate of resource, resource exchange system arises at the historic moment, and passes through resource exchange system, user The resource that need not temporarily take by resource exchange system can be subjected to resource-sharing.For the convenience of the user Resource-sharing, resource exchange system generally has several total resources servers, each total resources server pair Several point of Resource Server is answered, therein point of Resource Server directly receives the resource that user shares, and The resource comprehensive that total resources server can be received to several corresponding to it point Resource Server converges Always.The money that the resource value and each corresponding point Resource Server that total resources server collects are received When source value reaches expected value, resource exchange system be able to will then be provided according to the resource summation on total resources server Source shares to other systems or mechanism.Prescribed a time limit when being reached Deng shared resource, other systems or mechanism will The resource release of occupancy, the resource allocation that now resource exchange system then discharges improves money with this to user The utilization rate in source.
By above-mentioned, the resource of users to share is prescribed a time limit when reaching, and resource exchange system is by other systems Or the resource of mechanism release is reallocated to user.But such situation occurs:Other systems or mechanism The resource value discharged may be more or less than the former resource value taken, if the resource value discharged is more than During the resource value that original takes, resource exchange system provides association then using unnecessary resource as correlated resources Source with original subscriber's shared resource value sum is as user's resource to be repaid and distributes to user.Existing resource point It is typically that, when the resource of users to share expires, other systems or mechanism are by the resource of release, resource with mode Total resources server in exchange system receives the resource of release, and allocates resources to a point Resource Server. Resource Server is divided to allocate resources to use further according to record information produced when receiving users to share resource Family.However as the arrival in big data epoch, the number of users of shared resource linearly increases, and user is total to Variation is also presented in the resource type enjoyed, if the data to be allocated of active user go wrong, then to this User's distribution failure even can influence the normal allocation of follow-up user simultaneously, and this method is greatly reduced point Processing speed with user resources, it is therefore necessary to which a kind of synchronous method of resource is provided, it is to be allocated to user Resource data carry out advance synchronization process.
The content of the invention
The embodiment of the present application provides a kind of synchronous method and device of resource, for improving to user resource allocation Processing speed.
The embodiment of the present application uses following technical proposals:
A kind of synchronous method of resource, methods described includes:Receive the resource identification that point Resource Server is sent; According to the resource identification isochronous resources information, user's mark is included in the resource information;According to user Mark and the synchronous shared resource information of resource identification, the shared resource information is for user by resource-sharing to money Produced record information during the exchange system of source;Determine to treat in resource allocation list according to the shared resource information The resource data of user is distributed to, the resource data to be allocated to user includes the number of resources of users to share According to this and the correlated resources data corresponding with the resource data;From total resources server sync total resources list Resource data in middle resource data and point resource list, the total resources list includes the reception of total resources server Resource data, described point of resource list includes the resource data that point Resource Server is received, point resource list and money Single source distribution is in one-to-many mapping relations, and total resources list and point resource list are in one-to-many mapping relations;According to money The resource data to be allocated to user determines the number of resources to be allocated to user in point resource list in source distribution list According to, and according to the resource data to be allocated to user in point resource list determine in total resources list it is to be allocated give user Resource data.
Preferably, resource data and resource data in point resource list from total resources server sync total resources list Afterwards, methods described also includes:Judge resource data in point resource list and it is all with it in mapping relations Whether the resource data sum of users to share is equal in resource allocation list;And/or, judge the money in total resources list Whether the resource data sum in source data and all point resource lists with it in mapping relations is equal.
Preferably, resource data and resource data in point resource list from total resources server sync total resources list Before, methods described also includes:Receive the notification message that total resources server is sent.
Preferably, determine that methods described also includes in total resources list after the resource data to be allocated to user: Obtain the user's mark for taking resource in the total resources list and take demand mark, and the user is marked Know and occupancy demand mark is saved in resource allocation list.
Preferably, determine that methods described also includes in total resources list after the resource data to be allocated to user: Idempotent verification is carried out to the resource data to be allocated to user in resource allocation list.
Preferably, determine that methods described also includes in total resources list after the resource data to be allocated to user: Resource allocation is carried out to user according to the resource data to be allocated to user in resource allocation list.
A kind of synchronous method of resource, the resource is bought product by trading server by investor and formed Electronic asset, methods described includes:Receive the electronic asset mark that trading server is sent;According to described Include investor's mark in the synchronous electronic asset information of electronic asset mark, the electronic asset information;Root Synchronous electronic transaction list information, the electronic transaction list are identified according to investor mark and the electronic asset The record information that information is formed when buying product by investor;Determined to throw according to the electronic transaction list information Data of being refunded in people's refund list are provided, the refund data include refund capital and refund interest;From financing services The single refund capital data of device synchronization financing and product list refund capital data, single financing is that financing services device is sent Financing needs corresponding to record information, product list be each product corresponding to record information, the production Product list and financing are single in one-to-many mapping relations, and the financing list and product list are in one-to-many mapping relations;Root Product list refund data are determined according to refund data in investor's refund list, and are determined according to product list refund data The single refund data of financing.
Preferably, from financing services device synchronously the single refund capital data of financing and product list refund capital data it Before, methods described also includes:Receive the recruitment success notification message that financing services device is sent.
A kind of sychronisation of resource, described device includes:Resource identification receiving module, resource information is synchronous Module, shared resource synchronizing information module, resource allocation list determining module, synchronization module and determining module, Wherein:The resource identification receiving module, for receiving the resource identification that point Resource Server is sent;It is described Resource information synchronization module, for according to the resource identification isochronous resources information, being wrapped in the resource information User's mark is included;The shared resource synchronizing information module, for same according to user's mark and resource identification Walk shared resource information, the shared resource information by user by resource-sharing to resource exchange system when produce Raw record information;The resource allocation list determining module, for being determined to provide according to the shared resource information Resource data to be allocated to user in source distribution list, the resource data to be allocated to user includes user Shared resource data and the correlated resources data corresponding with the resource data;The synchronization module, It is described total for resource data in the resource data from total resources server sync total resources list and point resource list Resource list includes the resource data of total resources server reception, and described point of resource list includes a point resource service The resource data that device is received, point resource list and resource allocation list are in one-to-many mapping relations, total resources list and point Resource list is in one-to-many mapping relations;The determining module, for according to be allocated to use in resource allocation list The resource data at family determines the resource data to be allocated to user in point resource list, and is treated according in point resource list The resource data for distributing to user determines the resource data to be allocated to user in total resources list.
Preferably, described device also includes judge module, wherein:The judge module, for judging a point money Resource data in the list of source and all with its number of resources in users to share in the resource allocation list of mapping relations It is whether equal according to sum;And/or, judge resource data in total resources list and it is all with it in mapping relations Whether the resource data sum divided in resource list is equal.
Preferably, described device also includes resource distribution module, wherein:The resource distribution module, is used for Resource allocation is carried out to user according to the resource data to be allocated to user in resource allocation list.
At least one above-mentioned technical scheme that the embodiment of the present application is used, is synchronously provided after receiving resource identification first Source information, further according to user's mark and the synchronous shared resource information of resource identification, believes according to the shared resource Breath determines the resource data to be allocated to user in resource allocation list;Then resource data in synchronous total resources list With resource data in point resource list, determine to divide further according to the resource data to be allocated to user in resource allocation list Resource data to be allocated to user in resource list, and according to the number of resources to be allocated to user in point resource list According to the resource data to be allocated to user in determination total resources list.According to above-mentioned resource allocation list, point resource list User is returned to user resources with to be allocated in total resources list, the place for distributing to users to share resource is improved Manage speed.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application, The schematic description and description of the application is used to explain the application, does not constitute the improper limit to the application It is fixed.In the accompanying drawings:
Fig. 1 implements schematic flow sheet for a kind of synchronous method of resource of the offer of the embodiment of the present application 1;
Fig. 2 is the concrete application scene schematic diagram of the embodiment of the present application 2;
Fig. 3 implements schematic flow sheet for a kind of synchronous method of resource of the offer of the embodiment of the present application 2;
Fig. 4 is a kind of concrete structure schematic diagram of the sychronisation for resource that the embodiment of the present application 3 is provided.
Embodiment
It is specifically real below in conjunction with the application to make the purpose, technical scheme and advantage of the application clearer Apply example and technical scheme is clearly and completely described corresponding accompanying drawing.Obviously, it is described Embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the implementation in the application Example, all other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of the application protection.
Embodiment 1
Embodiment 1 provides a kind of synchronous method of resource, for improving the processing speed to user resource allocation Degree, the idiographic flow schematic diagram of this method is as shown in figure 1, comprise the steps:
Step S11:Receive the resource identification that point Resource Server is sent;
As it was previously stated, resource is to resource exchange system by users to share, then it is supplied to by resource exchange system Other systems or mechanism.During users to share is to resource exchange system, each shared resource will A unique resource identification is formed, resource identification can be unique id of resource, and these resource identifications are usual It can be stored in point Resource Server of resource exchange system, therefore often form a resource identification, resource Above-mentioned resource identification can be then sent to resource allotting server by a point Resource Server for exchange system, at this In, step S11 executive agent can be resource allotting server, equally, following steps S12 to S16 Executive agent can also be resource allotting server.
Step S12:According to the resource identification isochronous resources information;
Can the synchronously resource information corresponding with the resource identification, resource letter according to above-mentioned resource identification Breath can be generally also stored in point Resource Server of above-mentioned resource exchange system, and resource information includes There are user's mark of the shared resource and the concrete numerical value of shared resource, can also include certainly and point money The related information of source server, total resources server, and users to share to resource exchange system time and Resource exchange system should distribute to the time of user, resource identification etc..
, then can be with during according to resource identification isochronous resources information when including resource identification in resource information The resource identification got in step S11 is matched with the resource identification in substantial amounts of resource information, if The match is successful with the resource identification in some resource information, then obtain that the match is successful includes resource identification Resource information.
Step S13:According to user's mark and the synchronous shared resource information of resource identification;
According to user's mark and resource identification can synchronous shared resource information, shared resource information is user general Produced record information when resource-sharing is to resource exchange system, shared resource information can also be stored in State in score Resource Server.The specific money shared away of user will be recorded in shared resource information in detail Source value, receives point Resource Server information of this resource value, the time shared away and should be reassigned to Time of user etc..
If user's mark is by different point Resource Server shared resources, or passes through one point The multiple shared resource of Resource Server, and then will form a plurality of shared resource information and a plurality of resource identification, Therefore identified according to user and the constraint of resource identification is that can get and both unique corresponding shared moneys Source information.
Step S14:Resource to be allocated to user in resource allocation list is determined according to the shared resource information Data;
Resource data to be allocated to user generally include users to share resource data and with the resource The corresponding correlated resources data of data.Correlated resources are mainly money corresponding with the resource data of users to share Source, its effect can be embodied in many-side.Such as, using network storage resource transmit data when, it is necessary to Security monitoring resource just ensures the security of network storage resource;And for example, calculated using cloud computing resources And, it is necessary to the network bandwidth (data) resource when transmitting data, to ensure the stability of bidirectional data transfers And promptness.
Step S15:Resource data and number of resources in point resource list from total resources server sync total resources list According to;
Wherein described total resources list includes the resource data of total resources server reception, and a point resource list includes The resource data for dividing Resource Server to receive, total resources list and point resource list can be stored in total resources clothes It is engaged in device.It is in one-to-many mapping relations, total resources list and a point resource Dan Chengyi to divide resource list and resource allocation list To many mapping relations.I.e.:Total resources list is that total resources server is receiving the shared resource of point Resource Server When the record data that is stored, quantity, the Mei Gefen of point Resource Server would generally be write down on total resources list Users to share resource data that Resource Server is respectively received etc..Similarly, resource Dan Weifen resource services are divided The device record information produced when receiving users to share resource information, use would generally be write down on point resource list Family is identified, the data such as user institute shared resource value.
It should be noted that step S15 execution may need certain trigger condition, such as total resources take The resource that business device is received reaches pre-set threshold value, and the resource that each point of Resource Server is received equally also reaches Pre-set threshold value.Now total resources server can also send a notification message to resource allotting server, Ran Houzi Source distribution server performs step S15 operation again.
Step S16:Determined to treat in point resource list according to the resource data to be allocated to user in resource allocation list The resource data of user is distributed to, and total money is determined according to the resource data to be allocated to user in point resource list Resource data to be allocated to user in the list of source.
The synchronous users to share resource data simply received in step S15, and treated on resource allocation list The resource data for distributing to user does not comprise only the resource data that users to share is gone out, in addition to relevant money Source value, therefore can be then true according to data are distributed in resource allocation list by timing scan resource allocation list Surely the resource value to be allocated to user in resource list is divided, and according to the resource to be allocated to user in point resource list Value determines the resource value to be allocated to user in total resources list.Divide the resource value to be allocated to user in resource list Not only include the resource value summation that user shares, also include the summation of correlated resources value, similarly, total money The resource value to be allocated to user not only includes the resource value summation that user shares in the list of source, also including relevant Join the summation of resource value.
Using embodiment 1 provide method, first receive resource identification after isochronous resources information, further according to Family is identified and the synchronous shared resource information of resource identification, and resource allocation list is determined according to the shared resource information In the resource data to be allocated to user;Then resource in resource data and point resource list in synchronous total resources list Data, to be allocated in point resource list give is determined further according to the resource data to be allocated to user in resource allocation list The resource data of user, and determined according to the resource data to be allocated to user in point resource list in total resources list Resource data to be allocated to user.According to being treated in above-mentioned resource allocation list, point resource list and total resources list point Provisioned user resource returns to user, improves the processing speed for distributing to users to share resource.
It should be noted that the executive agent that embodiment 1 provides each step of method may each be same and set It is standby, that is, be resource allotting server, its main function be will in resource exchange system point Resource Server with And the related data in total resources server is synchronous.It should also be noted that, being preserved in resource exchange system The resource identification, resource information corresponding with resource identification and the shared resource information that have resource, final warp Resource allocation list etc. can also be included by crossing the method for embodiment 1.Wherein above-mentioned resource identification and resource Information can be stored in a memory cell, certainly can also be obstructed by what is kept mapping relations and store In the memory cell crossed, and shared resource information is typically and resource identification and resource information are stored separately.
In the step S15 of embodiment 1, resource data and number of resources in point resource list in synchronous total resources list After, embodiment 1 can also comprise the following steps:Judge resource data in point resource list and it is all with Whether it is equal in the resource data sum of users to share in the resource allocation list of mapping relations;And/or, judge The resource data sum in resource data and all point resource lists with it in mapping relations in total resources list It is whether equal.Each total resources server several point of Resource Server of correspondence in resource exchange system, Therein point of Resource Server directly receives the resource that user shares, and then occurs in resource exchange system Substantial amounts of point of Resource Server, therefore each number of users divided corresponding to Resource Server may not Together, the resource comprehensive that last total resources server can be received to several corresponding to it point Resource Server Collected, wherein point resource list can also record the users to share resource detail that point Resource Server is received, The resource that total resources list can also record point Resource Server that total resources server is received is detailed.
, can be to resource data in total resources list synchronous in step S15 and point money by above-mentioned judgment step Resource data is verified in the list of source.If at least one in above-mentioned judged result is no, illustrate resource point Data with single, point resource list or total resources Dan Zhongyou do not succeed synchronously, can now make feedback, for example Not synchronous successfully related data is compensated.
By being generally only record that the user that point Resource Server receives shares original in point resource list It is original received by each point of Resource Server in resource value, same total resources list in record point resource list Resource value.It is original that the resource value to be allocated to user in resource allocation list includes that user shares away Resource value and the correlated resources value corresponding with the resource value, due to the presence of correlated resources value herein, It can then determine to be allocated altogether in common resource value and total resources list to be allocated to user in point resource list Resource value to user.Draw common in common resource value and total resources list to be allocated to user in point resource list After resource value to be allocated to user, or even other systems or machine can also be provided it to by interface Structure, the concrete numerical value discharged to other systems or mechanism when discharging resource provides reference.
In the step S16 of embodiment 1, determine in total resources list after the resource data to be allocated to user, Methods described can also include:Obtain the user's mark for taking resource in the total resources list and take demand Mark, and the user is identified and occupancy demand mark is saved in resource allocation list, certainly here User identifies the mark that can also be other systems or mechanism.
In the step S16 of embodiment 1, determine in total resources list after the resource data to be allocated to user, Methods described can also include:Idempotent verification is carried out to the resource data to be allocated to user in resource allocation list. Total resources server will have unique mark, and each a point Resource Server will also have unique mark, according to preceding Both combine with resource identification, you can carried out to being landed to the resource value to be allocated to user in resource allocation list Idempotent is verified, and does unique constraints, prevents that the resource value to be allocated to user repeats to preserve in resource allocation list.
After embodiments of the method all before, it can also comprise the following steps:According in resource allocation list Resource data to be allocated to user carries out resource allocation to user.
Embodiment 2
Embodiment 1 describes present invention design in detail, for the ease of being better understood from the skill of the application Art feature, means and effect, below with a kind of specific embodiment, to the processing side of the resource of the application Method is illustrated, so as to form another embodiment of the application.A kind of resource that embodiment 2 is provided Synchronous method, resource here is specially that investor buys the electronics money that product is formed by trading server Production, this method can be applied in, the field mould of product list and investor refund single three dimension single based on financing In type.Before the method shown in embodiment 2 is introduced, brief Jie is done to the application scenarios of embodiment 2 first Continue, it is specific as shown in Figure 2:
Mechanisms other first propose financing needs, certain one by the financing services device in above-mentioned domain model Financing needs can correspond to a financing list, the financing amount of money needed for above-noted has.One financing needs will be right 1 or N number of product of its issue are answered, N is positive integer, the single financing amount of money and corresponding 1 of financing Individual or N products amount of money sum is equal, and these products can be virtual finance product etc., each product Can be to that there should be a product list, final 1 or N number of investor buy above-mentioned a certain by trading server Individual product and then formation electronic asset, and then form related electronic asset information.
Each purchaser record (transaction record) will be produced and would generally recorded on a trading card, trading card The specific amount of money of lower transaction, investor's mark of purchase product, the product information of purchase, the specific purchase of product The time of buying and the time of payment of answering, buy the amount of money and answer refund etc..Trading server is by above-mentioned friendship Yi Dan, electronic asset is identified, and electronic asset information etc. is stored, that is, is carried out electronic asset and entered account.Transaction Server when the financing amount of money financed on list reaches preset value, will beat money to machine after propulsion is raised successfully Structure, shows that financing end is raised demand and raised successfully, and then notifies financing services device, and financing services device will be shown Raise success notification message.
Prior art be typically to answer the time of payment when, the record pair on trading card in trading server Investor is repaid.However as financing needs, product quantity and the increasing for buying product-specific investments people's quantity It is many, if the transaction forms data of current investor goes wrong or shortage of data, then the investor is repaid and lost Lose simultaneously or even the normal refund of follow-up investor can be blocked, this method is greatly reduced to investor's Refund speed, therefore, a kind of processing method for investor's electronic asset that the present embodiment 2 is provided are right Investor treats that repayment amount carries out advance synchronization process, during to the time of payment, is remembered according to above-mentioned synchronous data Record can refund to investor, and this method is as shown in figure 3, mainly include following steps:
Step S21:Receive the electronic asset mark that trading server is sent;
As it was previously stated, investor forms electronic asset by buying some product, purchase here certainly The amount of money is equal with the amount of money of electronic asset.Each electronic asset will have a unique electronic asset mark, Such as electronic asset ID, the substantial amounts of electronic asset in trading server is made a distinction, in transaction clothes Often occurs a transaction in business device, that is, when producing new electronic asset, trading server can be by above-mentioned electronics Electronic asset mark corresponding to assets is sent to refund server.
Step S22:Synchronous electronic asset information is identified according to the electronic asset;
Receive after electronic asset mark, refund server can be identified from trading server according to electronic asset Investor's mark and investor's purchase can be included by being synchronized in electronic asset information, the electronic asset information The occurrence for the electronic asset bought, can also include electronic asset mark certainly, and now electronic asset is identified It is one-to-one relationship with electronic asset information.
When including electronic asset mark in electronic asset information, synchronous electronics is identified according to electronic asset and provided , then can be by the electronic asset got in step S21 mark and substantial amounts of electronic asset information when producing information In electronic asset mark match, such as cross with some electronic asset information electronic asset mark match Succeed, then synchronous electronic asset information corresponding with the electronic asset mark that the match is successful.
Step S23:Synchronous electronic transaction list information is identified according to investor mark and the electronic asset;
Include investor's mark, electronic transaction list information in the electronic asset information that step S21 is synchronously obtained The record information formed when buying product by investor, is identified according to investor's mark and the electronic asset, Refund server can obtain electronic transaction list information produced during investor's purchase product, electronic transaction list The product value of investor's purchase, i.e. electronic asset value, the product of purchase would generally be recorded in information in detail Information, time buying and the time of payment of answering, answer refund.
Generally, if an investor can buy multiple products, or identical product is not bought in the same time, then Multiple electronic assets can be formed, therefore it is to obtain that the constraint identified with electronic asset is identified according to investor To with both unique corresponding trading card information.
Step S24:Data of being refunded in investor's refund list are determined according to the electronic transaction list information;
Refund server is according to the record information on above-mentioned electronic transaction list, you can determine in investor's refund list Refund data, the refund data include refund capital and refund interest, and refund capital is to be bought with user Product value, refund interest here can by buy product value × incidence coefficient × (time of payment- Time buying) and draw.
The refund data that repayment can also be included treating in certain investor's refund list be it is disposable pay off or Pay off in batches:If disposably paying off, then it can also include specific repayment date in investor's refund list Phase;If pay off in batches, then it can also include the specific number of times refunded in investor's refund list, every time also The exact date of money, and the amount of money that should be repaid every time etc..
Step S25:From the single refund capital data of financing services device synchronization financing and product list refund capital data;
Refund server is according to the recruitment success notification message received from financing services device, you can from financing clothes Refund capital data of the refund capital sum being engaged in device synchronization financing list according to this and in product list, financing here Refund capital data are that the refund capital data on the amount of money of financing needs, product list are the total of product on list Price, that is, the record information financed corresponding to single financing needs sent for financing services device, product list is every Record information corresponding to individual product, the product list and financing are single in one-to-many mapping relations, the financing Single and product list is in one-to-many mapping relations.
Step S26:Product list refund data are determined according to refund data in investor's refund list, and according to production Product list refund data determine the single refund data of financing.
One financing single pair of answers 1 or N number of product list of its issue, while a product list has to that should have 1 Individual or N number of investor refunds single.According to refund capital in all corresponding investor's refund lists of product list and Refund interest, you can determine the data refunded needed for product list, according to the single all corresponding products of financing Refund capital and refund interest in list, you can it is determined that the data refunded in financing list,
Draw after the refund data on financing list, or even can also be by providing interface by the refund in list of financing Refund data in data and product list provide mechanism, the experience of optimization mechanism in the form of the page.
It is synchronous after the method provided using embodiment 2, the electronic asset mark for receiving investor's electronic asset Include the electronic asset information of investor's mark, identified according to investor mark and the electronic asset Synchronous electronic transaction list information;Data of being refunded in investor's refund list are determined according to the electronic transaction list information, The final refund data determined in financing list and product list, when reaching date of payment, according to above-mentioned refund data Investor can be treated that indemnity volume returns to investor, improve and repay the processing speed that investor refunds.
When specifically repaying, the financing list can be locked at interval of a period of time, it is to repay then to count Also product list refund data of done state, then judge in the above-mentioned product list of done state refund it Whether in financing list refund is equal to, if it is, illustrating that all products under the financing list are whole Repayment is finished;If it is not, then determining whether whether following condition meets:Repay in done state product list Treat that refund is less than in financing list and treat refund, and financing forms data state is init state, if Condition is met, then it is product init state to update financing single, you can further to refund, if be unsatisfactory for Condition, then illustrate that data go wrong, and terminates flow.
It should be noted that the executive agent that embodiment 2 provides each step of method may each be Fig. 2 institutes The refund server shown, certain refund server can include many processing modules, server of refunding certainly It is main to be responsible for synchronously coming the related data of trading server and financing services device, and then handled simultaneously Repayment schedule is formulated, investor is refunded further according to repayment schedule until repayment date.
Embodiment 3
It is above the present processes embodiment, based on identical inventive concept, the embodiment of the present application 3 is provided A kind of sychronisation of resource, the processing speed of user resources is repaid for improving, as shown in figure 3, described Device mainly includes:Resource identification receiving module 31, resource information synchronization module 32, shared resource information Synchronization module 33, resource allocation list determining module 34, synchronization module 35 and determining module 36, wherein:
Resource identification receiving module 31, can be used for receiving the resource identification that point Resource Server is sent;
Resource information synchronization module 32, can be used for according to the resource identification isochronous resources information, the money Include user's mark in source information;
Shared resource synchronizing information module 33, can be used for providing according to user's mark and resource identification are synchronously shared Source information, the shared resource information be user by resource-sharing to resource exchange system when produced record Information;
Resource allocation list determining module 34, can be used for determining resource allocation list according to the shared resource information In the resource data to be allocated to user, the resource data to be allocated to user includes the money of users to share Source data and the correlated resources data corresponding with the resource data;
Synchronization module 35, can be used for resource data and point resource from total resources server sync total resources list Resource data in list, the total resources list includes the resource data of total resources server reception, described point of money Source singly includes the resource data that point Resource Server is received, and point resource list and resource allocation list reflect in one-to-many Relation is penetrated, total resources list and point resource list are in one-to-many mapping relations;
Determining module 36, can be used for being determined to divide according to the resource data to be allocated to user in resource allocation list Resource data to be allocated to user in resource list, and according to the number of resources to be allocated to user in point resource list According to the resource data to be allocated to user in determination total resources list.
The device provided using embodiment 3, resource identification receiving module 31 is received after resource identification by resource The isochronous resources information of synchronizing information module 32, shared resource list synchronizing information module 33 connects according to resource identification Receive the synchronous shared resource information of the synchronized result of module 31 and resource information synchronization module 32, last synchronization mould Resource data and resource data in point resource list in the synchronous total resources list of block 35, determining module 36 is according to resource Distribute the resource data to be allocated to user in list and determine the resource data to be allocated to user in point resource list, And determined according to the resource data to be allocated to user in point resource list to be allocated to user's in total resources list Resource data.According to above-mentioned resource allocation list, total resources list and point resource list can give user to be allocated Resource returns to user, and then distributes to the processing speed of users to share resource.
The device that embodiment 3 is provided can also include judge module, wherein:The judge module, Ke Yiyong It is total in judging to divide user in the resource data in resource list and all resource allocation lists with it in mapping relations Whether the resource data sum enjoyed is equal;And/or, judge the resource data in total resources list and all be in it Whether the resource data sum in point resource list of mapping relations is equal.
The device that embodiment 3 is provided can also include resource distribution module, wherein:The resource distribution module, It can be used for carrying out resource allocation to user according to the resource data to be allocated to user in resource allocation list.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or meter Calculation machine program product.Therefore, the application can be using complete hardware embodiment, complete software embodiment or knot The form of embodiment in terms of conjunction software and hardware.Wherein wrapped one or more moreover, the application can be used The computer program product implemented in computer-usable storage medium containing computer usable program code Form.
The application is produced with reference to according to the method, equipment (system) and computer program of the embodiment of the present application The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions implementation process figure and / or each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through and calculate The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one The device for the function of being specified in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the application can be used wherein includes calculating one or more Machine usable program code computer-usable storage medium (include but is not limited to magnetic disk storage, CD-ROM, Optical memory etc.) on the form of computer program product implemented.
Embodiments herein is these are only, the application is not limited to.For people in the art For member, the application can have various modifications and variations.It is all to be made within spirit herein and principle Any modification, equivalent substitution and improvements etc., should be included within the scope of claims hereof.

Claims (11)

1. a kind of synchronous method of resource, it is characterised in that methods described includes:
Receive the resource identification that point Resource Server is sent;
According to the resource identification isochronous resources information, user's mark is included in the resource information;
According to user's mark and the synchronous shared resource information of resource identification, the shared resource information will for user Produced record information when resource-sharing is to resource exchange system;
Resource data to be allocated to user in resource allocation list is determined according to the shared resource information, it is described The resource data of resource data to be allocated to user including users to share and relative with the resource data The correlated resources data answered;
Resource data and resource data in point resource list, described total from total resources server sync total resources list Resource list includes the resource data of total resources server reception, and described point of resource list includes a point resource service The resource data that device is received, point resource list and resource allocation list are in one-to-many mapping relations, total resources list and point Resource list is in one-to-many mapping relations;
Determined according to the resource data to be allocated to user in resource allocation list to be allocated to use in point resource list The resource data at family, and determine to treat in total resources list according to the resource data to be allocated to user in point resource list Distribute to the resource data of user.
2. according to the method described in claim 1, it is characterised in that always provided from total resources server sync Resource data is with after resource data in point resource list in the list of source, and methods described also includes:
Judge resource data in point resource list and it is all with it in user in the resource allocation list of mapping relations Whether shared resource data sum is equal;And/or,
Judge resource data in total resources list and it is all with it in the resource in point resource list of mapping relations Whether data sum is equal.
3. according to the method described in claim 1, it is characterised in that always provided from total resources server sync Resource data is with before resource data in point resource list in the list of source, and methods described also includes:
Receive the notification message that total resources server is sent.
4. according to the method described in claim 1, it is characterised in that determine in total resources list it is to be allocated to After the resource data of user, methods described also includes:
Obtain the user's mark for taking resource in the total resources list and take demand mark, and used described Family is identified and occupancy demand mark is saved in resource allocation list.
5. according to the method described in claim 1, it is characterised in that determine in total resources list it is to be allocated to After the resource data of user, methods described also includes:
Idempotent verification is carried out to the resource data to be allocated to user in resource allocation list.
6. the method according to any one of claim 1 to 5, it is characterised in that determine total resources list In after the resource data to be allocated to user, methods described also includes:
Resource allocation is carried out to user according to the resource data to be allocated to user in resource allocation list.
7. a kind of synchronous method of resource, it is characterised in that the resource is that investor passes through transactional services The electronic asset that device purchase product is formed, methods described includes:
Receive the electronic asset mark that trading server is sent;
Identified according to the electronic asset in synchronous electronic asset information, the electronic asset information and include throwing Provide people's mark;
Synchronous electronic transaction list information, the electronics are identified according to investor mark and the electronic asset The record information that trading card information is formed when buying product by investor;
Data of being refunded in investor's refund list, the refund packet are determined according to the electronic transaction list information Include refund capital and refund interest;
From the single refund capital data of financing services device synchronization financing and product list refund capital data, financing is singly The record information corresponding to financing needs that financing services device is sent, product list is the note corresponding to each product Information is recorded, the product list and financing are single in one-to-many mapping relations, and the financing list and product list are in a pair Many mapping relations;
Product list refund data are determined according to refund data in investor's refund list, and according to product list also amount of money According to the single refund data of determination financing.
8. method according to claim 7, it is characterised in that synchronously financing is single from financing services device Before refund capital data and product list refund capital data, methods described also includes:Receive financing services device The recruitment success notification message of transmission.
9. a kind of sychronisation of resource, it is characterised in that described device includes:Resource identification receives mould Block, resource information synchronization module, shared resource synchronizing information module, resource allocation list determining module is synchronous Module and determining module, wherein:
The resource identification receiving module, for receiving the resource identification that point Resource Server is sent;
The resource information synchronization module, for according to the resource identification isochronous resources information, the resource Include user's mark in information;
The shared resource synchronizing information module, for according to user's mark and the synchronous shared resource of resource identification Information, the shared resource information be user by resource-sharing to resource exchange system when produced record letter Breath;
The resource allocation list determining module, for being determined according to the shared resource information in resource allocation list Resource data to be allocated to user, the resource data to be allocated to user includes the resource of users to share Data and the correlated resources data corresponding with the resource data;
The synchronization module, for the resource data from total resources server sync total resources list and point resource list Middle resource data, the total resources list includes the resource data of total resources server reception, described point of resource Singly include the resource data that point Resource Server is received, point resource list and resource allocation list are in one-to-many mapping Relation, total resources list and point resource list are in one-to-many mapping relations;
The determining module, for determining a point money according to the resource data to be allocated to user in resource allocation list Resource data to be allocated to user in the list of source, and according to the resource data to be allocated to user in point resource list Determine the resource data to be allocated to user in total resources list.
10. device according to claim 9, it is characterised in that described device also includes judge module, Wherein:
The judge module, for judge resource data in point resource list and it is all with it in mapping relations Whether the resource data sum of users to share is equal in resource allocation list;And/or,
Judge resource data in total resources list and it is all with it in the resource in point resource list of mapping relations Whether data sum is equal.
11. the device according to any one of claim 9 to 10, it is characterised in that described device is also Including resource distribution module, wherein:
The resource distribution module, for according to the resource data to be allocated to user in resource allocation list to Family carries out resource allocation.
CN201610105154.6A 2016-02-25 2016-02-25 Resource synchronization method and device Active CN107123051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610105154.6A CN107123051B (en) 2016-02-25 2016-02-25 Resource synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610105154.6A CN107123051B (en) 2016-02-25 2016-02-25 Resource synchronization method and device

Publications (2)

Publication Number Publication Date
CN107123051A true CN107123051A (en) 2017-09-01
CN107123051B CN107123051B (en) 2020-09-04

Family

ID=59717769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610105154.6A Active CN107123051B (en) 2016-02-25 2016-02-25 Resource synchronization method and device

Country Status (1)

Country Link
CN (1) CN107123051B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033154A (en) * 2018-12-12 2019-07-19 阿里巴巴集团控股有限公司 Resource allocation method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020166117A1 (en) * 2000-09-12 2002-11-07 Abrams Peter C. Method system and apparatus for providing pay-per-use distributed computing resources
US20110106676A1 (en) * 2003-11-04 2011-05-05 Levi Andrew E System and method for comprehensive management of company equity structures and related company documents with financial and human resource system integration
CN104239803A (en) * 2013-06-06 2014-12-24 中国银联股份有限公司 Security information interaction method for electronic resource transfer
CN104751266A (en) * 2013-12-31 2015-07-01 腾讯科技(深圳)有限公司 Data processing method, value-added server and system
CN104899783A (en) * 2015-05-29 2015-09-09 深圳市银信网银科技有限公司 Fund debit/credit transaction method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020166117A1 (en) * 2000-09-12 2002-11-07 Abrams Peter C. Method system and apparatus for providing pay-per-use distributed computing resources
US20110106676A1 (en) * 2003-11-04 2011-05-05 Levi Andrew E System and method for comprehensive management of company equity structures and related company documents with financial and human resource system integration
CN104239803A (en) * 2013-06-06 2014-12-24 中国银联股份有限公司 Security information interaction method for electronic resource transfer
CN104751266A (en) * 2013-12-31 2015-07-01 腾讯科技(深圳)有限公司 Data processing method, value-added server and system
CN104899783A (en) * 2015-05-29 2015-09-09 深圳市银信网银科技有限公司 Fund debit/credit transaction method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110033154A (en) * 2018-12-12 2019-07-19 阿里巴巴集团控股有限公司 Resource allocation method, device and equipment
CN110033154B (en) * 2018-12-12 2023-10-20 创新先进技术有限公司 Resource allocation method, device and equipment

Also Published As

Publication number Publication date
CN107123051B (en) 2020-09-04

Similar Documents

Publication Publication Date Title
Zhang et al. Auction-based resource allocation in cognitive radio systems
WO2020063175A1 (en) Method and apparatus for allocating virtual resources
CN110599178A (en) Data processing method and device based on intelligent contract and storage medium
EP3906517A1 (en) Methods and systems for margin lending and trading on a decentralized exchange
CN108156232A (en) Data sharing method and device
CN108228363A (en) A kind of message method and device
CN110557403A (en) Resource allocation method and device based on block chain, storage medium and node equipment
CN111917845A (en) Cloud resource application method and device
CN110191160A (en) A kind of concurrency control method and device
CN105477861A (en) Method and device for virtual article exchange
CN108241534A (en) A kind of task processing, distribution, management, the method calculated and device
CN108881043A (en) Distribution method, device, equipment and the storage medium of portfolio in shared set meal
CN111986022A (en) Transaction quota processing method and system based on block chain and each node
CN108898368A (en) Transfer method and device, storage medium, the electronic device of resource
CN110288341A (en) Capital chain information tracing method, system, server and readable storage medium storing program for executing
CN112101919A (en) Data processing method and device, electronic equipment and storage medium
CN107123051A (en) The synchronous method and device of a kind of resource
CN108270582A (en) The treating method and apparatus of floating resources
CN104660525B (en) Bandwidth allocation method, controller and communication system
CN114679470B (en) Service processing method, equipment, system and storage medium of ABS service system
CN115630959A (en) Energy safety transaction method and system based on block chain intelligent contract
CN110852891B (en) Data processing method and device based on rolling stock and readable storage medium
CN106411782B (en) A kind of bandwidth compensation method and device
US20200380860A1 (en) Smart contract formation, handling and fulfilment between vehicles
CN113708945B (en) Resource allocation method and device based on slice packet network and computing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220414

Address after: Room 602, No. 618 Wai Road, Huangpu District, Shanghai

Patentee after: Ant fortune (Shanghai) Financial Information Service Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Patentee before: Innovative advanced technology Co.,Ltd.