CN109784795A - Inventory status calculation method, device, equipment and medium - Google Patents

Inventory status calculation method, device, equipment and medium Download PDF

Info

Publication number
CN109784795A
CN109784795A CN201711116161.7A CN201711116161A CN109784795A CN 109784795 A CN109784795 A CN 109784795A CN 201711116161 A CN201711116161 A CN 201711116161A CN 109784795 A CN109784795 A CN 109784795A
Authority
CN
China
Prior art keywords
calculating
business
calculating logic
calculated
property parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711116161.7A
Other languages
Chinese (zh)
Inventor
王杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Priority to CN201711116161.7A priority Critical patent/CN109784795A/en
Publication of CN109784795A publication Critical patent/CN109784795A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of inventory status calculation method, device, equipment and media to improve the accuracy of inventory's calculated result to enhance the flexibility of calculating logic configuration.The inventory status calculation method includes: the property parameters for obtaining business to be calculated;According to the corresponding relationship between the property parameters and calculating logic pre-established, determine the corresponding calculating logic of property parameters of the business to be calculated, wherein, the calculating logic for including in the corresponding relationship is to be generated according to predetermined configuration rule, and the predetermined configuration rule is that basis is constructed by the type of service that property parameters determine;The inventory status of the business to be calculated is calculated using the calculating logic determined.

Description

Inventory status calculation method, device, equipment and medium
Technical field
The present invention relates to field of cloud computer technology more particularly to a kind of inventory status calculation method, device, equipment and calculating Machine readable storage medium storing program for executing.
Background technique
In the diversified cloud computing of business, when facing flexible business scenario, to the business strain of inventory system, business More stringent requirements are proposed for operation and service bearer ability etc., needs inventory system that can calculate the library of different business scene Deposit state.
But it in existing inventory calculates, for various forms of clouds, is calculated using same set of calculating logic. The calculating factor in such same set of calculating logic of mode immobilizes, this will lead to the inaccuracy of calculated result.Such as: In cloud computing, there are various forms of clouds such as public cloud and proprietary domain.It, can be mutual by Intranet when calculating the inventory status of public cloud The networking protocol address (Internet Protocol, IP) is as one of calculating factor.But in the inventory status for calculating proprietary domain When, then without using IP address of internal network as the calculating factor.If also IP address of internal network is made when calculating the inventory status in proprietary domain To calculate one of factor, this will lead to the inaccuracy of calculated result.
In conclusion being calculated in the prior art using same set of calculating logic, calculating is patrolled for various forms of clouds The configuration collected is inflexible, the result inaccuracy for causing inventory to calculate.
Summary of the invention
The embodiment of the invention provides a kind of inventory status calculation method, device, equipment and computer readable storage medium, To enhance the flexibility of calculating logic configuration, the accuracy of inventory's calculated result is improved.
According to the one side of the embodiment of the present application, a kind of inventory status calculation method is provided, comprising:
Obtain the property parameters of business to be calculated;
According to the corresponding relationship between the property parameters and calculating logic pre-established, the attribute ginseng of business to be calculated is determined The corresponding calculating logic of number, wherein the calculating logic for including in corresponding relationship is generated according to predetermined configuration rule, And predetermined configuration rule is that basis is constructed by the type of service that property parameters determine;
The inventory status of business to be calculated is calculated using the calculating logic determined.
According to the another aspect of the embodiment of the present application, a kind of inventory status computing device is provided, comprising:
Module is obtained, for obtaining the property parameters of business to be calculated;
Routing module, for determining wait count according to the corresponding relationship between the property parameters pre-established and calculating logic The corresponding calculating logic of the property parameters of calculation business, wherein the calculating logic for including in corresponding relationship is according to predetermined What configuration rule generated, and predetermined configuration rule is that basis is constructed by the type of service that property parameters determine;
Computing module, for calculating the inventory status of business to be calculated using the calculating logic determined.
According to the another aspect of the embodiment of the present application, a kind of inventory's calculating status devices are provided, comprising: at least one processing Device, at least one processor and computer program instructions stored in memory, when computer program instructions are by processor The method such as any one of the embodiment of the present application is realized when execution.
According to the embodiment of the present application in another aspect, provide a kind of computer readable storage medium, it is stored thereon with calculating Machine program instruction realizes the method such as any one of the embodiment of the present application when computer program instructions are executed by processor.
According to the inventory status calculation method, device, equipment and computer readable storage medium of the embodiment of the present application, obtaining After the property parameters for taking business to be calculated, according to the corresponding relationship between the property parameters and calculating logic pre-established, really Determine the corresponding calculating logic of property parameters of business to be calculated, and calculates the library of business to be calculated using the calculating logic determined Deposit state.Since the calculating logic for including in corresponding relationship is to be generated according to predetermined configuration rule, and predefine Configuration rule be according to being constructed by the type of service that property parameters determine, namely in corresponding relationship, different business pair There should be different calculating logics, so that determining by pre-establishing the corresponding relationship between property parameters and calculating logic When the corresponding calculating logic of the property parameters of business to be calculated, the property parameters of different business to be calculated are capable of determining that difference Calculating logic, in the prior art using same set of calculating logic calculate different form cloud inventory status compared with, enhance The flexibility of calculating logic configuration, while improving the accuracy of inventory's calculated result.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, the drawings in the following description are only some examples of the present application, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic illustration that calculating logic is constructed in the embodiment of the present application;
Fig. 2 is the step schematic diagram of inventory status calculation method in the embodiment of the present application;
Fig. 3 is the structural schematic diagram of inventory status computing device in the embodiment of the present application;
Fig. 4 is the structural schematic diagram that inventory status calculates equipment in the embodiment of the present application.
Specific embodiment
The feature and exemplary embodiment of the various aspects of the application is described more fully below, in order to make the mesh of the application , technical solution and advantage be more clearly understood, with reference to the accompanying drawings and embodiments, the application is further retouched in detail It states.It should be understood that specific embodiment described herein is only configured to explain the application, it is not configured as limiting the application. To those skilled in the art, the application can be real in the case where not needing some details in these details It applies.Below the description of embodiment is used for the purpose of better understanding the application to provide by showing the example of the application.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including ... ", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
In view of in the prior art, for various forms of clouds, calculated using same set of calculating logic.Such mode is same The calculating factor in a set of calculating logic immobilizes, this will lead to the inaccuracy of calculated result.The embodiment of the present application proposes A kind of new inventory status numerical procedure, obtains the property parameters of business to be calculated;According to the property parameters and meter pre-established The corresponding relationship between logic is calculated, determines the corresponding calculating logic figure of the property parameters of business to be calculated, wherein in corresponding relationship Including calculating logic be to be generated according to predetermined configuration rule, and predetermined configuration rule is according to by attribute The type of service building that parameter determines;The inventory status of business to be calculated is calculated using the calculating logic determined.
In one embodiment, it before determining the corresponding calculating logic of property parameters of business to be calculated, needs pre- First establish the corresponding relationship between property parameters and calculating logic.It is established especially by following steps:
The property parameters of acquisition business determine the type of service of business based on the property parameters of business, according to the industry of business Service type constructs the configuration information for calculating the calculating logic of business inventory status, according to the configuration information of building and in advance The multiple calculating factors established construct calculating logic, establish the corresponding relationship between the property parameters of business and calculating logic.
In practical application, the business form of different kinds of business is different, so needing to calculate using different calculating logics Inventory status.For example, since the more southern weather of northern weather is cold, calculate Beijing area down jackets inventory status When used calculating logic, should be different from calculating used calculating logic when Hainan Region down jackets inventory status.Mirror In this, the application can establish a plurality of types of business when establishing the corresponding relationship between property parameters and calculating logic Corresponding relationship between property parameters and calculating logic subsequent determines the accurate of calculating logic according to the corresponding relationship to improve Property, and then improve the accuracy of calculated inventory status.
In one embodiment, the property parameters for obtaining business, the attribute including obtaining different types of multiple business Parameter.In the embodiment of the present application, the type of service of business is determined by the property parameters of business, certainly, the other implementations of the application It can also determine that the type of service of business, the application do not limit this in example by other parameters.
Specifically, in the embodiment of the present application, the property parameters of business, which refer to, is able to reflect one or more of business feature A parameter can determine the type of service of business by the property parameters of business, and then can distinguish different business.Business Property parameters may include it is following at least one: ground domain identifier, service identification and product identification.Wherein, ground domain identifier is used for The application region of identification service or the sales region of business, service identification are used for the classification of identification service, and product identification is used for Identify specific product.Certainly, in the application other embodiments, property parameters can also include other parameters, and citing comes It says, property parameters can also include but is not limited to: product type, product size etc..
In one embodiment, the combination by ground domain identifier, service identification and product identification is also not necessarily limited to come area Divide different business, if a certain business only exists in specific region, the business, Ci Zhongye only can be identified by ground domain identifier The property parameters of business can only include ground domain identifier.
In the embodiment of the present application, calculates the factor and refer to and can not divide again, calculating logic single algorithm factor.Calculating is patrolled It can only include a calculating factor in volume, also may include multiple calculating factors with logical relation.The identical calculations factor The calculating logic of combination producing, may be different because calculating the logical relation difference between the factor.Logical relation is based on characterizing Calculate the factor between calculated relationship, such as: for simple binary logic relationship, logical relation include logic " with (and) " and Logic " or (or) ".
In the embodiment of the present application, since different business can get different property parameters, and different attributes is joined Number is capable of determining that different types of service, different types of service can construct different configuration informations again, and different matches Configuration is generated different calculating logics by confidence breath.Therefore, the corresponding relationship between the property parameters of foundation and calculating logic In, the property parameters of different business correspond to different calculating logics namely different business corresponds to different calculating logics.
In one embodiment, one or more calculating factors can be multiplexed between different calculating logics.For difference The calculating factor being multiplexed between calculating logic can only write a calculating factor, then carry out between multiple calculating logics Multiplexing, without individually writing the calculating factor of multiplexing for each calculating logic, to improve the utilization rate for calculating the factor, together The formation efficiency of Shi Tigao calculating logic, and then can be improved the response speed for calculating inventory status.
In one embodiment, the corresponding relationship between the property parameters pre-established and calculating logic can use The form of tree topology is stored.Wherein, each trunk node and Zhi Jiedian correspond to the attribute of storage service in tree topology Parameter, the corresponding storage calculating logic of leaf node in tree topology.In this way, the property parameters for obtaining business to be calculated it It afterwards, can be according to the property parameters of business to be calculated, between the property parameters and calculating logic stored in the form of tree topology Corresponding relationship in, be routed to the corresponding calculating logic of property parameters of business to be calculated.
It is of course also possible to otherwise come store between the property parameters pre-established and calculating logic it is corresponding pass System, such as: the corresponding relationship between property parameters and calculating logic can be stored in the form of Star topology, ring topology.
In one embodiment, can in the corresponding relationship between the property parameters and calculating logic pre-established, The corresponding relationship for increasing, being deleted or modified between property parameters and calculating logic is improved true with reducing the redundancy in corresponding relationship The efficiency of the corresponding calculating logic of property parameters of fixed business to be calculated.
In one example, calculating logic figure can be used to indicate calculating logic, patrolled with the more vivid calculating that shows Each logical relation calculated between the factor in volume.
Below with reference to Fig. 1, for using calculating logical diagram to show calculating logic, to the meter generated in the embodiment of the present application Calculate being described in detail for logic.
As shown in Figure 1, pre-establishing there are three the factor is calculated, it is respectively as follows: and calculates factor IP, calculates factor M AC and meter Factor Ⅴ M is calculated, it is one or more can to configure generation according to different configuration informations based on the three calculating factors pre-established Different calculating logic figures.Such as: calculating logic Figure 11, calculating logic Figure 12 shown in Fig. 1 and calculating logic Figure 13.
Wherein, include calculating factor IP, calculate factor Ⅴ M and calculating factor M AC in calculating logic Figure 11, calculate factor IP It is logical "and" relationship with the logical relation calculated between factor Ⅴ M, the logic for calculating factor IP and calculating between factor M AC is closed System is logical "or" relationship, and the logical relation for calculating factor Ⅴ M and calculating between factor M AC is logical "or" relationship;Calculating logic It include calculating factor IP and calculating factor Ⅴ M in Figure 12, the logical relation for calculating factor IP and calculating between factor Ⅴ M is logic "AND" relationship;Include calculating factor IP, calculate factor Ⅴ M and calculating factor M AC in calculating logic Figure 13, calculates factor IP and meter Calculate factor Ⅴ M between logical relation, calculate factor IP and calculate factor M AC between logical relation and calculate factor Ⅴ M with The logical relation calculated between factor M AC is logical "or" relationship.
Can be seen that in the embodiment of the present application from the calculating logic figure of above-mentioned generation can answer between multiple calculating logic figures The factor is calculated with one or more, i.e. the calculating factor may be reused in multiple calculating logic figures.Such as: calculating logic figure 11, comprising calculating factor IP in calculating logic Figure 12 and calculating logic Figure 13.
It is described in detail below by scheme of the specific embodiment to the embodiment of the present application, certainly, the application not office It is limited to following embodiment.
A kind of inventory status calculation method provided by the embodiments of the present application, as shown in Fig. 2, inventory status calculation method includes Following steps:
Step 201, the property parameters of business to be calculated are obtained.
When it is implemented, the property parameters of business can be defined in the business of creation by user, then in the business of acquisition Property parameters when, can be obtained from user-defined content.
Step 202, according to the corresponding relationship between the property parameters and calculating logic pre-established, business to be calculated is determined The corresponding calculating logic of property parameters, wherein the calculating logic for including in corresponding relationship be according to predetermined configuration advise It then generates, and predetermined configuration rule is that basis is constructed by the type of service that property parameters determine.
Step 203, the inventory status of business to be calculated is calculated using the calculating logic determined.
In the embodiment of the present application, the inventory status of business to be calculated is calculated using the calculating logic determined, including following Two kinds of situations:
Situation one, calculating logic be only comprising one calculating the factor calculating logic, then calculate in calculating logic calculate because The state of son, and using the calculated state for calculating the factor as the inventory status of business to be calculated.
In other words, only include one in calculating logic to calculate because of the period of the day from 11 p.m. to 1 a.m, inventory status and the calculating of business to be calculated are patrolled The state for the calculating factor for including in volume is identical.
Situation two, calculating logic are the calculating logic comprising multiple calculating factors with logical relation, then calculate separately In calculating logic it is each calculate the factor state, according in calculating logic it is each calculate the factor state and multiple calculating factors it Between logical relation, determine the state of calculating logic, and using the state of calculating logic as the inventory status of business to be calculated.
In one example, in the Fig. 1 for indicating calculating logic using calculating logic figure, for calculating logic Figure 12, meter The logical relation calculating factor IP and calculating between factor Ⅴ M is logical "and" relationship, then only when the state and meter for calculating factor IP When the state of calculation factor Ⅴ M is true, the inventory status of business to be calculated is just true.
In another example, in the Fig. 1 for indicating calculating logic using calculating logic figure, for calculating logic Figure 13, meter Calculate factor IP and calculate factor Ⅴ M between logical relation, calculate factor IP and calculate factor M AC between logical relation and The logical relation for calculating factor Ⅴ M and calculating between factor M AC is logical "or" relationship, then calculates the state of factor IP, calculates The state of factor Ⅴ M and when calculating in the state of factor M AC that have at least one be true, the inventory status of business to be calculated is as true.
Based on the same inventive concept, the embodiment of the present application provides a kind of inventory status computing device, as shown in figure 3, library Deposit state calculating device, comprising:
Module 31 is obtained, for obtaining the property parameters of business to be calculated.
Routing module 32, for according to the corresponding relationship between the property parameters pre-established and calculating logic, determine to The corresponding calculating logic of the property parameters of calculating business, wherein the calculating logic for including in corresponding relationship is according to predetermined Configuration rule generate, and predetermined configuration rule is according to being constructed by the type of service that property parameters determine.
Computing module 33, for calculating the inventory status of business to be calculated using the calculating logic determined.
Inventory status computing device provided by the embodiments of the present application, after the property parameters for obtaining business to be calculated, root According to the corresponding relationship between the property parameters and calculating logic pre-established, the corresponding meter of the property parameters of business to be calculated is determined Logic is calculated, and calculates the inventory status of business to be calculated using the calculating logic determined.Due to the meter for including in corresponding relationship Calculating logic is to be generated according to predetermined configuration rule, and predetermined configuration rule is that basis is determined by property parameters Type of service building, namely in corresponding relationship, different business is corresponding with different calculating logics, so that passing through The corresponding relationship between property parameters and calculating logic is pre-established, determines that the corresponding calculating of the property parameters of business to be calculated is patrolled When collecting, the property parameters of different business to be calculated are capable of determining that different calculating logics, same set of with using in the prior art The inventory status that calculating logic calculates different form cloud is compared, and enhances the flexibility of calculating logic configuration, while improving inventory The accuracy of calculated result.
In one embodiment, it inventory status computing device further include: corresponding relationship constructs module 34, is used for: obtains The property parameters of business;The type of service of business is determined based on the property parameters of business;According to the type of service of business, building is used In the configuration information for the calculating logic for calculating business inventory status;According to the configuration information of building and the multiple calculating pre-established The factor constructs calculating logic;Establish the corresponding relationship between the property parameters of business and calculating logic.
In one embodiment, calculating logic comprises at least one of the following: the calculating only comprising a calculating factor is patrolled It collects, the calculating logic comprising multiple calculating factors with logical relation.
In one embodiment, computing module 33 are specifically used for: the state that the factor is calculated in calculating logic is calculated, and The state of the factor will be calculated as the inventory status of business to be calculated.
In one embodiment, computing module 33 are specifically used for: calculating separately each calculating factor in calculating logic State;According to each state for calculating the factor and multiple logical relations calculated between the factor, the state of calculating logic is determined, it will Inventory status of the state of calculating logic as business to be calculated.
In one embodiment, one or more calculating factors are multiplexed between different calculating logics.
In one embodiment, calculating logic is indicated in the form of calculating logic figure.
In one embodiment, property parameters include it is following at least one: ground domain identifier, service identification and product mark Know.
Equipment can be calculated in conjunction with the inventory status calculation method of Fig. 2 the embodiment of the present application described Lai real by inventory status It is existing.Fig. 4 shows the hardware structural diagram that inventory status provided by the embodiments of the present application calculates equipment.
It may include processor 401 and the memory 402 for being stored with computer program instructions that inventory status, which calculates equipment,.
Specifically, above-mentioned processor 401 may include central processing unit (CPU) or specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement the application implementation One or more integrated circuits of example.
Memory 402 may include the mass storage for data or instruction.For example it rather than limits, memory 402 may include hard disk drive (Hard Disk Drive, HDD), floppy disk drive, flash memory, CD, magneto-optic disk, tape or logical With the combination of universal serial bus (Universal Serial Bus, USB) driver or two or more the above.It is closing In the case where suitable, memory 402 may include the medium of removable or non-removable (or fixed).In a suitable case, it stores Device 402 can be inside or outside data processing equipment.In a particular embodiment, memory 402 is nonvolatile solid state storage Device.In a particular embodiment, memory 402 includes read-only memory (ROM).In a suitable case, which can be mask ROM, programming ROM (PROM), erasable PROM (EPROM), the electric erasable PROM (EEPROM), electrically-alterable ROM of programming (EAROM) or the combination of flash memory or two or more the above.
Processor 401 is by reading and executing the computer program instructions stored in memory 402, to realize above-mentioned implementation Any one inventory status calculation method in example.
In one example, inventory status, which calculates equipment, may also include communication interface 403 and bus 410.Wherein, such as Fig. 4 Shown, processor 401, memory 402, communication interface 403 connect by bus 410 and complete mutual communication.
Communication interface 403 is mainly used for realizing in the embodiment of the present application between each module, device, unit and/or equipment Communication.
Bus 410 includes hardware, software or both, and the component that inventory status calculates equipment is coupled to each other together.It lifts It for example rather than limits, bus may include accelerated graphics port (AGP) or other graphics bus, enhancing Industry Standard Architecture (EISA) bus, front side bus (FSB), super transmission (HT) interconnection, Industry Standard Architecture (ISA) bus, infinite bandwidth interconnect, are low Number of pins (LPC) bus, memory bus, micro- channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI- Express (PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association part (VLB) bus or The combination of other suitable buses or two or more the above.In a suitable case, bus 410 may include one Or multiple buses.Although specific bus has been described and illustrated in the embodiment of the present application, the application considers any suitable bus Or interconnection.
The inventory status, which calculates equipment, can execute the embodiment of the present application based on the property parameters of the business to be calculated of acquisition In inventory status calculation method, thus realize in conjunction with Fig. 2 describe inventory status calculation method.
In addition, in conjunction with the inventory status calculation method in above-described embodiment, the embodiment of the present application can provide a kind of computer Readable storage medium storing program for executing is realized.Computer program instructions are stored on the computer readable storage medium;The computer program refers to Enable any one the inventory status calculation method realized in above-described embodiment when being executed by processor.
It should be clear that the invention is not limited to specific configuration described above and shown in figure and processing. For brevity, it is omitted here the detailed description to known method.In the above-described embodiments, several tools have been described and illustrated The step of body, is as example.But method process of the invention is not limited to described and illustrated specific steps, this field Technical staff can be variously modified, modification and addition after understanding spirit of the invention, or suitable between changing the step Sequence.
Functional block shown in structures described above block diagram can be implemented as hardware, software, firmware or their group It closes.When realizing in hardware, it may, for example, be electronic circuit, specific integrated circuit (ASIC), firmware appropriate, insert Part, function card etc..When being realized with software mode, element of the invention is used to execute program or the generation of required task Code section.Perhaps code segment can store in machine readable media program or the data-signal by carrying in carrier wave is passing Defeated medium or communication links are sent." machine readable media " may include any medium for capableing of storage or transmission information. The example of machine readable media includes electronic circuit, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), soft Disk, CD-ROM, CD, hard disk, fiber medium, radio frequency (RF) link, etc..Code segment can be via such as internet, inline The computer network of net etc. is downloaded.
It should also be noted that, the exemplary embodiment referred in the present invention, is retouched based on a series of step or device State certain methods or system.But the present invention is not limited to the sequence of above-mentioned steps, that is to say, that can be according in embodiment The sequence referred to executes step, may also be distinct from that the sequence in embodiment or several steps are performed simultaneously.
The above description is merely a specific embodiment, it is apparent to those skilled in the art that, For convenience of description and succinctly, the system, module of foregoing description and the specific work process of unit can refer to preceding method Corresponding process in embodiment, details are not described herein.It should be understood that scope of protection of the present invention is not limited thereto, it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.

Claims (11)

1. a kind of inventory status calculation method, which is characterized in that the described method includes:
Obtain the property parameters of business to be calculated;
According to the corresponding relationship between the property parameters and calculating logic pre-established, the attribute ginseng of the business to be calculated is determined The corresponding calculating logic of number, wherein the calculating logic for including in the corresponding relationship is raw according to predetermined configuration rule At, and the predetermined configuration rule is that basis is constructed by the type of service that property parameters determine;
The inventory status of the business to be calculated is calculated using the calculating logic determined.
2. the method according to claim 1, wherein being patrolled in the property parameters that the basis pre-establishes with calculating Corresponding relationship between volume, before the corresponding calculating logic of property parameters for determining the business to be calculated, the method is also wrapped It includes:
The property parameters of acquisition business;
The type of service of the business is determined based on the property parameters of the business;
According to the type of service of the business, the configuration information for calculating the calculating logic of the business inventory status is constructed;
According to the configuration information of building and the multiple calculating factors pre-established, calculating logic is constructed;
Establish the corresponding relationship between the property parameters of the business and the calculating logic.
3. according to the method described in claim 2, it is characterized in that, the calculating logic comprises at least one of the following: only including Calculating logic, the calculating logic comprising multiple calculating factors with logical relation of one calculating factor.
4. according to the method described in claim 3, it is characterized in that, the calculating logic is the meter for only including a calculating factor When calculating logic, the calculating logic that the utilization is determined calculates the inventory status of the business to be calculated, comprising:
Calculate the state that the factor is calculated in the calculating logic;
Using the state for calculating the factor as the inventory status of the business to be calculated.
5. according to the method described in claim 3, it is characterized in that, the calculating logic is comprising multiple with logical relation When calculating the calculating logic of the factor, the calculating logic that the utilization is determined calculates the inventory status of the business to be calculated, packet It includes:
Calculate separately each state for calculating the factor;
According to each state for calculating the factor and multiple logical relations calculated between the factor, the shape of the calculating logic is determined State;
Using the state of the calculating logic as the inventory status of the business to be calculated.
6. according to the method described in claim 3, it is characterized in that, between different calculating logic multiplexing it is one or more calculate because Son.
7. method according to claim 1 to 6, which is characterized in that the calculating logic is with calculating logic figure Form indicates.
8. method according to claim 1 to 6, which is characterized in that the property parameters include following at least one It is a: ground domain identifier, service identification and product identification.
9. a kind of inventory status computing device characterized by comprising
Module is obtained, for obtaining the property parameters of business to be calculated;
Routing module, for determining described wait count according to the corresponding relationship between the property parameters pre-established and calculating logic The corresponding calculating logic of the property parameters of calculation business, wherein the calculating logic for including in the corresponding relationship is according to true in advance What fixed configuration rule generated, and the predetermined configuration rule is constructed according to the type of service determined by property parameters 's;
Computing module, for calculating the inventory status of the business to be calculated using the calculating logic determined.
10. a kind of inventory status calculates equipment characterized by comprising at least one processor, at least one processor and The computer program instructions of storage in the memory, are realized when the computer program instructions are executed by the processor Such as method of any of claims 1-8.
11. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that when the calculating Such as method of any of claims 1-8 is realized when machine program instruction is executed by processor.
CN201711116161.7A 2017-11-13 2017-11-13 Inventory status calculation method, device, equipment and medium Pending CN109784795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711116161.7A CN109784795A (en) 2017-11-13 2017-11-13 Inventory status calculation method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711116161.7A CN109784795A (en) 2017-11-13 2017-11-13 Inventory status calculation method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN109784795A true CN109784795A (en) 2019-05-21

