WO2016131388A1 - 一种资源调拨方法与设备 - Google Patents

一种资源调拨方法与设备 Download PDF

Info

Publication number
WO2016131388A1
WO2016131388A1 PCT/CN2016/073448 CN2016073448W WO2016131388A1 WO 2016131388 A1 WO2016131388 A1 WO 2016131388A1 CN 2016073448 W CN2016073448 W CN 2016073448W WO 2016131388 A1 WO2016131388 A1 WO 2016131388A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
resource allocation
requests
library
target
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.)
Ceased
Application number
PCT/CN2016/073448
Other languages
English (en)
French (fr)
Inventor
康军卫
陈岳阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Publication of WO2016131388A1 publication Critical patent/WO2016131388A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Definitions

  • the present application relates to the field of computers, and in particular, to a resource allocation technology.
  • the resource owner issues a transfer instruction according to actual needs, and each resource library completes the transfer operation of the target resource in each resource library based on each received transfer instruction.
  • each resource library The transfer operations in the work are irrelevant.
  • the same target resources may be repeatedly transferred between two identical resource pools, or the same target resources may be transferred to several related resource pools multiple times in succession. between.
  • a certain number of target products are transferred from warehouse A to warehouse B at the previous moment, and the next time, another quantity of the same target commodity is transferred from warehouse B to warehouse A, and the corresponding goods are transferred at two times.
  • the operations are irrelevant and are completed independently.
  • frequent allocations significantly increase the cost of the transfer operation, increase the probability of resource loss, and cause unnecessary waste of resources.
  • the purpose of the application is to provide a resource allocation method and device.
  • a resource allocation method including:
  • each resource allocation request includes request information for transferring a target resource from the source library to the destination library;
  • each resource transfer instruction includes instruction information for transferring a target resource from the source library to the destination library.
  • a resource allocation device including:
  • a first device configured to acquire multiple resource allocation requests, where each resource allocation request includes request information for transferring a target resource from a source library to a destination library;
  • a second device configured to detect whether the multiple resource allocation requests meet a merge trigger condition
  • a third device configured to merge the multiple resource allocation requests to obtain one or more resource allocation instructions when the merge trigger condition is met, where each resource allocation instruction includes allocating a target resource from a source library to a destination Library instruction information.
  • the present application performs a merge trigger condition on a plurality of acquired resource transfer requests, and performs a merge operation on a plurality of resource transfer requests that satisfy the merge trigger condition, thereby performing a merge based on the merge
  • the operation obtains several resource allocation instructions.
  • the present application implements resource sharing of the same target resource in a resource library and between multiple resource libraries, and considers several resource transfer requests satisfying the trigger condition as mutually related requests, through the merge operation, The repeated and unnecessary allocation operations of the same target resource between the resource pools are avoided, thereby reducing the actual number of allocations of the target resources, reducing the probability of resource loss and reducing the actual allocation cost.
  • FIG. 1 shows a schematic diagram of an apparatus of a resource allocation device according to an aspect of the present application
  • FIG. 2 is a schematic diagram of a device of a third device of a resource allocation device according to a preferred embodiment of the present application
  • FIG. 3 shows a flow chart of a resource allocation method according to another aspect of the present application.
  • FIG. 4 shows a partial flow chart of a resource allocation method in accordance with a preferred embodiment of the present application
  • the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory (flash) RAM). Memory is an example of a computer readable medium.
  • RAM random access memory
  • ROM read only memory
  • flash flash memory
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage,
  • computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
  • FIG. 1 shows a schematic diagram of an apparatus of a resource allocation device according to an aspect of the present application.
  • the resource allocation device 1 includes a first device 11, a second device 12, and a third device 13.
  • the first device 11 acquires a plurality of resource allocation requests, where each resource allocation request includes request information for transferring the target resource from the source library to the destination library; and the second device 12 detects whether the multiple resource allocation requests satisfy the merge trigger. a condition; the third device 13 merges the plurality of resource transfer requests to obtain one or more resource transfer instructions when the merge trigger condition is met, wherein each resource transfer instruction includes allocating a target resource from a source library to a destination Library instruction information.
  • the first device 11 of the resource allocating device 1 acquires a plurality of resource allocation requests, wherein each resource allocation request includes request information for transferring a target resource from the source library to the destination library.
  • the obtained resource allocation request includes a resource allocation request made by the resource requesting party based on the related information of the target resource in the source library, such as the inventory information of the target resource.
  • the resource requester includes a user who has the transfer authority to the target resource. The user can submit his own resource transfer request by logging in to the web interface of the PC, the mobile application interface, or other third party systems.
  • the specific information content of the obtained resource allocation request may include resource identification information of the target resource, source library information of the target resource, destination library information of the target resource, and quantity information of the allocated resource.
  • the first device 11 may directly be based on The order of the resource allocation requests is arranged in order of the records, or may be recorded in a specific order based on actual needs. For example, for some time sensitive resource allocation requests, the time limit may be sorted, thereby facilitating subsequent Transfer related operations. Further, based on the processing of the acquired resource allocation request, the requester returns certain result information. For example, if the creation conditions of the resource allocation request are satisfied, the information of the processing success is returned to the corresponding requesting party. On the other hand, the information that the processing fails is returned. If the resource corresponding to the resource allocation request is insufficient in the source library, the information that the processing fails is returned to the requesting party.
  • the target resource to be allocated corresponding to the resource allocation request includes a resource that has been recorded in the source library, and in the process of storing the resource into the source library, preferably, the collection center
  • the resource identification information of the resource is an example in which the resource is a general product, and when the product is put into storage, the product code of the product may be collected as the identification information of the product, and for the product that does not have the product code, It is also possible to collect other resource identification information that can be used for identification; further, for the goods that are first stored in the warehouse, the corresponding product code, product owner information, product parameter information, etc.
  • the warehousing operation record can be completed based on the matching with the first warehousing entry information, and the related information such as the inventory of the target commodity in the resource library is increased.
  • the target resource to be allocated corresponding to the resource allocation request may further include an in-transit resource that has not been stored in the source library.
  • the resource allocating device 1 can also obtain a resource transfer request for in-transit resources based on the actual needs of the transfer, for reasons such as more efficient and rapid completion of resource allocation, or limitation of time limit for transfer.
  • the merge triggering condition includes: triggering a merge operation when a wave corresponding to the resource transfer request is reached.
  • the operation is performed in units of one batch in which the plurality of resource allocation requests are summarized, such that the operation of one batch is the one wave.
  • the wave information set by the resource allocation operation in different resource pools in one system is consistent as needed.
  • the wave information corresponding to the same resource in different resource pools in one system is set consistently.
  • the consistent wave information may also be understood as a logical wave.
  • the frequency of the logical wave may be higher than the physical wave of the actual operation corresponding to the resource library, for example, setting each resource pool.
  • the logical wave of the resource allocation is one wave per T time, that is, logically, the resource allocation and combining operation is performed every T time, but in fact, the real logistics allocation wave can be nT time, that is, every nT time. Only one round of actual resource allocation operations is performed between the resource pools.
  • the longer the time interval the more the number of resource allocation requests participating in the merge operation, the smaller the number and number of actual resource allocations corresponding to the final, and the more obvious the effect of resource allocation optimization, thereby being based on logical waves.
  • the information is flexibly adjusted to the actual physical allocation wave.
  • the multiple logical wave corresponding resource allocation requests may be preferably combined to complete the execution of the better resource allocation operation.
  • merge trigger condition includes triggering the merge operation when one wave corresponding to the resource transfer request is reached, and only other existing merge trigger conditions that may occur in the future may be
  • the invention is also intended to be included within the scope of the invention and is hereby incorporated by reference.
  • the merge triggering condition includes at least one of the following, that is, the time span involved in the multiple resource transfer requests exceeds a first time threshold; the request quantity information of the multiple resource transfer requests exceeds the request quantity threshold; The resource quantity information of the multiple resource allocation requests exceeds the resource quantity threshold; the processing time limit of at least one of the multiple resource allocation requests exceeds the second time threshold.
  • each merge trigger condition is understood based on the difference of the wave division manner.
  • the merge trigger condition includes that the time span involved in the multiple resource transfer requests exceeds a first time threshold.
  • the respective time points corresponding to the resource allocation request are divided by a fixed time point or a time period, that is, the first time threshold is set, according to a fixed time point, such as 7:00, 9:00 in a day. , 11:00, 14:00, 16:00, 18:00, 20:00 is the start time of a wave; or set a certain time period, such as n days, n hours, n minutes
  • the clock is the duration of a wave.
  • the merge trigger condition further includes that the request quantity information of the multiple resource transfer requests exceeds the request quantity threshold. For example, when the resource allocation request obtained by the resource allocating device 1 reaches the request quantity threshold m, that is, it is determined that one wave ends, and the resource allocation request of the m in the wave meets the merge trigger condition.
  • the merge triggering condition further includes that the resource quantity information of the multiple resource allocation requests exceeds the resource quantity threshold.
  • the resource quantity threshold V may be set as the sum of the resource quantity information of the plurality of resource allocation requests, that is, the resource allocation request corresponding to all the target resources from the previous wave to the current.
  • the merge triggering condition further includes that a processing time limit requirement of at least one of the multiple resource allocating requests exceeds a second time threshold.
  • the second time threshold may be set for the resource allocation request, and when the resource allocation request exceeds the second time threshold, determine a resource transfer request corresponding to all target resources from the previous wave to the current Corresponding to the current wave and satisfying the merge trigger condition.
  • a unified second time threshold may be set for all resource allocation requests, or a different second time threshold may be set based on different types of resource allocation requests corresponding to the target resource, and the resource allocation request may be further based on other reasonable distinguishing criteria. Set a second time threshold with a difference.
  • the merge trigger condition may be corresponding to the independent application of each of the foregoing merge trigger conditions, or may be combined according to actual needs, and the combination may be combined.
  • the merge trigger condition set for the resource transfer request of the target resource is: setting the first time threshold and the request quantity threshold, when the time span involved in the multiple resource transfer requests exceeds the first time threshold and the The request quantity information of the plurality of resource allocation requests exceeds the request quantity threshold, and the two conditions satisfy at least one of the conditions, that is, the foregoing content is satisfied. Triggering conditions. Further, a priority may be set for the application of each trigger condition.
  • the time limit condition is prioritized, such as prioritizing that the time span involved in the multiple resource transfer requests exceeds the first time threshold.
  • another merge trigger condition is considered, such as the condition that the request quantity information of the multiple resource transfer requests exceeds the request quantity threshold.
  • the application of the condition that the time span of the multiple resource allocation requests exceeds the first time threshold may be prioritized over the multiple resource allocation request requests.
  • Other conditions such as the quantity information exceeding the threshold number of requests, and only the latter conditions are considered when the former is not satisfied.
  • the foregoing merge trigger condition includes at least one of the following, that is, the time span involved in the multiple resource transfer requests exceeds a first time threshold; and the multiple resource transfer requests
  • the merging triggering conditions of other content that may or may occur in the future, as applicable to the present invention, are also included in the scope of the present invention and are hereby incorporated by reference.
  • the third device 13 of the resource transfer device 1 merges the multiple resource transfer requests to obtain one or more resource transfer instructions, wherein each resource transfer instruction includes The source library transfers the instruction information of the target resource to the destination library.
  • the resource allocation instruction includes a final source library and a corresponding destination library of the target resource, and corresponding content information of the target resource actually allocated.
  • the third device 13 of the resource dialing device 1 suspends the plurality of resource transfer requests.
  • the merge triggering condition is triggered by the fact that one of the wave corresponding to the resource allocation request arrives, that is, the merge operation is triggered.
  • the merge operation is triggered.
  • all resource allocation requests from the previous wave to the present are recorded and retained accordingly, and the resource allocation is not directly sent to the destination database of the corresponding target resource based on the resource allocation request.
  • the command at this time, the resource to be allocated in the source pool of the target resource corresponding to the suspended resource transfer request does not receive the transfer instruction, and remains in the original state.
  • the merge trigger condition for example, when the current wave arrives, all resource allocating requests within one wave are collectively processed. At this time, the resource allocation instruction generated based on the result of the collective processing is sent to the corresponding resource destination library.
  • the present application performs a merge trigger condition on a plurality of acquired resource transfer requests, and performs a merge operation on a plurality of resource transfer requests that satisfy the merge trigger condition, thereby obtaining a plurality of the merge operations based on the merge operation.
  • Resource allocation instructions Based on this, the present application implements resource sharing of the same target resource in a resource library and between multiple resource libraries, and considers several resource transfer requests satisfying the trigger condition as mutually related requests, through the merge operation, The repeated and unnecessary allocation operations of the same target resource between the resource pools are avoided, thereby reducing the actual number of allocations of the target resources, reducing the probability of resource loss and reducing the actual allocation cost.
  • the resource management device 1 further includes a fourth device (not shown) that executes the resource transfer instruction.
  • the resource allocation instruction includes instruction information for transferring a target resource from a source library to a destination library.
  • the command information may be used to determine the target resource type of the actual allocation in the one wave, the source library information of the target resource actually allocated, the destination library information of the target resource actually allocated, and the actual allocated resource quantity. Information, etc.
  • the resource allocation instruction may be sent to a specific source library, complete the allocation and outbound operation of the corresponding target resource, and then transferred to the destination library to complete corresponding operations such as storage and inventory.
  • the execution of the resource allocation instruction further includes: in the case of locking the corresponding target resource in the corresponding source library based on the resource allocation request, releasing other target resources, such as redundant target resources in the corresponding source library, according to the instruction information. Instruction information carried out.
  • the first device 11 of the resource allocation device 1 is configured to lock a corresponding target resource in the corresponding source library for each resource allocation request; wherein the resource allocation instruction further includes releasing the redundant target in the corresponding source library. Instruction information for resources.
  • the target resource in the source library is sufficient, or the inventory of the target resource in the source library is far greater than the multiple resource allocation requests of the target resource in the source library.
  • the number of resources requested, the above locking operation may not be set for the target resource. If it is to ensure that the resource allocation request of the target resource in the source library is successfully completed, and the shortage of resources during the actual allocation is avoided, it may be preferable, when acquiring the resource allocation request, correspondingly The corresponding target resource in the source library corresponding to the resource allocation request is locked, and the number of locks is the number of transfers corresponding to the resource transfer request.
  • the resource allocating instruction includes not only transferring the target from the source library.
  • the instruction information of the resource to the destination library may also include instruction information for performing a release unlock operation on the locked excess target resource.
  • FIG. 2 shows a schematic diagram of a device of a third device of a resource allocation device 1 according to a preferred embodiment of the present application.
  • the third device 13 of the resource allocation device 1 includes a first unit 131 and a second unit 132.
  • the first unit 131 groups the multiple resource allocation requests by the target resource in each resource allocation request to obtain one or more groups of resource allocation requests;
  • the second unit 132 performs a combining process on the multiple resource allocation requests that are connected to the resource flow in each group of resource allocation requests to obtain one or more resource allocation instructions, where each resource allocation instruction includes allocating targets from the source library. Command information from the resource to the destination library.
  • the first unit 131 groups the multiple resource allocation requests according to the target resource in each resource allocation request, and obtains one or more groups of resources by rearranging the obtained resource allocation requests. Transfer request.
  • the target resource is entered into the corresponding resource pool, corresponding resource identification information is correspondingly entered, which is used as a unique determination of the target resource.
  • the plurality of resource allocation requests corresponding to the target resource are grouped according to the resource identification information corresponding to the target resource, for example, the resource allocation request 1 corresponds to the product with the product barcode A, and the resource allocation request 2
  • the resource allocation request 3 corresponds to the product with the product barcode A
  • the resource allocation request 4 corresponds to the product with the product barcode B.
  • the resource allocation request 1 and the resource allocation request 3 correspond to each other.
  • the commodity bar code is the product of A, that is, the default target resources are the same, and are divided into the same group.
  • the resource transfer request 2 and the resource transfer request 4 all correspond to the product whose product barcode is B, that is, the default target.
  • the resources are the same and are divided into another group. Therefore, the resource allocation request acquired by the resource allocating device 1 can be rearranged into a plurality of groups based on the target resource corresponding to the resource allocation request. Further, the resource allocation information, the source library information, and the destination library information corresponding to the target resource of the resource allocation request may be further divided into the resource allocation request, for example, within a wave, the commodity The resource allocation request with the barcode C and the source library being U1 and the destination database being U2 is divided into a group.
  • the resource flow path information communication may include two source libraries being a source library and a destination library, wherein the resource flows are bidirectionally dialed; and the resource flow path information communication may further include a plurality of resource pools.
  • the destination library of the resource allocation request is a source library of another resource allocation request; the resource flow path information communication may further include the foregoing two connectivity modes, or may exist with other connectivity modes applicable to the solution. Combine.
  • the source library corresponding to the resource allocation request 5 in a certain group is U3, the destination library is U4, the resource allocation information is m1, and another resource allocation request 6 in the same group corresponds to the source library U4.
  • the destination database is U3, and the resource allocation information is m2.
  • the location The resource allocation request 5 is in communication with the resource flow path information of the resource allocation request 6. If, according to the prior art, the target resource of the m1 is first transferred from the resource library U3 to the resource library U4, and then the instruction is reversed.
  • the resource library U4 allocates the target resource of m2 to the resource library U3.
  • the source library corresponding to the resource allocation request 7 in a certain packet is U5
  • the destination database is U6
  • the resource allocation information is m3
  • another resource allocation request 8 in the same packet corresponds to the source library U6.
  • the destination database is U7
  • the resource allocation information is m4.
  • the resource allocation instruction obtained based on the merge operation corresponds to: the target resource of m4 is directly transferred from the resource library U5 to the resource library U7, and the target resource of the m5 is directly transferred from the resource library U5 to the resource library U8, thereby eliminating The target resource is first transferred to the resource library U6, and the excessive operation is transferred from the U6 to the next resource library.
  • the second unit 132 includes a first subunit (not shown) and a second subunit (not shown).
  • the first sub-unit decomposes each group of resource allocation requests into one or more sub-groups according to resource flows from the source library to the destination library corresponding to each resource allocation request, wherein resource allocation in the same sub-group The requested resource flows are connected; the second sub-unit performs a merge process on the multiple resource transfer requests in each sub-group to obtain one or more resource transfer instructions, wherein each resource transfer instruction includes transferring from the source library Instruction information from the target resource to the destination library.
  • the first sub-unit decomposes each group of resource allocation requests into one or more sub-groups according to a resource flow from the source library to the destination library corresponding to each resource allocation request, wherein resources in the same sub-group The resource flow of the transfer request is connected.
  • the resource allocating request in the one packet may be decomposed into one or more subgroups in advance based on the information of the resource flow path information, wherein a plurality of resource allocating requests in one subgroup can satisfy the
  • the requirement that the resource flows are connected for example, the resource allocating request corresponding to the target resource is divided into a group L, and further, the L group includes subgroups L1, L2, L3, L4, ..., wherein several of the subgroups L1
  • the resource allocation request can satisfy the same or the same cross-origin of the source and destination libraries. That is, if the source library corresponding to a resource allocation request in the sub-group L1 is U9 and the destination library is U10, then the sub-group is in the same group.
  • the resource allocation request of the target resource of L1 There are two cases for the resource allocation request of the target resource of L1.
  • the plurality of resource allocation requests in the sub-group L2 may include the same one-to-one unidirectionality between the plurality of resource pools, that is, the source and destination libraries corresponding to the respective resource allocation requests in the sub-group L1 are in one A resource flow, or a plurality of intersecting resource flows.
  • the resource pool corresponding to the resource flow is U11, U12, U13, and U14
  • the resource flow path corresponding to the resource transfer request is U11 to U12
  • some corresponding The resource flow path is U12 to U13
  • some corresponding resource flow paths are U12 to U14
  • some corresponding resource flow paths are U13 to U14, ... and so on.
  • the division of the subgroups in the respective groups may be different in different ways of distinguishing between different resource flows, such as the group L1 listed above or the subgroup division standard corresponding to the group L2.
  • the group L1 listed above or the subgroup division standard corresponding to the group L2.
  • only one resource flow connection mode may be selected, and corresponding to a subgroup division method, or may be based on actual needs, or from simple or fine. Integrate various resource flow connectivity methods, and then obtain corresponding multi-subgroup division methods.
  • the second subunit performs a combining process on the plurality of resource allocation requests in each subgroup to obtain one or more resource allocation instructions, wherein each resource allocation instruction includes allocating the target resource from the source library to the destination library.
  • Instruction information based on the selected specific division manner, the packet may be further divided into a plurality of subgroups, and further, the resource allocation request in the respective subgroups, combined with their respective source and destination library information, Perform the corresponding merge operation, For example, the redundant resource allocation operation is merged, and based on the result of the merging operation, the target resource type that needs to be transferred, the calling resource of the target resource, and the transfer library are determined, and the final resource allocation instructions are obtained, and further The resource transfer instruction is actually executed.
  • the second sub-unit performs a combining process on the plurality of resource allocation requests in each sub-group according to the time-related information of the resource allocation request to obtain one or more resource allocation instructions, wherein each The resource allocation instruction includes instruction information for transferring the target resource from the source library to the destination library.
  • the time-related information of the resource allocation request may be used in some application scenarios. It is very important.
  • the time that the resource allocation request is generated may be processed in order, for example, the time when the request occurrence time is the earliest in the original resource allocation request corresponding to the final resource allocation instruction is the final resource allocation instruction.
  • the corresponding request occurrence time is determined by comparing the time information to determine the order in which the resource transfer instructions are issued. Further, if some resource allocation requests correspond to time limit requirements, the final resource allocation instruction corresponding to the time-critical resource allocation request is preferably completed and issued. Here, based on the time-related information of the resource allocation request, the final resource allocation instruction can be optimized to complete a more efficient resource allocation operation as a whole.
  • the resource allocating device 1 includes a fifth device (not shown), and the fifth device is configured to establish a resource mapping relationship between different resource identification information of the same resource; wherein, when the merge trigger condition is met.
  • the first unit 131 groups the multiple resource allocation requests according to the target resource in each resource allocation request, and combines the resource mapping relationship to obtain one or more groups of resource allocation requests, where Each resource allocation request in each group corresponds to the same target resource.
  • resource identification information for the object allocated by the present application, only one type of resource identification information may be corresponding, for example, a unified commodity barcode is used for the same commodity; and multiple resource identifiers may exist for the same target resource.
  • Information for example, the same commodity due to Different areas are assigned, so it corresponds to multiple product identification codes.
  • some products can determine the product parameter information of the unified brand, manufacturer, model, etc. by the product identification code such as the product code. Some products may lack uniform measurement standards, and even the goods themselves are very different.
  • the fifth device of the resource allocating device 1 can solve the resource mapping relationship between different resource identification information of the same resource.
  • a final identified product identification code such as a common product barcode
  • other types of product identification code information may be replaced with corresponding corresponding product barcodes, and then The identification and categorization of the target resource is completed based on the mapped commodity barcode.
  • a certain identifiable approximate range may be mapped to the target resources on the basis of each resource caller protocol corresponding to the target resource, and the target falls within the approximate range.
  • the resource determines an identical resource identification information, thereby completing the corresponding resource allocation operation.
  • a certain target product has higher requirements on the production date, and the same product at different production dates has a larger distinction.
  • the product date is t1, for the same in the resource library W2.
  • the target product has a production date of t2, and the target resource corresponding to the production date t1 and t2 may be mapped to an item corresponding to the same resource identification information, and the product date in the resource library W1 is t1.
  • the target commodity and the target commodity in the resource library W2 whose production date is t2 can realize resource sharing and transfer based on the target resource mapping described above.
  • a default mapping range of the same kind of tradable goods in the resource mapping relationship may be set, where the key of the allocation is mainly whether each resource invokes the requester.
  • Resources can be shared on the basis of an agreement. If the resource invoking requester voluntarily agrees to share, the goods corresponding to the same mapping range that they confirm can be uniquely identified as the same kind of goods mentioned in the present application, and then the combination of the resource allocation requests described in this application is applicable. Operation, so that each resource transfer party can realize the sharing of the same kind of goods and reduce the total number of times of allocation.
  • the establishment of the resource mapping relationship is based on a reasonable quality range standard.
  • the relevant information records and transfer records of the original merchants of the commodities may be retained for each commodity, and the commodities themselves Source information, as well as product quality Identification information and other related data information.
  • the first unit 131 groups the multiple resource allocation requests according to the target resource in each resource allocation request and combines the resource mapping relationship to obtain a A group or groups of resource allocation requests, wherein each resource allocation request in each group corresponds to the same target resource.
  • the resource mapping relationship between different resource identification information of the same resource can be established, and a wider range of target resources can be shared based on actual application scenarios and needs.
  • FIG. 3 illustrates a flow chart of a resource allocation method according to another aspect of the present application.
  • the resource allocating device 1 acquires a plurality of resource allocating requests, where each resource allocating request includes request information for transferring the target resource from the source library to the destination library; and in step S32, the resource allocating The device 1 detects whether the multiple resource allocation requests meet the merge triggering condition; in step S33, the resource allocating device 1 merges the multiple resource allocation requests to obtain one or more when the merge triggering condition is met.
  • the resource allocation instruction wherein each resource allocation instruction includes instruction information for transferring the target resource from the source library to the destination library.
  • the resource allocating device 1 acquires a plurality of resource allocation requests, wherein each resource allocation request includes request information for transferring a target resource from the source library to the destination library.
  • the obtained resource allocation request includes a resource allocation request made by the resource requesting party based on the related information of the target resource in the source library, such as the inventory information of the target resource.
  • the resource requester includes a user who has the transfer authority to the target resource. The user can submit his own resource transfer request by logging in to the web interface of the PC, the mobile application interface, or other third party systems.
  • the specific information content of the obtained resource allocation request may include resource identification information of the target resource, source library information of the target resource, destination library information of the target resource, and quantity information of the allocated resource.
  • the resource allocating device 1 may directly arrange the order of recording based on the time sequence of the resource allocation request creation, or may be based on a specific requirement according to actual needs. Sequential recording, for example, for some time sensitive resource allocation requests, can be sorted according to the aging limit, thereby facilitating subsequent transfer related operations. Further, based on the processing of the acquired resource allocation request, the requester returns certain result information. For example, if the creation conditions of the resource allocation request are satisfied, the information of the processing success is returned to the corresponding requesting party. Otherwise, return the information that failed to process, as described The target resource corresponding to the resource allocation request has insufficient resources in the source library. At this time, the information that the processing failure is returned to the requesting party.
  • the target resource to be allocated corresponding to the resource allocation request includes a resource that has been recorded in the source library, and in the process of storing the resource into the source library, preferably, the collection center
  • the resource identification information of the resource is an example in which the resource is a general product, and when the product is put into storage, the product code of the product may be collected as the identification information of the product, and for the product that does not have the product code, It is also possible to collect other resource identification information that can be used for identification; further, for the goods that are first stored in the warehouse, the corresponding product code, product owner information, product parameter information, etc.
  • the warehousing operation record can be completed based on the matching with the first warehousing entry information, and the related information such as the inventory of the target commodity in the resource library is increased.
  • the target resource to be allocated corresponding to the resource allocation request may further include an in-transit resource that has not been stored in the source library.
  • the resource allocating device 1 can also obtain a resource transfer request for in-transit resources based on the actual needs of the transfer, for reasons such as more efficient and rapid completion of resource allocation, or limitation of time limit for transfer.
  • the resource dialing device 1 detects whether the plurality of resource transfer requests satisfy the merge trigger condition.
  • the merge triggering condition includes: triggering a merge operation when a wave corresponding to the resource transfer request is reached.
  • the operation is performed in units of one batch in which the plurality of resource allocation requests are summarized, such that the operation of one batch is the one wave.
  • the wave information set by the resource allocation operation in different resource pools in one system remains consistent.
  • the wave information corresponding to the same resource in different resource pools in one system is set consistently.
  • the consistent wave information may also be understood as a logical wave.
  • the frequency of the logical wave may be higher than the physical wave of the actual operation corresponding to the resource library, for example, setting each resource pool.
  • the logical wave of the resource allocation is one wave per T time, that is, logically, the resource allocation and merge operation is performed every T time, but In fact, the actual logistics transfer wave can be nT time, that is, every nT time, the actual resource allocation operation is performed between the resource pools.
  • the longer the time interval the more the number of resource allocation requests participating in the merge operation, the smaller the number and number of actual resource allocations corresponding to the final, and the more obvious the effect of resource allocation optimization, thereby being based on logical waves.
  • the information is flexibly adjusted to the actual physical allocation wave.
  • the multiple logical wave corresponding resource allocation requests may be preferably combined to complete the execution of the better resource allocation operation.
  • merge trigger condition includes triggering the merge operation when one wave corresponding to the resource transfer request is reached, and only other existing merge trigger conditions that may occur in the future may be
  • the invention is also intended to be included within the scope of the invention and is hereby incorporated by reference.
  • the merge triggering condition includes at least one of the following, that is, the time span involved in the multiple resource transfer requests exceeds a first time threshold; the request quantity information of the multiple resource transfer requests exceeds the request quantity threshold; The resource quantity information of the multiple resource allocation requests exceeds the resource quantity threshold; the processing time limit of at least one of the multiple resource allocation requests exceeds the second time threshold.
  • each merge trigger condition is understood based on the difference of the wave division manner.
  • the merge trigger condition includes that the time span involved in the multiple resource transfer requests exceeds a first time threshold.
  • the respective time points corresponding to the resource allocation request are divided by a fixed time point or a time period, that is, the first time threshold is set, according to a fixed time point, such as 7:00, 9:00 in a day. , 11:00, 14:00, 16:00, 18:00, 20:00 is the start time of a wave; or set a certain period of time, such as n days, n hours, n minutes for a wave duration.
  • the merge trigger condition further includes that the request quantity information of the multiple resource transfer requests exceeds the request quantity threshold. For example, when the resource allocation request obtained by the resource allocating device 1 reaches the request quantity threshold m, it may be determined that a wave ends, within this wave. The resource allocation request of the m satisfies the merge trigger condition.
  • the merge triggering condition further includes that the resource quantity information of the multiple resource allocation requests exceeds the resource quantity threshold.
  • the resource quantity threshold V may be set as the sum of the resource quantity information of the plurality of resource allocation requests, that is, the resource allocation request corresponding to all the target resources from the previous wave to the current.
  • the merge triggering condition further includes that a processing time limit requirement of at least one of the multiple resource allocating requests exceeds a second time threshold.
  • the second time threshold may be set for the resource allocation request, and when the resource allocation request exceeds the second time threshold, determine a resource transfer request corresponding to all target resources from the previous wave to the current Corresponding to the current wave and satisfying the merge trigger condition.
  • a unified second time threshold may be set for all resource allocation requests, or a different second time threshold may be set based on different types of resource allocation requests corresponding to the target resource, and the resource allocation request may be further based on other reasonable distinguishing criteria. Set a second time threshold with a difference.
  • the merge trigger condition may be corresponding to the independent application of each of the foregoing merge trigger conditions, or may be combined according to actual needs, and the combination may be combined.
  • the merge trigger condition set for the resource transfer request of the target resource is: setting the first time threshold and the request quantity threshold, when the time span involved in the multiple resource transfer requests exceeds the first time threshold and the When the request quantity information of the plurality of resource allocation requests exceeds the request quantity threshold, the two conditions satisfy at least one of the conditions, that is, the above-mentioned merge trigger condition is satisfied. Further, a priority may be set for the application of each trigger condition.
  • the time limit condition is prioritized, such as prioritizing that the time span involved in the multiple resource transfer requests exceeds the first time threshold.
  • another merge trigger condition is considered, such as the condition that the request quantity information of the multiple resource transfer requests exceeds the request quantity threshold.
  • the time span involved in the multiple resource transfer requests exceeds the first time threshold.
  • the application of the value of the condition may take precedence over other conditions such as the request quantity information of the plurality of resource allocation requests exceeding the request quantity threshold, and the other conditions are considered only when the former is not satisfied.
  • the foregoing merge trigger condition includes at least one of the following, that is, the time span involved in the multiple resource transfer requests exceeds a first time threshold; and the multiple resource transfer requests
  • the merging triggering conditions of other content that may or may occur in the future, as applicable to the present invention, are also included in the scope of the present invention and are hereby incorporated by reference.
  • the resource allocating device 1 merges the multiple resource transfer requests in step S33 to obtain one or more resource transfer instructions, wherein each resource transfer instruction includes The instruction information of the target resource to the destination library is transferred from the source library.
  • the resource allocation instruction includes a final source library and a corresponding destination library of the target resource, and corresponding content information of the target resource actually allocated.
  • step S33 the resource dialing device 1 suspends the plurality of resource transfer requests.
  • the merge triggering condition is triggered by the fact that one of the wave corresponding to the resource allocation request arrives, that is, the merge operation is triggered.
  • the merge operation is triggered.
  • all resource allocation requests from the previous wave to the present are recorded and retained accordingly, and the resource allocation is not directly sent to the destination database of the corresponding target resource based on the resource allocation request.
  • the resource to be allocated in the source pool of the target resource corresponding to the suspended resource allocation request does not receive the transfer instruction, and remains in the original state.
  • the merge trigger condition for example, when the current wave arrives, all resource allocating requests within one wave are collectively processed. At this time, the resource allocation instruction generated based on the result of the collective processing is sent to the corresponding resource destination library.
  • the present application performs a merge trigger condition on a plurality of acquired resource transfer requests, and performs a merge operation on a plurality of resource transfer requests that satisfy the merge trigger condition, thereby obtaining a plurality of the merge operations based on the merge operation.
  • Resource allocation instructions Based on this, the present application implements resource sharing of the same target resource in a resource library and between multiple resource libraries, and considers several resource transfer requests satisfying the trigger condition as mutually related requests, through the merge operation, The repeated and unnecessary allocation operations of the same target resource between the resource pools are avoided, thereby reducing the actual number of allocations of the target resources, reducing the probability of resource loss and reducing the actual allocation cost.
  • the resource management device 1 further includes step S34 (not shown), and the resource allocating device 1 executes the resource transfer instruction in step S34.
  • the resource allocation instruction includes instruction information for transferring a target resource from a source library to a destination library.
  • the command information may be used to determine the target resource type of the actual allocation in the one wave, the source library information of the target resource actually allocated, the destination library information of the target resource actually allocated, and the actual allocated resource quantity. Information, etc.
  • the resource allocation instruction may be sent to a specific source library, complete the allocation and outbound operation of the corresponding target resource, and then transferred to the destination library to complete corresponding operations such as storage and inventory.
  • the execution of the resource allocation instruction further includes: in the case of locking the corresponding target resource in the corresponding source library based on the resource allocation request, releasing other target resources, such as redundant target resources in the corresponding source library, according to the instruction information. Execution of instruction information.
  • the resource allocating device 1 is configured to lock a corresponding target resource in the corresponding source library for each resource allocation request; wherein the resource allocation instruction further includes releasing the redundant target in the corresponding source library. Instruction information for resources.
  • the target resource in the source library is sufficient, or the inventory of the target resource in the source library is far greater than the multiple resources of the target resource in the source library. If the number of resources requested by the dialing request is set, the above locking operation may not be set for the target resource. If it is to ensure that the resource allocation request of the target resource in the source library is successfully completed, and the shortage of resources during the actual allocation is avoided, it may be preferable, when acquiring the resource allocation request, correspondingly The corresponding target resource in the source library corresponding to the resource allocation request is locked, and the number of locks is the number of transfers corresponding to the resource transfer request.
  • step S33 when the resource allocating device 1 obtains a plurality of resource allocation instructions based on the merging operation of the resource allocating request, the resource allocating instruction includes not only transferring the target resource from the source library.
  • the instruction information to the destination library may also include instruction information for performing a release unlock operation on the locked excess target resource.
  • the target resource that does not need to be allocated can be released in time, and the inventory information recorded by the source library is increased, thereby providing accurate inventory information of the dialable target resource for subsequent resource allocation requests.
  • FIG. 4 shows a partial flow chart of a resource allocation method in accordance with a preferred embodiment of the present application.
  • the step S33 of the resource allocating method includes a sub-step S331 and a sub-step S332.
  • the resource dialing device 1 groups the multiple resource transfer requests by the target resource in each resource transfer request to obtain one or more groups of resources.
  • the resource allocating device 1 performs a combining process on a plurality of resource allocating requests that are connected to the resource flows in each group of resource allocating requests to obtain one or more resource allocating instructions, wherein each The resource allocation instructions include instruction information for transferring the target resource from the source library to the destination library.
  • the resource allocating device 1 groups the multiple resource allocation requests by the target resource in each resource allocation request, by performing rearrangement of the obtained resource allocation request to obtain One or more sets of resource transfer requests.
  • the target resource is entered into the corresponding resource library, corresponding resource identification information is correspondingly input, which is used as the identification information for uniquely determining the target resource, and the resource having the same resource identification information is the same target by default.
  • Resource the same type of target resource has the substitutability by default, so the resource allocation operation can be smoothly performed between different resource pools and based on the needs of different resource parties, so that multiple resources corresponding to the same type of target resource are used.
  • the allocation request can be applied to the resource allocation request combining operation described in this scenario, and finally the optimized resource allocation is completed.
  • the base The resource identification information corresponding to the target resource is used to group multiple resource allocation requests corresponding to the target resource.
  • the resource allocation request 1 corresponds to the product with the product barcode A
  • the resource allocation request 2 corresponds to the product barcode.
  • the product, the resource transfer request 3 corresponds to the product with the product barcode A
  • the resource transfer request 4 corresponds to the product with the product barcode B.
  • the resource transfer request 1 and the resource transfer request 3 both correspond to the product with the product barcode A.
  • the two target resources are the same, and are divided into the same group.
  • the resource transfer request 2 and the resource transfer request 4 all correspond to the commodity barcode B product, that is, the default target resources are the same, and are jointly divided into Another group. Therefore, the resource allocation request acquired by the resource allocating device 1 can be rearranged into a plurality of groups based on the target resource corresponding to the resource allocation request. Further, the resource allocation information, the source library information, and the destination library information corresponding to the target resource of the resource allocation request may be further divided into the resource allocation request, for example, within a wave, the commodity The resource allocation request with the barcode C and the source library being U1 and the destination database being U2 is divided into a group.
  • the resource flow path information communication may include two source libraries being a source library and a destination library, wherein the resource flows are bidirectionally dialed; and the resource flow path information communication may further include a plurality of resource pools.
  • the destination library of the resource allocation request is a source library of another resource allocation request; the resource flow path information communication may further include the foregoing two connectivity modes, or may exist with other connectivity modes applicable to the solution. Combine.
  • the source library corresponding to the resource allocation request 5 in a certain group is U3, the destination library is U4, the resource allocation information is m1, and another resource allocation request 6 in the same group corresponds to the source library U4.
  • the destination database is U3, and the resource allocation information is m2.
  • the resource allocation request 5 is connected to the resource flow path information of the resource allocation request 6. If the resource flow path information of the resource allocation request 6 is connected, if the resource is based on the prior art, the resource pool is first commanded.
  • U3 allocates the target resource of m1 to the resource library U4, and then instructs to transfer the target resource of m2 from the resource library U4 to the resource library U3.
  • the resource transfer request 5 is merged with the resource transfer request 6 by the merge processing operation described in the present application to obtain a new resource transfer instruction, that is, the transfer from the resource library U4.
  • the target resource of m2-m1 is added to the resource library U3, thereby replacing the instruction information generated by the previous two resource allocation requests, and the actual number of actual allocations is reduced, thereby reducing the cost of resource allocation.
  • the source library corresponding to the resource allocation request 7 in a certain packet is U5
  • the destination database is U6
  • the resource allocation information is m3
  • another resource allocation request 8 in the same packet corresponds to the source library U6.
  • the destination database is U7
  • the resource allocation information is m4.
  • the resource allocation instruction obtained based on the merge operation corresponds to: the target resource of m4 is directly transferred from the resource library U5 to the resource library U7, and the target resource of the m5 is directly transferred from the resource library U5 to the resource library U8, thereby eliminating The target resource is first transferred to the resource library U6, and the excessive operation is transferred from the U6 to the next resource library.
  • said sub-step S332 comprises sub-step S3321 (not shown) and sub-step S3322 (not shown).
  • the resource allocating device 1 decomposes each group of resource allocation requests into one or more sub-groups according to the resource flow from the source library to the destination library corresponding to each resource allocation request, wherein the same group The resource flow of the resource allocation request in the subgroup is connected; in the sub-step S3322, the resource allocating device 1 performs a combining process on the multiple resource allocation requests in each subgroup to obtain one or more resource allocation instructions.
  • each resource allocation instruction includes instruction information for transferring the target resource from the source library to the destination library.
  • the resource allocating device 1 decomposes each group of resource allocation requests into one or more sub-groups according to the resource flow from the source library to the destination library corresponding to each resource allocation request, where The resource flows of resource allocation requests in the same subgroup are connected.
  • the resource allocating request in the one group may be decomposed into one or more subgroups in advance, and some of the subgroups are based on the information connected by the resource flow path information.
  • the resource allocation request can satisfy the requirement that the resource flows are connected, for example For example, the resource allocation request corresponding to the target resource is divided into a group L.
  • the L group includes subgroups L1, L2, L3, L4, ..., wherein several resource allocation requests in the subgroup L1 can satisfy the source library.
  • the source library corresponding to a resource allocation request in the subgroup L1 is U9 and the destination library is U10, then at this time, the resource allocation of the target resource with the subgroup L1 is the same.
  • the request There are two cases in the request. One is that the corresponding source library is U9, the destination library is U10, the corresponding source library is U10, and the destination library is U9.
  • the plurality of resource allocation requests in the sub-group L2 may include the same one-to-one unidirectionality between the plurality of resource pools, that is, the source and destination libraries corresponding to the respective resource allocation requests in the sub-group L1 are in one A resource flow, or a plurality of intersecting resource flows.
  • the resource pool corresponding to the resource flow is U11, U12, U13, and U14
  • the resource flow path corresponding to the resource transfer request is U11 to U12
  • some corresponding The resource flow path is U12 to U13, and some corresponding resource flow paths are U12 to U14, and some corresponding resource flow paths are U13 to U14, ... and so on.
  • the division of the subgroups in the respective groups may be different in different ways of distinguishing between different resource flows, such as the group L1 listed above or the subgroup division standard corresponding to the group L2.
  • the group L1 listed above or the subgroup division standard corresponding to the group L2.
  • only one resource flow connection mode may be selected, and corresponding to a subgroup division method, or may be based on actual needs, or from simple or fine. Integrate various resource flow connectivity methods, and then obtain corresponding multi-subgroup division methods.
  • the resource allocating device 1 performs a combining process on a plurality of resource allocating requests in each sub-group to obtain one or more resource transfer instructions, wherein each resource transfer instruction includes a source library The instruction information of the target resource to the destination library is transferred.
  • the packet may be further divided into a plurality of subgroups, and further, the resource allocation request in the respective subgroups, combined with their respective source and destination library information, Perform corresponding merge operations, such as merging out redundant resource allocation operations, and based on the result of the merge operation, determine the target resource type that needs to be transferred, the callout library of the target resource, and the transfer library, and obtain the final several Resource allocation instructions, and further actual implementation The resource allocation instruction.
  • the resource allocating device 1 performs a combining process on multiple resource allocating requests in each sub-group according to the time-related information of the resource allocating request to obtain one or more resource allocations.
  • An instruction wherein each resource allocation instruction includes instruction information for transferring a target resource from a source library to a destination library.
  • the time-related information of the resource allocation request may be used in some application scenarios. It is very important.
  • the time that the resource allocation request is generated may be processed in order, for example, the time when the request occurrence time is the earliest in the original resource allocation request corresponding to the final resource allocation instruction is the final resource allocation instruction.
  • the corresponding request occurrence time is determined by comparing the time information to determine the order in which the resource transfer instructions are issued. Further, if some resource allocation requests correspond to time limit requirements, the final resource allocation instruction corresponding to the time-critical resource allocation request is preferably completed and issued. Here, based on the time-related information of the resource allocation request, the final resource allocation instruction can be optimized to complete a more efficient resource allocation operation as a whole.
  • the resource allocation method includes a step S35 (not shown).
  • the resource allocating device 1 is configured to establish a resource mapping relationship between different resource identification information of the same resource.
  • the resource allocating device 1 groups the multiple resource allocating requests according to the target resource in each resource allocating request, and combines the resource mapping relationship to obtain a A group or groups of resource allocation requests, wherein each resource allocation request in each group corresponds to the same target resource.
  • resource identification information for the object allocated by the present application, only one type of resource identification information may be corresponding, for example, a unified commodity barcode is used for the same commodity; and multiple resource identifiers may exist for the same target resource.
  • Information for example, the same product is assigned in a different area, so it corresponds to a plurality of product identification codes. Further, some products can determine the product parameter information of the unified brand, manufacturer, model, etc. by the product identification code such as the product code. Some products may lack uniform measurement standards, and even the goods themselves are very different.
  • the resource allocation device 1 can be used to establish a resource mapping relationship between different resource identification information of the same resource.
  • a final identified product identification code such as a common product barcode
  • other types of product identification code information may be replaced with corresponding corresponding product barcodes, and then The identification and categorization of the target resource is completed based on the mapped commodity barcode.
  • a certain identifiable approximate range may be mapped to the target resources on the basis of each resource caller protocol corresponding to the target resource, and the target falls within the approximate range.
  • the resource determines an identical resource identification information, thereby completing the corresponding resource allocation operation.
  • a certain target product has higher requirements on the production date, and the same product at different production dates has a larger distinction.
  • the product date is t1, for the same in the resource library W2.
  • the target product has a production date of t2, and the target resource corresponding to the production date t1 and t2 may be mapped to an item corresponding to the same resource identification information, and the product date in the resource library W1 is t1.
  • the target commodity and the target commodity in the resource library W2 whose production date is t2 can realize resource sharing and transfer based on the target resource mapping described above.
  • a default mapping range of the same kind of tradable goods in the resource mapping relationship may be set, where the key of the allocation is mainly whether each resource invokes the requester.
  • Resources can be shared on the basis of an agreement. If the resource invoking requester voluntarily agrees to share, the goods corresponding to the same mapping range that they confirm can be uniquely identified as the same kind of goods mentioned in the present application, and then the combination of the resource allocation requests described in this application is applicable. Operation, so that each resource transfer party can realize the sharing of the same kind of goods and reduce the total number of times of allocation.
  • the establishment of the resource mapping relationship is based on a reasonable quality range standard. Further, in order to clarify the rights and responsibilities of the shared resource transfer parties regarding the subsequent follow-up of the target resources, it is also possible to retain the relevant information records and transfer records of the original merchants of the commodities, and the goods in the transfer process. Relevant data information such as its own source information and product quality identification information.
  • the resource The dialing device 1 groups the plurality of resource allocation requests according to the target resource in each resource allocation request and combines the resource mapping relationship to obtain one or more groups of resource allocation requests, where each group Each resource allocation request corresponds to the same target resource.
  • the resource mapping relationship between different resource identification information of the same resource can be established, and a wider range of target resources can be shared based on actual application scenarios and needs.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种资源调拨方法与设备;获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息(S31);检测所述多个资源调拨请求是否满足合并触发条件(S32);当满足所述合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息(S33)。与现有技术相比,通过将相互有关联的资源调拨请求进行合并操作,从而实现了一个资源库内和多个资源库之间相同目标资源的资源共享,避免了相同目标资源在资源库之间重复的、多余的调拨操作,总体上减少了目标资源的实际调拨次数,减小了资源损耗概率,降低了实际调拨成本。

Description

一种资源调拨方法与设备 技术领域
本申请涉及计算机领域,尤其涉及一种资源调拨技术。
背景技术
在现有的资源调拨作业中,资源所有者根据实际需要发出调拨指令,各个资源库会基于接收到的每一次的调拨指令完成目标资源在各个资源库中的调拨操作,此时,各个资源库中的调拨作业互不相关,在一个作业单位内,相同的目标资源可能会重复调拨于两个相同资源库之间,或是相同的目标资源可能会连续多次调拨于若干个相关资源库之间。例如,在商品调拨应用场景下,一定数量目标商品前一时刻从仓库A调拨到仓库B,下一刻,另一数量的相同目标商品即从仓库B调拨到仓库A,两个时刻对应的商品调拨操作互不相关,各自独立完成。在此,频繁的调拨明显加大了调拨作业的成本,增加了资源损耗的概率,造成了不必要的资源浪费。
发明内容
本申请的目的是提供一种资源调拨方法与设备。
根据本申请的一个方面,提供了一种资源调拨方法,包括:
获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息;
检测所述多个资源调拨请求是否满足合并触发条件;
当满足所述合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
根据本申请的另一方面,还提供了一种资源调拨设备,包括:
第一装置,用于获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息;
第二装置,用于检测所述多个资源调拨请求是否满足合并触发条件;
第三装置,用于当满足所述合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
与现有技术相比,本申请通过对所获取的多个资源调拨请求进行合并触发条件的判断,并对满足所述合并触发条件的若干个资源调拨请求进行了合并操作,从而基于所述合并操作获得若干个资源调拨指令。在此,本申请实现了一个资源库内和多个资源库之间相同目标资源的资源共享,将满足触发条件的若干个资源调拨请求看做是相互有关联的请求,通过所述合并操作,避免了相同目标资源在资源库之间重复的、非必要的调拨操作,进而在总体上减少了目标资源的实际调拨次数,减小了资源损耗概率,降低了实际调拨成本。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:
图1示出根据本申请一个方面的一种资源调拨设备的设备示意图;
图2示出根据本申请一个优选实施例的一种资源调拨设备的第三装置的设备示意图;
图3示出根据本申请另一个方面的一种资源调拨方法流程图;
图4示出根据本申请一个优选实施例的一种资源调拨方法的部分流程图;
附图中相同或相似的附图标记代表相同或相似的部件。
具体实施方式
下面结合附图对本申请作进一步详细描述。
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash  RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
图1示出根据本申请一个方面的一种资源调拨设备的设备示意图。所述资源调拨设备1包括第一装置11、第二装置12和第三装置13。
其中,第一装置11获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息;第二装置12检测所述多个资源调拨请求是否满足合并触发条件;第三装置13当满足所述合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,所述资源调拨设备1的第一装置11获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息。所获取的资源调拨请求包括资源请求方基于源库中目标资源的相关信息,如目标资源的库存信息,做出的资源调拨请求。所述资源请求方包括对所述目标资源有调拨权限的用户。所述用户可以通过登陆PC端的网页界面、移动端应用界面或是其他第三方系统等方式来提交自己的资源调拨请求。所获取的资源调拨请求的具体信息内容,可以包括目标资源的资源标识信息、目标资源的源库信息、目标资源的目的库信息、调拨资源数量信息等。进一步,对于所述获取的资源调拨请求,所述第一装置11可以直接基于 所述资源调拨请求创建的时间顺序来排列记录的顺序,也可以基于实际的需要,按照特定的顺序记录,例如,对于一些时效敏感的资源调拨请求,可以按照时效限制来排序,从而方便后续的调拨相关操作。进一步,基于对所述获取的资源调拨请求的处理,会给所述请求方返回一定的结果信息,例如,若是资源调拨请求的创建条件都满足,则向对应的请求方返回处理成功的信息,反之,则返回处理失败的信息,如所述资源调拨请求对应的目标资源在源库的资源不足,此时,则会返回处理失败的信息给所述请求方。
在此,所述资源调拨请求所对应的待调拨的目标资源包括已经录入存储在所述源库中的资源,在所述资源录入存储到所述源库的过程中,可以优选地,采集所述资源的资源标识信息,以所述资源是一般商品为例,可以在商品入库时,采集所述商品的商品标码,作为所述商品的辨识信息,对于不存在商品标码的商品,也可以采集其他可用于辨识的资源标识信息;进而,对于首次入库的商品可以根据需要录入相应的商品标码、商品所有者信息、商品参数信息等,而对于非首次入库的商品,则可以基于与首次入库录入信息之间的匹配来完成入库操作记录,增加资源库中所述目标商品的库存等相关信息。在此,所述资源调拨请求所对应的待调拨的目标资源还可以包括还未录入存储到所述源库中的在途资源,此时,虽然目标资源还未到达对应资源库,但是出于实际操作中,对资源调拨更加高效和快速完成的需要,或是出于调拨的时效限制等原因,所述资源调拨设备1也可以基于调拨的实际需要,获得针对在途资源的资源调拨请求
接着,所述资源调拨设备1的第二装置12检测所述多个资源调拨请求是否满足合并触发条件。所述合并触发条件包括:所述资源调拨请求对应的一个波次达到时即触发合并操作。在此,将汇总了所述多个资源调拨请求的一个批次为单位进行操作作业,这样一个批次的作业即为所述一个波次。当所述资源调拨设备1获取一个当前资源调拨请求,此时,若是所设定的一个波次未到达,则判断从上一个波次到当前的所有资源调拨请求都不满足所述合并触发条件;若是所设定的一个波次当前到达,则判断从上一个波次到当前的所有资源调拨请求满足所述合并触发条件。在此,根 据需要,优选地,一个系统内的不同资源库中资源调拨操作所设置的波次信息保持一致。或是,优选地,一个系统内的不同资源库中相同资源所对应的波次信息设置一致。进一步,所述一致的波次信息也可以理解为逻辑波次,在实际执行中,所述逻辑波次的频率可以比资源库对应的实际操作的物理波次要高,例如,设置各个资源库中资源调拨的逻辑波次是每T时间对应一个波次,即逻辑上,每T时间进行一次资源调拨合并操作,但是实际上真正的物流调拨波次,可以是nT时间,即每隔nT时间,资源库之间才执行一轮实际的资源调拨操作。在此,因为,时间间隔越长,参与进行合并操作的资源调拨请求数量越多,对应最终的实际资源调拨次数和数量就越小,资源调拨优化的效果越明显,由此,可以基于逻辑波次信息,灵活调整实际的物理调拨波次,在时间限制或时效要求宽松的情况下,可以优选地,合并多个逻辑波次对应资源调拨请求,以完成更优的资源调拨操作的执行。
在此,本领域技术人员应能理解上述合并触发条件包括所述资源调拨请求对应的一个波次达到时即触发合并操作仅为举例,其他现有的或今后可能出现的其他合并触发条件如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。
优选地,所述合并触发条件包括以下至少任一项,即所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值;所述多个资源调拨请求的请求数量信息超过请求数量阈值;所述多个资源调拨请求的资源数量信息超过资源数量阈值;所述多个资源调拨请求中至少一个的处理时限要求超过第二时间阈值。
具体地,以所述合并触发条件包括所述资源调拨请求对应的一个波次达到时即触发合并操作为例,基于所述波次划分方式的不同,来理解各个所述合并触发条件。其中,所述合并触发条件包括所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值。例如,利用固定的时间点或时间段划分出所述资源调拨请求对应的各个波次,即设置所述的第一时间阈值,按照固定的时间点,如一天中的7:00,9:00,11:00,14:00,16:00,18:00,20:00为一个波次的开始时间;或是设置一定的时间段,如n天、n小时、n分 钟为一个波次的持续时间。当所述资源调拨请求所涉及的时间跨度超过第一时间阈值时,判断在一个波次范围内的所述多个资源调拨请求满足合并触发条件。
其中,所述合并触发条件还包括所述多个资源调拨请求的请求数量信息超过请求数量阈值。例如,可以设置当所述资源调拨设备1获得的资源调拨请求达到请求数量阈值m时,即判断一个波次结束,在这个波次内的所述m的资源调拨请求满足所述合并触发条件。
其中,所述合并触发条件还包括所述多个资源调拨请求的资源数量信息超过资源数量阈值。例如,可以设定对于目标资源的单个资源调拨请求的资源数量信息超过资源数量阀值U时,判断从上个波次到当前的所有目标资源对应的资源调拨请求对应当前波次,并满足所述合并触发条件;又如,还可以设定所述资源数量阈值V为多个资源调拨请求的资源数量信息之和,即从上个波次到当前的所有目标资源的资源调拨请求所对应的资源数量信息之和超过所述资源数量阈值V时,判断从上个波次到当前的所有目标资源对应的资源调拨请求对应当前波次,并满足所述合并触发条件。
其中,所述合并触发条件还包括所述多个资源调拨请求中至少一个的处理时限要求超过第二时间阈值。例如,可以为所述资源调拨请求设置所述第二时间阈值,当所述资源调拨请求超过所述第二时间阈值时,则判断从上一个波次到当前的所有目标资源对应的资源调拨请求对应当前波次,并满足所述合并触发条件。可以为所有的资源调拨请求设置统一的第二时间阈值,也可以基于目标资源对应的资源调拨请求的不同类型设置不同的第二时间阈值,还可以基于其他合理的区分标准为所述资源调拨请求设置有差异的第二时间阈值。
此外,所述合并触发条件可以对应于上述各个合并触发条件的独立适用,也可以根据实际需要,将各个单一的合并触发条件结合起来,组合适用。例如,对于上述目标资源的资源调拨请求设置的合并触发条件是:同时设置上述第一时间阈值和上述请求数量阈值,当所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值和所述多个资源调拨请求的请求数量信息超过请求数量阈值两个条件至少满足其一时,即判断满足上述合并 触发条件。进一步,对于各个触发条件的适用可以设置优先级,例如,在设定所述合并触发条件时,优先考虑时限条件,如优先考虑所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值,当该条件不适用于所述资源调拨场景时,再考虑其他合并触发条件,如所述多个资源调拨请求的请求数量信息超过请求数量阈值这一条件。又如,在多个合并触发条件组合适用的场景下,所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值这一条件的适用,可以优先于所述多个资源调拨请求的请求数量信息超过请求数量阈值等其他条件,只有在前者未满足时,才考虑后面的其他条件。
在此,本领域技术人员应能理解上述所述合并触发条件包括以下至少任一项,即所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值;所述多个资源调拨请求的请求数量信息超过请求数量阈值;所述多个资源调拨请求的资源数量信息超过资源数量阈值;所述多个资源调拨请求中至少一个的处理时限要求超过第二时间阈值仅为举例,其他现有的或今后可能出现的其他内容的合并触发条件如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。
接着,当满足所述合并触发条件时,所述资源调拨设备1的第三装置13合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,当满足上述合并触发条件时,查询并确定从上一个波次到现在当期波次之间所有资源查询请求。基于上述查询请求所对应的资源的标识信息、源库信息、目的库信息等信息内容,对上述一个波次内的所有资源查询请求进行重新分组排列,遍历所述重排的上述资源查询请求,对于其中可以进行合并的对应于多个资源库的多个资源调拨请求进行合并操作,进而,基于合并的结果,调整一个波次内,目标资源的最终源库和对应的目的库,并计算出相应的实际调拨的目标资源的数量信息,进一步生成若干个所述资源调拨指令。在此,所述资源调拨指令包括上述目标资源的最终源库和对应的目的库,以及相应的实际调拨的目标资源的数量信息等内容。
优选地,当未满足所述合并触发条件时,所述资源调拨设备1的第三装置13挂起所述多个资源调拨请求。
具体地,以所述合并触发条件包括所述资源调拨请求对应的一个波次到达时即触发合并操作为例。在一个波次未到达时,在上一个波次到现在的所有资源调拨请求,都被相应地记录和保留下来,并不直接基于所述资源调拨请求向相应的目标资源的目的库发送资源调拨指令,此时,与所述挂起的资源调拨请求对应的目标资源的源库中的待调拨资源并没有收到调拨指令,依然保持原状态。进一步,待所述合并触发条件满足后,例如当前波次到达时,再对一个波次内的所有资源调拨请求进行集体处理。此时,基于集体处理的结果所生成的资源调拨指令才会送达到对应的资源目的库。
在此,本申请通过对所获取的多个资源调拨请求进行合并触发条件的判断,并对满足所述合并触发条件的若干个资源调拨请求进行了合并操作,从而基于所述合并操作获得若干个资源调拨指令。基于此,本申请实现了一个资源库内和多个资源库之间相同目标资源的资源共享,将满足触发条件的若干个资源调拨请求看做是相互有关联的请求,通过所述合并操作,避免了相同目标资源在资源库之间重复的、非必要的调拨操作,进而在总体上减少了目标资源的实际调拨次数,减小了资源损耗概率,降低了实际调拨成本。
优选地,所述资源管理设备1还包括第四装置(未示出),所述第四装置执行所述资源调拨指令。
具体地,所述资源调拨指令包括从源库调拨目标资源至目的库的指令信息。在此,通过所述指令信息,可以确定所述一个波次内的实际调拨的目标资源种类、实际调拨的目标资源的源库信息、实际调拨的目标资源的目的库信息、实际调拨的资源数量信息等。可以将所述资源调拨指令下发到具体的源库中,完成相应的目标资源的调拨出仓操作,再调入所述目的库完成入库、盘点等相应操作。此外,所述资源调拨指令的执行还包括基于所述资源调拨请求锁定对应源库中的对应目标资源的情况下,依据所述指令信息,释放对应源库中的多余目标资源等其他可能存在的指令信息的 执行。
优选地,所述资源调拨设备1的第一装置11用于对于每个资源调拨请求,锁定对应源库中的对应目标资源;其中,所述资源调拨指令还包括释放对应源库中的多余目标资源的指令信息。
具体地,理论上,若是所述源库中的目标资源足够充分,或是所述源库中的目标资源的库存远远大于所述源库中的所述目标资源的多个资源调拨请求所请求的资源数量,则对于目标资源可以不设定上述锁定操作。若是为了确保在先请求所述源库中的目标资源的资源调拨请求能够顺利完成,避免出现实际调拨时资源不足的情况,在此,可以优选地,在获取所述资源调拨请求时,相应地锁定所述资源调拨请求对应的的源库中的对应目标资源,锁定的数量即为所述资源调拨请求对应的调拨的数量。进一步,与此相配合,当所述资源调拨设备1的第三装置13基于所述资源调拨请求的合并操作,获得了若干个资源调拨指令时,所述资源调拨指令不仅包括从源库调拨目标资源至目的库的指令信息,还可以同时包括对所述锁定的多余的目标资源执行释放解锁操作的指令信息。由此,可以及时释放实际上并不需要调拨的目标资源,增加所述源库记录的库存信息,从而,为后续的资源调拨请求提供准确的可调拨目标资源的库存信息。
图2示出根据本申请一个优选实施例的一种资源调拨设备1的第三装置的设备示意图。所述资源调拨设备1的第三装置13包括第一单元131和第二单元132。
其中,当满足所述合并触发条件时,所述第一单元131按每个资源调拨请求中的目标资源对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求;所述第二单元132对每组资源调拨请求中资源流相连通的多个资源调拨请求,进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,所述第一单元131按每个资源调拨请求中的目标资源对所述多个资源调拨请求进行分组,通过对所获得的资源调拨请求的重排,以获得一组或多组资源调拨请求。在此,所述目标资源在录入对应资源库时,即对应录入了相应的资源标识信息,用以作为唯一确定所述目标资源的辨 识信息,具有同一资源标识信息的资源默认为是同一类目标资源,所述同一类目标资源因为默认存在可替代性,所以可以顺利的在不同资源库之间、基于不同资源方需要,进行资源调拨操作,从而基于所述同一类目标资源对应的多个资源调拨请求可以适用本方案所述的资源调拨请求合并操作,最终完成优化的资源调拨。在此,优选地,基于所述目标资源对应的资源标识信息,对所述目标资源对应的多个资源调拨请求进行分组,例如,资源调拨请求1对应商品条码为A的商品,资源调拨请求2对应商品条码为B的商品,资源调拨请求3对应商品条码为A的商品,资源调拨请求4对应商品条码为B的商品,此时,所述资源调拨请求1和所述资源调拨请求3都对应商品条码为A的商品,即默认两者目标资源相同,划分为同一组,同理,所述资源调拨请求2和所述资源调拨请求4都对应商品条码为B的商品,即默认两者目标资源相同,共同划分为另一组。由此,基于所述资源调拨请求对应的目标资源,即可将所述资源调拨设备1所获取的所述资源调拨请求重排,划分为若干组别。进一步,还可以结合所述资源调拨请求的目标资源对应的资源辨识信息、源库信息、目的库信息,对所述资源调拨请求进行更细致的划分,例如,将一个波次内,所述商品条码为C、源库为U1,目的库为U2的所述资源调拨请求划分为一组。
接着,基于上述分组中各个资源调拨请求对应的具体请求信息,例如所请求资源对应的源库信息、目的库信息等,可以确定各个资源调拨请求的目标资源所对应的资源流路径信息,在此,同一个分组内的多个资源调拨请求因为资源流路径信息连通,而存在合并处理的可能和需要。所述资源流路径信息相通可以包括两个资源库之间互为源库和目的库,所述资源流双向调拨;所述资源流路径信息相通还可以包括多个资源库之间两两单向连通,即一个资源调拨请求的目的库是另一个资源调拨请求的源库;所述资源流路径信息相通还可以包括上述两种连通方式、或与可能存在的适用于本方案的其他连通方式的结合。
例如,某个所述分组内的资源调拨请求5对应的源库为U3,目的库为U4,调拨资源数量信息为m1,同时,同一分组内存在另一资源调拨请求6对应于源库U4,目的库为U3,调拨资源数量信息为m2,此时,所 述资源调拨请求5与所述资源调拨请求6的资源流路径信息是相连通的,若基于现有技术,会先指令从资源库U3调拨m1的目标资源到资源库U4,再反过来指令从资源库U4调拨m2的目标资源到资源库U3,若假设m2>m1,结合整体效果来看,实际上,只是从从资源库U4调拨了m2-m1的目标资源到资源库U3,因此,通过本申请所述的合并处理操作,将上述资源调拨请求5与所述资源调拨请求6进行合并,得到新的资源调拨指令,即从从资源库U4调拨了m2-m1的目标资源到资源库U3,以此来替代之前的两个资源调拨请求分别产生的指令信息,整体上减少的实际调拨的次数,降低了资源调拨的成本。
又如,某个所述分组内的资源调拨请求7对应的源库为U5,目的库为U6,调拨资源数量信息为m3,同时,同一分组内存在另一资源调拨请求8对应于源库U6,目的库为U7,调拨资源数量信息为m4,同时,同一分组内存在又一资源调拨请求9对应于源库U6,目的库为U8,调拨资源数量信息为m5,假设m3=m4+m5,则基于合并操作所获得的资源调拨指令即对应:将直接从资源库U5调拨m4的目标资源到资源库U7,以及直接从资源库U5调拨m5的目标资源到资源库U8,由此,省去了目标资源先调入资源库U6,在从U6调往下一个资源库的过度操作。
在此,本领域技术人员应能理解上述资源流路径信息连通仅为举例,其他现有的或今后可能出现的其他资源流路径信息连通的方式如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。
优选地,所述第二单元132包括第一子单元(未示出)和第二子单元(未示出)。其中,所述第一子单元按每个资源调拨请求所对应的从源库至目的库的资源流,将每组资源调拨请求分解为一个或多个子组,其中,同一子组中的资源调拨请求的资源流相连通;所述第二子单元对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,所述第一子单元按每个资源调拨请求所对应的从源库至目的库的资源流,将每组资源调拨请求分解为一个或多个子组,其中,同一子组中的资源调拨请求的资源流相连通。在所述资源调拨请求的分组操作 中,可以基于所述资源流路径信息连通的信息,将所述一个分组中的资源调拨请求预先就分解成一个或多个子组,其中一个子组中的若干个资源调拨请求即能够满足所述资源流相连通的要求,例如,将目标资源对应的资源调拨请求划分为一组L,进一步,L组下包括子组L1、L2、L3、L4……,其中,子组L1中的若干个资源调拨请求可以满足源库和目的库相同或是交叉相同,即若是该子组L1中存在一个资源调拨请求对应的源库为U9,目的库为U10,那么此时,与它同在子组L1的目标资源的资源调拨请求存在两种情况,一是对应的源库为U9,目的库为U10,二是对应的源库为U10,目的库为U9。同时,所述子组L2中的若干个资源调拨请求可以包括多个资源库之间两两单向相同,即所述子组L1中的各个资源调拨请求对应的源库和目的库都在一条资源流,或是多条交叉的资源流上,例如,资源流对应的资源库是U11、U12、U13、U14,其中有的资源调拨请求对应的资源流路径是U11到U12,有的对应的资源流路径是U12到U13,有的对应的资源流路径是U12到U14,有的对应的资源流路径是U13到U14,……等等。
在此,所述各个分组中的子组的划分可以区分不同的资源流连通的方式而有不同的选择,例如上述所列举出的分组L1或是分组L2所对应的子组划分标准。具体运用中,对于一个波次的各个分组中的各个子组,可以只选择一种资源流连通方式,进而对应于一种子组划分方法,也可以根据实际需要,或是从简,或是从精,综合各种资源流连通方式,进而得到相应的多种子组划分方式。
在此,本领域技术人员应能理解上述资源流路径信息连通仅为举例,其他现有的或今后可能出现的其他资源流路径信息连通的方式如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。
接着,所述第二子单元对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。在此,基于所选择的具体划分方式,可以将所述分组进一步划分为多个子组,进一步,在所述各个子组中对所述资源调拨请求,结合其各自的源库和目的库信息,进行相应的合并操作, 例如合并掉多余的资源调拨操作,再基于所述合并操作的结果,确定最终需要进行调拨的目标资源种类、目标资源的调出库与调入库,得到最终的若干个资源调拨指令,并进一步实际执行所述资源调拨指令。
更优选地,所述第二子单元根据所述资源调拨请求的时间相关信息,对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,对于满足所述合并触发条件的同一个波次的多个资源调拨请求,各自都会对应自己的请求发生时间,甚至有的资源调拨请求还会对完成的时间有限制要求。由于资源调拨,特别是同种资源的各个调拨之间可能存在竞争冲突,所以所述资源调拨请求的时间相关信息,例如上述的请求发生时间、请求时间限制等信息,在某些应用场景下就显得十分重要。一般情况下,优选地,可以基于所述资源调拨请求生成的时间按顺序处理,例如,最终资源调拨指令所对应的原始的各个资源调拨请求中请求发生时间最早的时间标识为该最终资源调拨指令的对应的请求发生时间,通过比较该时间信息,确定所述资源调拨指令发出的先后顺序。进一步,若是某些资源调拨请求对应有时限要求,则时限紧迫的资源调拨请求对应的最终资源调拨指令会优选完成并发出。在此,基于所述资源调拨请求的时间相关信息,可以优选最终的资源调拨指令,整体上完成更高效的资源调拨作业。
优选地,所述资源调拨设备1包括第五装置(未示出),所述第五装置用于建立同一资源的不同资源标识信息间的资源映射关系;其中,当满足所述合并触发条件时,所述第一单元131根据每个资源调拨请求中的目标资源,并结合所述资源映射关系,对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求,其中,每组中的各资源调拨请求对应同一目标资源。
具体地,对于本申请所调拨的对象,对于同一种目标资源,可能仅仅对应一种资源标识信息,例如,同一种商品使用统一的商品条码;对于同一种目标资源,也可能存在多种资源标识信息,例如,同一种商品由于在 不同区域分配,所以对应多种商品标识码。更进一步,有的商品可以通过商品标码等商品标识码确定其统一的品牌、厂商、型号等商品参数信息。而有的商品可能缺乏统一的衡量标准,甚至商品自身的差异性很大。对于上述的各种情况,可以通过所述资源调拨设备1的第五装置建立同一资源的不同资源标识信息间的资源映射关系来解决。例如,对于存在不同种类商品标识码的同一种商品,可以确定一种最终辨识的商品标识码,如通用的商品条码,而将其他种类的商品标志码信息置换成对应的所述商品条码,再基于映射出的所述商品条码,完成所述目标资源的识别和归类。
又如,对于一些存在差异的同种商品,可以在所述目标资源对应的各个资源调用方协议基础上,对所述目标资源映射出一定的可辨识的近似范围,对于落入近似范围的目标资源确定一个相同的资源标识信息,从而完成对应的资源调拨操作。例如,某一目标商品对生产日期有较高要求,不同生产日期的相同商品有较大区分,此时,对于资源库W1中的目标商品,其产品日期是t1,对于资源库W2中的同种目标商品,其生产日期是t2,此时可以设置将所述生产日期t1和t2对应的所述目标资源映射为对应同一种资源标识信息的商品,此时资源库W1中的产品日期是t1的该目标商品和资源库W2中的生产日期是t2的该目标商品就可以基于上述的目标资源映射实现资源共享和调拨。
再进一步,对于存在差异较大的商品,可以设置所述资源映射关系中默认的同种可共享商品对应更宽的映射范围,在此,所述调拨可行的关键主要是各个资源调用请求方是否能够在达成协议的基础上,进行资源共享。若是资源调用请求方基于合意自愿达成共享,则他们确认的对应在同一映射范围的商品就可以唯一辨识为本申请中所述的同种商品,进而适用本申请中所述的资源调拨请求的合并操作,从而,各个资源调拨方可以实现所述同种商品的的共享、减少整体调拨次数。同时,为了保证所述默认的同种商品的质量的基本统一,所述资源映射关系的建立要基于合理的质量范围标准。更进一步,为了明晰共享的资源调拨方之间关于所述目标资源后续的权利和责任,还可以在调拨过程中,对每单商品都保留其商品原始商家的相关信息记录和调拨记录,商品自身的来源信息,以及商品质量 鉴定信息等相关数据信息。
进一步,当满足所述合并触发条件时,所述第一单元131根据每个资源调拨请求中的目标资源,并结合所述资源映射关系,对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求,其中,每组中的各资源调拨请求对应同一目标资源。
在此,可以通过建立同一资源的不同资源标识信息间的资源映射关系,基于实际的应用场景和需要来实现更大范围的目标资源的共享。
图3示出根据本申请另一个方面的一种资源调拨方法流程图。
其中,在步骤S31中,所述资源调拨设备1获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息;在步骤S32中,所述资源调拨设备1检测所述多个资源调拨请求是否满足合并触发条件;在步骤S33中,所述资源调拨设备1当满足所述合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,在步骤S31中,所述资源调拨设备1获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息。所获取的资源调拨请求包括资源请求方基于源库中目标资源的相关信息,如目标资源的库存信息,做出的资源调拨请求。所述资源请求方包括对所述目标资源有调拨权限的用户。所述用户可以通过登陆PC端的网页界面、移动端应用界面或是其他第三方系统等方式来提交自己的资源调拨请求。所获取的资源调拨请求的具体信息内容,可以包括目标资源的资源标识信息、目标资源的源库信息、目标资源的目的库信息、调拨资源数量信息等。进一步,在步骤S31中,对于所述获取的资源调拨请求,所述资源调拨设备1可以直接基于所述资源调拨请求创建的时间顺序来排列记录的顺序,也可以基于实际的需要,按照特定的顺序记录,例如,对于一些时效敏感的资源调拨请求,可以按照时效限制来排序,从而方便后续的调拨相关操作。进一步,基于对所述获取的资源调拨请求的处理,会给所述请求方返回一定的结果信息,例如,若是资源调拨请求的创建条件都满足,则向对应的请求方返回处理成功的信息,反之,则返回处理失败的信息,如所述 资源调拨请求对应的目标资源在源库的资源不足,此时,则会返回处理失败的信息给所述请求方。
在此,所述资源调拨请求所对应的待调拨的目标资源包括已经录入存储在所述源库中的资源,在所述资源录入存储到所述源库的过程中,可以优选地,采集所述资源的资源标识信息,以所述资源是一般商品为例,可以在商品入库时,采集所述商品的商品标码,作为所述商品的辨识信息,对于不存在商品标码的商品,也可以采集其他可用于辨识的资源标识信息;进而,对于首次入库的商品可以根据需要录入相应的商品标码、商品所有者信息、商品参数信息等,而对于非首次入库的商品,则可以基于与首次入库录入信息之间的匹配来完成入库操作记录,增加资源库中所述目标商品的库存等相关信息。在此,所述资源调拨请求所对应的待调拨的目标资源还可以包括还未录入存储到所述源库中的在途资源,此时,虽然目标资源还未到达对应资源库,但是出于实际操作中,对资源调拨更加高效和快速完成的需要,或是出于调拨的时效限制等原因,所述资源调拨设备1也可以基于调拨的实际需要,获得针对在途资源的资源调拨请求
接着,在步骤S32中,所述资源调拨设备1检测所述多个资源调拨请求是否满足合并触发条件。所述合并触发条件包括:所述资源调拨请求对应的一个波次达到时即触发合并操作。在此,将汇总了所述多个资源调拨请求的一个批次为单位进行操作作业,这样一个批次的作业即为所述一个波次。当所述资源调拨设备1获取一个当前资源调拨请求,此时,若是所设定的一个波次未到达,则判断从上一个波次到当前的所有资源调拨请求都不满足所述合并触发条件;若是所设定的一个波次当前到达,则判断从上一个波次到当前的所有资源调拨请求满足所述合并触发条件。在此,根据需要,优选地,一个系统内的不同资源库中资源调拨操作所设置的波次信息保持一致。或是,优选地,一个系统内的不同资源库中相同资源所对应的波次信息设置一致。进一步,所述一致的波次信息也可以理解为逻辑波次,在实际执行中,所述逻辑波次的频率可以比资源库对应的实际操作的物理波次要高,例如,设置各个资源库中资源调拨的逻辑波次是每T时间对应一个波次,即逻辑上,每T时间进行一次资源调拨合并操作,但是 实际上真正的物流调拨波次,可以是nT时间,即每隔nT时间,资源库之间才执行一轮实际的资源调拨操作。在此,因为,时间间隔越长,参与进行合并操作的资源调拨请求数量越多,对应最终的实际资源调拨次数和数量就越小,资源调拨优化的效果越明显,由此,可以基于逻辑波次信息,灵活调整实际的物理调拨波次,在时间限制或时效要求宽松的情况下,可以优选地,合并多个逻辑波次对应资源调拨请求,以完成更优的资源调拨操作的执行。
在此,本领域技术人员应能理解上述合并触发条件包括所述资源调拨请求对应的一个波次达到时即触发合并操作仅为举例,其他现有的或今后可能出现的其他合并触发条件如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。
优选地,所述合并触发条件包括以下至少任一项,即所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值;所述多个资源调拨请求的请求数量信息超过请求数量阈值;所述多个资源调拨请求的资源数量信息超过资源数量阈值;所述多个资源调拨请求中至少一个的处理时限要求超过第二时间阈值。
具体地,以所述合并触发条件包括所述资源调拨请求对应的一个波次达到时即触发合并操作为例,基于所述波次划分方式的不同,来理解各个所述合并触发条件。其中,所述合并触发条件包括所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值。例如,利用固定的时间点或时间段划分出所述资源调拨请求对应的各个波次,即设置所述的第一时间阈值,按照固定的时间点,如一天中的7:00,9:00,11:00,14:00,16:00,18:00,20:00为一个波次的开始时间;或是设置一定的时间段,如n天、n小时、n分钟为一个波次的持续时间。当所述资源调拨请求所涉及的时间跨度超过第一时间阈值时,判断在一个波次范围内的所述多个资源调拨请求满足合并触发条件。
其中,所述合并触发条件还包括所述多个资源调拨请求的请求数量信息超过请求数量阈值。例如,可以设置当所述资源调拨设备1获得的资源调拨请求达到请求数量阈值m时,即判断一个波次结束,在这个波次内的 所述m的资源调拨请求满足所述合并触发条件。
其中,所述合并触发条件还包括所述多个资源调拨请求的资源数量信息超过资源数量阈值。例如,可以设定对于目标资源的单个资源调拨请求的资源数量信息超过资源数量阀值U时,判断从上个波次到当前的所有目标资源对应的资源调拨请求对应当前波次,并满足所述合并触发条件;又如,还可以设定所述资源数量阈值V为多个资源调拨请求的资源数量信息之和,即从上个波次到当前的所有目标资源的资源调拨请求所对应的资源数量信息之和超过所述资源数量阈值V时,判断从上个波次到当前的所有目标资源对应的资源调拨请求对应当前波次,并满足所述合并触发条件。
其中,所述合并触发条件还包括所述多个资源调拨请求中至少一个的处理时限要求超过第二时间阈值。例如,可以为所述资源调拨请求设置所述第二时间阈值,当所述资源调拨请求超过所述第二时间阈值时,则判断从上一个波次到当前的所有目标资源对应的资源调拨请求对应当前波次,并满足所述合并触发条件。可以为所有的资源调拨请求设置统一的第二时间阈值,也可以基于目标资源对应的资源调拨请求的不同类型设置不同的第二时间阈值,还可以基于其他合理的区分标准为所述资源调拨请求设置有差异的第二时间阈值。
此外,所述合并触发条件可以对应于上述各个合并触发条件的独立适用,也可以根据实际需要,将各个单一的合并触发条件结合起来,组合适用。例如,对于上述目标资源的资源调拨请求设置的合并触发条件是:同时设置上述第一时间阈值和上述请求数量阈值,当所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值和所述多个资源调拨请求的请求数量信息超过请求数量阈值两个条件至少满足其一时,即判断满足上述合并触发条件。进一步,对于各个触发条件的适用可以设置优先级,例如,在设定所述合并触发条件时,优先考虑时限条件,如优先考虑所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值,当该条件不适用于所述资源调拨场景时,再考虑其他合并触发条件,如所述多个资源调拨请求的请求数量信息超过请求数量阈值这一条件。又如,在多个合并触发条件组合适用的场景下,所述多个资源调拨请求所涉及的时间跨度超过第一时间阈 值这一条件的适用,可以优先于所述多个资源调拨请求的请求数量信息超过请求数量阈值等其他条件,只有在前者未满足时,才考虑后面的其他条件。
在此,本领域技术人员应能理解上述所述合并触发条件包括以下至少任一项,即所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值;所述多个资源调拨请求的请求数量信息超过请求数量阈值;所述多个资源调拨请求的资源数量信息超过资源数量阈值;所述多个资源调拨请求中至少一个的处理时限要求超过第二时间阈值仅为举例,其他现有的或今后可能出现的其他内容的合并触发条件如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。
接着,当满足所述合并触发条件时,所述资源调拨设备1的在步骤S33中,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,当满足上述合并触发条件时,查询并确定从上一个波次到现在当期波次之间所有资源查询请求。基于上述查询请求所对应的资源的标识信息、源库信息、目的库信息等信息内容,对上述一个波次内的所有资源查询请求进行重新分组排列,遍历所述重排的上述资源查询请求,对于其中可以进行合并的对应于多个资源库的多个资源调拨请求进行合并操作,进而,基于合并的结果,调整一个波次内,目标资源的最终源库和对应的目的库,并计算出相应的实际调拨的目标资源的数量信息,进一步生成若干个所述资源调拨指令。在此,所述资源调拨指令包括上述目标资源的最终源库和对应的目的库,以及相应的实际调拨的目标资源的数量信息等内容。
优选地,当未满足所述合并触发条件时,在步骤S33中,所述资源调拨设备1挂起所述多个资源调拨请求。
具体地,以所述合并触发条件包括所述资源调拨请求对应的一个波次到达时即触发合并操作为例。在一个波次未到达时,在上一个波次到现在的所有资源调拨请求,都被相应地记录和保留下来,并不直接基于所述资源调拨请求向相应的目标资源的目的库发送资源调拨指令,此时,与所述 挂起的资源调拨请求对应的目标资源的源库中的待调拨资源并没有收到调拨指令,依然保持原状态。进一步,待所述合并触发条件满足后,例如当前波次到达时,再对一个波次内的所有资源调拨请求进行集体处理。此时,基于集体处理的结果所生成的资源调拨指令才会送达到对应的资源目的库。
在此,本申请通过对所获取的多个资源调拨请求进行合并触发条件的判断,并对满足所述合并触发条件的若干个资源调拨请求进行了合并操作,从而基于所述合并操作获得若干个资源调拨指令。基于此,本申请实现了一个资源库内和多个资源库之间相同目标资源的资源共享,将满足触发条件的若干个资源调拨请求看做是相互有关联的请求,通过所述合并操作,避免了相同目标资源在资源库之间重复的、非必要的调拨操作,进而在总体上减少了目标资源的实际调拨次数,减小了资源损耗概率,降低了实际调拨成本。
优选地,所述资源管理设备1还包括步骤S34(未示出),在步骤S34中所述资源调拨设备1执行所述资源调拨指令。
具体地,所述资源调拨指令包括从源库调拨目标资源至目的库的指令信息。在此,通过所述指令信息,可以确定所述一个波次内的实际调拨的目标资源种类、实际调拨的目标资源的源库信息、实际调拨的目标资源的目的库信息、实际调拨的资源数量信息等。可以将所述资源调拨指令下发到具体的源库中,完成相应的目标资源的调拨出仓操作,再调入所述目的库完成入库、盘点等相应操作。此外,所述资源调拨指令的执行还包括基于所述资源调拨请求锁定对应源库中的对应目标资源的情况下,依据所述指令信息,释放对应源库中的多余目标资源等其他可能存在的指令信息的执行。
优选地,在步骤S31中,所述资源调拨设备1用于对于每个资源调拨请求,锁定对应源库中的对应目标资源;其中,所述资源调拨指令还包括释放对应源库中的多余目标资源的指令信息。
具体地,理论上,若是所述源库中的目标资源足够充分,或是所述源库中的目标资源的库存远远大于所述源库中的所述目标资源的多个资源 调拨请求所请求的资源数量,则对于目标资源可以不设定上述锁定操作。若是为了确保在先请求所述源库中的目标资源的资源调拨请求能够顺利完成,避免出现实际调拨时资源不足的情况,在此,可以优选地,在获取所述资源调拨请求时,相应地锁定所述资源调拨请求对应的的源库中的对应目标资源,锁定的数量即为所述资源调拨请求对应的调拨的数量。进一步,与此相配合,在步骤S33中,所述资源调拨设备1基于所述资源调拨请求的合并操作,获得了若干个资源调拨指令时,所述资源调拨指令不仅包括从源库调拨目标资源至目的库的指令信息,还可以同时包括对所述锁定的多余的目标资源执行释放解锁操作的指令信息。由此,可以及时释放实际上并不需要调拨的目标资源,增加所述源库记录的库存信息,从而,为后续的资源调拨请求提供准确的可调拨目标资源的库存信息。
图4示出根据本申请一个优选实施例的一种资源调拨方法的部分流程图。
其中,所述资源调拨方法的步骤S33包括子步骤S331和子步骤S332。在子步骤S331中,当满足所述合并触发条件时,所述资源调拨设备1按每个资源调拨请求中的目标资源对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求;在子步骤S332中,所述资源调拨设备1对每组资源调拨请求中资源流相连通的多个资源调拨请求,进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,在子步骤S331中,所述资源调拨设备1按每个资源调拨请求中的目标资源对所述多个资源调拨请求进行分组,通过对所获得的资源调拨请求的重排,以获得一组或多组资源调拨请求。在此,所述目标资源在录入对应资源库时,即对应录入了相应的资源标识信息,用以作为唯一确定所述目标资源的辨识信息,具有同一资源标识信息的资源默认为是同一类目标资源,所述同一类目标资源因为默认存在可替代性,所以可以顺利的在不同资源库之间、基于不同资源方需要,进行资源调拨操作,从而基于所述同一类目标资源对应的多个资源调拨请求可以适用本方案所述的资源调拨请求合并操作,最终完成优化的资源调拨。在此,优选地,基 于所述目标资源对应的资源标识信息,对所述目标资源对应的多个资源调拨请求进行分组,例如,资源调拨请求1对应商品条码为A的商品,资源调拨请求2对应商品条码为B的商品,资源调拨请求3对应商品条码为A的商品,资源调拨请求4对应商品条码为B的商品,此时,所述资源调拨请求1和所述资源调拨请求3都对应商品条码为A的商品,即默认两者目标资源相同,划分为同一组,同理,所述资源调拨请求2和所述资源调拨请求4都对应商品条码为B的商品,即默认两者目标资源相同,共同划分为另一组。由此,基于所述资源调拨请求对应的目标资源,即可将所述资源调拨设备1所获取的所述资源调拨请求重排,划分为若干组别。进一步,还可以结合所述资源调拨请求的目标资源对应的资源辨识信息、源库信息、目的库信息,对所述资源调拨请求进行更细致的划分,例如,将一个波次内,所述商品条码为C、源库为U1,目的库为U2的所述资源调拨请求划分为一组。
接着,基于上述分组中各个资源调拨请求对应的具体请求信息,例如所请求资源对应的源库信息、目的库信息等,可以确定各个资源调拨请求的目标资源所对应的资源流路径信息,在此,同一个分组内的多个资源调拨请求因为资源流路径信息连通,而存在合并处理的可能和需要。所述资源流路径信息相通可以包括两个资源库之间互为源库和目的库,所述资源流双向调拨;所述资源流路径信息相通还可以包括多个资源库之间两两单向连通,即一个资源调拨请求的目的库是另一个资源调拨请求的源库;所述资源流路径信息相通还可以包括上述两种连通方式、或与可能存在的适用于本方案的其他连通方式的结合。
例如,某个所述分组内的资源调拨请求5对应的源库为U3,目的库为U4,调拨资源数量信息为m1,同时,同一分组内存在另一资源调拨请求6对应于源库U4,目的库为U3,调拨资源数量信息为m2,此时,所述资源调拨请求5与所述资源调拨请求6的资源流路径信息是相连通的,若基于现有技术,会先指令从资源库U3调拨m1的目标资源到资源库U4,再反过来指令从资源库U4调拨m2的目标资源到资源库U3,若假设m2>m1,结合整体效果来看,实际上,只是从从资源库U4调拨了m2-m1 的目标资源到资源库U3,因此,通过本申请所述的合并处理操作,将上述资源调拨请求5与所述资源调拨请求6进行合并,得到新的资源调拨指令,即从从资源库U4调拨了m2-m1的目标资源到资源库U3,以此来替代之前的两个资源调拨请求分别产生的指令信息,整体上减少的实际调拨的次数,降低了资源调拨的成本。
又如,某个所述分组内的资源调拨请求7对应的源库为U5,目的库为U6,调拨资源数量信息为m3,同时,同一分组内存在另一资源调拨请求8对应于源库U6,目的库为U7,调拨资源数量信息为m4,同时,同一分组内存在又一资源调拨请求9对应于源库U6,目的库为U8,调拨资源数量信息为m5,假设m3=m4+m5,则基于合并操作所获得的资源调拨指令即对应:将直接从资源库U5调拨m4的目标资源到资源库U7,以及直接从资源库U5调拨m5的目标资源到资源库U8,由此,省去了目标资源先调入资源库U6,在从U6调往下一个资源库的过度操作。
在此,本领域技术人员应能理解上述资源流路径信息连通仅为举例,其他现有的或今后可能出现的其他资源流路径信息连通的方式如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。
优选地,所述子步骤S332包括子步骤S3321(未示出)和子步骤S3322中(未示出)。其中,在子步骤S3321中,所述资源调拨设备1按每个资源调拨请求所对应的从源库至目的库的资源流,将每组资源调拨请求分解为一个或多个子组,其中,同一子组中的资源调拨请求的资源流相连通;在子步骤S3322中,所述资源调拨设备1对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,在子步骤S3321中,所述资源调拨设备1按每个资源调拨请求所对应的从源库至目的库的资源流,将每组资源调拨请求分解为一个或多个子组,其中,同一子组中的资源调拨请求的资源流相连通。在所述资源调拨请求的分组操作中,可以基于所述资源流路径信息连通的信息,将所述一个分组中的资源调拨请求预先就分解成一个或多个子组,其中一个子组中的若干个资源调拨请求即能够满足所述资源流相连通的要求,例 如,将目标资源对应的资源调拨请求划分为一组L,进一步,L组下包括子组L1、L2、L3、L4……,其中,子组L1中的若干个资源调拨请求可以满足源库和目的库相同或是交叉相同,即若是该子组L1中存在一个资源调拨请求对应的源库为U9,目的库为U10,那么此时,与它同在子组L1的目标资源的资源调拨请求存在两种情况,一是对应的源库为U9,目的库为U10,二是对应的源库为U10,目的库为U9。同时,所述子组L2中的若干个资源调拨请求可以包括多个资源库之间两两单向相同,即所述子组L1中的各个资源调拨请求对应的源库和目的库都在一条资源流,或是多条交叉的资源流上,例如,资源流对应的资源库是U11、U12、U13、U14,其中有的资源调拨请求对应的资源流路径是U11到U12,有的对应的资源流路径是U12到U13,有的对应的资源流路径是U12到U14,有的对应的资源流路径是U13到U14,……等等。
在此,所述各个分组中的子组的划分可以区分不同的资源流连通的方式而有不同的选择,例如上述所列举出的分组L1或是分组L2所对应的子组划分标准。具体运用中,对于一个波次的各个分组中的各个子组,可以只选择一种资源流连通方式,进而对应于一种子组划分方法,也可以根据实际需要,或是从简,或是从精,综合各种资源流连通方式,进而得到相应的多种子组划分方式。
在此,本领域技术人员应能理解上述资源流路径信息连通仅为举例,其他现有的或今后可能出现的其他资源流路径信息连通的方式如可适用于本发明,也应包含在本发明保护范围以内,并在此以引用方式包含于此。
接着,在子步骤S3322中,所述资源调拨设备1对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。在此,基于所选择的具体划分方式,可以将所述分组进一步划分为多个子组,进一步,在所述各个子组中对所述资源调拨请求,结合其各自的源库和目的库信息,进行相应的合并操作,例如合并掉多余的资源调拨操作,再基于所述合并操作的结果,确定最终需要进行调拨的目标资源种类、目标资源的调出库与调入库,得到最终的若干个资源调拨指令,并进一步实际执行所 述资源调拨指令。
更优选地,在子步骤S3322中,所述资源调拨设备1根据所述资源调拨请求的时间相关信息,对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
具体地,对于满足所述合并触发条件的同一个波次的多个资源调拨请求,各自都会对应自己的请求发生时间,甚至有的资源调拨请求还会对完成的时间有限制要求。由于资源调拨,特别是同种资源的各个调拨之间可能存在竞争冲突,所以所述资源调拨请求的时间相关信息,例如上述的请求发生时间、请求时间限制等信息,在某些应用场景下就显得十分重要。一般情况下,优选地,可以基于所述资源调拨请求生成的时间按顺序处理,例如,最终资源调拨指令所对应的原始的各个资源调拨请求中请求发生时间最早的时间标识为该最终资源调拨指令的对应的请求发生时间,通过比较该时间信息,确定所述资源调拨指令发出的先后顺序。进一步,若是某些资源调拨请求对应有时限要求,则时限紧迫的资源调拨请求对应的最终资源调拨指令会优选完成并发出。在此,基于所述资源调拨请求的时间相关信息,可以优选最终的资源调拨指令,整体上完成更高效的资源调拨作业。
优选地,所述资源调拨方法包括步骤S35(未示出),在步骤S35中,所述资源调拨设备1用于建立同一资源的不同资源标识信息间的资源映射关系;其中,当满足所述合并触发条件时,在子步骤S331中,所述资源调拨设备1根据每个资源调拨请求中的目标资源,并结合所述资源映射关系,对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求,其中,每组中的各资源调拨请求对应同一目标资源。
具体地,对于本申请所调拨的对象,对于同一种目标资源,可能仅仅对应一种资源标识信息,例如,同一种商品使用统一的商品条码;对于同一种目标资源,也可能存在多种资源标识信息,例如,同一种商品由于在不同区域分配,所以对应多种商品标识码。更进一步,有的商品可以通过商品标码等商品标识码确定其统一的品牌、厂商、型号等商品参数信息。 而有的商品可能缺乏统一的衡量标准,甚至商品自身的差异性很大。对于上述的各种情况,在步骤S35中,可以通过所述资源调拨设备1建立同一资源的不同资源标识信息间的资源映射关系来解决。例如,对于存在不同种类商品标识码的同一种商品,可以确定一种最终辨识的商品标识码,如通用的商品条码,而将其他种类的商品标志码信息置换成对应的所述商品条码,再基于映射出的所述商品条码,完成所述目标资源的识别和归类。
又如,对于一些存在差异的同种商品,可以在所述目标资源对应的各个资源调用方协议基础上,对所述目标资源映射出一定的可辨识的近似范围,对于落入近似范围的目标资源确定一个相同的资源标识信息,从而完成对应的资源调拨操作。例如,某一目标商品对生产日期有较高要求,不同生产日期的相同商品有较大区分,此时,对于资源库W1中的目标商品,其产品日期是t1,对于资源库W2中的同种目标商品,其生产日期是t2,此时可以设置将所述生产日期t1和t2对应的所述目标资源映射为对应同一种资源标识信息的商品,此时资源库W1中的产品日期是t1的该目标商品和资源库W2中的生产日期是t2的该目标商品就可以基于上述的目标资源映射实现资源共享和调拨。
再进一步,对于存在差异较大的商品,可以设置所述资源映射关系中默认的同种可共享商品对应更宽的映射范围,在此,所述调拨可行的关键主要是各个资源调用请求方是否能够在达成协议的基础上,进行资源共享。若是资源调用请求方基于合意自愿达成共享,则他们确认的对应在同一映射范围的商品就可以唯一辨识为本申请中所述的同种商品,进而适用本申请中所述的资源调拨请求的合并操作,从而,各个资源调拨方可以实现所述同种商品的的共享、减少整体调拨次数。同时,为了保证所述默认的同种商品的质量的基本统一,所述资源映射关系的建立要基于合理的质量范围标准。更进一步,为了明晰共享的资源调拨方之间关于所述目标资源后续的权利和责任,还可以在调拨过程中,对每单商品都保留其商品原始商家的相关信息记录和调拨记录,以及商品自身的来源信息,以及商品质量鉴定信息等相关数据信息。
进一步,当满足所述合并触发条件时,在子步骤S331中,所述资源 调拨设备1根据每个资源调拨请求中的目标资源,并结合所述资源映射关系,对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求,其中,每组中的各资源调拨请求对应同一目标资源。
在此,可以通过建立同一资源的不同资源标识信息间的资源映射关系,基于实际的应用场景和需要来实现更大范围的目标资源的共享。
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。

Claims (18)

  1. 一种资源调拨方法,其中,所述方法包括:
    获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息;
    检测所述多个资源调拨请求是否满足合并触发条件;
    当满足所述合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
  2. 根据权利要求1所述的方法,其中,所述获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息还包括:
    对于每个资源调拨请求,锁定对应源库中的对应目标资源;
    其中,所述资源调拨指令还包括释放对应源库中的多余目标资源的指令信息。
  3. 根据权利要求1或2所述的方法,其中,所述合并触发条件包括以下至少任一项:
    所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值;
    所述多个资源调拨请求的请求数量信息超过请求数量阈值;
    所述多个资源调拨请求的资源数量信息超过资源数量阈值;
    所述多个资源调拨请求中至少一个的处理时限要求超过第二时间阈值。
  4. 根据权利要求1至3中任一项所述的方法,其中,该方法还包括:
    执行所述资源调拨指令。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述当满足所述合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息包括:
    当满足所述合并触发条件时,按每个资源调拨请求中的目标资源对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求;
    对每组资源调拨请求中资源流相连通的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
  6. 根据权利要求5所述的方法,其中,所述对每组资源调拨请求中资源流相连通的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息包括:
    按每个资源调拨请求所对应的从源库至目的库的资源流,将每组资源调拨请求分解为一个或多个子组,其中,同一子组中的资源调拨请求的资源流相连通;
    对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
  7. 根据权利要求6所述的方法,其中,所述对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息包括:
    根据所述资源调拨请求的时间相关信息,对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
  8. 根据权利要求5至7中任一项所述的方法,其中,该方法还包括:
    建立同一资源的不同资源标识信息间的资源映射关系;
    其中,所述当满足所述合并触发条件时,按每个资源调拨请求中的目标资源对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求包括:
    当满足所述合并触发条件时,根据每个资源调拨请求中的目标资源,并结合所述资源映射关系,对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求,其中,每组中的各资源调拨请求对应同一目标资源。
  9. 根据权利要求1至8中任一项所述的方法,其中,所述当满足所述 合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息还包括:
    当未满足所述合并触发条件时,挂起所述多个资源调拨请求。
  10. 一种资源调拨设备,其中,所述设备包括:
    第一装置,用于获取多个资源调拨请求,其中,每个资源调拨请求包括从源库调拨目标资源至目的库的请求信息;
    第二装置,用于检测所述多个资源调拨请求是否满足合并触发条件;
    第三装置,用于当满足所述合并触发条件时,合并所述多个资源调拨请求,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
  11. 根据权利要求10所述的设备,其中,所述第一装置用于:
    对于每个资源调拨请求,锁定对应源库中的对应目标资源;
    其中,所述资源调拨指令还包括释放对应源库中的多余目标资源的指令信息。
  12. 根据权利要求10或11所述的设备,其中,所述合并触发条件包括以下至少任一项:
    所述多个资源调拨请求所涉及的时间跨度超过第一时间阈值;
    所述多个资源调拨请求的请求数量信息超过请求数量阈值;
    所述多个资源调拨请求的资源数量信息超过资源数量阈值;
    所述多个资源调拨请求中至少一个的处理时限要求超过第二时间阈值。
  13. 根据权利要求10至12中任一项所述的设备,其中,该设备还包括:
    第四装置,用于执行所述资源调拨指令。
  14. 根据权利要求10至13中任一项所述的设备,其中,所述第三装置包括:
    第一单元,用于当满足所述合并触发条件时,按每个资源调拨请求中的目标资源对所述多个资源调拨请求进行分组,以获得一组或多组资源调 拨请求;
    第二单元,用于对每组资源调拨请求中资源流相连通的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
  15. 根据权利要求14所述的设备,其中,所述第二单元包括:
    第一子单元,用于按每个资源调拨请求所对应的从源库至目的库的资源流,将每组资源调拨请求分解为一个或多个子组,其中,同一子组中的资源调拨请求的资源流相连通;
    第二子单元,用于对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
  16. 根据权利要求15所述的设备,其中,所述第二子单元用于:
    根据所述资源调拨请求的时间相关信息,对每个子组中的多个资源调拨请求进行合并处理,以获得一个或多个资源调拨指令,其中,每个资源调拨指令包括从源库调拨目标资源至目的库的指令信息。
  17. 根据权利要求14至16中任一项所述的设备,其中,所述设备还包括:
    第五装置,用于建立同一资源的不同资源标识信息间的资源映射关系;
    其中,所述第一单元用于:
    当满足所述合并触发条件时,根据每个资源调拨请求中的目标资源,并结合所述资源映射关系,对所述多个资源调拨请求进行分组,以获得一组或多组资源调拨请求,其中,每组中的各资源调拨请求对应同一目标资源。
  18. 根据权利要求10至17中任一项所述的设备,其中,所述第三装置还用于:
    当未满足所述合并触发条件时,挂起所述多个资源调拨请求。
