CN108876254A - The providing method and device of inventory data - Google Patents
The providing method and device of inventory data Download PDFInfo
- Publication number
- CN108876254A CN108876254A CN201810862992.7A CN201810862992A CN108876254A CN 108876254 A CN108876254 A CN 108876254A CN 201810862992 A CN201810862992 A CN 201810862992A CN 108876254 A CN108876254 A CN 108876254A
- Authority
- CN
- China
- Prior art keywords
- equipment
- inventory data
- inventory
- data
- central server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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
Landscapes
- Business, Economics & Management (AREA)
- Economics (AREA)
- Engineering & Computer Science (AREA)
- Marketing (AREA)
- Quality & Reliability (AREA)
- Finance (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Accounting & Taxation (AREA)
- Operations Research (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a kind of providing method of inventory data, including:Obtain the inventory data of the first equipment;Obtain the information that second equipment an of central server is belonged to first equipment;According to the information of second equipment, the inventory data of first equipment is sent to second equipment.Compared with the inventory data in equipment is stored in central server by the prior art, the technical solution of the offer of the application be may be implemented the technical effect of the inventory data storage in equipment to other equipment.Thus, it is possible to mitigate storage of the central server to equipment inventory data, processing pressure, and the storage risk for being backed up, sharing inventory data in equipment of inventory data in equipment can be made.
Description
Technical field
This application involves field of data storage, and in particular to a kind of providing method and device of inventory data further relate to one
The offer system of kind inventory data, computer readable storage medium.
Background technique
Current unmanned vending machine increases, and stock control is still uniformly processed in server-side, that is, central management
Mode.This data, processing service are all in server-side, once center goes wrong (such as:Service cannot use, the system failure, number
According to library failure, network failure) etc. occur, just will appear server administration under unmanned plane all paralyse and can not trade.Unmanned shop
Stock control go wrong, substantially trade and just fall zero, therefore, the stability of stock control, correctness are in unmanned shop
It is critically important in daily management.
In the prior art, the inventory management method in machinery equipment is usually all the mode of centralization storage, management.Example
Such as, CN107633598A (a kind of self-service machine management system).During the inventory data processing scheme of such centralization can make
Heart administrative unit data processing pressure is excessive, and will cause the data degradation of managed equipment when central manage-ment unit damage,
With very big hidden danger.
Summary of the invention
This application provides the providing method of inventory data and the technical solutions of device, it is intended to solve existing skill for equipment
It is excessive that inventory data stores in central server the storage of central server data, processing pressure, the storage of centralization data, processing
The larger technical problem of risk.
The application provides a kind of providing method of inventory data, including:
Obtain the inventory data of the first equipment;
Obtain the information that second equipment an of central server is belonged to first equipment;
According to the information of second equipment, the inventory data of first equipment is sent to second equipment.
Optionally, the inventory data for obtaining the first equipment, including:
Inventory data is inquired in first equipment;Alternatively,
The request for obtaining the inventory data of first equipment is issued to the central server, obtains the central service
The inventory data for first equipment that device returns;Alternatively,
The inventory data of first equipment provided using the user of first equipment is provided.
Optionally, described to inquire inventory data in first equipment, including:
In first equipment storage for recording first inventory's flowing water table of the first equipment inventory's pipelined data
Inventory's pipelined data of middle inquiry first equipment, and/or,
In first equipment storage for recording the first inventory balance table of the first equipment inventory balance data
The inventory balance data of middle inquiry first equipment;
The information according to second equipment, the inventory data of first equipment is sent to second equipment,
Including:According to the information of second equipment, to second equipment send first equipment inventory's pipelined data and/or
The inventory balance data of first equipment.
Optionally, the acquisition belongs to the information of second equipment an of central server, packet with first equipment
It includes:
The request for obtaining the information of surrounding devices is sent to the central server, obtains what the central server returned
The information of second equipment;Alternatively,
The detection information for detecting surrounding devices is issued, obtains what second equipment was returned for the detection information
Response message obtains the information of second equipment according to the response message:Alternatively,
The information of second equipment provided using the user of first equipment is provided.
Optionally, further include:
Obtain the inventory data that second equipment an of central server is belonged to first equipment.
Optionally, further include:
Second inventory's flowing water table for recording the second equipment inventory's pipelined data is stored in first equipment,
And/or the second inventory balance table for recording the second equipment inventory balance data is stored in first equipment.
Optionally, further include:
The inventory data of second equipment is actively sent to the central server;Alternatively,
Obtain the request that the central server inquires the inventory data of second equipment;
The inventory data of second equipment is sent to the central server.
Optionally, further include:
The inventory data of second equipment is actively sent to the third equipment for belonging to the central server;Alternatively,
Obtain the request of the inventory data of the second equipment described in the third equipment query;
The inventory data of second equipment is sent to the third equipment.
Optionally, the acquisition belongs to the inventory of second equipment an of central server with first equipment
According to, including:
Obtain the inventory data of second equipment of the second equipment active transmission;Alternatively,
The request for obtaining the inventory data of second equipment is sent to second equipment, is obtained second equipment and is returned
The inventory data for second equipment returned;Alternatively,
Obtain the inventory data of second equipment of the central server active transmission;Alternatively,
The request for obtaining the inventory data of second equipment is sent to the central server, obtains the central service
The inventory data for second equipment that device returns.
Optionally, further include:
Obtain the information of the central server;
According to the information of the central server, the information of first equipment is registered to the central server.
Optionally, further include:
Obtain the request that the central server inquires the inventory data of first equipment;
The inventory data of first equipment is sent to the central server.
Optionally, further include:
According to the information of second equipment, to the information of the first equipment described in second facility registration.
Optionally, further include:
Obtain the inventory data for the third equipment for belonging to the central server that second equipment is sent.
Optionally, further include:
When needing to reacquire the inventory data of first equipment, second equipment is sent described first is obtained
The inventory data of equipment.
Optionally, when needing to reacquire the inventory data of first equipment, obtain what second equipment was sent
The inventory data of first equipment, including:
When first device fails, perhaps when first equipment storage inventory data lose when or
When needing to check the inventory data of the first equipment storage, the library for first equipment that second equipment is sent is obtained
Deposit data.
Optionally, the inventory data for obtaining first equipment that second equipment is sent, including:
Obtain the inventory data of first equipment of the second equipment active transmission;Alternatively,
The request for obtaining the inventory data of first equipment is sent to second equipment, is obtained second equipment and is returned
The inventory data for first equipment returned.
The application also provides the providing method of another inventory data, including:
First vending machine obtains the inventory data of first vending machine;
The first vending machine acquisition and first vending machine belong to second vending machine an of central server
Information;
First vending machine sends described first to second vending machine and sells according to the information of second vending machine
The inventory data of cargo aircraft.
The application still further provides a kind of providing method of inventory data, including:
Obtain the request that inventory data is inquired in the first equipment;
Obtain the inventory data that second equipment an of central server is belonged to first equipment;
For the request for inquiring inventory data in the first equipment, the inventory data of second equipment is exported.
Optionally, the request of inventory data is inquired in the acquisition in the first equipment, including:
Obtain the request that the first business object is obtained in first equipment;
According to the request for obtaining first business object in first equipment, generate in first equipment
The request of middle inquiry the first business object inventory data;
The acquisition belongs to the inventory data of second equipment an of central server with first equipment, including:
It obtains and belongs to first business object in second equipment an of central server with first equipment
Inventory data;
The request of the inventory data for the first equipment of the inquiry, exports the inventory data of second equipment,
Including:
For the request for inquiring the first business object inventory data in first equipment, output described second is set
The first business object inventory data in standby.
Optionally, the acquisition belongs to the inventory of second equipment an of central server with first equipment
According to, including:
When the inventory data of first equipment shows the inventory of first equipment lower than inventory's threshold value, acquisition and institute
State the inventory data that the first equipment belongs to second equipment an of central server.
Optionally, the acquisition belongs to described the in second equipment an of central server with first equipment
One business object inventory data, including:
When the first business object inventory data of first equipment shows described first in first equipment
When the inventory of business object is lower than inventory's threshold value, the second equipment that a central server is belonged to first equipment is obtained
In the first business object inventory data.
Optionally, the acquisition belongs to the inventory of second equipment an of central server with first equipment
According to, including:
Obtain the inventory data of pre-stored second equipment of first equipment;Alternatively,
Obtain the inventory data for second equipment that the central server is sent;Alternatively,
Obtain the inventory data for second equipment that second equipment is sent;Alternatively,
Obtain the inventory data for belonging to second equipment of third equipment transmission of the central server.
Optionally, further include:
Export identification information, the geography information, means of payment information, payment favor information, business pair of second equipment
At least one of pricing information of elephant information.
The application also provides the providing method of another inventory data, including:
First vending machine obtains the request that inventory data is inquired in first vending machine;
Obtain the inventory data that second vending machine an of central server is belonged to the vending machine;
For the request for inquiring inventory data in the first vending machine, the inventory of second vending machine is exported
According to.
The application also provides the offer device of another inventory data, including:
Inquiry request obtaining unit in first vending machine is configured to the first vending machine and obtains in first vending machine
Inquire the request of inventory data;
The inventory data obtaining unit of second vending machine is configured to obtain and the vending machine belongs to a center and takes
The inventory data of second vending machine of business device;
The inventory data output unit of second vending machine is configured to inquire inventory in the first vending machine for described
According to request, export the inventory data of second vending machine.
The application also provides a kind of inventory data service system, including:Central server belongs to the central server
The first equipment and the second equipment;
The central server is stored with the information of second equipment;
First equipment obtains the center for the information to the second equipment described in the central server requests
The information for second equipment that server provides obtains the inventory data of first equipment, according to second equipment
Information provides the inventory data of first equipment to second equipment;
Second equipment, for obtaining the inventory data for first equipment that first equipment provides.
Compared with the inventory data in equipment is stored in central server by the prior art, the skill of the offer of the application
Art scheme may be implemented the technical effect of the inventory data storage in equipment to other equipment.Thus, it is possible to mitigate central clothes
It is engaged in storage of the device to equipment inventory data, processing pressure, and being backed up, sharing library in equipment for inventory data in equipment can be made
The storage risk of deposit data.
Detailed description of the invention
Fig. 1 is a kind of process flow diagram of the embodiment of the providing method of inventory data provided by the present application;
A kind of application scenarios schematic diagram of the method for inventory data provided by the present application shown in Fig. 2;
Fig. 3 is a kind of schematic diagram of the embodiment of the offer device of inventory data provided by the present application;
Fig. 4 is the process flow diagram of the embodiment of the providing method of another inventory data provided by the present application;
Fig. 5 is the schematic diagram of the embodiment of the offer device of another inventory data provided by the present application;
Fig. 6 is a kind of process flow diagram of the embodiment of the providing method of inventory data provided by the present application;
Fig. 7 is a kind of schematic diagram of the embodiment of the offer device of inventory data provided by the present application;
Fig. 8 is a kind of process flow diagram of the embodiment of the providing method of inventory data provided by the present application;
Fig. 9 is a kind of schematic diagram of the embodiment of the offer device of inventory data provided by the present application.
Specific embodiment
Many details are explained in the following description in order to fully understand the application.But the application can be with
Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to the application intension the case where
Under do similar popularization, therefore the application is not limited by following public specific implementation.
The application provides a kind of providing method of inventory data, and Fig. 1 is the providing method of inventory data provided by the present application
Embodiment process flow diagram.Below with reference to the process flow diagram of the embodiment of the providing method of inventory data shown in FIG. 1,
Come illustrate inventory data provided by the present application providing method technical solution.
The process flow of the embodiment of the providing method of inventory data shown in fig. 1 includes:
Step S101 obtains the inventory data of the first equipment.
The inventory data refers to the relevant statistics for the stock article being mounted in equipment, such as certain article
Quantity, sales volume, sales volume etc..
The inventory data for obtaining the first equipment, can inquire inventory data in first equipment;It can also be to
Central server issues the request for obtaining the inventory data of first equipment, obtain that the central server returns described the
The inventory data of one equipment;The inventory of first equipment provided using the user of first equipment can also be provided
According to.
It can be following steps when inquiring inventory data in first equipment:A. it is stored in first equipment
For recording the inventory's stream for inquiring first equipment in first inventory's flowing water table of the first equipment inventory's pipelined data
Water number evidence, and/or, the first inventory for being used to record the first equipment inventory balance data that b. is stored in first equipment
The inventory balance data of first equipment are inquired in surplus table.
Wherein, inventory's flowing water table can be the sales volume of certain commodity certain time Nei, sales volume etc..Inventory balance table can
To refer to the remaining quantity of certain product in equipment.
Step S102 obtains the information that second equipment an of central server is belonged to first equipment.
Wherein, the second equipment for belonging to a central server can refer to second managed by the same central server
Equipment.
It is described acquisition with first equipment belong to a central server the second equipment information, can by with
Lower step is realized:A. the request for obtaining the information of surrounding devices is sent to central server, is obtained the central server and is returned
The second equipment information;Alternatively, issues the detection information for detecting surrounding devices, obtains the second equipment and be directed to the spy
The response message that measurement information returns obtains the information of the second equipment according to the response message;Alternatively, c. is obtained using described the
The information for the second equipment that the user of one equipment provides.
Wherein, the information of surrounding devices can be the mark of surrounding devices, address etc., and the mark, address can be used to
Realize the communication connection etc. of equipment room.
Step S103 sends the inventory of first equipment to second equipment according to the information of second equipment
Data.
After knowing the information of the second equipment, the data transmission of equipment room can be realized, such as to second equipment
Send the inventory data of first equipment.
The information according to second equipment, the inventory data of first equipment is sent to second equipment,
It can be following steps:According to the information of second equipment, inventory's stream of first equipment is sent to second equipment
The inventory balance data of water number evidence and/or first equipment.
After above step S101, S102, S103, the inventory data of the first equipment of acquisition can be sent to
Two equipment, still being capable of alternate device data not against central server.It is with the prior art that device data is standby
Part is compared in central server, alleviates data storage, the processing pressure of central server, has shared data storage, processing wind
Danger.
Other than above step, the method can also include the following steps:A it) obtains and is belonged to first equipment
In the inventory data of the second equipment of a central server.
It is, the technical effect of the second equipment of acquisition may be implemented by the first equipment.
The acquisition belongs to the inventory data of second equipment an of central server with first equipment, can wrap
Include following steps:A1 the inventory data of second equipment of the second equipment active transmission) is obtained;Alternatively, A2) to described
Second equipment sends the request for obtaining the inventory data of second equipment, obtains second equipment returns described second and sets
Standby inventory data;Alternatively, A3) obtain the central server active transmission second equipment inventory data;Alternatively,
A4 the request for obtaining the inventory data of second equipment) is sent to the central server, is obtained the central server and is returned
The inventory data for second equipment returned.The inventory of the second equipment can be obtained by the above various ways by the first equipment
Data.
Other than above step, the method can also include the following steps:B1 it) stores and uses in first equipment
In the second inventory's flowing water table for recording the second equipment inventory's pipelined data, and/or, B2) it is stored in first equipment
For recording the second inventory balance table of the second equipment inventory balance data.
The technical effect that the data of acquisition are stored in corresponding position namely may be implemented.
Other than above step, the method can also include the following steps:C it) is actively sent out to the central server
Send the inventory data of second equipment;Alternatively, C1) obtain the inventory data that the central server inquires second equipment
Request;C2 the inventory data of second equipment) is sent to the central server.
The inventory data that the second equipment can singly not obtained by the first equipment namely, can also be sent to central service
Device backup, so that realizing can be by the inventory data of first the second equipment of device backup and to pass through central service end standby
The technical effect of the inventory data of the second equipment of part.
Other than above step, the method can also include the following steps:D) actively to belonging to the central service
The third equipment of device sends the inventory data of second equipment;Alternatively, D1) it obtains described in the third equipment query second and sets
The request of standby inventory data;D2 the inventory data of second equipment) is sent to the third equipment.
The inventory data that the second equipment can singly not obtained by the first equipment namely, can also be sent to middle third and set
Backup, can be by the inventory data of first the second equipment of device backup and by third device backup to realize
The technical effect of the inventory data of second equipment.
Other than above step, the method can also include the following steps:E1 the letter of the central server) is obtained
Breath;E2) according to the information of the central server, the information of first equipment is registered to the central server.
Communication, the data transmission between the first equipment and central server namely may be implemented.
Other than above step, the method can also include the following steps:F1 the central server inquiry) is obtained
The request of the inventory data of first equipment;F2 the inventory data of first equipment) is sent to the central server.
The inventory data of the first equipment can namely be stored to central server, protect the inventory data of the first equipment
Safety.
Other than above step, the method can also include the following steps:G) according to the information of second equipment,
To the information of the first equipment described in second facility registration.
Communication, the data transmission between the first equipment and other equipment namely may be implemented.
Other than above step, the method can also include the following steps:H) obtain what second equipment was sent
Belong to the inventory data of the third equipment of the central server.
The technical effect for obtaining the inventory data of third equipment by the second equipment namely may be implemented, further protect just
The secure storage problem of the inventory data of third equipment.
Other than above step, the method can also include the following steps:I) when needing to reacquire described first
When the inventory data of equipment, the inventory data for first equipment that second equipment is sent is obtained.
It is described when needing to reacquire the inventory data of first equipment, obtain second equipment send it is described
The inventory data of first equipment can execute in a case where:When first device fails, or when described the
When the inventory data of one equipment storage is lost, or when needing to check the inventory data of the first equipment storage, obtain institute
State the inventory data of first equipment of the second equipment transmission.
It is, the inventory data of the first equipment can be reacquired when the inventory data of the first equipment is impaired, thus
Realize the recovery of the inventory data of the first equipment.
The inventory data for obtaining first equipment that second equipment is sent can pass through following steps reality
It is existing:Obtain the inventory data of first equipment of the second equipment active transmission;Alternatively, being obtained to second equipment transmission
The request of the inventory data of first equipment is taken, the inventory data for first equipment that second equipment returns is obtained.
It is, the technical effect for reacquiring the inventory data of the first equipment by the second equipment may be implemented.
Present techniques side is analyzed below with reference to the application scenarios schematic diagram of the providing method of inventory data shown in Fig. 2
Case.
This programme is proposed in view of the conscientiously existing stability problem of importance and the on-hand inventory management of stock control
A kind of new architectural schemes --- decentralization stock control scheme:Data and processing mode be all in local machine (such as
Unmanned vending machine), small range closely carries out data sharing and interaction, center can be with statistical queries.This programme not only alleviates
Burden in the performance of processing end, and avoid because the case where stock control failure leads to extensive unmanned vending machine paralysis goes out
It is existing.
As shown in Fig. 2, including equipment 1, equipment 2, equipment 3, server-side.It can be registered mutually between each equipment.Respectively
Equipment has the inventory data of itself, and is stored with the synchrodata of the address table of peripheral equipment, peripheral equipment.In each equipment
It can inquire, manage the data of storage.Each equipment can also be registered to server-side, and server-side can back up the inventory of each equipment
According to the address of, each equipment.The data of each equipment can be inquired, be counted in businessman/service provider.
Inventory data is stored in the machine, on peripheral equipment by the technical solution of the application shown in Fig. 2, can also be in addition standby
Part is in server-side.Compared with existing equipment all stores data in server-side, this can mitigate the data storage of server-side, place
Manage pressure, sharing data storage, processing risk.
The application also provides a kind of offer device of inventory data.Fig. 3 is the offer dress of inventory data provided by the present application
The schematic diagram for the embodiment set.Since Installation practice is substantially similar to embodiment of the method, so describe fairly simple, it is related
Part refer to above-mentioned offer embodiment of the method corresponding explanation.
The offer device of inventory data in embodiment illustrated in fig. 3, including:
The inventory data obtaining unit 101 of first equipment, for obtaining the inventory data of the first equipment;
The information obtainment unit 102 of second equipment belongs to a central server with first equipment for obtaining
The second equipment information;
The inventory data transmission unit 103 of first equipment is set for the information according to second equipment to described second
Preparation send the inventory data of first equipment.
Optionally, the inventory data obtaining unit of first equipment includes:
First obtains subelement, for inquiring inventory data in first equipment;Alternatively,
Second obtains subelement, for asking for the inventory data to central server sending acquisition first equipment
It asks, obtains the inventory data for first equipment that the central server returns;Alternatively,
Third obtains subelement, the inventory for first equipment that the user for obtaining using first equipment provides
Data.
Optionally, the first acquisition subelement is used for:
In first equipment storage for recording first inventory's flowing water table of the first equipment inventory's pipelined data
Inventory's pipelined data of middle inquiry first equipment, and/or,
In first equipment storage for recording the first inventory balance table of the first equipment inventory balance data
The inventory balance data of middle inquiry first equipment;
The inventory data transmission unit of first equipment is used for:
According to the information of second equipment, inventory's pipelined data of first equipment is sent to second equipment
And/or the inventory balance data of first equipment.
Optionally, the information acquisition of second equipment be applied alone in:
The request for obtaining the information of surrounding devices is sent to the central server, obtains what the central server returned
The information of second equipment;Alternatively,
The detection information for detecting surrounding devices is issued, obtains what second equipment was returned for the detection information
Response message obtains the information of second equipment according to the response message;Alternatively,
The information of second equipment provided using the user of first equipment is provided.
Optionally, further include:
The inventory data obtaining unit of second equipment belongs to a central server with first equipment for obtaining
The second equipment inventory data.
Optionally, further include:
Storage unit, for storing for recording the second equipment inventory's pipelined data in first equipment
Two inventory's flowing water tables, and/or, second for recording the second equipment inventory balance data is stored in first equipment
Inventory balance table.
Optionally, further include:
The inventory data active transmission unit of second equipment sends described second to the central server for active and sets
Standby inventory data;Alternatively,
The request obtaining unit of the inventory data of second equipment is set for obtaining the central server inquiry described second
The request of standby inventory data;
The passive transmission unit of the inventory data of second equipment, for sending second equipment to the central server
Inventory data.
Optionally, further include:
Actively to third equipment transmission unit, send for active to the third equipment for belonging to the central server described in
The inventory data of second equipment;Alternatively,
Third equipment query requests obtaining unit, for obtaining the inventory of the second equipment described in the third equipment query
According to request;
By trend third equipment transmission unit, for sending the inventory data of second equipment to the third equipment.
Optionally, the inventory data obtaining unit of second equipment is used for:
Obtain the inventory data of second equipment of the second equipment active transmission;Alternatively,
The request for obtaining the inventory data of second equipment is sent to second equipment, is obtained second equipment and is returned
The inventory data for second equipment returned;Alternatively,
Obtain the inventory data of second equipment of the central server active transmission;Alternatively,
The request for obtaining the inventory data of second equipment is sent to the central server, obtains the central service
The inventory data for second equipment that device returns.
Optionally, further include:
The information obtainment unit of central server, for obtaining the information of the central server;
It is infused to central server registering unit for the information according to the central server to the central server
The information of volume first equipment.
Optionally, further include:
Central server inquiry request obtaining unit inquires the library of first equipment for obtaining the central server
The request of deposit data;
To the central server transmission unit, for sending the inventory of first equipment to the central server
According to.
Optionally, further include:
To the second facility registration unit, for the information according to second equipment, to described in second facility registration
The information of first equipment.
Optionally, further include:
The inventory data obtaining unit of third equipment belongs to the central service for obtain that second equipment sends
The inventory data of the third equipment of device.
Optionally, further include:
The inventory data of first equipment reacquires unit, for when the inventory for needing to reacquire first equipment
According to when, obtain the inventory data for first equipment that second equipment is sent.
Optionally, the inventory data of first equipment reacquires unit and is used for:
When first device fails, perhaps when first equipment storage inventory data lose when or
When needing to check the inventory data of the first equipment storage, the library for first equipment that second equipment is sent is obtained
Deposit data.
Optionally, the inventory data of first equipment reacquires unit and is used for:
Obtain the inventory data of first equipment of the second equipment active transmission;Alternatively,
The request for obtaining the inventory data of first equipment is sent to second equipment, is obtained second equipment and is returned
The inventory data for first equipment returned.
The application also provides the providing method of another inventory data, and Fig. 4 is another inventory provided by the present application
The process flow diagram of the embodiment of the providing method of data.Below with reference to the provider of another inventory data shown in Fig. 4
The process flow diagram of the embodiment of method, come illustrate another inventory data provided by the present application providing method technical side
Case.
Step S201, the first vending machine obtain the inventory data of first vending machine;
Step S202, first vending machine, which is obtained, belongs to the second of a central server with first vending machine
The information of vending machine;
Step S203, first vending machine are sent according to the information of second vending machine to second vending machine
The inventory data of first vending machine.
The present embodiment is the technical solution using vending machine as application scenarios, and specific processing can be found in above.The embodiment can
To realize the data backup between vending machine, the machine inventory data is stored in central server phase with vending machine in the prior art
Than that can mitigate data storage, the processing pressure of central server, mitigate the security risk of vending machine inventory data storage.
The application also provides the offer device of another inventory data.Fig. 5 is another inventory provided by the present application
The schematic diagram of the embodiment of the offer device of data.Since Installation practice is substantially similar to embodiment of the method, so describing
Fairly simple, relevant part refers to the corresponding explanation of the embodiment of the method for above-mentioned offer.
The offer device of inventory data in embodiment illustrated in fig. 5, including:
First vending machine inventory data obtaining unit 201 is configured to the first vending machine and obtains first vending machine
Inventory data;
The information acquisition unit 202 of second vending machine is configured to the first vending machine acquisition and sells goods with described first
Machine belongs to the information of second vending machine an of central server;
The inventory data transmission unit 203 of first vending machine is configured to first vending machine and sells according to described second
The information of cargo aircraft sends the inventory data of first vending machine to second vending machine.
The application also provides the providing method of another inventory data, and Fig. 6 is another inventory provided by the present application
The process flow diagram of the embodiment of the providing method of data.Below with reference to the provider of another inventory data shown in fig. 6
The process flow diagram of the embodiment of method, come illustrate another inventory data provided by the present application providing method technical side
Case.
Step S301 obtains the request that inventory data is inquired in the first equipment;
The request of inventory data is inquired in the acquisition in the first equipment, can be realized by following steps:A1. it obtains
The request of the first business object is obtained in first equipment;A2. described first is obtained in first equipment according to described
The request of business object generates the request that the first business object inventory data is inquired in first equipment;
Wherein, business object can be certain specific commodity, such as Coca-Cola etc..
Step S302 obtains the inventory data that second equipment an of central server is belonged to first equipment;
The acquisition belongs to the inventory data of second equipment an of central server, Ke Yitong with first equipment
Cross following steps realization:It obtains and belongs to first industry in second equipment an of central server with first equipment
Business object inventory data.Namely obtain the inventory data in the second equipment, such as the inventory data of Coca-Cola.
The acquisition belongs to first business in second equipment an of central server with first equipment
Object inventory data can be executed in following situations:When the first business object inventory data of first equipment shows
When the inventory of first business object in first equipment is lower than inventory's threshold value, acquisition is belonged to first equipment
The first business object inventory data in second equipment of one central server.
For example, being less than 5 bottles of preset inventory's preset threshold when the inventory of Coca-Cola in the first equipment only has 2 bottles
When, so that it may obtain the inventory data of Coca-Cola in other equipment.
The acquisition belongs to the inventory data of second equipment an of central server, Ke Yitong with first equipment
Cross following steps realization:Obtain the inventory data of pre-stored second equipment of first equipment;Alternatively, described in obtaining
The inventory data for second equipment that central server is sent;It is set alternatively, obtaining second equipment is sent described second
Standby inventory data;Alternatively, obtaining the inventory for belonging to second equipment of third equipment transmission of the central server
According to.It is, the inventory data of the second equipment can be obtained by the above various ways.
The acquisition belongs to the inventory data of second equipment an of central server, Ke Yitong with first equipment
Cross following steps realization:When the inventory data of first equipment shows the inventory of first equipment lower than inventory's threshold value,
Obtain the inventory data that second equipment an of central server is belonged to first equipment.
For example, just obtaining the second equipment when 5 bottles of drink surplus in the first equipment are less than preset inventory's threshold value 10
Inventory data in the relevant data of drink surplus.
Step S303 exports the library of second equipment for the request for inquiring inventory data in the first equipment
Deposit data.
It namely may be implemented to inquire, export on the first device the technical effect of the inventory data of the second equipment.
The request of the inventory data for the first equipment of the inquiry, exports the inventory data of second equipment,
It can be realized by following steps:For the request for inquiring the first business object inventory data in first equipment,
Export the first business object inventory data in second equipment.For example, the inventory data of inquiry Coca-Cola, first
Equipment exports the balance information of Coca-Cola in the second equipment.To which user is known that more than Coca-Cola in the second equipment
Whether amount is sufficient.
The method can also include:Export the identification information of second equipment, geography information, means of payment information,
Pay at least one of the pricing information of favor information, business object information.It namely may be implemented to be supplied to user more detailed
The technical effect of thin information.
The application also provides the offer device of another inventory data.Fig. 7 is another inventory provided by the present application
The schematic diagram of the embodiment of the offer device of data.Since Installation practice is substantially similar to embodiment of the method, so describing
Fairly simple, relevant part refers to the corresponding explanation of the embodiment of the method for above-mentioned offer.
The offer device of inventory data in embodiment illustrated in fig. 7, including:
Inquiry request obtaining unit 301 in first equipment, for obtaining the request for inquiring inventory data in the first equipment;
The inventory data obtaining unit 302 of second equipment belongs to a center clothes with first equipment for obtaining
The inventory data of second equipment of business device;
The inventory data output unit 303 of second equipment, for inquiring inventory data in the first equipment for described
Request exports the inventory data of second equipment.
Optionally, inquiry request obtaining unit is used in first equipment:
Obtain the request that the first business object is obtained in first equipment;
According to the request for obtaining first business object in first equipment, generate in first equipment
The request of middle inquiry the first business object inventory data;
The inventory data obtaining unit of second equipment is used for:
It obtains and belongs to first business object in second equipment an of central server with first equipment
Inventory data;
The inventory data output unit of second equipment is used for:
For the request for inquiring the first business object inventory data in first equipment, output described second is set
The first business object inventory data in standby.
Optionally, the inventory data obtaining unit of second equipment is used for:
When the inventory data of first equipment shows the inventory of first equipment lower than inventory's threshold value, acquisition and institute
State the inventory data that the first equipment belongs to second equipment an of central server.
Optionally, the inventory data obtaining unit of second equipment is used for:
When the first business object inventory data of first equipment shows described first in first equipment
When the inventory of business object is lower than inventory's threshold value, the second equipment that a central server is belonged to first equipment is obtained
In the first business object inventory data.
Optionally, the inventory data obtaining unit of second equipment is used for:
Obtain the inventory data of pre-stored second equipment of first equipment;Alternatively,
Obtain the inventory data for second equipment that the central server is sent;Alternatively,
Obtain the inventory data for second equipment that second equipment is sent;Alternatively,
Obtain the inventory data for belonging to second equipment of third equipment transmission of the central server.
Optionally, further include:
Output unit, it is excellent for exporting the identification information of second equipment, geography information, means of payment information, payment
At least one of the pricing information of favour information, business object information.
The application also provides the providing method of another inventory data, and Fig. 8 is another inventory provided by the present application
The process flow diagram of the embodiment of the providing method of data.Below with reference to the provider of another inventory data shown in Fig. 8
The process flow diagram of the embodiment of method, come illustrate another inventory data provided by the present application providing method technical side
Case.
Step S401, the first vending machine obtain the request that inventory data is inquired in first vending machine;
Step S402 obtains the inventory data that second vending machine an of central server is belonged to the vending machine;
Step S403 exports second vending machine for the request for inquiring inventory data in the first vending machine
Inventory data.
The present embodiment is the technical solution using vending machine as application scenarios, may be implemented to inquire in the first equipment, obtain
The technical effect of inventory data in second equipment.When the inventory data in the first equipment is unsatisfactory for requiring, user can be timely
Know the inventory data information in the second equipment, user is facilitated to obtain stock article.
The application also provides the offer device of another inventory data.Fig. 8 is another inventory provided by the present application
The schematic diagram of the embodiment of the offer device of data.Since Installation practice is substantially similar to embodiment of the method, so describing
Fairly simple, relevant part refers to the corresponding explanation of the embodiment of the method for above-mentioned offer.
The offer device of inventory data in embodiment illustrated in fig. 9, including:
Inquiry request obtaining unit 401 in first vending machine is configured to the acquisition of the first vending machine and sells goods described first
The request of inventory data is inquired in machine;
The inventory data obtaining unit 402 of second vending machine is configured to obtain and the vending machine belongs in one
Entreat the inventory data of the second vending machine of server;
The inventory data output unit 403 of second vending machine is configured to inquire library in the first vending machine for described
The request of deposit data exports the inventory data of second vending machine.
The application also provides a kind of inventory data service system, including:Central server belongs to the central server
The first equipment and the second equipment;
The central server is stored with the information of second equipment;
First equipment obtains the center for the information to the second equipment described in the central server requests
The information for second equipment that server provides obtains the inventory data of first equipment, according to second equipment
Information provides the inventory data of first equipment to second equipment;
Second equipment, for obtaining the inventory data for first equipment that first equipment provides.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, and the program is processed
When device executes, perform the following operations:
Obtain the inventory data of the first equipment;
Obtain the information that second equipment an of central server is belonged to first equipment;
According to the information of second equipment, the inventory data of first equipment is sent to second equipment.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill
Art personnel are not departing from spirit and scope, can make possible variation and modification, therefore the guarantor of the application
Shield range should be subject to the range that the claim of this application defined.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
Claims (10)
1. a kind of providing method of inventory data, which is characterized in that including:
Obtain the inventory data of the first equipment;
Obtain the information that second equipment an of central server is belonged to first equipment;
According to the information of second equipment, the inventory data of first equipment is sent to second equipment.
2. the method according to claim 1, wherein it is described obtain the first equipment inventory data, including:
Inventory data is inquired in first equipment;Alternatively,
The request for obtaining the inventory data of first equipment is issued to the central server, is obtained the central server and is returned
The inventory data for first equipment returned;Alternatively,
The inventory data of first equipment provided using the user of first equipment is provided.
3. according to the method described in claim 2, it is characterized in that, described inquire inventory data in first equipment, packet
It includes:
It is looked into first inventory's flowing water table for recording the first equipment inventory's pipelined data of first equipment storage
Inventory's pipelined data of first equipment is ask, and/or,
It is looked into the first inventory balance table for recording the first equipment inventory balance data of first equipment storage
Ask the inventory balance data of first equipment;
The information according to second equipment sends the inventory data of first equipment to second equipment, including:
According to the information of second equipment, inventory's pipelined data of first equipment and/or described is sent to second equipment
The inventory balance data of first equipment.
4. the method according to claim 1, wherein the acquisition belongs to a center with first equipment
The information of second equipment of server, including:
The request for obtaining the information of surrounding devices is sent to the central server, obtains the described of the central server return
The information of second equipment;Alternatively,
The detection information for detecting surrounding devices is issued, second equipment is obtained and is directed to the response that the detection information returns
Information obtains the information of second equipment according to the response message;Alternatively,
The information of second equipment provided using the user of first equipment is provided.
5. the method according to claim 1, wherein further including:
Obtain the inventory data that second equipment an of central server is belonged to first equipment.
6. according to the method described in claim 5, it is characterized in that, further including:
Store second inventory's flowing water table for recording the second equipment inventory's pipelined data in first equipment, and/
Or, storing the second inventory balance table for recording the second equipment inventory balance data in first equipment.
7. according to the method described in claim 5, it is characterized in that, further including:
The inventory data of second equipment is actively sent to the central server;Alternatively,
Obtain the request that the central server inquires the inventory data of second equipment;
The inventory data of second equipment is sent to the central server.
8. according to the method described in claim 5, it is characterized in that, further including:
The inventory data of second equipment is actively sent to the third equipment for belonging to the central server:Alternatively,
Obtain the request of the inventory data of the second equipment described in the third equipment query;
The inventory data of second equipment is sent to the third equipment.
9. according to the method described in claim 5, it is characterized in that, the acquisition belongs to a center with first equipment
The inventory data of second equipment of server, including:
Obtain the inventory data of second equipment of the second equipment active transmission;Alternatively,
The request for obtaining the inventory data of second equipment is sent to second equipment, obtains what second equipment returned
The inventory data of second equipment;Alternatively,
Obtain the inventory data of second equipment of the central server active transmission;Alternatively,
The request for obtaining the inventory data of second equipment is sent to the central server, is obtained the central server and is returned
The inventory data for second equipment returned.
10. a kind of inventory data service system, which is characterized in that including:Central server belongs to the central server
First equipment and the second equipment;
The central server is stored with the information of second equipment;
First equipment obtains the central service for the information to the second equipment described in the central server requests
The information for second equipment that device provides obtains the inventory data of first equipment, according to the information of second equipment,
The inventory data of first equipment is provided to second equipment;
Second equipment, for obtaining the inventory data for first equipment that first equipment provides.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810862992.7A CN108876254A (en) | 2018-08-01 | 2018-08-01 | The providing method and device of inventory data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810862992.7A CN108876254A (en) | 2018-08-01 | 2018-08-01 | The providing method and device of inventory data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108876254A true CN108876254A (en) | 2018-11-23 |
Family
ID=64307015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810862992.7A Pending CN108876254A (en) | 2018-08-01 | 2018-08-01 | The providing method and device of inventory data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108876254A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113111120A (en) * | 2020-01-13 | 2021-07-13 | 北京京东振世信息技术有限公司 | Method and device for verifying service data |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868762A (en) * | 2012-09-29 | 2013-01-09 | 广东凌康科技有限公司 | Cloud storage based stocking-selling-storing system |
CN106096882A (en) * | 2016-06-10 | 2016-11-09 | 中山市科全软件技术有限公司 | A kind of full-automatic unmanned supermarket device |
CN107633598A (en) * | 2017-09-22 | 2018-01-26 | 合肥众驰天下网络科技有限公司 | A kind of self-service machine management system |
CN107784339A (en) * | 2017-09-08 | 2018-03-09 | 阿里巴巴集团控股有限公司 | Method, apparatus and equipment are performed applied to client, the business of service end |
CN108182585A (en) * | 2018-01-25 | 2018-06-19 | 北京正众信源传媒科技有限公司 | New retail anti-counterfeiting system and method based on block chain technology |
CN108270836A (en) * | 2017-01-03 | 2018-07-10 | 华为技术有限公司 | Data processing method, equipment and system based on block chain |
-
2018
- 2018-08-01 CN CN201810862992.7A patent/CN108876254A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868762A (en) * | 2012-09-29 | 2013-01-09 | 广东凌康科技有限公司 | Cloud storage based stocking-selling-storing system |
CN106096882A (en) * | 2016-06-10 | 2016-11-09 | 中山市科全软件技术有限公司 | A kind of full-automatic unmanned supermarket device |
CN108270836A (en) * | 2017-01-03 | 2018-07-10 | 华为技术有限公司 | Data processing method, equipment and system based on block chain |
CN107784339A (en) * | 2017-09-08 | 2018-03-09 | 阿里巴巴集团控股有限公司 | Method, apparatus and equipment are performed applied to client, the business of service end |
CN107633598A (en) * | 2017-09-22 | 2018-01-26 | 合肥众驰天下网络科技有限公司 | A kind of self-service machine management system |
CN108182585A (en) * | 2018-01-25 | 2018-06-19 | 北京正众信源传媒科技有限公司 | New retail anti-counterfeiting system and method based on block chain technology |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113111120A (en) * | 2020-01-13 | 2021-07-13 | 北京京东振世信息技术有限公司 | Method and device for verifying service data |
CN113111120B (en) * | 2020-01-13 | 2023-09-01 | 北京京东振世信息技术有限公司 | Service data verification method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10949447B2 (en) | Blockchain-based data synchronizing and data block parsing method and device | |
CN103975571B (en) | High Availabitity network file manager with automatic Load balance and property regulation | |
CN107092437A (en) | Data write-in, read method and device, cloud storage system | |
US20070061457A1 (en) | Method and system for handling asynchronous database transactions in a web based environment | |
EP1573625A2 (en) | System and method for supply chain aggregation and web services | |
CN107277086A (en) | Transaction processing system, method for processing business and service updating method | |
CN106469391A (en) | The method and apparatus reducing inventory data | |
US11803598B2 (en) | Query language for selecting and addressing resources | |
EP1576502A2 (en) | Managing data consistency | |
WO2017118318A1 (en) | Data storage and service processing method and device | |
Schapranow et al. | Costs of authentic pharmaceuticals: research on qualitative and quantitative aspects of enabling anti-counterfeiting in RFID-aided supply chains | |
EP3434028B1 (en) | Device provisioning | |
CN108876254A (en) | The providing method and device of inventory data | |
CN107357557A (en) | A kind of information updating method and device | |
CN111694682B (en) | Multi-level tenant management method, device, equipment and storage medium | |
CN105138581A (en) | Mobile information writing and reading method and system | |
US10521845B2 (en) | Systems and methods for network product identification and service delivery | |
CN105939278A (en) | Data processing method and device | |
CN106951225A (en) | Data processing method and device based on service configuration template | |
CN108259405A (en) | A kind of intelligence Management System for Clients Information | |
CN113177070B (en) | Information query method, device and related equipment | |
US20230155849A1 (en) | Method and Apparatus for Service Charging in a Communication Network | |
EP4386648A1 (en) | Blockchain-based source-tracing method and system | |
US8478874B2 (en) | System and method for composition of stream processing service environments | |
CN117744773A (en) | Cross-business-party graph data storage and query method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |