CN117611059B - Inventory management method and system for dynamic adjustment of storage structure - Google Patents
Inventory management method and system for dynamic adjustment of storage structure Download PDFInfo
- Publication number
- CN117611059B CN117611059B CN202410006302.3A CN202410006302A CN117611059B CN 117611059 B CN117611059 B CN 117611059B CN 202410006302 A CN202410006302 A CN 202410006302A CN 117611059 B CN117611059 B CN 117611059B
- Authority
- CN
- China
- Prior art keywords
- storage
- data
- storage structure
- acquiring
- mode
- 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.)
- Active
Links
- 238000003860 storage Methods 0.000 title claims abstract description 276
- 238000007726 management method Methods 0.000 title claims abstract description 51
- 238000000034 method Methods 0.000 claims abstract description 44
- 238000013500 data storage Methods 0.000 claims abstract description 38
- 238000004590 computer program Methods 0.000 claims description 18
- 238000004364 calculation method Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 12
- 230000006870 function Effects 0.000 claims description 10
- 238000004458 analytical method Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 10
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000007711 solidification Methods 0.000 description 2
- 230000008023 solidification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/087—Inventory or stock management, e.g. order filling, procurement or balancing against orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- Tourism & Hospitality (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention relates to the field of inventory management technologies, and in particular, to a method and a system for inventory management with dynamic adjustment of a storage structure. The scheme includes that a set storage structure and a data set are randomly generated and sent to a retrieval system in advance, the data set is obtained, data storage is conducted through a first storage mode when the first position is 1 and the second position is 0, the data set is obtained, data storage is conducted through a second storage mode when the first position is 0 and the second position is 1, the data set is obtained, data storage is conducted through the second storage mode when the first position is 1 and the second position is 1, the storage structure in the retrieval system is obtained, storage data retrieval is completed one by one according to the storage structure, and when the data needs to be stored again after reading, the data set is reset to conduct data storage. According to the scheme, by setting different storage structures, the search of the storage structures is further carried out on line, and quick dynamic execution information management is completed.
Description
Technical Field
The present invention relates to the field of inventory management technologies, and in particular, to a method and a system for inventory management with dynamic adjustment of a storage structure.
Background
Inventory is an important component of enterprise assets, is a material basis for enterprise production and operation activities, and is a basis for enterprise development strategy, operation planning, financial accounting and production scheduling. Inventory management is to effectively control and manage the inventory of enterprises, reasonably control the inventory quantity, reduce the inventory cost and improve the fund utilization rate. Inventory management is of great importance for cost control and profitability control of an enterprise.
Prior to the present technology, the core problem of inventory management was mainly to implement association of a corresponding index by adjusting the storage location, in which case the storage location is relatively easy to learn, but the stored structure is solidified, and solidification of the stored structure easily causes security risks, which are known from outside.
Disclosure of Invention
In view of the above problems, the present invention provides a method and a system for inventory management with dynamic adjustment of a storage structure, which complete quick dynamic execution information management by setting different storage structures and further performing on-line retrieval of the storage structure.
According to a first aspect of an embodiment of the present invention, there is provided an inventory management method for dynamically adjusting a storage structure.
In one or more embodiments, preferably, the inventory management method for dynamically adjusting a storage structure includes:
Randomly generating a set storage structure and a data set, and pre-transmitting the storage structure to a retrieval system;
Acquiring the data set, and storing data in a first storage mode when the first position is 1 and the second position is 0;
Acquiring the data set, and storing data in a second storage mode when the first position is 0 and the second position is 1;
acquiring the data set, and storing data in a second storage mode when the first position is 1 and the second position is 1;
Acquiring a storage structure in a retrieval system, and completing the retrieval of storage data one by one according to the storage structure;
When the data needs to be stored again after reading, the data set is reset for data storage.
In one or more embodiments, preferably, the randomly generating a set storage structure and a data set, and pre-transmitting the storage structure to the retrieval system specifically includes:
Randomly generating 1 number as a first random number, and acquiring a first position corresponding to a storage structure in each storage process by using a first calculation formula;
randomly generating 1 number as a second random number, acquiring a second position corresponding to a storage structure in each storage process by using a second calculation formula, and if the second position is repeated with the first position, generating a second random number until the second position is calculated to be inconsistent with the first position;
Randomly selecting one data in 1-3 as a data group, and splitting the data group into a 2-system number;
The first two digits of the 2-series number are sequentially and correspondingly stored in a first position and a second position;
Transmitting the first position and the second position corresponding to the storage structure to a retrieval system;
the first calculation formula is as follows:
C=Z(A÷L)
Wherein A is a first random number, L is the total length of each storage interval, Z () is a rounding function, C is a first position, and the position corresponds to the storage interval with the number C;
the second calculation formula is as follows:
D=Z(B÷L)
wherein B is a second random number, D is a first position, and corresponds to the position of the storage section with the number D.
In one or more embodiments, preferably, the acquiring the data set, when the first position is 1 and the second position is 0, performs data storage through a first storage manner, and specifically includes:
acquiring the data set, judging whether the first position and the second position correspond to a first storage mode or not, and starting data storage if the first position and the second position correspond to the first storage mode;
acquiring the data to be stored at this time, and storing the data one by one according to the sequence from the minimum position to the maximum position;
and when the first position and the second position are encountered, directly skipping.
In one or more embodiments, preferably, the acquiring the data set, when the first location is 0 and the second location is 1, stores the data through a second storage manner, and specifically includes:
acquiring the data set, judging whether the first position and the second position correspond to a second storage mode, and if the first position and the second position correspond to the second storage mode, starting data storage;
the method comprises the steps of firstly, carrying out data storage one by one in the sequence from the minimum position to the maximum position of an odd number position to acquire data to be stored at this time, and then carrying out data storage one by one in the sequence from the minimum position to the maximum position of an even number position;
and when the first position and the second position are encountered, directly skipping.
In one or more embodiments, preferably, the acquiring the data set, when the first location is 1 and the second location is 1, stores the data through the second storage manner, and specifically includes:
acquiring the data set, judging whether the first position and the second position correspond to a first storage mode or not, and starting data storage if the first position and the second position correspond to the first storage mode;
acquiring the data to be stored at this time, and storing the data one by one from the outermost position to the innermost position;
and when the first position and the second position are encountered, directly skipping.
In one or more embodiments, preferably, the acquiring a storage structure in the retrieval system, and completing the retrieval of the storage data one by one according to the storage structure specifically includes:
obtaining a storage structure in a retrieval system, and reading a first position and a second position in the storage structure;
Determining one of a first, second and third storage structure based on the first location and the second location;
And acquiring corresponding storage data according to the storage structure and the storage sequence corresponding to the storage structure.
In one or more embodiments, preferably, when the data needs to be restored after the reading, the resetting the data set for data storage specifically includes:
Judging whether the data need to be stored again or not, and resetting the data set if the data need to be stored again;
Reading the reset data set, and further determining one of the first, second and third storage structures according to the corresponding first location and the second location;
And finishing the data re-storage under the corresponding storage structure.
According to a second aspect of embodiments of the present invention, there is provided an inventory management system for dynamic adjustment of a storage structure.
In one or more embodiments, preferably, the inventory management system with dynamic adjustment of storage structures includes:
The group setting module is used for randomly generating a setting storage structure and a data group and pre-transmitting the storage structure to the retrieval system;
the first mode setting module is used for acquiring the data set, and storing data in a first storage mode when the first position is 1 and the second position is 0;
the second mode setting module is used for acquiring the data set, and when the first position is 0 and the second position is 1, the data is stored in a second storage mode;
the third mode setting module is used for acquiring the data set, and storing data in a second storage mode when the first position is 1 and the second position is 1;
The retrieval analysis module is used for acquiring a storage structure in the retrieval system and completing the retrieval of the storage data one by one according to the storage structure;
And the storage group module is used for resetting the data group to store the data when the data needs to be stored again after the data is read.
According to a third aspect of embodiments of the present invention, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method according to any of the first aspect of embodiments of the present invention.
According to a fourth aspect of embodiments of the present invention there is provided an electronic device comprising a memory and a processor, the memory being for storing one or more computer program instructions, wherein the one or more computer program instructions are executable by the processor to implement the method of any of the first aspects of embodiments of the present invention.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
In the scheme of the invention, three different storage structures are arranged, and different information is respectively stored in the different storage structures in the process of executing storage.
In the scheme of the invention, when information inquiry is carried out, the retrieval of the storage structure is carried out on line, and then the dynamic execution information management is rapidly completed according to the storage structure.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of inventory management with dynamic adjustment of storage structures according to one embodiment of the invention.
FIG. 2 is a flow chart of a method for inventory management with dynamic adjustment of storage structures, randomly generating a set storage structure and data set, and pre-sending the storage structure to a retrieval system, in accordance with one embodiment of the present invention.
Fig. 3 is a flowchart of acquiring the data set, and storing the data in a first storage mode when the first location is 1 and the second location is 0 in an inventory management method with dynamic adjustment of a storage structure according to an embodiment of the present invention.
Fig. 4 is a flowchart of acquiring the data set, and storing the data in a second storage mode when the first location is 0 and the second location is 1 in an inventory management method with dynamic adjustment of a storage structure according to an embodiment of the present invention.
Fig. 5 is a flowchart of acquiring the data set, and storing the data in a second storage mode when the first location is 1 and the second location is 1 in an inventory management method with dynamic adjustment of a storage structure according to an embodiment of the present invention.
FIG. 6 is a flow chart of a method for inventory management with dynamic adjustment of storage structures according to an embodiment of the invention, wherein the storage structures in the retrieval system are obtained and the retrieval of storage data is completed one by one according to the storage structures.
FIG. 7 is a flow chart of a method for inventory management with dynamic adjustment of storage structure for resetting a data set for data storage when data needs to be restored after reading, according to an embodiment of the invention.
FIG. 8 is a block diagram of an inventory management system with dynamic adjustment of storage structures in accordance with one embodiment of the invention.
Fig. 9 is a block diagram of an electronic device in one embodiment of the invention.
Detailed Description
In some of the flows described in the specification and claims of the present invention and in the foregoing figures, a plurality of operations occurring in a particular order are included, but it should be understood that the operations may be performed out of order or performed in parallel, with the order of operations such as 101, 102, etc., being merely used to distinguish between the various operations, the order of the operations themselves not representing any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Inventory is an important component of enterprise assets, is a material basis for enterprise production and operation activities, and is a basis for enterprise development strategy, operation planning, financial accounting and production scheduling. Inventory management is to effectively control and manage the inventory of enterprises, reasonably control the inventory quantity, reduce the inventory cost and improve the fund utilization rate. Inventory management is of great importance for cost control and profitability control of an enterprise.
Prior to the present technology, the core problem of inventory management was mainly to implement association of a corresponding index by adjusting the storage location, in which case the storage location is relatively easy to learn, but the stored structure is solidified, and solidification of the stored structure easily causes security risks, which are known from outside.
The embodiment of the invention provides an inventory management method and system for dynamically adjusting a storage structure. According to the scheme, by setting different storage structures, the search of the storage structures is further carried out on line, and quick dynamic execution information management is completed.
According to a first aspect of an embodiment of the present invention, there is provided an inventory management method for dynamically adjusting a storage structure.
FIG. 1 is a flow chart of a method of inventory management with dynamic adjustment of storage structures according to one embodiment of the invention.
In one or more embodiments, preferably, the inventory management method for dynamically adjusting a storage structure includes:
S101, randomly generating a set storage structure and a data set, and pre-transmitting the storage structure to a retrieval system;
s102, acquiring the data set, and storing data in a first storage mode when the first position is 1 and the second position is 0;
S103, acquiring the data set, and storing data in a second storage mode when the first position is 0 and the second position is 1;
s104, acquiring the data set, and storing data in a second storage mode when the first position is 1 and the second position is 1;
S105, acquiring a storage structure in the retrieval system, and completing the retrieval of storage data one by one according to the storage structure;
s106, when the data needs to be stored again after being read, resetting the data set for data storage.
In the embodiment of the invention, the group of the storage structure is set, the storage modes of the first, second and third storage structure groups are further set, and finally, the storage group data obtained each time are managed on line according to the retrieval modes of the first, second and third storage structure groups.
FIG. 2 is a flow chart of a method for inventory management with dynamic adjustment of storage structures, randomly generating a set storage structure and data set, and pre-sending the storage structure to a retrieval system, in accordance with one embodiment of the present invention.
As shown in fig. 2, in one or more embodiments, preferably, the randomly generating a set storage structure and a data set, and pre-sending the storage structure to the retrieval system specifically includes:
S201, randomly generating 1 number as a first random number, and acquiring a first position corresponding to a storage structure in each storage process by using a first calculation formula;
S202, randomly generating 1 number as a second random number, acquiring a second position corresponding to a storage structure in each storage process by using a second calculation formula, and if the second position is repeated with the first position, generating a second random number until the second position is calculated to be inconsistent with the first position;
S203, randomly selecting one data in 1-3 as a data group, and splitting the data group into a 2-system number;
s204, storing the first two digits of the 2-series number to a first position and a second position in sequence correspondingly;
S205, sending the first position and the second position corresponding to the storage structure to a retrieval system;
the first calculation formula is as follows:
C=Z(A÷L)
Wherein A is a first random number, L is the total length of each storage interval, Z () is a rounding function, C is a first position, and the position corresponds to the storage interval with the number C;
the second calculation formula is as follows:
D=Z(B÷L)
wherein B is a second random number, D is a first position, and corresponds to the position of the storage section with the number D.
In order to store different sets of data, the method and the device for storing the data in the storage mode in real time calculate the storage structure of the current stored data in real time by using a first calculation formula after the obtained stored data are stored each time, and then set the data sets in a random generation mode according to the storage structure, and further set the data sets to set specific storage modes.
Fig. 3 is a flowchart of acquiring the data set, and storing the data in a first storage mode when the first location is 1 and the second location is 0 in an inventory management method with dynamic adjustment of a storage structure according to an embodiment of the present invention.
In one or more embodiments, as shown in fig. 3, preferably, the acquiring the data set, when the first location is 1 and the second location is 0, performs data storage through a first storage manner, and specifically includes:
s301, acquiring the data set, judging whether the first position and the second position correspond to a first storage mode, and if the first position and the second position correspond to the first storage mode, starting data storage;
S302, acquiring the data to be stored at this time, and storing the data one by one according to the sequence from the minimum position to the maximum position;
S303, when the first position and the second position are encountered, the method directly skips.
In the embodiment of the invention, the first storage mode is a sequential storage mode, which is also the most common storage mode, in this case, when the first position corresponding to the storage structure is 1 and the second position is 0, the first storage mode is selected, and when one data is obtained at this time, the data is stored one by one in the storage interval from the minimum position to the maximum position, and when the first position and the second position are encountered, the data is skipped directly.
Fig. 4 is a flowchart of acquiring the data set, and storing the data in a second storage mode when the first location is 0 and the second location is 1 in an inventory management method with dynamic adjustment of a storage structure according to an embodiment of the present invention.
In one or more embodiments, as shown in fig. 4, preferably, the acquiring the data set, when the first location is 0 and the second location is 1, performs data storage through a second storage manner, and specifically includes:
S401, acquiring the data set, judging whether the first position and the second position correspond to a second storage mode, and if the first position and the second position correspond to the second storage mode, starting data storage;
S402, acquiring data to be stored at this time, firstly, carrying out data storage one by one in the sequence from the minimum position to the maximum position of the odd number position, and then carrying out data storage one by one in the sequence from the minimum position to the maximum position of the even number position;
S403, when the first position and the second position are encountered, the method directly skips.
In the embodiment of the present invention, the second storage mode is a parity storage mode, or may be selected as another storage mode, for example, reverse order storage is adopted, in this case, when the first position corresponding to the storage structure is 0, and the second position is 1, the second storage mode is selected, each time one data is obtained, data storage is performed one by one in the order from the first odd position to the maximum position in the storage interval, then data storage is performed one by one in the order from the minimum position to the maximum position in the even position, when the first position and the second position are encountered, direct skip is performed, and if reverse order storage is replaced, data storage is performed one by one from the maximum position to the minimum position.
Fig. 5 is a flowchart of acquiring the data set, and storing the data in a second storage mode when the first location is 1 and the second location is 1 in an inventory management method with dynamic adjustment of a storage structure according to an embodiment of the present invention.
In one or more embodiments, as shown in fig. 5, preferably, the acquiring the data set, when the first location is 1 and the second location is 1, performs data storage through a second storage manner, and specifically includes:
s501, acquiring the data set, judging whether the first position and the second position correspond to a first storage mode, and if the first position and the second position correspond to the first storage mode, starting data storage;
s502, acquiring data to be stored at this time, and storing the data one by one from the outermost position to the innermost position;
S503, when the first position and the second position are encountered, the method directly skips.
In the embodiment of the present invention, the third storage mode is a front-back storage mode, which is also the most common storage mode, in this case, when the first position corresponding to the storage structure is 1 and the second position is 1, the third storage mode is selected, and each time one data is obtained, data is stored one by one from the outermost position to the innermost position in the storage interval (the smallest side is first, the largest side is second, for example, if there are 10 positions, the storage sequence is 1,10,2,9,3,8,4,7,5,6), and when the first position and the second position are encountered, the data is skipped directly.
FIG. 6 is a flow chart of a method for inventory management with dynamic adjustment of storage structures according to an embodiment of the invention, wherein the storage structures in the retrieval system are obtained and the retrieval of storage data is completed one by one according to the storage structures.
As shown in fig. 6, in one or more embodiments, preferably, the acquiring a storage structure in the retrieval system, and completing the retrieval of the storage data one by one according to the storage structure specifically includes:
S601, obtaining a storage structure in a retrieval system, and reading a first position and a second position in the storage structure;
s602, determining one of a first storage structure, a second storage structure and a third storage structure according to the first position and the second position;
s603, acquiring corresponding storage data according to the storage structure and the corresponding storage sequence.
In the embodiment of the invention, in each information retrieval process, a storage structure is firstly obtained in a retrieval system, wherein the storage structure comprises a first position and a second position, then data in the storage structure is read, which of the first, second and third storage structures belongs to is determined, and when the data is determined, corresponding data is obtained according to a corresponding preset storage sequence.
FIG. 7 is a flow chart of a method for inventory management with dynamic adjustment of storage structure for resetting a data set for data storage when data needs to be restored after reading, according to an embodiment of the invention.
In one or more embodiments, as shown in fig. 7, preferably, when the data needs to be stored again after reading, the resetting the data set for data storage specifically includes:
S701, judging whether data need to be stored again, and resetting a data set if the data need to be stored again;
s702, reading the reset data set, and further determining one of a first storage structure, a second storage structure and a third storage structure according to the first position and the second position;
S703, finishing the data re-storage under the corresponding storage structure.
In the embodiment of the invention, after the reading is finished, if the data is required to be modified again and stored again, randomly selecting one data in 1-3 as a data group, and splitting the data group into a 2-system number; when the randomly selected data set is 1, the first position is 1, and the second position is 0; when the randomly selected data group is 2, the first position is 0, and the second position is 1; when the randomly selected data set is 3, the first position is 1, and the second position is 1; and finally, completing the storage of the data again according to the current data set.
According to a second aspect of embodiments of the present invention, there is provided an inventory management system for dynamic adjustment of a storage structure.
FIG. 8 is a block diagram of an inventory management system with dynamic adjustment of storage structures in accordance with one embodiment of the invention.
In one or more embodiments, preferably, the inventory management system with dynamic adjustment of storage structures includes:
A group setting module 801, configured to randomly generate a set storage structure and a data group, and send the storage structure to a retrieval system in advance;
A first mode setting module 802, configured to acquire the data set, and store data in a first storage mode when the first position is 1 and the second position is 0;
A second mode setting module 803, configured to obtain the data set, and store data in a second storage mode when the first position is 0 and the second position is 1;
a third mode setting module 804, configured to obtain the data set, and store data in a second storage mode when the first position is 1 and the second position is 1;
The retrieval analysis module 805 is configured to obtain a storage structure in the retrieval system, and complete retrieval of stored data one by one according to the storage structure;
The storage group module 806 is configured to reset the data group for data storage when the data needs to be restored after the data is read.
In the embodiment of the invention, a system suitable for different structures is realized through a series of modularized designs, and the system can realize closed-loop, reliable and efficient execution through acquisition, analysis and control.
According to a third aspect of embodiments of the present invention, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement a method according to any of the first aspect of embodiments of the present invention.
According to a fourth aspect of an embodiment of the present invention, there is provided an electronic device. Fig. 9 is a block diagram of an electronic device in one embodiment of the invention. The electronic device shown in fig. 9 is an inventory management device dynamically adjusted for a general storage structure. Referring to fig. 9, the electronic device may be a smart phone, a tablet computer, or the like. The electronic device 900 comprises a processor 901 and a memory 902. The processor 901 is electrically connected to the memory 902.
The processor 901 is a control center of the electronic device 900, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling computer programs stored in the memory 902 and calling data stored in the memory 902, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 901 in the electronic device 900 loads instructions corresponding to the processes of one or more computer programs into the memory 902 according to the following steps, and the processor 901 executes the computer programs stored in the memory 902, so as to implement various functions, for example: the method comprises the steps of randomly generating a set storage structure and a data set, sending the storage structure to a retrieval system in advance, acquiring the data set, storing data in a first storage mode when the first position is 1 and the second position is 0, acquiring the data set, storing data in a second storage mode when the first position is 0 and the second position is 1, acquiring the data set, storing data in the second storage mode when the first position is 1 and the second position is 1, acquiring the storage structure in the retrieval system, completing storage data retrieval one by one according to the storage structure, and resetting the data set for storing data when the data need to be stored again after reading.
In some implementations, the electronic device 900 may further include: a display 903, radio frequency circuitry 904, audio circuitry 905, a wireless fidelity module 906, and a power supply 907. The display 903, the radio frequency circuit 904, the audio circuit 905, the wireless fidelity module 906 and the power supply 907 are electrically connected to the processor 901.
The display 903 may be used to display information entered by a user or provided to a user as well as various graphical user interfaces, which may be composed of graphics, text, icons, video, and any combination thereof. The display 903 may include a display panel, which in some embodiments may be configured in the form of a Liquid Crystal Display (LCD), or an Organic Light-Emitting Diode (OLED), or the like.
The radio frequency circuit 904 may be configured to receive and transmit radio frequency signals to and from a network device or other electronic device via wireless communication.
The audio circuit 905 may be used to provide an audio interface between a user and an electronic device through a speaker, microphone.
The wireless fidelity module 906 may be used for short-range wireless transmission, may help users to send and receive e-mail, browse websites, access streaming media, etc., and provides wireless broadband internet access to the user.
The power supply 907 may be used to power various components of the electronic device 900. In some embodiments, the power supply 907 may be logically connected to the processor 901 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 9, the electronic device 900 may further include a camera, a bluetooth module, etc., which will not be described herein.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
In the scheme of the invention, three different storage structures are arranged, and different information is respectively stored in the different storage structures in the process of executing storage.
In the scheme of the invention, when information inquiry is carried out, the retrieval of the storage structure is carried out on line, and then the dynamic execution information management is rapidly completed according to the storage structure.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, magnetic disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (6)
1. A method of inventory management for dynamic adjustment of a storage structure, the method comprising:
Randomly generating a set storage structure and a data set, and pre-transmitting the storage structure to a retrieval system;
Acquiring the data set, and storing data in a first storage mode when the first position is 1 and the second position is 0;
Acquiring the data set, and storing data in a second storage mode when the first position is 0 and the second position is 1;
acquiring the data set, and storing data in a third storage mode when the first position is 1 and the second position is 1;
acquiring a storage structure in a retrieval system, and completing storage data retrieval according to the attention of the storage structure;
When the data is required to be stored again after being read, resetting the data group for data storage;
Wherein, a setting storage structure and a data group are randomly generated, and the storage structure is sent to a retrieval system in advance, and the method specifically comprises the following steps:
Randomly generating 1 number as a first random number, and acquiring a first position corresponding to a storage structure in each storage process by using a first calculation formula;
randomly generating 1 number as a second random number, acquiring a second position corresponding to a storage structure in each storage process by using a second calculation formula, and if the second position is repeated with the first position, generating a second random number until the second position is calculated to be inconsistent with the first position;
Randomly selecting one data in 1-3 as a data group, and splitting the data group into a 2-system number;
The first two digits of the 2-series number are sequentially and correspondingly stored in a first position and a second position;
Transmitting the first position and the second position corresponding to the storage structure to a retrieval system;
the first calculation formula is as follows:
C=Z(A÷L)
Wherein A is a first random number, L is the total length of each storage interval, Z () is a rounding function, C is a first position, and the position corresponds to the storage interval with the number C;
the second calculation formula is as follows:
D=Z(B÷L)
Wherein B is a second random number, D is a second position, and corresponds to the position of the storage section with the number D;
the data storage method specifically includes the steps of:
acquiring the data set, judging whether the first position and the second position correspond to a first storage mode or not, and starting data storage if the first position and the second position correspond to the first storage mode;
acquiring the data to be stored at this time, and storing the data one by one according to the sequence from the minimum position to the maximum position;
when encountering the first position and the second position, directly skipping;
the step of obtaining the data set, when the first position is 0 and the second position is 1, performing data storage in a second storage mode, specifically includes:
acquiring the data set, judging whether the first position and the second position correspond to a second storage mode, and if the first position and the second position correspond to the second storage mode, starting data storage;
the method comprises the steps of firstly, carrying out data storage one by one in the sequence from the minimum position to the maximum position of an odd number position to acquire data to be stored at this time, and then carrying out data storage one by one in the sequence from the minimum position to the maximum position of an even number position;
when encountering the first position and the second position, directly skipping;
the data storage is performed in a third storage mode when the first position is 1 and the second position is 1, and specifically includes:
acquiring the data set, judging whether the first position and the second position correspond to a first storage mode or not, and starting data storage if the first position and the second position correspond to the first storage mode;
acquiring the data to be stored at this time, and storing the data one by one from the outermost position to the innermost position;
and when the first position and the second position are encountered, directly skipping.
2. The method for inventory management with dynamic adjustment of storage structure according to claim 1, wherein the steps of obtaining the storage structure in the retrieval system and completing the retrieval of the storage data according to the attention of the storage structure comprise:
obtaining a storage structure in a retrieval system, and reading a first position and a second position in the storage structure;
Determining one of a first, second and third storage structure based on the first location and the second location;
And acquiring corresponding storage data according to the storage structure and the storage sequence corresponding to the storage structure.
3. The method for inventory management with dynamic adjustment of storage structure according to claim 1, wherein when the data need to be restored after reading, the data set is rearranged for data storage, specifically comprising:
Judging whether the data need to be stored again or not, and resetting the data set if the data need to be stored again;
Reading the reset data set, and further determining one of the first, second and third storage structures according to the corresponding first location and the second location;
And finishing the data re-storage under the corresponding storage structure.
4. An inventory management system for dynamic adjustment of a storage structure, characterized in that the system is adapted to implement the method according to any of claims 1-3, the system comprising:
The group setting module is used for randomly generating a setting storage structure and a data group and pre-transmitting the storage structure to the retrieval system;
the first mode setting module is used for acquiring the data set, and storing data in a first storage mode when the first position is 1 and the second position is 0;
the second mode setting module is used for acquiring the data set, and when the first position is 0 and the second position is 1, the data is stored in a second storage mode;
the third mode setting module is used for acquiring the data set, and storing data in a second storage mode when the first position is 1 and the third position is 1;
the retrieval analysis module is used for acquiring a storage structure in the retrieval system and completing the retrieval of storage data according to the attention of the storage structure;
And the storage group module is used for resetting the data group to store the data when the data needs to be stored again after the data is read.
5. A computer readable storage medium, on which computer program instructions are stored, which computer program instructions, when executed by a processor, implement the method of any of claims 1-3.
6. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410006302.3A CN117611059B (en) | 2024-01-03 | 2024-01-03 | Inventory management method and system for dynamic adjustment of storage structure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410006302.3A CN117611059B (en) | 2024-01-03 | 2024-01-03 | Inventory management method and system for dynamic adjustment of storage structure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117611059A CN117611059A (en) | 2024-02-27 |
CN117611059B true CN117611059B (en) | 2024-05-03 |
Family
ID=89950145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410006302.3A Active CN117611059B (en) | 2024-01-03 | 2024-01-03 | Inventory management method and system for dynamic adjustment of storage structure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117611059B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002001333A2 (en) * | 2000-06-27 | 2002-01-03 | Microsoft Corporation | System and method for providing an individualized secure repository |
CA2506014A1 (en) * | 2004-04-30 | 2005-10-30 | Research In Motion Limited | Wireless communication device with securely added randomness and related method |
CN112580114A (en) * | 2020-12-21 | 2021-03-30 | 歌尔光学科技有限公司 | Information processing method, device, equipment and storage medium |
CN115358775A (en) * | 2022-08-11 | 2022-11-18 | 上海浦东发展银行股份有限公司 | Dynamic random lottery distributing method, system, electronic equipment and storage medium |
CN116860882A (en) * | 2023-09-05 | 2023-10-10 | 石家庄学院 | Cloud storage resource management and control method and system based on blockchain |
-
2024
- 2024-01-03 CN CN202410006302.3A patent/CN117611059B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002001333A2 (en) * | 2000-06-27 | 2002-01-03 | Microsoft Corporation | System and method for providing an individualized secure repository |
CA2506014A1 (en) * | 2004-04-30 | 2005-10-30 | Research In Motion Limited | Wireless communication device with securely added randomness and related method |
CN112580114A (en) * | 2020-12-21 | 2021-03-30 | 歌尔光学科技有限公司 | Information processing method, device, equipment and storage medium |
CN115358775A (en) * | 2022-08-11 | 2022-11-18 | 上海浦东发展银行股份有限公司 | Dynamic random lottery distributing method, system, electronic equipment and storage medium |
CN116860882A (en) * | 2023-09-05 | 2023-10-10 | 石家庄学院 | Cloud storage resource management and control method and system based on blockchain |
Also Published As
Publication number | Publication date |
---|---|
CN117611059A (en) | 2024-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111352806B (en) | Log data monitoring method and device | |
CN106651072A (en) | Dispatching method and device | |
CN104636406A (en) | Method and device for pushing information according to user behaviors | |
CN102402391A (en) | Displaying battery life resulting from setting changes | |
CN106598530A (en) | Display panel configuration method and device | |
US20180006881A1 (en) | Fault-Tolerant Configuration of Network Devices | |
CN104919425A (en) | Systems and methods for device-to-cloud message delivery | |
CN103634032A (en) | Data transferring method and system and mobile terminal | |
CN103746904A (en) | Information interaction method and device | |
CN117611059B (en) | Inventory management method and system for dynamic adjustment of storage structure | |
CN112396511A (en) | Distributed wind control variable data processing method, device and system | |
CN109992360A (en) | Process handling method and device, electronic equipment, computer readable storage medium | |
CN102609372A (en) | Pairing method for computer and wireless electronic device | |
CN115495519A (en) | Report data processing method and device | |
CN107544248A (en) | A kind of task optimization method and apparatus in mobile robot | |
CN112766698B (en) | Application service pressure determining method and device | |
CN116431911A (en) | Business collaborative management method and system based on intelligent matching | |
CN114154644A (en) | Machine learning data processing method and device | |
CN115293364A (en) | Method and device for measuring stability of machine learning characteristic factor | |
CN116260169A (en) | Load balancing method and system for regional self-adaptive scheduling energy storage | |
US20100223084A1 (en) | Methods and systems for routing fuel to portable power generators | |
CN117435402A (en) | Method and device for scheduling tape drives with backup strategy | |
CN118485426A (en) | Operation and maintenance interaction method and device based on information interaction platform, computer equipment and storage medium | |
CN205621051U (en) | Engineering cost progress management system | |
CN117974192A (en) | External delivery method and device for staged products |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |