Precise multidimensional material linkage utilization method and device based on ZigBee
1. The precise multidimensional material linkage utilization method based on ZigBee is characterized by comprising the following steps:
acquiring a material linkage table of all linkage spaces based on ZigBee, wherein linkage materials in the material linkage table comprise a plurality of types of linkable materials and non-linkable materials;
calculating a demand index of each linkage space according to the number of linkable materials, the number of non-linkable materials and corresponding linkage space labels in the linkage space, wherein the demand index comprises a plurality of demand sub-indexes with different linkage dimensions;
selecting any one linkage dimension, and performing linkage requirement sequencing on a plurality of linkage spaces based on the requirement sub-index under the linkage dimension to obtain a linkage sequencing result;
linkage utilization of a plurality of types of linkage materials in a plurality of linkage spaces is realized based on linkage sequencing results of a plurality of linkage dimensions, wherein the quantity of the materials needing to be linked in each linkage space is calculated through the following formula, and the linkage utilization method comprises the following steps:
wherein y is a demand sub-index corresponding to each linkage dimension,the number of linkage supplies of corresponding linkage dimensions required to be distributed in the linkage space with the positive demand index, the linkage supplies are distributed when the demand index is positive,the number of linkage materials of corresponding linkage dimensions required to be distributed in the linkage space with the negative demand index is equal to the number of linkage materials of the corresponding linkage dimensions required to be distributed in the linkage space with the negative demand index, and if the demand index is negative, the linkage materials are separated;
wherein the content of the first and second substances,the number of linkage materials currently possessed by the linkage space with the negative demand index in the corresponding linkage dimension,for a preset quantity of material in the corresponding linkage dimension,is the requirement sub-index of the mth linkage space,for corresponding linkage dimensionAll demand indices in (1) are the sum of positive demand sub-indices.
2. The ZigBee-based precision multi-dimensional material linkage utilization method as claimed in claim 1,
the demand index of the linkage space is calculated according to the number of the linkable materials, the number of the non-linkable materials and the corresponding linkage space tags in each linkage space, and comprises the following steps:
generating at least one linkage space tag based on attribute information of a linkage space, wherein each linkage space tag corresponds to the preset material quantity of at least one dimension;
calculating the quantity of the linkable materials or the quantity of the non-linkable materials of the corresponding linkage dimension in the linkage space and the preset material quantity to obtain a demand sub-index of the linkage dimension;
and counting all the required sub-indexes of different linkage dimensions in one linkage space to generate the required index of the linkage space.
3. The ZigBee-based precise multi-dimensional material linkage utilization method as claimed in claim 2,
calculating the quantity of the linkable materials or the quantity of the non-linkable materials of the corresponding linkage dimension in the linkage space and the preset material quantity, and obtaining the demand sub-index of the linkage dimension comprises the following steps:
calculating a demand sub-index by the following formula, including:
wherein the content of the first and second substances,the number of the linked materials or the number of the non-linked materials of the corresponding linkage dimension,the method is characterized in that the number of materials is preset, k is a normalization coefficient, A is a linkage positive weight, and B is a linkage negative weight.
4. The ZigBee-based precise multi-dimensional material linkage utilization method as claimed in claim 3,
selecting any one linkage dimension, and performing linkage requirement sequencing on a plurality of linkage spaces based on the requirement sub-index under the linkage dimension to obtain a linkage sequencing result, wherein the linkage sequencing result comprises the following steps:
and extracting all the demand sub-indexes which are not 0 and correspond to the linkage dimensionality in each linkage space, and sequencing the demand sub-indexes according to a descending order.
5. The ZigBee-based precise multi-dimensional material linkage utilization method as claimed in claim 2,
generating at least one linkage space tag based on attribute information of a linkage space, wherein the quantity of the preset materials of each linkage space tag corresponding to at least one dimension comprises:
acquiring keywords included in the attribute information, matching the keywords based on a natural language processing technology, and selecting at least one linkage space tag corresponding to the keywords;
and receiving configuration information, and configuring at least one dimensionality preset material quantity for any one or more linkage space tags based on the configuration information.
6. The ZigBee-based precise multi-dimensional material linkage utilization method as claimed in claim 2,
acquire the material linkage table in all linkage spaces based on zigBee, linkage material in the material linkage table includes the material that can link of a plurality of kinds and can not link the material and include:
acquiring a material linkage table in each linkage space at intervals of preset time based on ZigBee;
the method comprises the steps of obtaining the type of each linkage material in a material linkage table, and dividing the linkage material into a linkable material and a non-linkable material based on the type of the linkage material.
7. The ZigBee-based precise multi-dimensional material linkage utilization method according to claim 6, further comprising the following steps:
and receiving change information, and modifying the type of each linkage material based on the change information so as to modify the material linkage table.
8. Accurate multidimension material linkage utilizes device based on zigBee, its characterized in that includes:
the acquisition module is used for acquiring the material linkage tables of all linkage spaces based on ZigBee, and linkage materials in the material linkage tables comprise a plurality of types of linkable materials and non-linkable materials;
the calculation module is used for calculating a demand index of each linkage space according to the number of the linkable materials, the number of the non-linkable materials and the corresponding linkage space tags in the linkage space, wherein the demand index comprises a plurality of demand sub-indexes with different linkage dimensions;
the sorting module is used for selecting any linkage dimension and carrying out linkage demand sorting on a plurality of linkage spaces based on the demand sub-index under the linkage dimension to obtain a linkage sorting result;
the linkage utilization module is used for utilizing the linkage of a plurality of types of linkable materials in a plurality of linkage spaces based on the linkage sequencing results of a plurality of linkage dimensions, wherein the quantity of the materials needing to be linked in each linkage space is calculated through the following formula, and the linkage utilization module comprises the following modules:
wherein y is a demand sub-index corresponding to each linkage dimension,is a linkage space with positive demand indexThe quantity of the linkage materials of the corresponding linkage dimension which need to be distributed, the demand index is that the linkage materials are distributed,the number of linkage materials of corresponding linkage dimensions required to be distributed in the linkage space with the negative demand index is as much as the number of separated linkage materials;
wherein the content of the first and second substances,the number of linkage materials currently possessed by the linkage space with the negative demand index in the corresponding linkage dimension,for a preset quantity of material in the corresponding linkage dimension,is the requirement sub-index of the mth linkage space,is the sum of all demand sub-indices in the corresponding linkage dimension, wherein the demand index is positive.
Background
The material is the abbreviation of material data. It not only includes the material and wealth directly provided by nature, but also includes the labor product obtained by the labor of people; not only comprises living materials which can directly meet the needs of people, but also comprises production materials which indirectly meet the needs of people.
For example, electric power enterprises have numerous emergency material quota reserves established in various places, and in order to meet the construction requirements of various emergency events or emergency projects, the related materials are generally various in types and the quantity of quota reserves is large. When the emergency material demand occurs, the material supply is carried out only by the storage points near the emergency project, and the timeliness requirement is difficult to meet. Along with the deep development of the works of upgrading and efficiency improvement of business expansion and business environment optimization and promotion, the operation difficulty brought by various key emergency material demands is continuously increased, and the workload is increased accordingly. Therefore, there is a need for optimal management of the quorum reserve.
As in the medical field, each hospital will have its own logistics department where stored supplies include, but are not limited to, medications, medical devices, blood, organs, and the like. In the existing medical field, hospitals include special hospitals, general hospitals, local health hospitals and the like, and due to different attributes of the hospitals, the storage quantity of materials of each dimension is different for each hospital. When a hospital has a shortage of materials with one or more dimensions, the hospital needs to be linked with other hospitals, the materials corresponding to other hospitals are linked to the hospital to achieve the purpose of material supply, and the hospital can normally operate. However, currently, there is no corresponding technical scheme that can perform effective and reasonable material linkage in a plurality of linkage spaces.
Therefore, the reasonable distribution, linkage and utilization of materials have great influence on production, life and even disaster control and prevention, and how to accurately distribute the materials to a required target is a problem which needs to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a ZigBee-based precise multi-dimensional material linkage utilization method and a ZigBee-based precise multi-dimensional material linkage utilization device, which can perform multi-dimensional statistics according to linkage material tables at all linkage spaces, perform precise calculation to perform linkage utilization of linkable materials in a plurality of linkage spaces, perform rationalization and optimized distribution of the linked materials, and improve the utilization rate of the linked materials.
The first aspect of the embodiment of the invention provides a ZigBee-based precise multi-dimensional material linkage utilization method, which comprises the following steps:
acquiring a material linkage table of all linkage spaces based on ZigBee, wherein linkage materials in the material linkage table comprise a plurality of types of linkable materials and non-linkable materials;
calculating a demand index of each linkage space according to the number of linkable materials, the number of non-linkable materials and corresponding linkage space labels in the linkage space, wherein the demand index comprises a plurality of demand sub-indexes with different linkage dimensions;
selecting any one linkage dimension, and performing linkage requirement sequencing on a plurality of linkage spaces based on the requirement sub-index under the linkage dimension to obtain a linkage sequencing result;
linkage utilization of a plurality of types of linkage materials in a plurality of linkage spaces is realized based on linkage sequencing results of a plurality of linkage dimensions, wherein the quantity of the materials needing to be linked in each linkage space is calculated through the following formula, and the linkage utilization method comprises the following steps:
;
wherein y is a demand sub-index corresponding to each linkage dimension,the demand index is the number of linkage supplies of corresponding linkage dimensions required to be distributed in the linkage space with positive demand index, the demand index is the linkage supplies of branch-in demand index,the number of linkage materials of corresponding linkage dimensions required to be distributed in the linkage space with the negative demand index is as much as the number of separated linkage materials;
wherein the content of the first and second substances,the number of linkage materials currently possessed by the linkage space with the negative demand index in the corresponding linkage dimension,for a preset quantity of material in the corresponding linkage dimension,is the requirement sub-index of the mth linkage space,is the sum of all demand sub-indices in the corresponding linkage dimension, wherein the demand index is positive.
Optionally, in a possible implementation manner of the first aspect, calculating the demand index of each linkage space according to the number of linkable materials, the number of non-linkable materials, and the corresponding linkage space tag in the linkage space includes:
generating at least one linkage space tag based on attribute information of a linkage space, wherein each linkage space tag corresponds to the preset material quantity of at least one dimension;
calculating the quantity of the linkable materials or the quantity of the non-linkable materials of the corresponding linkage dimension in the linkage space and the preset material quantity to obtain a demand sub-index of the linkage dimension;
and counting all the demand sub-indexes of different linkage dimensions in one linkage space to generate the demand index of the linkage space.
Optionally, in a possible implementation manner of the first aspect, the calculating the number of linkable or non-linkable materials and the preset number of materials of the corresponding linkage dimension in the linkage space, and the obtaining the demand sub-index of the linkage dimension includes:
calculating a demand sub-index by the following formula, including:
;
wherein the content of the first and second substances,of corresponding linkage dimensionsThe quantity of the linked materials or the quantity of the non-linked materials,the method is characterized in that the number of materials is preset, k is a normalization coefficient, A is a linkage positive weight, and B is a linkage negative weight.
Optionally, in a possible implementation manner of the first aspect, selecting any one linkage dimension, and performing linkage requirement ordering on the plurality of linkage spaces based on the requirement sub-index under the linkage dimension to obtain a linkage ordering result includes:
and extracting all the demand sub-indexes which are not 0 and correspond to the linkage dimensionality in each linkage space, and sequencing the demand sub-indexes according to a descending order.
Optionally, in a possible implementation manner of the first aspect, the generating at least one linkage space tag based on attribute information of a linkage space, where each linkage space tag corresponds to a preset quantity of the material in at least one dimension includes:
acquiring keywords included in the attribute information, matching the keywords based on a natural language processing technology, and selecting at least one linkage space tag corresponding to the keywords;
and receiving configuration information, and configuring at least one dimensionality preset material quantity for any one or more linkage space tags based on the configuration information.
Optionally, in a possible implementation manner of the first aspect, acquiring a material linkage table of all linkage spaces based on ZigBee, where linkage materials in the material linkage table include multiple types of linkable materials and non-linkable materials includes:
acquiring a material linkage table in each linkage space at intervals of preset time based on ZigBee;
the method comprises the steps of obtaining the type of each linkage material in a material linkage table, and dividing the linkage material into a linkable material and a non-linkable material based on the type of the linkage material.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
and receiving change information, and modifying the type of each linkage material based on the change information so as to modify the material linkage table.
In a first aspect of the embodiments of the present invention, there is provided a ZigBee-based precision multidimensional material linkage utilization apparatus, including:
the acquisition module is used for acquiring the material linkage tables of all linkage spaces based on ZigBee, and linkage materials in the material linkage tables comprise a plurality of types of linkable materials and non-linkable materials;
the calculation module is used for calculating a demand index of each linkage space according to the number of the linkable materials, the number of the non-linkable materials and the corresponding linkage space tags in the linkage space, wherein the demand index comprises a plurality of demand sub-indexes with different linkage dimensions;
the sorting module is used for selecting any linkage dimension and carrying out linkage demand sorting on a plurality of linkage spaces based on the demand sub-index under the linkage dimension to obtain a linkage sorting result;
the linkage utilization module is used for utilizing the linkage of a plurality of types of linkable materials in a plurality of linkage spaces based on the linkage sequencing results of a plurality of linkage dimensions, wherein the quantity of the materials needing to be linked in each linkage space is calculated through the following formula, and the linkage utilization module comprises the following modules:
;
wherein y is a demand sub-index corresponding to each linkage dimension,the demand index is the number of linkage supplies of corresponding linkage dimensions required to be distributed in the linkage space with positive demand index, the demand index is the linkage supplies of branch-in demand index,the number of linkage materials of corresponding linkage dimensions required to be distributed in the linkage space with the negative demand index is as follows, and the negative demand index is the separated linkage materials.
Wherein the content of the first and second substances,the number of linkage materials currently possessed by the linkage space with the negative demand index in the corresponding linkage dimension,for a preset quantity of material in the corresponding linkage dimension,is the requirement sub-index of the mth linkage space,is the sum of all demand sub-indices in the corresponding linkage dimension, wherein the demand index is positive.
In a third aspect of the embodiments of the present invention, a readable storage medium is provided, in which a computer program is stored, which, when being executed by a processor, is adapted to carry out the method according to the first aspect of the present invention and various possible designs of the first aspect of the present invention.
According to the ZigBee-based precise multi-dimensional material linkage utilization method and device, the material linkage tables of different linkage spaces can be obtained through ZigBee, the material linkage tables are calculated according to multiple dimensions, linkage materials of the multiple linkage spaces are used and distributed in a linkage mode, the quantity of linkage materials of each linkage space in the corresponding dimension is guaranteed, and the effective utilization rate of the linkage materials is improved.
According to the linkage space tag of each linkage space, the number of the existing linkable materials or the number of the non-linkable materials and the number of the preset materials, the quantitative demand sub-index is obtained, the demand of the corresponding linkage materials in a certain dimensionality is reflected through the demand sub-index, the demand of the linkage space on the linkage materials can be directly reflected through the demand sub-index, the linkage space tag is convenient for workers to watch, and the linkage material utilization rate is improved.
When the demand sub-index is calculated, two conditions of a positive value and a negative value can be obtained, wherein the positive value is that certain linkable materials or non-linkable materials need to be transferred into the linkage space, and the normal operation of the linkage space is guaranteed. The negative value is that the quantity of the material that can link or can not link in this linkage space is more, can roll out partial material that can link or can not link, and this linkage space still can normally operate. The linkage material condition of the linkage space can be conveniently and visually known by the staff according to the positive and negative values and the quantity relation of the demand sub-index.
According to the linkage material transferring method and device, when the quantity of materials needing to be linked is calculated, the transfer-in or transfer-out of the linkage materials is guided according to the demand sub-index, and the linkage materials are distributed in a plurality of needed linkage spaces in proportion when being transferred in, so that the phenomenon that one or more linkage spaces cannot work normally due to unbalanced transfer in of the linkage materials is avoided. The utilization rate of linked materials is improved.
Drawings
FIG. 1 is a schematic flow chart of a ZigBee-based precise multidimensional material linkage utilization method;
FIG. 2 is a schematic structural diagram of a ZigBee-based precise multi-dimensional material linkage utilization device.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that all three of A, B, C comprise, "comprises A, B or C" means that one of A, B, C comprises, "comprises A, B and/or C" means that any 1 or any 2 or 3 of A, B, C comprises.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
The invention provides a ZigBee-based precise multi-dimensional material linkage utilization method, which comprises the following steps of:
step S110, acquiring material linkage tables of all linkage spaces based on ZigBee, wherein linkage materials in the material linkage tables comprise a plurality of types of linkable materials and non-linkable materials. The material linkage table comprises a plurality of linkage materials which can be divided into linkage materials or non-linkage materials. According to the invention, a plurality of ZigBee modules are arranged at each linkage space in advance, and material linkage tables of different linkage spaces are obtained through the ZigBee modules at each linkage space. At least the name, the quantity, the attribute and the like of the linked materials are stored in the material linkage table. The linkage space may be a production workshop, factory, hospital, emergency material storage, etc. In the network established by each ZigBee module, the same type of linkage space is connected with the corresponding network. The linkage materials in the same type of linkage space are all similar. For example, hospital supplies may be medications, ventilators, and the like. The linkage material of the factory can be steel raw material, bearing equipment and the like.
And S120, calculating a demand index of each linkage space according to the number of the linkable materials, the number of the non-linkable materials and the corresponding linkage space tags in the linkage space, wherein the demand index comprises a plurality of different linkage dimensions. Each linkage space is respectively provided with a linkable material (a material which can be linked to other linkage spaces) and a non-linkable material (a material which cannot be linked to other linkage spaces), for example, standby blood, medicines, wheelchairs and the like in a hospital are linked materials, and for example, a large CT (computed tomography) machine, a angiography machine (DSA) and the like in the hospital are non-linked materials. The demand index can be obtained according to the quantity of different linkage materials and the label of the linkage space, the label of the linkage space can be the characteristic of the linkage space, such as a hospital and a factory, and the hospital can also be a special hospital, and due to the different properties of the hospitals, the linkage materials stored and needed by different hospitals are different, such as a breathing special hospital has more breathing machines and other equipment, and a blood special hospital has more standby blood. Also, the ganged supplies in each ganged space have different dimensions, such as a hospital, which may include CT machines in the equipment dimension and therapeutic drugs in the medication dimension. The dimensionality can be further subdivided, and the subdivision dimensionality of the treatment medicines can be divided into traditional Chinese medicines, western medicines and the like.
And S130, selecting any linkage dimension, and performing linkage requirement sequencing on the plurality of linkage spaces based on the requirement sub-index under the linkage dimension to obtain a linkage sequencing result. In order to ensure the accuracy of the quantity of linkage materials in each linkage space, the linkage material dividing device can divide a plurality of types of linkage materials into a plurality of linkage dimensions. The invention can calculate the linkage condition of the linked animal resources under each linkage dimension one by one. Therefore, the demand indexes calculated in the step S120 are sorted in each linkage dimension, and the demand relationship of each linkage space to the linkage materials in each linkage dimension can be visually observed according to the linkage sorting result.
And step S140, linkage utilization of the linkage materials of multiple types in multiple linkage spaces based on the linkage sequencing results of multiple linkage dimensions. The invention can realize linkage utilization of different types of linkage materials according to the linkage sequencing result, and realizes reasonable utilization and distribution of the linkage materials in a certain linkage space range.
In one possible embodiment, step S120 includes:
generating at least one linkage space tag based on the attribute information of the linkage space, wherein each linkage space tag corresponds to the preset material quantity of at least one dimensionality. For example, in the medical field, attribute information of a certain hospital is a special hospital for blood diseases, and it is default that the special hospital must have spare blood in the dimension of therapeutic drugs, and the quantity of the spare blood is at least a preset blood quantity, which is a preset material quantity.
And calculating the quantity of the linkable materials or the quantity of the non-linkable materials of the corresponding linkage dimension in the linkage space and the preset material quantity to obtain the demand sub-index of the linkage dimension. The invention can count the quantity of the linkable materials or the quantity of the non-linkable materials in the linked space, and as described in the above example, the standby blood is the linkable materials, so the quantity of the linkable materials (blood quantity of the standby blood) and the quantity of the preset materials (preset blood quantity) are calculated at this time to obtain the demand sub-index.
Wherein, to the quantity of the linkage material of corresponding linkage dimension in the linkage space or the quantity of the material that can not link and predetermine the material quantity and calculate, the demand subexperience that obtains this linkage dimension includes:
calculating a demand sub-index by the following formula, including:
;
wherein the content of the first and second substances,the number of the linked materials or the number of the non-linked materials of the corresponding linkage dimension,the method comprises the steps of presetting the quantity of materials, wherein y is a demand sub-index, k is a normalization coefficient, A is a linkage positive weight, and B is a linkage negative weight.
When the demand sub-index is calculated, the calculation is carried out in a segmented modeAndis calculated when the relationship of the values ofIf the number of the linked materials is proved to be the same or notThe number of the moving supplies is already in the situation of actual shortage or anticipated shortage, so that the demand sub-index is positive at the moment, and the larger the value of the demand sub-index is, the larger the demand amount of the corresponding moving supplies in the corresponding dimension is proved to be. Because the units of different linkage materials are different, the invention can provide the normalization coefficient to carry out normalization processing on all the demand sub-indexes, is convenient for workers to watch the demand sub-indexes and is more visual.
For example, when the linkage space is a hospital, the invention counts the number of linkable materials or the number of non-linkable materials in each hospital, for example, the preset material number of the spare blood in one hospital is 100000cc, when the spare blood number in the hospital exceeds 100000cc, y is a negative number, and then the hospital can output a certain amount of spare blood to other hospitals in linkage. When the quantity of the spare blood in the hospital is less than 100000cc, y is a positive number, and other hospitals can input a certain quantity of spare blood in a linkage manner at the time. In the process, different weight values can be set according to different input and output requirements, wherein the weight value A is preferably larger than the weight value B.
When in useAnd then, the situation that the quantity of the linkable materials or the quantity of the non-linkable materials are redundant at the moment is proved, so that part of the linked materials in the linked space can be distributed to other linked spaces at the moment. And at this time, the demand sub-index is negative, and the smaller the demand sub-index is, the more linkage materials which can be distributed to other linkage spaces are proved.
And counting all the demand sub-indexes of different linkage dimensions in one linkage space to generate the demand index of the linkage space. According to the linkage space requirement index calculation method, different requirement sub-indexes of different linkage dimensions are calculated one by one, all the requirement sub-indexes are collected to obtain the requirement index, and a worker can integrally watch and know the requirement of the linkage space on linkage materials through the requirement index.
In a possible embodiment, selecting any one linkage dimension, and performing linkage requirement ordering on a plurality of linkage spaces based on the requirement sub-index under the linkage dimension to obtain a linkage ordering result includes:
and extracting all the demand sub-indexes which are not 0 and correspond to the linkage dimensionality in each linkage space, and sequencing the demand sub-indexes according to a descending order. When the demand sub-index is 0, the linkage space does not need to be transferred into or out of related linkage materials under corresponding dimensionality, so that in order to reduce data processing amount, the demand sub-index with the demand sub-index of 0 is eliminated, the demand sub-index with the demand sub-index not being 0 is obtained for calculation, and calculation is performed in a descending mode, so that a worker can conveniently view the quantity relation of the corresponding linkage materials in each linkage space.
In one possible embodiment, the linkage utilization of the plurality of types of linkable materials in the plurality of linkage spaces based on the linkage sequencing results of the plurality of linkage dimensions comprises:
calculating the quantity of the materials needing to be linked in each linkage space by the following formula, wherein the formula comprises the following steps:
;
wherein the content of the first and second substances,the demand index is the number of linkage supplies of corresponding linkage dimensions required to be distributed in the linkage space with positive demand index, the demand index is the linkage supplies of branch-in demand index,the number of linkage materials of corresponding linkage dimensions required to be distributed in the linkage space with the negative demand index is as follows, and the negative demand index is the separated linkage materials.
Wherein the content of the first and second substances,the number of linkage materials currently possessed by the linkage space with the negative demand index in the corresponding linkage dimension,for a preset quantity of material in the corresponding linkage dimension,is the requirement sub-index of the mth linkage space,is the sum of all demand sub-indices in the corresponding linkage dimension, wherein the demand index is positive.
Through the mode, the calculation can be distinguished according to the positive and negative of the demand sub-index, and when the demand sub-index is positive, the linkage space corresponding to the demand sub-index needs to be transferred into linkage materials, so that the transfer quantity needs to be calculated. When the demand sub-index is paid, the linkage space corresponding to the demand sub-index is proved to need to roll out linkage materials, so that the roll-out quantity needs to be calculated.
In the invention, the number of the linked materials transferred into each linked space is corresponding to the number of the linked materials transferred out from other linked spaces, so that the number of the linked materials which can be transferred out from the linked space with the negative sub-index of the demand needs to be calculated firstly.
When the number of the switched-in linkage materials of the linkage space with each requirement sub-index being positive is calculated, calculation is carried out according to the requirement sub-index of each linkage space, so that the linkage material distribution method and the linkage material distribution system can distribute the linkage materials in proportion according to the requirement relation of each linkage space to the corresponding linkage materials, and the utilization rate of the linkage materials is improved.
In one possible embodiment, generating at least one linkage space tag based on attribute information of a linkage space, where each linkage space tag corresponds to a preset quantity of materials of at least one dimension includes:
and acquiring keywords included in the attribute information, matching the keywords based on a natural language processing technology, and selecting at least one linkage space tag corresponding to the keywords. The invention can identify and analyze the attribute information based on the artificial intelligence technology of natural language processing, match the keywords with the linkage space tags and add the linkage space tags.
And receiving configuration information, and configuring at least one dimensionality preset material quantity for any one or more linkage space tags based on the configuration information. When the preset material quantity is set, the preset material quantity can be input by a worker in advance, and the worker can adjust the preset material quantity according to the actual scene and the requirement. The technical scheme provided by the invention has stronger flexibility.
In one possible embodiment, step S110 includes:
the interval preset time is based on the ZigBee to obtain the material linkage table in each linkage space. The linkage material can be consumed or added along with the change of time, so that the material linkage table is dynamically changed along with the change of time, and the material linkage table of each linkage space can be acquired at intervals of preset time. The preset time may be one hour, one day, etc.
The method comprises the steps of obtaining the type of each linkage material in a material linkage table, and dividing the linkage material into a linkable material and a non-linkable material based on the type of the linkage material. The type can be movable and immovable, wherein the movable type is the material capable of being linked, and the immovable type is the material capable of being linked. Or the linkage material can be moved or not moved by workers to manually add the linkage material. The present invention does not limit the manner of distinguishing the linkable materials from the non-linkable materials.
Further comprising:
and receiving change information, and modifying the type of each linkage material based on the change information so as to modify the material linkage table.
In the using process of the linkage material, the linkage material can be modified from the linkage material to the non-linkage material or from the non-linkage material to the linkage material due to the change of scenes and conditions, so that the scheme provided by the invention has stronger practicability and can be adjusted according to the requirement.
The invention also provides a ZigBee-based precise multidimensional material linkage utilization device, as shown in FIG. 2, comprising:
the acquisition module is used for acquiring the material linkage tables of all linkage spaces based on ZigBee, and linkage materials in the material linkage tables comprise a plurality of types of linkable materials and non-linkable materials;
the calculation module is used for calculating a demand index of each linkage space according to the number of the linkable materials, the number of the non-linkable materials and the corresponding linkage space tags in the linkage space, wherein the demand index comprises a plurality of demand sub-indexes with different linkage dimensions;
the sorting module is used for selecting any linkage dimension and carrying out linkage demand sorting on a plurality of linkage spaces based on the demand sub-index under the linkage dimension to obtain a linkage sorting result;
and the linkage utilization module is used for utilizing the linkage of a plurality of types of linkable materials in a plurality of linkage spaces based on the linkage sequencing results of the plurality of linkage dimensions.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the terminal or the server, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种开路循环水系统的水平衡控制方法及装置