CN106156971A - Logistic resources conspiracy relation information processing method and device - Google Patents

Logistic resources conspiracy relation information processing method and device Download PDF

Info

Publication number
CN106156971A
CN106156971A CN201510190780.5A CN201510190780A CN106156971A CN 106156971 A CN106156971 A CN 106156971A CN 201510190780 A CN201510190780 A CN 201510190780A CN 106156971 A CN106156971 A CN 106156971A
Authority
CN
China
Prior art keywords
relation
type
database table
value
collaborative
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
CN201510190780.5A
Other languages
Chinese (zh)
Other versions
CN106156971B (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.)
Cainiao Smart Logistics Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510190780.5A priority Critical patent/CN106156971B/en
Priority to PCT/CN2016/079229 priority patent/WO2016169429A1/en
Publication of CN106156971A publication Critical patent/CN106156971A/en
Application granted granted Critical
Publication of CN106156971B publication Critical patent/CN106156971B/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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present application discloses logistic resources conspiracy relation information processing method and device, wherein, a kind of logistic resources conspiracy relation information processing method, pre-defined conspiracy relation, described conspiracy relation is represented by following metadata: conspiracy relation type, the relation types of variables of association, the collaborative type of subject of association;Described relation variable is for expressing collaborative content, and described collaborative main body is the participant of conspiracy relation;Described method includes: provide defined conspiracy relation type information;Receive the type of the target cooperative relation that user selects, and the instantiation data submitted to for target cooperative relation, and preserve with the form of database table;Described instantiation data includes relation variate-value and collaborative main body value.Pass through the embodiment of the present application, it is possible to increase the extensibility of system.

Description

Logistic resources conspiracy relation information processing method and device
Technical field
The application relates to logistics information processing technology field, particularly relates at logistic resources conspiracy relation information Reason method and device.
Background technology
The most perfect along with E-commerce transaction platform, and the technology such as traditional communication, mobile communication is fast Speed development, increasing people obtain oneself required commodity by the way of shopping online, commodity Kind can relate to the every aspect of people's daily life, including the classification such as household electrical appliance, furniture Commodity.For this kind of commodity, owing to having the features such as volume is big, weight is big, fragile, how to enter Do business the storage of product and dispensing is a critical problem.
In order to improve consumer's purchase experiences to commodity such as big household electrical appliances, the businessman of electric appliances store of some electricity business's platform Big electrical household appliance can be entered platform provide warehouse (such as Second Type warehouse resource, the most greatly Household electrical appliances warehouse, there is the dispensing coverage of oneself in each warehouse), the warehouse that platform provides generally comprises point Cloth in multiple warehouses of different physical locations, such as, Bei Jingcang, Hang Zhoucang, Shang Haicang, etc..It addition, Businessman there may also be the logistic resources of oneself, such as, self-built warehouse etc., and a businessman may be simultaneously (for ease of describing, the warehouse provided by platform is referred to as " the to use warehouse that platform provides and the warehouse of oneself Two type warehouse resources ", the warehouse of businessman oneself is referred to as " first kind warehouse resource "), etc..
(include the warehouse-in of commodity in order to help businessman reasonably to manage stock in system, replenish, spread goods etc. Problem), some transaction platform can introduce platform supply chain, relate to from sales forecasting start to procurement plan, To warehouse-in plan, to appropriation plan, to completing last plan execution, etc..In many ways collaborative meeting therein More complicated, such as, certain commodity of certain supplier distribution ratio between each Second Type warehouse resource Usable floor area in certain warehouse of resource, Second Type warehouse of example relation, certain commodity of certain supplier, certain Individual supplier with another one supplier competitive relation in certain Second Type warehouse resource, etc..But Being that plan is again that the conspiracy relation by series of complex is determined, these are complicated collaborative, Complexity is brought to system design.
Such as, businessman, typically can be according in advance after the storehouse, Shenzhen for certain commodity selection and Dongguan storehouse The sales planning in various places formulated, gets ready the goods in each storehouse.But also have between storehouse, Shenzhen and storehouse, Dongguan There is certain conspiracy relation: distance Shenzhen, Dongguan is relatively near, and storehouse, Dongguan just can complete to Shenzhen within one day Replenishing of storehouse, if it is possible to more reasonably utilize the warehouse resource of this relation, it will improves money The utilization rate in source, also avoids the occurrence of the problems such as the stock that certain warehouse causes owing to excess replenishes.
To this end, platform supply chain needs for businessman's offer plan cooperative approach, the collaborative essence of plan is according to base Plinth data and in many ways Cooperation rule go to be formed the process of a final plan performed.But, each business field Jing Douhui has the basic data of oneself and in many ways collaborative rule.Such as:
Business scenario 1: (to enterprise, general expression first has consumer demand to produce then in consumer for C2B Enterprise is had to produce) futures presell order sinking supply chain scheme.
(1) basic data includes: the futures deposit order of C2B, the Second Type warehouse resource of commodity Inventory distribution etc..
(2) conspiracy relation includes: between Second Type warehouse resource, sinking relation is (as sunk to from A storehouse B storehouse), this supplier is at the Second Type warehouse spendable Reservoir area of resource, these commodity of this supplier Stock's ratio etc. in Second Type warehouse resource.
Business scenario 2: the multistage storehouse supply chain scheme of formulation.
(1) basic data includes: sales forecasting's data, current stock are at various distributed datas etc.;
(2) conspiracy relation includes: certain commodity allocation proportion relation between certain two storehouse, this supply of material Business the Second Type warehouse spendable Reservoir area of resource, this supplier these commodity in Second Type warehouse Stock's ratio of resource etc..
In prior art, by supporting sending out of business for every kind of business stand-alone development a set of plan cooperative approach Exhibition, covers basic data and the cooperative approach of corresponding business in every suit plan collaborative logic$$$$.But, existing Being flooded with various conspiracy relation in real supply chains, such as cdc storehouse and dc storehouse also exist the relation of alloting, There is conspiracy relation with the most suitable ability of receiving when businessman puts in storage, if certain region we limit certain class Purpose commodity do not allow excessively to spread goods in certain selling time interval, then businessman is in certain class in certain region There is again competitive relation in purpose paving goods, etc..Some conspiracy relation is it has become clear that but have more Conspiracy relation temporarily cannot be predicted.Therefore, the way of prior art is: often finds a kind of conspiracy relation, builds A vertical tables of data stores.Platform supply chain early stage, class of business is few, and currently existing scheme is to close Reason.But along with the development of supply chain business scenario, various supply chain scenes are on the increase, supply chain In conspiracy relation also become increasingly complex, the deficiency of currently existing scheme the most gradually comes out.
Such as, the mode R&D cycle for every kind of business stand-alone development plan cooperative approach is long, and maintenance cost is high, Serious waste of resources, it is difficult to the fast development of supporting business.When some business Parallel Developments, this defect Just become apparent from.
Furthermore, during service transition, the business demand that may constantly change, the challenge to system variation, Once certain plan cooperative approach is disposed complete in existing scheme, it is difficult to extend, needs to revise after source code again Disposing, therefore, this pattern is difficult to meet the evolution demand of business.
It addition, for that have not occurred it is contemplated that conspiracy relation cannot quickly be expressed, occur in business demand Time need to re-establish database table and carry out code development, therefore inefficiency.
In a word, how to reduce platform Supply Chain Planner system development and maintenance cost, support quickly sending out of business Exhibition, becomes and needs those skilled in the art to solve the technical problem that.
Summary of the invention
This application provides logistic resources conspiracy relation information processing method and device, it is possible to increase system can Autgmentability.
This application provides following scheme:
A kind of logistic resources conspiracy relation information processing method, pre-defined conspiracy relation, described conspiracy relation Represented by following metadata: conspiracy relation type, the relation types of variables of association, the collaborative main body class of association Type;Described relation variable is for expressing collaborative content, and described collaborative main body is the participant of conspiracy relation;
Described method includes:
Defined conspiracy relation type information is provided;
Receive the type of the target cooperative relation that user selects, and the instantiation submitted to for target cooperative relation Data, and preserve with the form of database table;Described instantiation data includes relation variate-value and association With main body value.
A kind of logistic resources conspiracy relation information processor, pre-defined conspiracy relation, described conspiracy relation Represented by following metadata: conspiracy relation type, the relation types of variables of association, the collaborative main body class of association Type;Described relation variable is for expressing collaborative content, and described collaborative main body is the participant of conspiracy relation;
Described device includes:
Type information provides unit, is used for providing defined conspiracy relation type information;
Receive unit, for receiving the type of the target cooperative relation that user selects, and close for target cooperative The instantiation data that system submits to, and preserve with the form of database table;Described instantiation data includes closing It is variate-value and collaborative main body value.
The specific embodiment provided according to the application, this application discloses techniques below effect:
By the embodiment of the present application, a configurable model based on metadata can be built, new producing Demand time, it is only necessary to add new definition according to model, can quickly in carrying platform supply chain plan assist With required various factors, foundation code part then need not amendment, it is not required that delivers new program, Therefore improve the extensibility of system.And, it is also possible to support the expression of complicated conspiracy relation.
Certainly, the arbitrary product implementing the application it is not absolutely required to reach all the above advantage simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to enforcement In example, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only Some embodiments of the application, for those of ordinary skill in the art, are not paying creative work Under premise, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the method that the embodiment of the present application provides;
Fig. 2 is the index model schematic diagram that the embodiment of the present application provides;
Fig. 3 is another index model schematic diagram that the embodiment of the present application provides;
Fig. 4 is another index model schematic diagram that the embodiment of the present application provides;
Fig. 5 is the schematic diagram of the device that the embodiment of the present application provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clearly Chu, be fully described by, it is clear that described embodiment be only some embodiments of the present application rather than Whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art obtained all its His embodiment, broadly falls into the scope of the application protection.
In traditional supply chains planning system, it is for various collaborative scenes, often produces a demand, Just carry out one-time programming realization, then deliver program, and in the embodiment of the present application, it is intended to build a base In the configurable model of metadata, when producing new demand, it is only necessary to add new definition according to model, Foundation code part then need not amendment, it is not required that delivers new program.
Based on above-mentioned consideration, when implementing, the platform Supply Chain Planner system in the embodiment of the present application Core realm model can be constructed as:
Supply chains plan=cooperation flow+collaborative basic data+conspiracy relation+Cooperation rule
Therefore, as long as the essence of each the sub-key element building supply chains plan can be caught, carry out abstract Modeling, sets up a set of stable extendible model, then just can be based on this set of model " with not allergic effect ten thousand Become ", express various supply chains scenes flexibly.
In above-mentioned model, expressing about cooperation flow, industry has had the flow process product of various maturation, It is for instance possible to use TbBpm realizes process modeling, etc..Express about collaborative basic data, existing The resource center having technology to there has also been maturation supports, and Cooperation rule part has the regulation engine of maturation, therefore How the focusing on of the embodiment of the present application is modeled for conspiracy relation.
It is to say, in the embodiment of the present application, it is for this scene of supply chains, abstract out one Set of model, this model can be extended by data initialization, by a kind of consistent in the way of express each Plant conspiracy relation.So when there being new demand, it is only necessary in existing software, carry out the expansion of metadata Exhibition, without carrying out new written in code, just can support a kind of new conspiracy relation.
For product aspect, the embodiment of the present application can build a platform supply chain with extensibility Planning system, wherein, conspiracy relation expression is a nucleus module of this system.For businessman, It is seen that an online system, the expression of a variety of conspiracy relations that this system is built-in, businessman is permissible Demand according to oneself, the feature etc. of commodity, carry out instantiation to conspiracy relation therein.And then, these Instantiation data, it is possible to as the execution foundation of various plan enforcement engine, is planned enforcement engine retrieval Use, and the decision-making for plan enforcement engine provides data support.
Wherein, model about conspiracy relation, in the embodiment of the present application, first can take out the most several Key element:
(1) conspiracy relation type: can be understood as collaborative context, the participant of multiple supply chains is assorted To work in coordination with, what kind of traffic issues will be solved.Such as: multiple suppliers are required for using certain Warehouse, but warehouse usable area is certain, and there is competition pass with regard to the use in certain warehouse in the most multiple suppliers System, this is a kind of conspiracy relation.When defining conspiracy relation type, it can be each type of collaborative pass System takes a name, identifies this kind of conspiracy relation by this name, such as the conspiracy relation in previous example, Can be named as: " area competition in storehouse is collaborative ", this is a kind of conspiracy relation type.
(2) collaborative type of subject: since speaking of collaborative, then the participant of conspiracy relation is inevitable obviously Wanting more than one, the collaborative participant spoken of here is not necessarily people, it may be possible to other tuneable element. Certainly, collaborative participant is not necessarily all collaborative main body, such as: a storehouse in reality, can be according to sku (Stock Keeping Unit, keeper unit) is different, selects different Delivery Co., Ltd, there is a kind of storehouse Joining conspiracy relation, in this scene, storehouse and sku are as collaborative main body, and Delivery Co., Ltd is not the most collaborative Main body, because current demand is: giving delivers from godown finds out which Delivery Co., Ltd of employing with sku is provided and delivered, it is clear that storehouse In the case of certain with sku, Delivery Co., Ltd is changed such as business cooperation relation.Therefore, Judge that in the participant of a conspiracy relation, who is that the method working in coordination with main body can be: be used for positioning conspiracy relation Collaborative participant be collaborative main body, be not the most collaborative main body.
(3) conspiracy relation types of variables: relation variable have expressed under collaborative scene, collaborative main body and association What same participant (nonbody) work in coordination with regard to, namely collaborative content.Still with area above As a example by competition is collaborative, the area in storehouse have expressed and with regard to what works in coordination with between collaborator, and therefore storehouse area is exactly Conspiracy relation variable.Why being referred to as variable, be because its not definite value, different warehouses can supply businessman Use area be different, same storehouse, in different time sections, using the teaching of the invention it is possible to provide usable floor area be also not With, therefore warehouse usable area is conspiracy relation variable.
So, various conspiracy relations can be expressed by the combination of above-mentioned several key elements, and this is just Being the essence of conspiracy relation, therefore, above-mentioned key element can serve as the metadata of various conspiracy relation. After taking out above-mentioned metadata, it is possible to be used for expressing various conspiracy relation.Wherein, system is supported many Planting conspiracy relation less can be to be carried out configuring by the designer of programmer i.e. system, these data Initialization can be defined as design period or definition phase, and the most each businessman can be based on the association defined Tie up to carry out the instantiation of data with closing.As a example by proportioning conspiracy relation: the developer of system is fixed based on model Proportioning is there is in justice first kind warehouse resource and Second Type warehouse resource with regard to the inventory allocation of certain commodity Relation, but specifically which businessman, which Second Type warehouse resource, which commodity, in this stage Being ignorant, next can be carried out instantiation, each businessman can be arranged according to the commodity of oneself Proportion relation between different first kind warehouse resources and Second Type warehouse resource.
It is to say, the expression of conspiracy relation can be divided into two stages: definition phase and instantiation time. In the definition phase, conspiracy relation can be described from the rank of type, join by storehouse as a example by working in coordination with, the most only point out There is conspiracy relation with joining in storehouse, but specifically which which storehouse be furnished with conspiracy relation with, in the definition phase Not embodying, these needs complete at instantiation time.
Wherein, about the definition phase of conspiracy relation, can there is multiple implementation, such as, real in one Under existing mode, can be modeled by four database tables (because collaborative type of subject may be in multiple associations Repeatedly occur with in contextual definition, therefore collaborative type of subject individually modeled), it is called the first data Storehouse table, the second database table, the 3rd database table and the 4th database table, wherein, the first database table For defining conspiracy relation type information, the second database table is used for defining collaborative type of subject information, and the 3rd Database table is for defining the relation types of variables information of each conspiracy relation type association, and the 4th database table is used In the collaborative type of subject information defining each conspiracy relation type association.Such as, the structure of the first database table Can be as shown in the following Table 1:
Table 1
In this first database table, the quantity of entry is to be determined, typically by the quantity of the conspiracy relation defined In the case of, define how many kinds of conspiracy relation, this first database table will preserve how many entries, when When needing newly-increased a kind of conspiracy relation, this first database table will increase newly an entry, be used for describing this The type information of newly-increased phylogenetic relationship.In table 1 above, conspiracy relation type information can be by relation object Type ID and relationship type title etc. are expressed.Certainly, in actual applications, conspiracy relation type information Can also express by other means.
The structure of the second database table can be as shown in the following Table 2:
Table 2
Owing in a system, the quantity of collaborative main body is usually limited and fixing, same collaborative master Body is likely to appear in different types of conspiracy relation, therefore, this second database table be one overall Various possible executive agents can be enumerated in this second database table by table, in concrete the working in coordination with of definition During relation, concrete collaborative main body can be expressed by quoting the record in this second database table.Upper Stating in table 2, collaborative type of subject information can be expressed by type of subject ID and type of subject title etc.. Certainly, in actual applications, collaborative type of subject information can also be expressed by other means.
The structure of the 3rd database table can be as shown in the following Table 3:
Table 3
Often define a type of conspiracy relation, if this conspiracy relation needs to use certain variable, it is possible to Adding new entry in this second database table, wherein, a kind of conspiracy relation may use one or more Variable, therefore, a kind of conspiracy relation may corresponding one or more entries in this second database table. Such as, in above-mentioned table 3, relationship type ID is the conspiracy relation of 1, correspond to the two of entitled 1,2 Individual relation variable.About the relation types of variables information in the 3rd database table, as shown in table 3, can wrap Include types of variables ID and types of variables title etc., similar, in actual applications, relation types of variables Information can also be expressed by other means.
The structure of the 3rd database table can be as shown in the following Table 4:
Table 4
The collaborative main body set up in the second database table is the conspiracy relation main body of the overall situation, therefore can also want Collaborative main body is set up with concrete conspiracy relation and associates.Similar with the 3rd database table, often define a kind The conspiracy relation of type, can add new entry in the 4th database table, is used for describing this conspiracy relation Collaborative main body, wherein, a kind of conspiracy relation typically can relate to multiple collaborative main body, therefore, the 4th In database table, same conspiracy relation may corresponding multiple Data Entry, be respectively used to describe this and work in coordination with Various collaborative main body in relation.Such as, the implication expressed in upper table 4 is: in conspiracy relation type id=1 Conspiracy relation context in, have collaborative main body id=1, three collaborative main bodys of 2,3 participate in.
It addition, as shown in table 4, the collaborative type of subject information in the 4th database table can be by quoting the The form of the type of subject ID in two database tables represents, conspiracy relation type information can be by quoting The form of the relationship type ID that one data base commends represents.It addition, it is all right in the 4th database table Defining under same conspiracy relation, the sorted order of various collaborative main bodys, for follow-up index model Set up, about this partial content, have below and be discussed in detail.
For apparent understanding above-mentioned conspiracy relation definition procedure, carry out as a example by collaborative proportion relation below Introduce.
The business background of collaborative proportion relation: in order to realize the strong management and control to kinds of goods, big household electrical appliances system uses system Storehouse pattern under unified central planning, i.e. front end can sell stock and Second Type warehouse, rear end resource physical holding of stock binding, in businessman Before kinds of goods do not enter Second Type warehouse resource, front end shows can not sell.But there is the businessman that part is big, There is powerful storehouse resource under Xian, and merchant portion storehouse is closer from Second Type warehouse resource, replenishes week Phase, a kind of feasible kinds of goods management and control mode was the subregion for this kind of big businessman about at 1-2 days, Partial cargo is put into the first kind warehouse selling resources of oneself, and so non-to part best-selling product businessman just may be used So that Second Type warehouse resource is supplemented the stock less than sales forecasting, both can ensure the most in short supply, be avoided that again Because the goods to the Second Type warehouse resource amount of making amends for one's faults, cause stock.Above business demand creates one The proportion relation of kind of commodity paving goods, actual carry out supply chains calculate time, it is possible to the most in systems Define this conspiracy relation.
Concrete definition procedure is as follows:
The first step, registers this conspiracy relation, as shown in the following Table 5 in the first database table:
Table 5
Second step, at conspiracy relation variable defined in the 3rd database table, in this conspiracy relation, relation becomes Amount type includes the first kind warehouse resource sales volume accounting to Second Type warehouse resource, such as table 6 below Shown in:
Table 6
3rd step: in the 4th database table, collaborative main body is set up with conspiracy relation and associate, in this collaborative pass In system, the collaborative type of subject of association includes: supplier, first kind warehouse resource, Second Type warehouse Resource, kinds of goods, as shown in the following Table 7:
Table 7
Being above according to business demand, a kind of proportion relation of abstract definition, this definition procedure is i.e. described as fixed In the justice stage, the most above-mentioned definition only defines conspiracy relation from the angle of type, the most just can enter collaborative The instantiation time of relation, and the follow-up stage setting up index.
Seeing Fig. 1, the embodiment of the present application provides a kind of logistic resources conspiracy relation information processing method, should Method may comprise steps of:
S101: defined conspiracy relation type information is provided;
After defining various conspiracy relation, can the various conspiracy relation information that define be passed through online System is announced, for example, it is possible to by information such as the titles of various conspiracy relations, by form exhibitions such as lists Show in the user interface, and may be provided for the description of the information such as effect about various conspiracy relations.This Sample, businessman by checking various conspiracy relation type information, and can combine the demand of oneself, selects wherein Certain or some conspiracy relation carry out instantiation.
S102: the type of the target cooperative relation that reception user selects, and submit to for target cooperative relation Instantiation data, and preserve with the form of database table;Described instantiation data includes relation variate-value And collaborative main body value;
Here user is primarily referred to as businessman user or seller user, for ease of describing, the most all describes For " businessman ".Businessman is after have selected some type of conspiracy relation, and system can collaborative by with the type The collaborative type of subject of relationship, relation types of variables are supplied to businessman, such as, in the most aforementioned each data In the case of storehouse table carries out the definition of conspiracy relation, system can be according to the type of this conspiracy relation, before inquiry State table 3, determine the relation types of variables that the conspiracy relation with the type associates, inquire about aforementioned table 4 and Table 2, determines the collaborative type of subject that the conspiracy relation with the type associates, and then, businessman just can fill out Entering concrete instantiation data and submit to, wherein, instantiation data just includes relation variate-value and collaborative master Body value.When implementing, when receiving the instantiation data that businessman submits to, still can pass through data base The form of table preserves.
Wherein, when preserving instantiation data by the form of database table, still can be by conspiracy relation class Type, collaborative main body value, relation variate-value preserve respectively in different database tables.For example, it is possible to provide 5th database table, for preserving the type of the target cooperative relation that user chooses, it is provided that the 6th database table, Identify for preserving the type of subject of target cooperative relation and work in coordination with main body value, it is provided that the 7th database table, protecting Deposit types of variables mark and the relation variate-value of target cooperative relation.
For ease of understanding, it is introduced below in conjunction with specific example.Assume that certain businessman have selected previous example In this conspiracy relation of proportion relation, first can preserve this conspiracy relation type by table 8.
Table 8
Along with businessman's submission to instantiation data, can preserve multiple entry in above-mentioned table 8, businessman often selects When the conspiracy relation of one type carries out instantiation, this table 8 will increase an entry newly.Cited therein Conspiracy relation type id, is to determine according to the record in table 1, say, that mesh in the 5th database table The type of mark conspiracy relation is represented by the form quoting the relationship type ID in described first database table.
When the target cooperative relation that businessman is this selection have submitted collaborative main body value, can be to this target cooperative The collaborative main body of relation carries out instantiation, specifically can preserve in table 9 below:
Table 9
It is to say, supplier is designated the kinds of goods HP_01 of GYS_01, need to provide in first kind warehouse Between source SJC_01 and Second Type warehouse resource RRSC_01, using type id is the conspiracy relation of 1. Wherein, the mark of the type of subject in the 6th database table can be by quoting the main body class in the second database table The form of type ID represents, what relation id was quoted is the record in the 5th relation table.
Furthermore it is also possible to instantiation conspiracy relation variable, concrete, can be by the form of table 10 below Preserve:
Table 10
Sequence id Conspiracy relation id is quoted Relation variable i d is quoted Relation variate-value
(relation_id) (relation_var_id) (relation_var_value)
1 1 1 0.5
The value providing relation variable in above-mentioned table 10 is 0.5 expression, for kinds of goods HP_01, in the first kind Type warehouse resource is respectively to account for 50% with the sale allocation proportion of Second Type warehouse resource.Wherein, the 7th data Types of variables mark in the table of storehouse can be by quoting the shape of types of variables ID in described 3rd database table Formula represents.
Below respectively from the angle of definition phase with instantiation, the cooperation service scene of reality is modeled, And preserve corresponding value by the form of database table, complete the instantiation of model.After preserving, it is Various enforcement engine in system just can provide for concrete decision-making depend on by retrieving these instantiation data According to.Wherein, plan engine there may be multiple, it may for example comprise comes certainly based on C2B futures deposit order Determine businessman replenish and appropriation plan engine, based on green hand warehouse system to the general logistics' settlement scheme of businessman Warehouse-in and appropriation plan engine, based on green hand warehouse system and the logistics solution party of first kind warehouse resource hierarchy The plan engine of case, the plan to green hand warehouse system that replenishes nearby based on first kind warehouse resource hierarchy are drawn Hold up, etc..
S103: set up the rope of instantiation data corresponding to described target cooperative relation based on Key-Value model Draw, and be loaded in caching, wherein, by the type of composite object conspiracy relation and the collaborative main body associated Value sets up Key, with association relation variate-value as Value, in order to enforcement engine when implement plan is worked in coordination with, The relation variate-value in instantiation data is gone out by described indexed search.
For the ease of various enforcement engine to conspiracy relation definition and the use of instantiation data, can be with system After during startup and newly setting up a conspiracy relation preservation, by definition and the instantiation data write of conspiracy relation In caching, so, enforcement engine just can read concrete conspiracy relation data, without often from caching The secondary read-write operation all carrying out data base, can improve treatment effeciency.
Wherein, the execution time data in database table being loaded in caching there may be multiple, such as, Can be to load when system start-up, or, it is also possible to when being the most newly-built a kind of conspiracy relation again Load, etc..
In order to facilitate enforcement engine to retrieve conspiracy relation, conspiracy relation data are being added by the embodiment of the present application During being downloaded to caching, it is also possible to will be stored in conspiracy relation in database table and express, be converted into based on The storage of key-value pattern is expressed, wherein, by the type of composite object conspiracy relation and the association associated Set up Key with main body value, with association relation variate-value as Value, such as, retrieval model can as figure Shown in 2.So, enforcement engine is when implement plan is worked in coordination with, it is possible to go out example by this indexed search Change the relation variate-value in data, and then provide foundation for concrete execution.
Wherein, if the structure of database table is as shown in table 1 to table 10 above, the most specifically based on When the indexed search of instantiation data corresponding to target cooperative relation set up by Key-Value model, can include Following steps:
Step one: retrieval the 5th database table, determines the type of target cooperative relation;
Step 2: retrieve described 6th database table according to the type of target cooperative relation, determine target cooperative The collaborative main body value that relation is corresponding;
Step 3: type and the described collaborative main body value of target cooperative relation are combined as Key;
Wherein, if the 4th database table also defines in same conspiracy relation type, each collaborative main body class The sorted order information of type, then this step 3 specifically may include that
According to the type of target cooperative relation, retrieve the 4th database table, determine this target cooperative relation The sorted order information of each type of subject of type association;
According to this sorted order, each collaborative main body value is ranked up;
Collaborative main body value after the type of target cooperative relation and sequence is combined as Key
Such as, in aforementioned table 7, each type of subject id is the collaborative main body of 1,2,3,4, retrieves suitable Sequence is respectively 1,2,3,4, then during the key in combined retrieval model, it is possible to according to type of subject Id be 1,2,3,4 order be ranked up.
Step 4: retrieval the 7th database table, determine types of variables ID corresponding to target cooperative relation and Relation variate-value;
Step 5: retrieve described 3rd database table according to types of variables ID, determine this relationship type ID Corresponding types of variables title;
Step 6: types of variables title and relation variate-value are combined as Value.
It is presented above the KV retrieval model that conspiracy relation based on database table storage is set up, and how According to the data of definition phase with instantiation phase, set up actual retrieval reflection, the inspection of enforcement engine is given below Rope interface model defines.
After according to establishing retrieval model such as upper type, enforcement engine when needs are retrieved, the information of input May include that conspiracy relation type, collaborative main body name-value pair, so, the return value that enforcement engine obtains is: List (list) type, each element in list is with the map of conspiracy relation variable key-value, list In there may be one or more value, the situation of multiple values is one-to-many conspiracy relation.
So, after system receives a retrieval request, the process of retrieval just may comprise steps of:
Step one: find collaborative pass from the first database table according to conspiracy relation type (relation_type) Set type id (relation_type_id);
Step 2: retrieve the value of collaborative main body from the 4th database table in inspection according to relation_type_id Putting in order in rope;
Step 3: according to collaborative main body name-value pair and collaborative main body value the putting in order in retrieval of input, The key of combined retrieval;
Step 4: retrieve based on the key being combined into, and return retrieve corresponding data, data are One with conspiracy relation variable as key, the value of conspiracy relation variable is map pair of value.If retrieval Do not go out data, illustrate that the querying condition of input there may be problem.
Above definition phase, instantiation phase and the KV retrieval model of conspiracy relation is described, below Other two groups of examples will be given, illustrate that the conspiracy relation model in the embodiment of the present application can support the most multiple Miscellaneous model scene.
Example one: one-to-many conspiracy relation
For example, it may be conspiracy relation is joined in storehouse, wherein, warehouse resource can corresponding multiple dispensing resources, Each dispensing resource has a priority, and (business rule that may also need to combine other in reality business enters Row is collaborative), the most only provide the conspiracy relation how going out one-to-many based on model.
Definition phase:
Step one: register this conspiracy relation in the first database table, as shown in table 11:
Table 11
Step 2: at conspiracy relation variable defined in the 3rd database table.In joining conspiracy relation in storehouse, The goods in one warehouse can be provided and delivered by multiple dispensing resources, and therefore conspiracy relation is joined in storehouse is one-to-many, for It is easy to express the relation of this one-to-many, can introduce built-in collaborative variable of system: father's conspiracy relation (parent_relation_id), when specifically carrying out instantiation, a conspiracy relation can be referred to by this variable To another conspiracy relation, the list of a relation variable the most just can be formed.Therefore, relation variable class Type includes provide and deliver resource code, dispensing priority, father's conspiracy relation mark, as shown in table 12:
Table 12
Step 3: in the 4th database table, collaborative main body is set up with conspiracy relation type and associate.Association Collaborative type of subject includes warehouse resource, as shown in table 13:
Table 13
It should be noted that in above-mentioned collaborative type definition, join collaborative about storehouse, join as conspiracy relation Do not occur in collaborative main body with the dispensing resource of person, because the needs in the relation retrieval of reality are: Finding out, according to warehouse resource, the dispensing resource that this warehouse resource is corresponding, therefore dispensing resource is collaborative supporting role, Occur in the definition of conspiracy relation variable.
Instantiation time:
Step one: at the example of a conspiracy relation type defined in the 5th tables of data, as shown in table 14:
Table 14
Step 2: in the instantiation value of main body collaborative defined in the 6th database table, be given in example Collaborative main body ident value is in practical business, for the Major key of each basic data, it may be possible to insignificant from Increase integer or the definition of other numerical value.As shown in Table 15:
Table 15
Step 3: in the instantiation value of relation variable defined in the 7th database table.Concrete, permissible One dispensing resource corresponding to Second Type warehouse resource is set, and the when of these dispensing resources of actual selection The priority selected, as shown in table 16:
Table 16
Visible by the 6th row in above-mentioned table 16 and the 9th row, conspiracy relation 3 is by father's relation variable Having pointed to conspiracy relation 2, conspiracy relation 4 has been also directed to conspiracy relation 2 also by father's relation variable, and this is also It is intended that be filiation between conspiracy relation 2,3,4, wherein conspiracy relation 2 is father's conspiracy relation, Conspiracy relation 3,4 is sub-conspiracy relation.It addition, visible by the 4th row and the 7th row, conspiracy relation The dispensing priority of 2 is 1, and the dispensing priority of conspiracy relation 3 is 2, and the dispensing of conspiracy relation 4 is preferential Level is 3.
It is follow-up when setting up KV retrieval model, if a conspiracy relation has parent_relation_id relation Variate-value, then after the retrieval relation building oneself, also to join building the relation variate-value formed His father's conspiracy relation for list in.As it is shown on figure 3, simultaneously it can be seen that the collaborative pass of one-to-many In system, the conspiracy relation type of multiple conspiracy relations and collaborative main body are identical, and therefore formed is collaborative KV reflection in, key value number be equal to work in coordination with main body number.
Example two: sequence conspiracy relation
Such as, ordering relation is alloted between different warehouses resource.During the network of warehouse resource is alloted, Assuming that there is this scene, the circuit of alloting of certain kinds of goods is A storehouse B CangCCang, and the examples below will How this relation is expressed in conspiracy relation model by demonstration.
Definition phase:
Step one: register this conspiracy relation in the first database table, as shown in table 17:
Table 17
Step 2:, at conspiracy relation variable defined in the 3rd database table, identify including preposition conspiracy relation, Rearmounted conspiracy relation identifies, allots storehouse, source, allots purpose storehouse.As shown in table 18:
Table 18
Step 3: in the 4th database table, collaborative main body is set up with conspiracy relation type and associate, collaborative main Body includes supplier and kinds of goods.As shown in table 19:
Table 19
In this example, with supplier and kinds of goods for collaborative leading role, actual demand is certain inquiring about certain supplier Alloting sequentially of individual kinds of goods.
Instantiation time:
Step one: at the example of a conspiracy relation type defined in the 5th tables of data, as shown in table 20:
Table 20
Step 2: in the instantiation value of main body collaborative defined in the 6th database table, be given in example Collaborative main body ident value is in practical business, for the Major key of each basic data, it may be possible to insignificant from Increase integer or the definition of other numerical value.As shown in table 21:
Table 21
Step 3: in the instantiation value of relation variable defined in the 7th database table.As shown in table 22:
Table 22
The route of alloting of the kinds of goods HP_01 of the data representation of above example supplier GYS_01 is RRSC_01 → RRSC_02 → RRSC_03, the KV memory map of structure is as shown in Figure 4.
Corresponding with the logistic resources conspiracy relation information processing method that the embodiment of the present application provides, the application is real Execute example and additionally provide a kind of logistic resources conspiracy relation information processor, in the apparatus, pre-defined association Same relation, described conspiracy relation is represented by following metadata: conspiracy relation type, the relation variable class of association Type, the collaborative type of subject of association;Described relation variable is for expressing collaborative content, described collaborative main body Participant for conspiracy relation;
Seeing Fig. 5, described device may include that
Type information provides unit 501, is used for providing defined conspiracy relation type information;
Receive unit 502, for receiving the type of the target cooperative relation that user selects, and assist for target The instantiation data submitted to relation, and preserve with the form of database table;Described instantiation data bag Include relation variate-value and collaborative main body value.
When implementing, this device can also include:
Unit set up in index, for setting up, based on Key-Value model, the reality that described target cooperative relation is corresponding The index of example data, and be loaded in caching, wherein, by type and the pass of composite object conspiracy relation Connection collaborative main body value set up Key, with association relation variate-value as Value, in order to enforcement engine is being held When row plan is collaborative, gone out the relation variate-value in instantiation data by described indexed search.
Wherein:
Described conspiracy relation type includes the proportion relation between dissimilar warehouse resource;
Described relation types of variables includes that the sales volume of Second Type warehouse resource is accounted for by first kind warehouse resource Ratio;
Described collaborative type of subject includes: supplier, first kind warehouse resource, Second Type warehouse resource, Kinds of goods.
Described conspiracy relation type includes that conspiracy relation is joined in the storehouse between warehouse resource and dispensing resource;
Described relation types of variables includes provide and deliver resource code, dispensing priority, father's conspiracy relation mark;
Described collaborative type of subject includes warehouse resource.
Concrete, described index set up unit specifically for:
If the instantiation data of certain target cooperative relation comprises father's conspiracy relation mark, then this target is assisted With the relation variate-value of relationship, join in the relation variate-value list of his father's conspiracy relation association, with Relation variate-value list after combination is the Value in Key-Value model.
Wherein:
Described conspiracy relation type includes alloting ordering relation between different warehouses resource;
Described relation types of variables include preposition conspiracy relation mark, rearmounted conspiracy relation mark, allot storehouse, source, Allot purpose storehouse;
Described collaborative type of subject includes supplier and kinds of goods.
In the conspiracy relation definition phase, described device also includes:
First tables of data provides unit, and for providing the first database table, described first database table is for fixed Justice conspiracy relation type information;
Second tables of data provides unit, and for providing the second database table, described second database table is for fixed The collaborative type of subject information of justice;
3rd tables of data provides unit, and for providing the 3rd database table, described 3rd database table is for fixed The relation types of variables information of each conspiracy relation type association of justice;
4th tables of data provides unit, and for providing the 4th database table, described 4th database table is for fixed The collaborative type of subject information of each conspiracy relation type association of justice.
At conspiracy relation instantiation time, described device also includes:
5th tables of data provides unit, and for providing the 5th database table, described 5th database table is used for protecting Deposit the type of the target cooperative relation that user chooses;
6th tables of data provides unit, and for providing the 6th database table, described 6th database table is used for protecting Deposit the type of subject mark of target cooperative relation and work in coordination with main body value;
7th tables of data provides unit, and for providing the 7th database table, described 7th database table is used for protecting Deposit types of variables mark and the relation variate-value of target cooperative relation.
Wherein, the conspiracy relation type information in described first database table includes relationship type ID and pass Set type title, the collaborative type of subject information in described second database table include type of subject ID and Type of subject title, the relation types of variables information in described 3rd database table include types of variables ID with And types of variables title, the collaborative type of subject information in described 4th database table is by quoting described second The form of the type of subject ID in database table represents;
In described 5th database table, the type of target cooperative relation is by quoting in described first database table The form of relationship type ID represent;
Type of subject in described 6th database table identifies by quoting the master in described second database table The form of body type ID represents;
Types of variables in described 7th database table identifies by quoting the change in described 3rd database table The form of amount type ID represents.
Described index is set up unit and is included:
Type determination unit, is used for retrieving described 5th database table, determines the type of target cooperative relation;
Collaborative main body value determines subelement, retrieves described 6th data for the type according to target cooperative relation Storehouse table, determines the collaborative main body value that described target cooperative relation is corresponding;
Key combines subelement, for by the type of described target cooperative relation and described collaborative main body value group It is combined into Key;
Relation variable information determines subelement, is used for retrieving described 7th database table, determines that target cooperative is closed Types of variables ID of system's correspondence and relation variate-value;
Types of variables title determines subelement, for retrieving described 3rd data according to described types of variables ID Storehouse table, determines types of variables title corresponding to this relationship type ID;
Value combines subelement, for described types of variables title and relation variate-value are combined as Value.
Described 4th database table also defines in same conspiracy relation type, the inspection of each collaborative type of subject Rope order information;Described Key combination subelement includes:
Sorted order determines subelement, for the type according to described target cooperative relation, retrieves the described 4th Database table, determines the sorted order information of each type of subject that this target cooperative relationship type associates;
Sequence subelement, for according to described sorted order, is ranked up each collaborative main body value;
Combination subelement, for by the collaborative main body value group after the type of described target cooperative relation and sequence It is combined into Key.
It addition, this device can also include:
Extraction unit, during for receiving the retrieval request of enforcement engine, extracts from described retrieval request Conspiracy relation type and collaborative main body name-value pair;
Type id determines unit, for retrieving association according to conspiracy relation type from described first database table With relationship type id;
Order determination unit, for retrieving from described 4th database table according to conspiracy relation type id Value the putting in order in retrieval of collaborative main body;
Retrieval Key determines unit, exists for the collaborative main body name-value pair according to input and collaborative main body value Putting in order in retrieval, the key of combined retrieval;
Retrieval unit, for retrieving based on the key being combined into, and return retrieves corresponding data.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that arrive this Application can add the mode of required general hardware platform by software and realize.Based on such understanding, this Shen The part that prior art is contributed by technical scheme please the most in other words can be with the shape of software product Formula embodies, and this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., including some instructions with so that computer equipment (can be personal computer, server, Or the network equipment etc.) perform each embodiment of the application or the method described in some part of embodiment.
Each embodiment in this specification all uses the mode gone forward one by one to describe, phase homophase between each embodiment As part see mutually, what each embodiment stressed is the difference with other embodiments. For system or system embodiment, owing to it is substantially similar to embodiment of the method, so describing Obtaining fairly simple, relevant part sees the part of embodiment of the method and illustrates.System described above and System embodiment is only schematically, and the wherein said unit that illustrates as separating component can be or also Can not be physically separate, the parts shown as unit can be or may not be physical location, I.e. may be located at a place, or can also be distributed on multiple NE.Can be according to actual need Select some or all of module therein to realize the purpose of the present embodiment scheme.Ordinary skill Personnel, in the case of not paying creative work, are i.e. appreciated that and implement.
Above to logistic resources conspiracy relation information processing method provided herein and device, carry out in detail Thin introducing, principle and the embodiment of the application are set forth by specific case used herein, above The explanation of embodiment is only intended to help and understands the present processes and core concept thereof;Simultaneously for ability The those skilled in the art in territory, according to the thought of the application, the most all have In place of change.In sum, this specification content should not be construed as the restriction to the application.

Claims (24)

1. a logistic resources conspiracy relation information processing method, it is characterised in that pre-defined collaborative pass System, described conspiracy relation is represented by following metadata: conspiracy relation type, the relation types of variables of association, The collaborative type of subject of association;Described relation variable is for expressing collaborative content, and described collaborative main body is association Participant with relation;
Described method includes:
Defined conspiracy relation type information is provided;
Receive the type of the target cooperative relation that user selects, and the instantiation submitted to for target cooperative relation Data, and preserve with the form of database table;Described instantiation data includes relation variate-value and association With main body value.
Method the most according to claim 1, it is characterised in that also include:
The index of instantiation data corresponding to described target cooperative relation is set up based on Key-Value model, and It is loaded in caching, wherein, is set up with the collaborative main body value associated by the type of composite object conspiracy relation Key, with association relation variate-value as Value, in order to enforcement engine, when implement plan is worked in coordination with, passes through Described indexed search goes out the relation variate-value in instantiation data.
Method the most according to claim 1 and 2, it is characterised in that:
Described conspiracy relation type includes the proportion relation between dissimilar warehouse resource;
Described relation types of variables includes that the sales volume of Second Type warehouse resource is accounted for by first kind warehouse resource Ratio;
Described collaborative type of subject includes: supplier, first kind warehouse resource, Second Type warehouse resource, Kinds of goods.
Method the most according to claim 1 and 2, it is characterised in that:
Described conspiracy relation type includes that conspiracy relation is joined in the storehouse between warehouse resource and dispensing resource;
Described relation types of variables includes provide and deliver resource code, dispensing priority, father's conspiracy relation mark;
Described collaborative type of subject includes warehouse resource.
Method the most according to claim 4, it is characterised in that described based on Key-Value model Set up the index of instantiation data corresponding to described target cooperative relation, including:
If the instantiation data of certain target cooperative relation comprises father's conspiracy relation mark, then this target is assisted With the relation variate-value of relationship, join in the relation variate-value list of his father's conspiracy relation association, with Relation variate-value list after combination is the Value in Key-Value model.
Method the most according to claim 1 and 2, it is characterised in that:
Described conspiracy relation type includes alloting ordering relation between different warehouses resource;
Described relation types of variables include preposition conspiracy relation mark, rearmounted conspiracy relation mark, allot storehouse, source, Allot purpose storehouse;
Described collaborative type of subject includes supplier and kinds of goods.
Method the most according to claim 1 and 2, it is characterised in that in the conspiracy relation definition phase, Described method also includes:
The first database table, described first database table is provided to be used for defining conspiracy relation type information;
The second database table, described second database table is provided to be used for defining collaborative type of subject information;
Thering is provided the 3rd database table, described 3rd database table is for defining the pass of each conspiracy relation type association It is types of variables information;
Thering is provided the 4th database table, described 4th database table is for defining the association of each conspiracy relation type association With type of subject information.
Method the most according to claim 7, it is characterised in that at conspiracy relation instantiation time, Described method also includes:
Thering is provided the 5th database table, described 5th database table is for preserving the target cooperative relation that user chooses Type;
Thering is provided the 6th database table, described 6th database table is for preserving the type of subject of target cooperative relation Mark and collaborative main body value;
Thering is provided the 7th database table, described 7th database table is for preserving the types of variables of target cooperative relation Mark and relation variate-value.
Method the most according to claim 8, it is characterised in that the association in described first database table Relationship type ID and relationship type title is included, in described second database table with relationship type information Collaborative type of subject information includes type of subject ID and type of subject title, in described 3rd database table Relation types of variables information include types of variables ID and types of variables title, described 4th database table In collaborative type of subject information by quoting the form table of the type of subject ID in described second database table Show;
In described 5th database table, the type of target cooperative relation is by quoting in described first database table The form of relationship type ID represent;
Type of subject in described 6th database table identifies by quoting the master in described second database table The form of body type ID represents;
Types of variables in described 7th database table identifies by quoting the change in described 3rd database table The form of amount type ID represents.
Method the most according to claim 9, it is characterised in that described based on Key-Value model Set up the index of instantiation data corresponding to described target cooperative relation, including:
Retrieve described 5th database table, determine the type of target cooperative relation;
Type according to target cooperative relation retrieves described 6th database table, determines described target cooperative relation Corresponding collaborative main body value;
Type and the described collaborative main body value of described target cooperative relation are combined as Key;
Retrieve described 7th database table, determine types of variables ID corresponding to target cooperative relation and relation Variate-value;
Retrieve described 3rd database table according to described types of variables ID, determine that this relationship type ID is corresponding Types of variables title;
Described types of variables title and relation variate-value are combined as Value.
11. methods according to claim 10, it is characterised in that in described 4th database table also Define in same conspiracy relation type, the sorted order information of each collaborative type of subject;Described by described mesh Type and the described collaborative main body value of mark conspiracy relation are combined as Key, including:
According to the type of described target cooperative relation, retrieve described 4th database table, determine this target cooperative The sorted order information of each type of subject of relationship type association;
According to described sorted order, each collaborative main body value is ranked up;
Collaborative main body value after the type of described target cooperative relation and sequence is combined as Key.
12. methods according to claim 11, it is characterised in that also include:
When receiving the retrieval request of enforcement engine, extract from described retrieval request conspiracy relation type with And collaborative main body name-value pair;
Conspiracy relation type id is retrieved from described first database table according to conspiracy relation type;
From described 4th database table, the value of collaborative main body is retrieved in retrieval according to conspiracy relation type id In put in order;
Collaborative main body name-value pair according to input and collaborative main body value putting in order in retrieval, combination inspection The key of rope;
Retrieve based on the key being combined into, and return retrieves corresponding data.
13. 1 kinds of logistic resources conspiracy relation information processors, it is characterised in that pre-defined collaborative pass System, described conspiracy relation is represented by following metadata: conspiracy relation type, the relation types of variables of association, The collaborative type of subject of association;Described relation variable is for expressing collaborative content, and described collaborative main body is association Participant with relation;
Described device includes:
Type information provides unit, is used for providing defined conspiracy relation type information;
Receive unit, for receiving the type of the target cooperative relation that user selects, and close for target cooperative The instantiation data that system submits to, and preserve with the form of database table;Described instantiation data includes closing It is variate-value and collaborative main body value.
14. devices according to claim 13, it is characterised in that also include:
Unit set up in index, for setting up, based on Key-Value model, the reality that described target cooperative relation is corresponding The index of example data, and be loaded in caching, wherein, by type and the pass of composite object conspiracy relation Connection collaborative main body value set up Key, with association relation variate-value as Value, in order to enforcement engine is being held When row plan is collaborative, gone out the relation variate-value in instantiation data by described indexed search.
15. according to the device described in claim 13 or 14, it is characterised in that:
Described conspiracy relation type includes the proportion relation between dissimilar warehouse resource;
Described relation types of variables includes that the sales volume of Second Type warehouse resource is accounted for by first kind warehouse resource Ratio;
Described collaborative type of subject includes: supplier, first kind warehouse resource, Second Type warehouse resource, Kinds of goods.
16. according to the device described in claim 13 or 14, it is characterised in that:
Described conspiracy relation type includes that conspiracy relation is joined in the storehouse between warehouse resource and dispensing resource;
Described relation types of variables includes provide and deliver resource code, dispensing priority, father's conspiracy relation mark;
Described collaborative type of subject includes warehouse resource.
17. devices according to claim 16, it is characterised in that it is concrete that unit set up in described index For:
If the instantiation data of certain target cooperative relation comprises father's conspiracy relation mark, then this target is assisted With the relation variate-value of relationship, join in the relation variate-value list of his father's conspiracy relation association, with Relation variate-value list after combination is the Value in Key-Value model.
18. according to the device described in claim 13 or 14, it is characterised in that:
Described conspiracy relation type includes alloting ordering relation between different warehouses resource;
Described relation types of variables include preposition conspiracy relation mark, rearmounted conspiracy relation mark, allot storehouse, source, Allot purpose storehouse;
Described collaborative type of subject includes supplier and kinds of goods.
19. according to the device described in claim 13 or 14, it is characterised in that define rank in conspiracy relation Section, described device also includes:
First tables of data provides unit, and for providing the first database table, described first database table is for fixed Justice conspiracy relation type information;
Second tables of data provides unit, and for providing the second database table, described second database table is for fixed The collaborative type of subject information of justice;
3rd tables of data provides unit, and for providing the 3rd database table, described 3rd database table is for fixed The relation types of variables information of each conspiracy relation type association of justice;
4th tables of data provides unit, and for providing the 4th database table, described 4th database table is for fixed The collaborative type of subject information of each conspiracy relation type association of justice.
20. devices according to claim 19, it is characterised in that at conspiracy relation instantiation time, Described device also includes:
5th tables of data provides unit, and for providing the 5th database table, described 5th database table is used for protecting Deposit the type of the target cooperative relation that user chooses;
6th tables of data provides unit, and for providing the 6th database table, described 6th database table is used for protecting Deposit the type of subject mark of target cooperative relation and work in coordination with main body value;
7th tables of data provides unit, and for providing the 7th database table, described 7th database table is used for protecting Deposit types of variables mark and the relation variate-value of target cooperative relation.
21. devices according to claim 20, it is characterised in that in described first database table Conspiracy relation type information includes relationship type ID and relationship type title, in described second database table Collaborative type of subject information include type of subject ID and type of subject title, described 3rd database table In relation types of variables information include types of variables ID and types of variables title, described 4th data base Collaborative type of subject information in table is by quoting the form of the type of subject ID in described second database table Represent;
In described 5th database table, the type of target cooperative relation is by quoting in described first database table The form of relationship type ID represent;
Type of subject in described 6th database table identifies by quoting the master in described second database table The form of body type ID represents;
Types of variables in described 7th database table identifies by quoting the change in described 3rd database table The form of amount type ID represents.
22. devices according to claim 21, it is characterised in that described index is set up unit and included:
Type determination unit, is used for retrieving described 5th database table, determines the type of target cooperative relation;
Collaborative main body value determines subelement, retrieves described 6th data for the type according to target cooperative relation Storehouse table, determines the collaborative main body value that described target cooperative relation is corresponding;
Key combines subelement, for by the type of described target cooperative relation and described collaborative main body value group It is combined into Key;
Relation variable information determines subelement, is used for retrieving described 7th database table, determines that target cooperative is closed Types of variables ID of system's correspondence and relation variate-value;
Types of variables title determines subelement, for retrieving described 3rd data according to described types of variables ID Storehouse table, determines types of variables title corresponding to this relationship type ID;
Value combines subelement, for described types of variables title and relation variate-value are combined as Value.
23. devices according to claim 22, it is characterised in that in described 4th database table also Define in same conspiracy relation type, the sorted order information of each collaborative type of subject;Described Key combines Subelement includes:
Sorted order determines subelement, for the type according to described target cooperative relation, retrieves the described 4th Database table, determines the sorted order information of each type of subject that this target cooperative relationship type associates;
Sequence subelement, for according to described sorted order, is ranked up each collaborative main body value;
Combination subelement, for by the collaborative main body value group after the type of described target cooperative relation and sequence It is combined into Key.
24. devices according to claim 23, it is characterised in that also include:
Extraction unit, during for receiving the retrieval request of enforcement engine, extracts from described retrieval request Conspiracy relation type and collaborative main body name-value pair;
Type id determines unit, for retrieving association according to conspiracy relation type from described first database table With relationship type id;
Order determination unit, for retrieving from described 4th database table according to conspiracy relation type id Value the putting in order in retrieval of collaborative main body;
Retrieval Key determines unit, is examining for the collaborative main body name-value pair according to input and collaborative main body value Putting in order in rope, the key of combined retrieval;
Retrieval unit, for retrieving based on the key being combined into, and return retrieves corresponding data.
CN201510190780.5A 2015-04-21 2015-04-21 Logistics resource collaborative relationship information processing method and device Active CN106156971B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510190780.5A CN106156971B (en) 2015-04-21 2015-04-21 Logistics resource collaborative relationship information processing method and device
PCT/CN2016/079229 WO2016169429A1 (en) 2015-04-21 2016-04-14 Information processing method and device for collaborative relationship of logistics resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510190780.5A CN106156971B (en) 2015-04-21 2015-04-21 Logistics resource collaborative relationship information processing method and device

Publications (2)

Publication Number Publication Date
CN106156971A true CN106156971A (en) 2016-11-23
CN106156971B CN106156971B (en) 2020-04-14

Family

ID=57142870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510190780.5A Active CN106156971B (en) 2015-04-21 2015-04-21 Logistics resource collaborative relationship information processing method and device

Country Status (2)

Country Link
CN (1) CN106156971B (en)
WO (1) WO2016169429A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832998A (en) * 2017-11-07 2018-03-23 中国移动通信集团湖北有限公司 Mobile communication supplier collaborative platform production stock and logistics visualization system and method
CN109902982A (en) * 2017-12-08 2019-06-18 北京京东尚科信息技术有限公司 Method and apparatus for output information
CN113283831A (en) * 2021-05-07 2021-08-20 云南电网有限责任公司曲靖供电局 Safety inventory control method based on periodic inspection inventory replenishment strategy

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111062661A (en) * 2019-12-10 2020-04-24 北京云杉信息技术有限公司 Sales prediction-based storage capacity allocation method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101236568A (en) * 2008-02-29 2008-08-06 上海大学 Dynamic data base construction method
WO2009072818A2 (en) * 2007-12-04 2009-06-11 Tmaxsoft. Co., Ltd. Total product development and management system and product modeling method for the same
CN101815003A (en) * 2010-02-23 2010-08-25 浪潮通信信息系统有限公司 Uniform resource model of full service converged network
CN101826087A (en) * 2009-03-02 2010-09-08 中兴通讯股份有限公司 Configuration device and method of coding information data
CN103186620A (en) * 2011-12-31 2013-07-03 上海可鲁系统软件有限公司 CIM mapping method
CN103886004A (en) * 2013-11-29 2014-06-25 北京吉威数源信息技术有限公司 Material data modeling processing method
CN103914763A (en) * 2014-01-16 2014-07-09 浙江中烟工业有限责任公司 Three-warehouse coordinated management cigarette logistics system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093388A1 (en) * 2001-11-15 2003-05-15 Brian Albright Automated product sourcing from multiple fulfillment centers
US20070192215A1 (en) * 2006-02-10 2007-08-16 Taylor Thomas B Computer-implemented registration for providing inventory fulfillment services to merchants
CN101206729A (en) * 2006-12-22 2008-06-25 深圳富泰宏精密工业有限公司 Inventory management system
US20080235147A1 (en) * 2007-03-19 2008-09-25 Jarl Jensen System and method for facilitation of shipping from multiple merchandise vendors
CN103793803A (en) * 2014-01-02 2014-05-14 远光软件股份有限公司 Inventory management method, server and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009072818A2 (en) * 2007-12-04 2009-06-11 Tmaxsoft. Co., Ltd. Total product development and management system and product modeling method for the same
CN101236568A (en) * 2008-02-29 2008-08-06 上海大学 Dynamic data base construction method
CN101826087A (en) * 2009-03-02 2010-09-08 中兴通讯股份有限公司 Configuration device and method of coding information data
CN101815003A (en) * 2010-02-23 2010-08-25 浪潮通信信息系统有限公司 Uniform resource model of full service converged network
CN103186620A (en) * 2011-12-31 2013-07-03 上海可鲁系统软件有限公司 CIM mapping method
CN103886004A (en) * 2013-11-29 2014-06-25 北京吉威数源信息技术有限公司 Material data modeling processing method
CN103914763A (en) * 2014-01-16 2014-07-09 浙江中烟工业有限责任公司 Three-warehouse coordinated management cigarette logistics system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王学来: "企业物流信息管理系统设计与实现", 《CNKI优秀硕士学位论文全文库》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832998A (en) * 2017-11-07 2018-03-23 中国移动通信集团湖北有限公司 Mobile communication supplier collaborative platform production stock and logistics visualization system and method
CN109902982A (en) * 2017-12-08 2019-06-18 北京京东尚科信息技术有限公司 Method and apparatus for output information
CN113283831A (en) * 2021-05-07 2021-08-20 云南电网有限责任公司曲靖供电局 Safety inventory control method based on periodic inspection inventory replenishment strategy
CN113283831B (en) * 2021-05-07 2024-01-26 云南电网有限责任公司曲靖供电局 Safety stock control method based on periodic checking stock replenishment strategy

Also Published As

Publication number Publication date
WO2016169429A1 (en) 2016-10-27
CN106156971B (en) 2020-04-14

Similar Documents

Publication Publication Date Title
CN104794132B (en) Inventory information processing method and system
Wang et al. Channel performance under consignment contract with revenue sharing
CN106156975A (en) The inventory information processing method and processing device of business object
Naderi et al. A deterministic model for the transshipment problem of a fast fashion retailer under capacity constraints
US20050159997A1 (en) Systems and methods for planning demand for configurable products
CN106779897A (en) Goods of joint object exchange information processing method and device
CN106327114A (en) Warehouse resource information processing method and device, and method and device for providing inventory information
CN111401619A (en) Purchase order processing method and device, electronic equipment and storage medium
US7805335B2 (en) Purchase list having status indicators
CN107292560A (en) Material storage management method and system
CN106709774A (en) Method and apparatus for processing commodity object transaction information
CN111612594A (en) Localized merchant retail system
Bardakçi Benefits of digitalization in international logistics sector
CN106156971A (en) Logistic resources conspiracy relation information processing method and device
Ghasemi et al. A decentralized supply chain planning model: a case study of hardboard industry
CN107844936A (en) Variation, device, terminal and the computer-readable recording medium of BOM
KR102192429B1 (en) Goods Receipt and Issue Management System using binary management user interface
Simić et al. Modelling material flow using the Milk run and Kanban systems in the automotive industry
CN110490748A (en) Item recommendation method and device based on order
CN110222996A (en) Method for allocating tasks and device
Fauadi et al. Intelligent combinatorial auctions of decentralized task assignment for AGV with multiple loading capacity
CN111985862A (en) Method and apparatus for locating inventory items
CN111507686A (en) Automatic budget system and method for engineering design change
Woong Sung et al. Business analytics for streamlined assort packing and distribution of fashion goods at kolon sport
JP2020102188A (en) Distribution service providing method connecting initial provider and buyer through intermediate distributor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20180419

Address after: Four story 847 mailbox of the capital mansion of Cayman Islands, Cayman Islands, Cayman

Applicant after: CAINIAO SMART LOGISTICS HOLDING Ltd.

Address before: Cayman Islands Grand Cayman capital building a four storey No. 847 mailbox

Applicant before: ALIBABA GROUP HOLDING Ltd.

GR01 Patent grant
GR01 Patent grant