Family

ID=66493530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711116161.7A Pending CN109784795A (en) 2017-11-13 2017-11-13 Inventory status calculation method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109784795A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101703A (en) * 2020-07-29 2020-12-18 山东浪潮通软信息科技有限公司 Metadata-based predicted available inventory statistical method and device
CN112232115A (en) * 2020-09-07 2021-01-15 北京北大千方科技有限公司 Calculation factor implantation method, medium and equipment
CN113094031A (en) * 2021-03-16 2021-07-09 上海晓途网络科技有限公司 Factor generation method and device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719244A (en) * 2009-12-29 2010-06-02 金蝶软件(中国)有限公司 Method for processing inventory documents, application server and enterprise network system
CN103177329A (en) * 2011-12-22 2013-06-26 Sap股份公司 Rule-based determination and validation in business object processing
CN105139090A (en) * 2015-08-25 2015-12-09 国网天津市电力公司 Power industry safety stock decision analysis method based on consumption prediction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719244A (en) * 2009-12-29 2010-06-02 金蝶软件(中国)有限公司 Method for processing inventory documents, application server and enterprise network system
CN103177329A (en) * 2011-12-22 2013-06-26 Sap股份公司 Rule-based determination and validation in business object processing
CN105139090A (en) * 2015-08-25 2015-12-09 国网天津市电力公司 Power industry safety stock decision analysis method based on consumption prediction

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112101703A (en) * 2020-07-29 2020-12-18 山东浪潮通软信息科技有限公司 Metadata-based predicted available inventory statistical method and device
CN112101703B (en) * 2020-07-29 2023-02-28 浪潮通用软件有限公司 Metadata-based predicted available inventory statistical method and device
CN112232115A (en) * 2020-09-07 2021-01-15 北京北大千方科技有限公司 Calculation factor implantation method, medium and equipment
CN112232115B (en) * 2020-09-07 2024-02-13 北京北大千方科技有限公司 Method, medium and equipment for implanting calculation factors
CN113094031A (en) * 2021-03-16 2021-07-09 上海晓途网络科技有限公司 Factor generation method and device, computer equipment and storage medium
CN113094031B (en) * 2021-03-16 2024-02-20 上海晓途网络科技有限公司 Factor generation method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107819829B (en) Method and system for accessing block chain, block chain node point equipment and user terminal
CN108243044B (en) Service deployment method and device
CN109784795A (en) Inventory status calculation method, device, equipment and medium
CN109451540B (en) Resource allocation method and equipment for network slices
CN109146490A (en) block generation method, device and system
CN108027789A (en) The service quality of interconnection piece with multistage arbitration
CN109768883A (en) A kind of the determination method, apparatus and terminal device in network topology path
CN108062243A (en) Generation method, task executing method and the device of executive plan
CN109656767A (en) A kind of acquisition methods, system and the associated component of CPLD status information
CN110197149A (en) Ear's critical point detection method, apparatus, storage medium and electronic equipment
CN110262775A (en) Business rule generation method and device
CN115208815A (en) Routing method and routing device
CN109951508A (en) Request coordination approach and device, computer equipment and storage medium based on Zookeeper
CN113890831B (en) Method, device and storage medium for simulating network equipment
CN116911227A (en) Logic mapping method, device, equipment and storage medium based on hardware
CN109982349A (en) Configuration method, configuration device, equipment and the medium of the different system adjacent cell of LTE
CN109558518A (en) The method, apparatus and storage medium of community discovery in a kind of determining social networks
CN108270672A (en) A kind of method and device for calculating circuit routing
CN109933415A (en) Processing method, device, equipment and the medium of data
CN109361618B (en) Data flow marking method and device, computer equipment and storage medium
CN106921547A (en) The apparatus and method of management equipment
CN110430140A (en) Path processing method, device, equipment and storage medium
CN109450656A (en) A kind of charging flow drawing generating method and device
CN107193656B (en) Resource management method of multi-core system, terminal device and computer readable storage medium
CN110071828A (en) Alarm method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190521

RJ01 Rejection of invention patent application after publication