PCT/CN2016/073448 2015-02-16 2016-02-04 一种资源调拨方法与设备 Ceased WO2016131388A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510084982.1 2015-02-16
CN201510084982.1A CN105988864A (zh) 2015-02-16 2015-02-16 一种资源调拨方法与设备

Publications (1)

Publication Number Publication Date
WO2016131388A1 true WO2016131388A1 (zh) 2016-08-25

Family

ID=56691952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073448 Ceased WO2016131388A1 (zh) 2015-02-16 2016-02-04 一种资源调拨方法与设备

Country Status (2)

Country Link
CN (1) CN105988864A (zh)
WO (1) WO2016131388A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009020A (zh) * 2016-10-31 2018-05-08 财付通支付科技有限公司 资源管理的方法、装置和系统
CN114612032A (zh) * 2020-12-09 2022-06-10 顺丰科技有限公司 一种笼资源调拨方法、装置及存储介质
CN115050119A (zh) * 2021-02-26 2022-09-13 北京骑胜科技有限公司 交通工具的安全控制方法和系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107527205A (zh) * 2017-08-24 2017-12-29 维沃移动通信有限公司 一种资源转移方法、服务器、接收终端及发送终端
CN108197858A (zh) * 2017-12-25 2018-06-22 康美药业股份有限公司 物料调拨方法、设备及计算机可读存储介质
CN110300130B (zh) * 2018-03-21 2022-04-29 中移(苏州)软件技术有限公司 一种资源调度方法、装置、电子设备及存储介质
CN110264047A (zh) * 2019-06-04 2019-09-20 无锡奥特维科技股份有限公司 质量标定方法、装置、设备及计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262753A (zh) * 2011-07-18 2011-11-30 华侨大学 一种多Agent的区域物流配送系统及其控制调度方法
CN102298732A (zh) * 2010-06-25 2011-12-28 中国联合网络通信集团有限公司 物流方法及物流系统
CN103186879A (zh) * 2013-01-30 2013-07-03 广州智盈网络科技有限公司 公路运输调度方法
CN103679426A (zh) * 2013-12-18 2014-03-26 北京京东尚科信息技术有限公司 一种传站车辆调度方法和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298732A (zh) * 2010-06-25 2011-12-28 中国联合网络通信集团有限公司 物流方法及物流系统
CN102262753A (zh) * 2011-07-18 2011-11-30 华侨大学 一种多Agent的区域物流配送系统及其控制调度方法
CN103186879A (zh) * 2013-01-30 2013-07-03 广州智盈网络科技有限公司 公路运输调度方法
CN103679426A (zh) * 2013-12-18 2014-03-26 北京京东尚科信息技术有限公司 一种传站车辆调度方法和系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009020A (zh) * 2016-10-31 2018-05-08 财付通支付科技有限公司 资源管理的方法、装置和系统
CN108009020B (zh) * 2016-10-31 2020-09-04 财付通支付科技有限公司 资源管理的方法、装置和系统
CN114612032A (zh) * 2020-12-09 2022-06-10 顺丰科技有限公司 一种笼资源调拨方法、装置及存储介质
CN115050119A (zh) * 2021-02-26 2022-09-13 北京骑胜科技有限公司 交通工具的安全控制方法和系统
CN115050118A (zh) * 2021-02-26 2022-09-13 北京骑胜科技有限公司 交通工具的安全控制方法和系统

Also Published As

Publication number Publication date
CN105988864A (zh) 2016-10-05

Similar Documents

Publication Publication Date Title
WO2016131388A1 (zh) 一种资源调拨方法与设备
US20200293549A1 (en) Blockchain-based data processing method and device
US20190354966A1 (en) Distributed Ledger System, Distributed Ledger Subsystem, and Distributed Ledger Node
CN110909079B (zh) 数据交换同步方法、系统、装置、服务器和存储介质
CN104113597B (zh) 一种多数据中心的hdfs数据读写方法
CN107783842B (zh) 一种分布式锁实现方法、设备及存储装置
CN113778652A (zh) 一种任务调度方法、装置、电子设备及存储介质
US9684689B2 (en) Distributed parallel processing system having jobs processed by nodes based on authentication using unique identification of data
CN111784318A (zh) 数据处理方法、装置、电子设备及存储介质
CN110581893B (zh) 数据传输方法、装置、路由设备、服务器及存储介质
US9854466B2 (en) Method and apparatus for managing monitoring task
CN112163035B (zh) 调用智能合约的方法及装置
CA3030250A1 (en) File storage method and apparatus for blockchain network
CN115062091A (zh) 一种基于异步方式的提升区块链数据吞吐量的方法及设备、介质
CN116402446B (zh) 一种货物的管理方法、装置、介质及电子设备
CN110659303A (zh) 一种数据库节点的读写控制方法及装置
CN113095936A (zh) 委托订单处理方法、装置、计算机设备和存储介质
CN113986963A (zh) 一种数据查询方法、系统及存储介质
CN109416818B (zh) 公司间信息共享系统和公司间信息共享方法
CN111291127B (zh) 一种数据同步方法、装置、服务器及存储介质
CN118689618B (zh) 任务处理方法、装置、设备、可读存储介质和程序产品
US20220091884A1 (en) Processing system, inter-processor communication method, and shared resource management method
US20240055110A1 (en) Method and apparatus for sharing data in intelligent pharmacovigilance platform
US20250103586A1 (en) System and method for writing and retrieval of data in blockchain
CN113127847A (zh) 一种数据的管理方法以及装置

Legal Events

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

Ref document number: 16751919

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16751919

Country of ref document: EP

Kind code of ref document: A1