CN110782323B - Resource margin data updating method and device - Google Patents

Resource margin data updating method and device Download PDF

Info

Publication number
CN110782323B
CN110782323B CN201911040572.1A CN201911040572A CN110782323B CN 110782323 B CN110782323 B CN 110782323B CN 201911040572 A CN201911040572 A CN 201911040572A CN 110782323 B CN110782323 B CN 110782323B
Authority
CN
China
Prior art keywords
resource
information
data
instruction
margin
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
Application number
CN201911040572.1A
Other languages
Chinese (zh)
Other versions
CN110782323A (en
Inventor
王平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201911040572.1A priority Critical patent/CN110782323B/en
Publication of CN110782323A publication Critical patent/CN110782323A/en
Application granted granted Critical
Publication of CN110782323B publication Critical patent/CN110782323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0605Supply or demand aggregation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a method and a device for updating resource allowance data, wherein the method comprises the following steps: responding to a ordering instruction of a catering order, and analyzing task information of the catering order in the ordering instruction; the task information comprises identification information and usage information of at least one resource to be added; updating the stored resource allowance data in real time according to the task information to obtain updated resource allowance data; and sending the updated resource allowance data to a display device of the merchant and/or the merchant so as to display the updated resource allowance data by the display device of the merchant and/or the merchant. By the method, the resource allowance data are updated and displayed in real time according to the analyzed task information of the catering order, and real-time monitoring of the resource allowance is achieved.

Description

Resource margin data updating method and device
Technical Field
The invention relates to the technical field of internet, in particular to a resource allowance data updating method and device.
Background
With the development of automation technology, it is becoming more and more common to implement manufacturing by automatic control, including the spread from traditional manufacturing industry to service industry. In the service industry, such as the typical catering service industry, the automation technology is used for replacing manual service, so that the automation degree can be improved, and the efficiency and the quality of the service can be improved. Meanwhile, in the process of providing services by using an automation technology, how to monitor resources involved in the service process becomes a problem of great concern. In the prior art, the total consumption of each resource is calculated by counting the number of finished products and the resource consumption of each finished product, and the actual surplus of each resource can be obtained.
However, the inventor finds that the mode in the prior art at least has the following problems in the process of implementing the embodiment of the invention: the margin calculation is performed according to the number of finished products and the resource consumption of each finished product, a certain time period is usually required, the timeliness of margin updating is insufficient, and the real-time updating and monitoring of the resource margin cannot be realized.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a method and apparatus for updating resource margin data that overcome or at least partially solve the above problems.
According to an aspect of the embodiments of the present invention, there is provided a method for updating resource margin data, including:
responding to a ordering instruction of a catering order, and analyzing task information of the catering order in the ordering instruction; the task information comprises identification information and usage information of at least one resource to be added;
updating the stored resource allowance data in real time according to the task information to obtain updated resource allowance data;
and sending the updated resource allowance data to a display device of the merchant and/or the merchant so as to display the updated resource allowance data by the display device of the merchant and/or the merchant.
Optionally, the analyzing the task information of the restaurant order in the order placing instruction further includes: analyzing the order placing instruction to obtain an order procedure instruction; and inquiring a preset procedure instruction set according to the order procedure instruction, and obtaining the identification information and the usage information of at least one resource to be added related to the order placing instruction according to an inquiry result.
Optionally, the preset process instruction set includes a process field, an equipment information field, a process parameter field, a digital instruction field, a control mode field, and/or a discharge granularity field; the querying a preset process instruction set according to the order process instruction, and obtaining the identification information and the usage information of at least one resource to be added related to the order placing instruction according to the query result further comprises: aiming at each process instruction in the order process instructions, matching the process instruction with the field value of a digital instruction field in a preset process instruction set, and determining target instruction data according to the matching result; determining identification information of at least one resource to be added from the equipment information value and/or the process value in the target instruction data; and determining the usage information of at least one resource to be added according to the instruction content of the process instruction and the process parameter value, the control mode value and/or the discharge granularity value in the target instruction data.
Optionally, the updating, in real time, the stored resource margin data according to the task information further includes: and updating the residual amount information of at least one resource in the stored resource residual amount data according to the identification information and the usage amount information of at least one resource to be added.
Optionally, the updating, in real time, the stored resource margin data according to the task information further includes: the identification information and the usage information of at least one resource are sent to a manufacturing control device of a merchant, so that the manufacturing control device controls at least one resource adding device to perform adding processing according to the identification information and the usage information of at least one resource, and receives actual usage information fed back by a measuring device in response to each adding processing; the measuring equipment is arranged below a resource receiving position of at least any one resource adding equipment; receiving actual usage data returned by the manufacturing control equipment, and updating the stored resource allowance data according to the actual usage data; wherein the actual usage data includes at least actual usage information fed back in response to each addition process.
Optionally, before the method, the method further comprises: and receiving initial data of the resource allowance data which is recorded and sent by the customer premise equipment.
Optionally, the method further includes: receiving a margin alarm threshold value of one or more resources sent by a business user end; after the obtaining of the updated resource headroom data, the method further comprises: and judging whether the resource residual amount information of any resource is lower than the residual amount alarm threshold of any resource, if so, sending out the shortage alarm information to a display device of a merchant, and/or sending out the shortage alarm information to a merchant terminal.
Optionally, the method further includes: receiving incremental information of at least any resource recorded and sent by the client, and updating the stored resource allowance data according to the incremental information.
According to another aspect of the embodiments of the present invention, there is provided a method for updating resource margin data, including:
receiving initial data of the resource allowance data input through a display interface; the initial data comprises identification information of at least one resource and an initial margin value thereof;
sending initial data of the resource allowance data to a server side, so that the server side can update the resource allowance data according to the received task information of the catering order;
and receiving updated resource allowance data returned by the server after the updating processing is carried out, and displaying the updated resource allowance data.
Optionally, a resource allowance setting entry is further provided in the display interface; the method further comprises the following steps: receiving a margin alarm threshold value of one or more resources recorded through a resource margin setting entry; sending the margin alarm threshold value to the server side so that the server side can judge whether the resource margin information of any resource is lower than the margin alarm threshold value of any resource when the updated resource margin is obtained; and receiving the material shortage alarm information sent by the server side, and displaying the material shortage alarm information.
Optionally, a resource increment setting entry is further provided in the display interface; the method further comprises the following steps: receiving incremental information of at least any one resource recorded through the resource incremental setting entry; and sending the resource increment information to a server so that the server updates the stored resource allowance data according to the resource increment information.
According to another aspect of the embodiments of the present invention, there is provided an apparatus for updating resource margin data, including:
the analysis module is suitable for responding to an order placing instruction of a catering order and analyzing task information of the catering order in the order placing instruction; the task information comprises identification information and usage information of at least one resource to be added;
the updating module is suitable for updating the stored resource allowance data in real time according to the task information to obtain updated resource allowance data;
and the display module is suitable for sending the updated resource allowance data to the merchant terminal and/or the display equipment of the merchant so as to enable the merchant terminal and/or the display equipment of the merchant to display the updated resource allowance data.
Optionally, the parsing module is further adapted to: analyzing the order placing instruction to obtain an order procedure instruction; and inquiring a preset procedure instruction set according to the order procedure instruction, and obtaining the identification information and the usage information of at least one resource to be added related to the order placing instruction according to an inquiry result.
Optionally, the preset process instruction set includes a process field, an equipment information field, a process parameter field, a digital instruction field, a control mode field, and/or a discharge granularity field; the parsing module is further adapted to: aiming at each process instruction in the order process instructions, matching the process instruction with the field value of a digital instruction field in a preset process instruction set, and determining target instruction data according to the matching result; determining identification information of at least one resource to be added from the equipment information value and/or the process value in the target instruction data; and determining the usage information of at least one resource to be added according to the instruction content of the process instruction and the process parameter value, the control mode value and/or the discharge granularity value in the target instruction data.
Optionally, the update module is further adapted to: and updating the residual amount information of at least one resource in the stored resource residual amount data according to the identification information and the usage amount information of at least one resource to be added.
Optionally, the update module is further adapted to: sending the identification information and the usage information of at least one resource to a manufacturing control device of a merchant, so that the manufacturing control device controls at least one resource adding device to perform adding processing according to the identification information and the usage information of at least one resource and receives actual usage information fed back by a measuring device in response to each adding processing; the measuring equipment is arranged below a resource receiving position of at least any one resource adding equipment; receiving actual usage data returned by the manufacturing control equipment, and updating the stored resource allowance data according to the actual usage data; wherein the actual usage data includes at least actual usage information fed back in response to each addition process.
Optionally, the apparatus further comprises: and the first receiving module is suitable for receiving initial data of the resource allowance data which is recorded and sent by the customer premises.
Optionally, the apparatus further comprises: the second receiving module is suitable for receiving the surplus alarm threshold value of one or more resources sent by the business user terminal;
and the alarm module is suitable for judging whether the resource surplus information of any resource is lower than the surplus alarm threshold of any resource, and if so, sending out the shortage alarm information to the display equipment of the merchant and/or sending out the shortage alarm information to the merchant terminal.
Optionally, the update module is further adapted to: receiving incremental information of at least any resource recorded and sent by the business user side, and updating the stored resource allowance data according to the incremental information.
According to still another aspect of the present invention, there is provided an apparatus for updating resource margin data, including:
the first receiving module is suitable for receiving initial data of the resource allowance data input through the display interface; the initial data comprises identification information of at least one resource and an initial remainder value thereof;
the sending module is suitable for sending initial data of the resource allowance data to the server side so that the server side can update the resource allowance data according to the received task information of the catering order;
and the second receiving module is suitable for receiving the updated resource allowance data returned by the server after the updating processing is carried out on the server, and displaying the updated resource allowance data.
Optionally, a resource allowance setting entry is further provided in the display interface; the first receiving module is further adapted to: receiving a margin alarm threshold value of one or more resources recorded through a resource margin setting entry; the sending module is further adapted to: sending the margin alarm threshold value to the server side so that the server side can judge whether the resource margin information of any resource is lower than the margin alarm threshold value of any resource after obtaining the updated resource margin; the second receiving module is further adapted to: and receiving the material shortage alarm information sent by the server side, and displaying the material shortage alarm information.
Optionally, a resource increment setting entry is further provided in the display interface; the first receiving module is further adapted to: receiving incremental information of at least any one resource recorded through the resource incremental setting entry; the sending module is further adapted to: and sending the resource increment information to a server side so that the server side can update the stored resource allowance data according to the resource increment information.
According to an aspect of the present invention, there is provided a resource margin data updating system, including: a server side of the updating apparatus including the resource margin data described in any one of the above, and a client side of the updating apparatus including the resource margin data described in any one of the above.
Optionally, the system further includes a display device of the merchant, configured to receive and display the updated resource allowance data and/or the starved alarm information returned by the service end.
Optionally, the system further includes a manufacturing control device, configured to receive the identifier information of the at least one resource and the usage information thereof obtained by the server through parsing, control the at least one resource adding device to perform addition processing according to the identifier information, receive actual usage information fed back by the measuring device in response to each addition processing, and return actual usage data to the server.
According to another aspect of the present invention, there is provided a server including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the resource allowance data updating method.
According to yet another aspect of the invention, there is provided a computing device comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus; the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the resource margin data updating method.
According to another aspect of the embodiments of the present invention, there is provided a computer storage medium, where at least one executable instruction is stored, and the executable instruction causes a processor to perform an operation corresponding to the method for updating resource margin data.
According to the method and the device for updating the resource allowance data, after the ordering instruction of the catering order is received, the updated resource allowance data can be obtained in time through real-time analysis and updating, and meanwhile, the updated resource allowance data is sent to the client and/or the display equipment to be displayed, so that real-time updating and prompting of the resource allowance can be realized, and reasonable management and control of resources are further facilitated.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating an updating method of resource margin data according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating an updating method of resource margin data according to another embodiment of the present invention;
fig. 3 is a schematic diagram illustrating interaction of a server side, a merchant side and a display device in an updating process of the small material allowance in an embodiment;
FIG. 4 is a flow chart illustrating a method for updating resource headroom data according to another embodiment of the present invention;
fig. 5 is a flowchart illustrating an updating method of resource headroom data according to still another embodiment of the present invention;
fig. 6 is a schematic structural diagram illustrating an apparatus for updating resource margin data according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram illustrating an apparatus for updating resource margin data according to another embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server provided in an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computing device provided in an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 shows a flowchart of a method for updating resource balance data according to an embodiment of the present invention, where the method is applied to a service side, where the service side is a platform side for performing unified management on resource balance of one or more merchants. As shown in fig. 1, the method comprises the steps of:
step S110: responding to a ordering instruction of a catering order, and analyzing task information of the catering order in the ordering instruction; the task information comprises identification information and usage information of at least one resource to be added.
The server side analyzes the identification information of at least one resource to be added and the usage information of at least one resource required for completing the production of the catering order from the order placing instruction. The identification information may be a resource name or a resource number, or the device information of the resource adding device may also be directly used as the identification information of the corresponding resource, for example, if the coconut is installed in the resource adding device 1, the device information S1 of the resource adding device 1 may be used as the identification information of the coconut.
Step S120: and updating the stored resource allowance data in real time according to the task information to obtain updated resource allowance data.
The resource allowance data refers to allowance data of one or more resources of an ordering merchant of the catering order, and comprises identification information of the one or more resources and allowance information thereof.
And aiming at each order issuing instruction, after the server analyzes the task information, updating the resource allowance data in real time, and obtaining the updated resource allowance data in time to obtain the real-time allowance information of each resource. It should be noted that, the embodiment of the present invention does not limit a specific update processing manner, and in actual implementation, optionally, for each resource, the usage information may be subtracted from the remaining amount information to obtain an update value; or, catering production can be controlled according to the analyzed task information, and resource allowance data can be updated according to actual consumption information during production.
Step S130: and sending the updated resource allowance data to a display device of the merchant terminal and/or the merchant so that the display device of the merchant terminal and/or the merchant displays the updated resource allowance data.
The Display device of the merchant refers to merchant devices with Display functions, such as POS and KDS (Kitchen Display System); and the merchant terminal is a platform terminal for the merchant to manage resources, for example, a resource management page in a local life application at the merchant side.
And after the updated resource allowance data is obtained, the updated value is sent to the business user side and/or the display equipment for displaying so as to achieve the visual prompting effect.
According to the method for updating the resource allowance data, after the ordering instruction of the catering order is received, the updated resource allowance data can be obtained in time through real-time analysis and updating, and meanwhile, the updated resource allowance data is sent to the client and/or the display device to be displayed, so that real-time updating and prompting of the resource allowance can be achieved, and reasonable management and control of resources are further facilitated.
Fig. 2 is a flowchart illustrating a method for updating resource margin data according to another embodiment of the present invention, where the method is applied to a server, and in this embodiment, the resource margin data is updated by using usage information analyzed by the server. As shown in fig. 2, the method comprises the steps of:
step S210: responding to a ordering instruction of a catering order, and analyzing task information of the catering order in the ordering instruction; the task information comprises identification information and usage information of at least one resource to be added.
Specifically, after receiving an order placing instruction, the server obtains an order procedure instruction by analyzing the order placing instruction, wherein the order procedure instruction is an instruction reflecting specific content of specific order processing and is composed of procedure instructions of a plurality of procedures involved in an order processing process, and each procedure instruction is digital conversion of equipment information of resource adding equipment required by the procedure and an adding parameter of the equipment information; the method comprises the steps of inquiring a preset process instruction set according to an order process instruction, obtaining identification information and usage information of at least one resource to be added related to the order instruction according to an inquiry result, wherein the preset process instruction set is an instruction set used for conversion between each process instruction and processing information in the order process instruction, the processing information at least comprises equipment information and adding parameters of resource adding equipment, simultaneously, data in the preset process instruction set are input through a client and sent to a server, each process instruction is matched with the preset process instruction respectively, the equipment information and the adding parameters of the resource adding equipment related to each process instruction are determined, the identification information is determined according to the equipment information, and the usage information is determined according to the adding parameters.
Further, the preset process instruction set comprises a process field, an equipment information field, a process parameter field, a digital instruction field, a control mode field and/or a discharge granularity field, wherein the field value of the process field is process information related to the catering processing process, such as a coconut adding process, a jam adding process and the like; the field value of the equipment information field is equipment information of the resource adding equipment related to each process; the field value of the process parameter field is the meaning of the added parameter; the field value of the digital command field is the result of digitally converting the process parameters corresponding to the equipment information; the field value of the control mode field is the control mode of the resource adding equipment, such as pressing, switch control and the like; and the field value of the outgoing granularity field is the resource output granularity of the resource addition device, e.g., x grams output per push. One example of a piece of data in the default process instruction set is shown below in table 1:
procedure (ii) Device information Process parameters Digitizing instructions Control mode Particle size of discharged material
Milk Device 1 X seconds S1XXXX Pump start-up time Y mg/sec
In the process of querying and analyzing the preset process instruction to obtain the identification information and the usage information of at least one resource to be added, for each process instruction in the order process instruction, matching the process instruction with the field value of the digital instruction field in the preset process instruction set, and determining target instruction data according to the matching result, where the target instruction data refers to data where the digital representation of the equipment information is the same as the digital representation of the equipment information in the process instruction, for example, a certain process instruction in the order process instruction is S10003, where the digital representation S1 of the equipment information is exactly the same as the digital representation S1 of the equipment information in the digital instruction S1XXXX in the above table, and the target instruction data is the data where S1XXXX is located, that is, the data in table 1. Determining identification information of at least one resource to be added from the equipment information value and/or the process value in the target instruction data, wherein the identification information of the resource to be added can be determined as the process value, the equipment information value or other information (such as a resource number) corresponding to the process value and/or the equipment information value in the target instruction data, and if the above example is carried forward, the identification information can be determined as milk or the equipment 1; and determining the usage information of at least one resource to be added according to the addition parameters in the process instruction and the process parameter values, the control mode values and/or the discharge particle size values in the target instruction data, firstly determining a calculation mode of the usage information according to the process parameter values, the control mode values and/or the discharge particle size values in the target instruction data, and then substituting the addition parameters in the process instruction as the process parameters into the calculation mode to calculate the usage information of the resource. Still taking the example of table 1 above, the milk usage data can be determined by multiplying the process parameter value in the digitized command by the discharge particle size value, i.e., X Y, and if the additive parameter in the process command S10003 is 3 seconds, the milk usage information is 3 mg.
Through the step, the server side can analyze the information according to the communication protocol and obtain the identification information and the usage information of at least one resource related to the ordering instruction so as to update the resource allowance data in time.
Step S220: and when the task information is analyzed, updating the residual information of the at least one resource to be added in the stored resource residual data according to the identification information and the usage information of the at least one resource to be added to obtain updated resource residual data.
In this embodiment, after obtaining the identification information and the usage information of the at least one resource to be added, for each resource in the at least one resource to be added, the remaining amount information of the resource in the resource remaining amount data is subtracted by the usage information of the resource to obtain updated remaining amount information of the resource.
In some optional embodiments of the present invention, before performing step S210 or step S220, initial data of the resource balance data entered and sent by the merchant terminal is received, a resource management entry is provided in a display interface of the merchant terminal, and identification information of one or more resources that the merchant needs to monitor and a balance initial value can be entered through the resource management entry and sent to the server terminal, so as to perform an update process on the basis of the identification information and the balance initial value.
Through the steps S210 to S220, after the current order is received, the remaining amount information after the current order is processed can be calculated, advance estimation of the remaining amount can be realized, the timeliness of the remaining amount calculation is further improved, and sufficient resources for processing subsequent catering orders can be ensured.
Step S230: and sending the updated resource allowance data to a display device of the merchant terminal and/or the merchant so that the display device of the merchant terminal and/or the merchant displays the updated resource allowance data.
In some preferred embodiments of the present invention, after the updated resource surplus data is obtained each time, the updated resource surplus data is sent to the display device of the merchant, and the updated resource surplus data is displayed on the display device, because the possibility that the data displayed on the POS device, the KDS device, and the like of the merchant is viewed is often higher than that of the merchant, the monitoring of the resource surplus data is facilitated.
Step S240: judging whether the resource allowance information of any resource is lower than the allowance alarm threshold of the resource; and if so, sending starved feeding alarm information to display equipment of the merchant, and/or sending starved feeding alarm information to the merchant end.
Specifically, the margin alarm threshold of one or more resources sent by the business user side is received, and the margin alarm threshold is recorded through the resource margin setting entry of the business user side and sent to the server side. After the server obtains the updated resource surplus data, judging whether the resource surplus information of any resource in at least one resource to be added is lower than a surplus alarm threshold of the resource, and further determining whether the resource is in a material shortage state; if yes, sending out starved feeding alarm information to a display device and/or a commercial tenant end, and prompting and alarming through the display device and/or the commercial tenant end so as to achieve starved feeding alarm.
It should be noted that, in a specific implementation, the step S230 and the step S240 are not limited in sequence, and in some other embodiments, the step S230 and the step S240 may be executed at the same time, or the step S240 is executed first and then the step S230 is executed.
Through the above step S230 or step S240, a margin prompt may be performed at the merchant end and/or the display device, so as to monitor the margin data.
Step S250: and receiving the incremental information of at least any resource recorded and sent by the client, and updating the stored resource allowance data according to the resource incremental information.
And inputting source increment information of at least any one resource through a resource increment setting entry in the merchant terminal display interface, and updating again on the basis of the updated resource allowance data obtained last time, so that the resource allowance data stored in the server terminal is kept consistent with the actual allowance data in the resource adding equipment after the resources are supplemented, and the accuracy of resource allowance calculation is improved.
In addition, after the resource allowance data are updated according to the resource increment information, the server synchronously displays the updated resource allowance data to the display equipment again so as to monitor whether the starved resources are supplemented in time.
Fig. 3 is a schematic diagram illustrating interaction of a server side, a merchant side, and a display device in an inventory residue updating process in a specific embodiment. As shown in fig. 3, the merchant terminal inputs the total amount of the small materials to the server terminal, and the server terminal calculates the residual amount information of each small material according to the usage amount of the small materials in the order, and returns the residual amount information of each small material to the display device and the merchant terminal respectively; and after the allowance threshold is reached, the material adding data can be synchronized to the server side through the server side, and the server side updates the allowance data according to the material adding data and then synchronizes the data to the display equipment for displaying.
According to the resource surplus data updating method provided by the embodiment, the server side can analyze the ordering instruction according to the communication protocol to obtain the identification information and the usage information of at least one resource to be added, update the stored resource surplus data according to the analysis result, and calculate and obtain the surplus information after the catering order is processed before the resource is used for processing the current catering order, so that the advance estimation of the surplus is realized, and the timeliness of the surplus calculation is further improved; the updated resource allowance information is synchronously displayed to the business user side and/or the display equipment, so that real-time prompt of the resource allowance is realized; and the shortage determination and alarm are carried out according to the margin alarm threshold value recorded by the merchant terminal, and the shortage alarm information is sent to the merchant terminal and/or display equipment so as to supplement resources in time.
Fig. 4 is a flowchart of an updating method of resource margin data according to another embodiment of the present invention, which is applied to a server, in which the resource margin data is updated by using actual usage information returned by a production control device. As shown in fig. 4, the method comprises the steps of:
step S410: responding to a ordering instruction of a catering order, and analyzing task information of the catering order in the ordering instruction; the task information comprises identification information and usage information of at least one resource to be added.
The specific implementation of this step can refer to the description of step S210 in the embodiment corresponding to fig. 2, and is not described herein again.
Step S420: and each time the task information is analyzed, sending the identification information and the usage information of at least one resource to the manufacturing control equipment of the merchant, so that the manufacturing control equipment controls at least one resource adding equipment to perform adding processing according to the identification information and the usage information of the at least one resource and receives actual usage information fed back by the measuring equipment in response to each adding processing.
In this embodiment, the resource allowance data is updated according to the usage information actually used by the resource adding device, so that the accuracy of the update processing is improved.
The measuring device is disposed below the resource receiving position of at least any one resource adding device, and taking the small material addition of the beverage as an example, the measuring device may be disposed at a position of the conveying device where the beverage cup receiving the small material is placed, and when the small material device outputs the small material into the beverage cup, the measuring device may measure the weight in the beverage cup.
The resource adding equipment is equipment which can add the resources contained in the resource adding equipment to the resource receiving position, for example, small materials contained in the resource adding equipment are added into the drink cup; the production control device is a device capable of controlling the resource adding device to perform the adding process according to a specific time sequence, and meanwhile, the production control device can also communicate with the measuring device and receive actual usage information measured by the measuring device, for example, the production control device is a PLC controller.
Specifically, by sending the identification information of at least one resource and the usage information thereof to the production control device, the production control device can control the resource adding device to add the resource accordingly, and in specific implementation, the following two control modes exist in the production control device: in the first mode, the manufacturing control equipment determines a control time sequence; in the second mode, the server determines the control timing. The implementation process of step S420 is different for the two control methods, and the following description is made for the two control methods:
in the first mode, the control timing is determined by the production control apparatus.
The production control device may determine the control timing, and the server does not need to send timing information to the production control device. In this way, the production control device determines a first adding time sequence of at least one resource to be added according to the identification information of the at least one resource to be added, wherein the adding time sequences of a plurality of resources can be preset in the production control device so that the production control device can inquire and determine the first adding time sequence, further, the corresponding adding time sequences can be preset according to the types of restaurants, for example, milk needs to be added to coffee and milk tea, but the adding time sequences in the respective adding time sequences are different. Controlling the resource adding device corresponding to the at least one resource to be added to perform adding processing according to the first adding time sequence and the usage information, and receiving actual usage information fed back by the measuring device in response to each adding processing, wherein the actual usage information is a usage value actually measured by the measuring device, for example, after coconuts and pearls are sequentially added, the weight values measured by the measuring device are respectively 20 grams and 30 grams, and the actual usage value is 20 grams and 30 grams, it is required to be noted that when the resource is serially output to the same receiving position, if the receiving container is not emptied in the period, the actual usage information is accumulated usage information and is not completely equal to the usage value of each resource, and before subsequent updating processing, the actual usage information of each resource needs to be determined according to two adjacent actual usage information fed back by the measuring device, optionally, the actual usage information of the next resource may be obtained by subtracting two adjacent actual usage, for example, in the above example of sequentially adding coconuts and pearls, the actual usage information of pearls is 30-20 g.
In the second mode, the server determines the control timing.
The method generally occurs in a scene that the control logic of the manufacturing control equipment is completely determined by the server, and the server determines the control time sequence, so that the manufacturing control equipment can execute according to the control time sequence determined by the server, and a corresponding data query and processing process is omitted. In this way, the preset process instruction set further includes a process timing field, the process timing field records the execution sequence of each process, and similarly, different process timings can be set for different types of restaurants. After the server obtains target instruction data of each process instruction through matching (the specific process may be as described in step S210 above), a second adding timing of at least one resource to be added may be obtained from a field value of a process timing field in the target instruction data; the server sends the identification information and the usage information of at least one resource to be added and a second time sequence of the at least one resource to be added to the manufacturing control equipment; and the manufacturing control device controls the resource adding device corresponding to the at least one resource to be added to perform adding processing according to the second adding time sequence and receives actual usage information fed back by the measuring device in response to each adding processing.
Step S430: receiving actual usage data returned by the manufacturing control equipment, and updating the stored resource allowance data according to the actual usage data; wherein the actual usage data includes at least actual usage information fed back in response to each addition process.
Specifically, after receiving the actual usage information, the server converts the actual usage information to obtain actual usage information of each resource to be added, for example, subtracting two adjacent actual usage information to obtain actual usage information of the next resource; and then, for each resource in at least one resource to be added, subtracting the resource usage information from the resource allowance information in the resource allowance data to obtain the updated resource allowance information.
Further, for the two ways mentioned above in which the production control device determines the control timing and the server determines the control timing, there is a difference between the actual usage data returned by the production control device to the server. The method for determining the control time sequence by the manufacturing control device is characterized in that a first adding time sequence is not recorded in the server, when actual usage information measured by the measuring device is returned to the server by the manufacturing control device, identification information of resources to be added corresponding to the first adding time sequence is returned to the server by the manufacturing control device, namely, identification information of at least one resource to be added and the measured actual usage information are returned to the server according to the sequence of the first adding time sequence, so that the server determines the corresponding relation between the identification information and the actual usage information according to the first adding time sequence, and then the identification information and the actual usage value of the at least one resource to be added are determined.
For example, the first adding sequence is adding the coconut and then adding the pearl; and performing addition processing according to the first addition timing sequence, wherein the actual usage information fed back by the measuring equipment after each addition processing is 20 g and 30 g, and the actual usage data returned to the server side comprises identification information: coconut, pearl, and actual dosage information: 20 g and 30 g. After receiving the actual usage data, the server can determine that the corresponding relationship between the identification information and the actual usage information is 20 g of coconut and 30 g of pearl, and further determine that the actual usage value of the coconut is 20 g and the actual usage value of the pearl is (30-20) g through conversion.
And for the mode of determining the control time sequence by the server, recording a second adding time sequence in the server, after the manufacturing control device provides actual usage information sequentially measured by the measuring device to the server according to the second adding time sequence, determining the corresponding relation between the actual usage information and the identification information of each resource to be added in the at least one resource to be added by the server by inquiring the second adding time sequence, and further determining the identification information and the actual usage value of the at least one resource to be added.
Step S440: and sending the updated resource allowance data to the merchant terminal and/or the display equipment of the merchant so that the merchant terminal and/or the display equipment of the merchant can display the updated resource allowance data.
Step S450: judging whether the resource surplus information of any resource is lower than the surplus alarm threshold of any resource; and if so, sending out the material shortage alarm information to a display device of the merchant and/or sending out the material shortage alarm information to the merchant terminal.
Step S460: and receiving the resource increment information which is input and sent by the business user side, and updating the stored resource allowance data according to the resource increment information.
The implementation of the steps S440 to S460 can refer to the description of the steps S230 to S250 in the embodiment corresponding to fig. 2, and is not repeated here.
According to the method for updating the resource allowance data provided by the embodiment, the server side can analyze the ordering instruction according to the communication protocol to obtain the identification information and the usage information of at least one resource to be added; after the identification information and the usage information of the at least one resource to be added are sent to the manufacturing control device, the manufacturing control device can control the addition processing and receive the fed back actual usage information, and then the actual usage information is used for updating the resource allowance data, wherein the actual usage information reflects the actual usage, and the updating processing can improve the accuracy of the allowance updating; in addition, the measuring equipment arranged below the resource receiving position of at least any one resource adding equipment is used for measuring the actual usage information, so that the measuring equipment is separated from the resource adding equipment, and compared with a mode that the measuring equipment is arranged at the accessory of the resource adding equipment, the damage of the measuring equipment caused by the maintenance, such as cleaning, adjustment and the like, of the resource adding equipment can be avoided.
Fig. 5 is a flowchart illustrating a method for updating resource residual data according to still another embodiment of the present invention, where the method is applied to a merchant, and the merchant is a platform end for managing resources by a merchant, for example, a resource management page in a local living application at the merchant side. As shown in fig. 5, the method comprises the steps of:
step S510: receiving initial data of the resource allowance data input through a display interface; the initial data includes identification information of at least one resource and an initial remainder value thereof.
Step S520: and sending the initial data of the resource allowance data to the server side so that the server side can update the resource allowance data according to the received task information of the catering order.
Step S530: and receiving the updated resource allowance data returned by the server after the updating process is carried out, and displaying the updated resource allowance data.
According to the method for updating the resource allowance data, the initial data of the resource allowance data is input into the server through the client, so that the server can accurately update the resource allowance data on the basis; and displaying the updated resource allowance data at the merchant end, so that the resource allowance can be prompted in real time, and the resource allowance can be monitored conveniently.
In some optional embodiments, a resource margin setting entry is further provided in the display interface, and the method for updating the resource margin data further includes: receiving a margin alarm threshold value of one or more resources recorded through a resource margin setting entry; sending the margin alarm threshold value to the server side so that the server side can judge whether the resource margin information of any resource is lower than the margin alarm threshold value of any resource after obtaining the updated resource margin; and receiving the material shortage alarm information sent by the server side, and displaying the material shortage alarm information. In some optional embodiments, a resource increment setting entry is further provided in the display interface; the method for updating the resource margin data further comprises the following steps: receiving resource increment information of at least one resource which is input through the resource increment setting inlet; and sending the resource increment information to the server so that the server updates the stored resource allowance data according to the resource increment information.
The implementation of the embodiment corresponding to fig. 5 and the corresponding alternative embodiment may specifically join the description of the related steps in the embodiments of fig. 1 to fig. 4, and will not be described herein again.
Fig. 6 is a schematic structural diagram illustrating an apparatus for updating resource margin data according to an embodiment of the present invention. The device is arranged at the server side. As shown in fig. 6, the apparatus includes:
the analysis module 610 is adapted to respond to an order placing instruction of a catering order and analyze task information of the catering order in the order placing instruction; the task information comprises identification information and usage information of at least one resource to be added;
the updating module 620 is adapted to update the stored resource surplus data in real time according to the task information to obtain updated resource surplus data;
the display module 630 is adapted to send the updated resource allowance data to a display device of the merchant and/or the customer premises to allow the display device of the merchant and/or the customer premises to display the updated resource allowance data.
In an alternative embodiment, the parsing module is further adapted to: analyzing the order placing instruction to obtain an order procedure instruction; and inquiring a preset procedure instruction set according to the order procedure instruction, and obtaining the identification information and the usage information of at least one resource to be added related to the order placing instruction according to an inquiry result.
In an optional embodiment, the preset process instruction set includes a process field, an equipment information field, a process parameter field, a digital instruction field, a control mode field, and/or a discharge granularity field; the parsing module is further adapted to: aiming at each process instruction in the order process instructions, matching the process instruction with the field value of a digital instruction field in a preset process instruction set, and determining target instruction data according to the matching result; determining identification information of at least one resource to be added from the equipment information value and/or the process value in the target instruction data; and determining the usage information of at least one resource to be added according to the instruction content of the process instruction and the process parameter value, the control mode value and/or the discharge granularity value in the target instruction data.
In an alternative embodiment, the update module is further adapted to: and updating the residual amount information of at least one resource in the stored resource residual amount data according to the identification information and the usage amount information of at least one resource to be added.
In an alternative embodiment, the update module is further adapted to: sending the identification information and the usage information of at least one resource to a manufacturing control device of a merchant, so that the manufacturing control device controls at least one resource adding device to perform adding processing according to the identification information and the usage information of at least one resource and receives actual usage information fed back by a measuring device in response to each adding processing; the measuring equipment is arranged below a resource receiving position of at least any one resource adding equipment; receiving actual usage data returned by the manufacturing control equipment, and updating the stored resource allowance data according to the actual usage data; wherein the actual usage data includes at least actual usage information fed back in response to each addition process.
In an alternative embodiment, the apparatus further comprises: and the first receiving module is suitable for receiving initial data of the resource allowance data which is recorded and sent by the customer premises.
In an alternative embodiment, the apparatus further comprises: the second receiving module is suitable for receiving the surplus alarm threshold value of one or more resources sent by the business user terminal; and the alarm module is suitable for judging whether the resource allowance information of any resource is lower than the allowance alarm threshold of any resource, and if so, sending starved alarm information to display equipment of a merchant and/or sending starved alarm information to a merchant end.
In an alternative embodiment, the update module is further adapted to: receiving incremental information of at least any resource recorded and sent by the business user side, and updating the stored resource allowance data according to the incremental information.
Fig. 7 is a schematic structural diagram illustrating an apparatus for updating resource margin data according to another embodiment of the present invention. The device is arranged at the client. As shown in fig. 7, the apparatus includes:
a first receiving module 710 adapted to receive initial data of the resource margin data entered through the display interface; the initial data comprises identification information of at least one resource and an initial remainder value thereof;
the sending module 720 is adapted to send initial data of the resource surplus data to the server, so that the server updates the resource surplus data according to the received task information of the catering order;
the second receiving module 730 is adapted to receive the updated resource margin data returned by the server after the update processing is performed, and display the updated resource margin data.
In an optional implementation mode, a resource margin setting inlet is further provided in the display interface; the first receiving module is further adapted to: receiving a surplus alarm threshold value of one or more resources input through a resource surplus setting entry; the sending module is further adapted to: sending the margin alarm threshold value to the server side so that the server side can judge whether the resource margin information of any resource is lower than the margin alarm threshold value of any resource after obtaining the updated resource margin; the second receiving module is further adapted to: and receiving the material shortage alarm information sent by the server side, and displaying the material shortage alarm information.
In an optional embodiment, a resource increment setting inlet is further provided in the display interface; the first receiving module is further adapted to: receiving incremental information of at least any one resource recorded through the resource incremental setting entry; the sending module is further adapted to: and sending the resource increment information to a server side so that the server side can update the stored resource allowance data according to the resource increment information.
The embodiment of the invention provides a system for updating resource allowance data, which comprises the following steps: a server side of the updating apparatus including the resource margin data described in any one of the above, and a client side of the updating apparatus including the resource margin data described in any one of the above.
In an optional implementation manner, the system further includes a display device of the merchant, configured to receive and display updated resource surplus data and/or short-of-charge alarm information returned by the server.
In an optional implementation manner, the system further includes a production control device, configured to receive the identification information of the at least one resource and the usage information thereof obtained by parsing by the server, control the at least one resource adding device to perform addition processing according to the identification information and the usage information thereof, receive actual usage information fed back by the measuring device in response to each addition processing, and return actual usage data to the server.
An embodiment of the present invention provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer executable instruction may execute the method for updating resource headroom data in any of the above method embodiments.
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the server.
As shown in fig. 8, the server may include: a processor (processor)802, a Communications Interface 804, a memory 806, and a communication bus 808. Wherein: the processor 802, communication interface 804, and memory 806 communicate with each other via a communication bus 808. A communication interface 804 for communicating with network elements of other devices, such as clients or other servers. The processor 802 is configured to execute the program 810, and may specifically perform relevant steps in the foregoing method for updating resource headroom data of the server. In particular, the program 810 may include program code comprising computer operating instructions. The processor 802 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention. The server comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs. The memory 806 stores a program 810. The memory 806 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 810 may be specifically configured to cause the processor 802 to perform the following operations:
responding to a ordering instruction of a catering order, and analyzing task information of the catering order in the ordering instruction; the task information comprises identification information and usage information of at least one resource to be added;
updating the stored resource allowance data in real time according to the task information to obtain updated resource allowance data;
and sending the updated resource allowance data to a display device of the merchant and/or the merchant so as to display the updated resource allowance data by the display device of the merchant and/or the merchant.
In an alternative embodiment, the program 810 may be further specifically configured to cause the processor 802 to: analyzing the order placing instruction to obtain an order procedure instruction; and inquiring a preset procedure instruction set according to the order procedure instruction, and obtaining the identification information and the usage information of at least one resource to be added related to the order placing instruction according to an inquiry result.
In an optional embodiment, the preset process instruction set includes a process field, an equipment information field, a process parameter field, a digital instruction field, a control mode field, and/or a discharge granularity field; the program 810 may be further specifically configured to cause the processor 802 to perform the following operations: aiming at each process instruction in the order process instructions, matching the process instruction with the field value of a digital instruction field in a preset process instruction set, and determining target instruction data according to the matching result; determining identification information of at least one resource to be added from the equipment information value and/or the process value in the target instruction data; and determining the usage information of at least one resource to be added according to the instruction content of the process instruction and the process parameter value, the control mode value and/or the discharging particle size value in the target instruction data.
In an alternative embodiment, the program 810 may be further specifically configured to cause the processor 802 to: and updating the residual amount information of at least one resource in the stored resource residual amount data according to the identification information and the usage amount information of at least one resource to be added.
In an alternative embodiment, the program 810 may be further specifically configured to cause the processor 802 to: sending the identification information and the usage information of at least one resource to a manufacturing control device of a merchant, so that the manufacturing control device controls at least one resource adding device to perform adding processing according to the identification information and the usage information of at least one resource and receives actual usage information fed back by a measuring device in response to each adding processing; the measuring equipment is arranged below a resource receiving position of at least any one resource adding equipment; receiving actual usage data returned by the manufacturing control equipment, and updating the stored resource allowance data according to the actual usage data; wherein the actual usage data includes at least actual usage information fed back in response to each addition process.
In an alternative embodiment, the program 810 may be further specifically configured to cause the processor 802 to: and receiving initial data of the resource allowance data which is recorded and sent by the customer premises.
In an alternative embodiment, the program 810 may be further specifically configured to cause the processor 802 to: receiving a margin alarm threshold value of one or more resources sent by a business user end; and judging whether the resource residual amount information of any resource is lower than the residual amount alarm threshold of any resource, if so, sending out the shortage alarm information to a display device of a merchant, and/or sending out the shortage alarm information to a merchant terminal.
In an alternative embodiment, the program 810 may be further specifically configured to cause the processor 802 to: receiving incremental information of at least any resource recorded and sent by the business user side, and updating the stored resource allowance data according to the incremental information.
Fig. 9 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device. As shown in fig. 9, the computing device may include: a processor (processor)902, a communication Interface 904, a memory 906, and a communication bus 908. Wherein: processor 902, communication interface 904, and memory 906 communicate with one another via a communication bus 908. A communication interface 904 for communicating with network elements of other devices, such as clients or other servers. The processor 902 is configured to execute the program 910, and may specifically perform relevant steps in the foregoing method for updating resource headroom data of a computing device. In particular, the program 910 may include program code that includes computer operating instructions. The processor 902 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs. A memory 906 for storing a program 910. The memory 906 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 910 may specifically be configured to cause the processor 902 to perform the following operations:
receiving initial data of the resource allowance data input through a display interface; the initial data comprises identification information of at least one resource and an initial remainder value thereof;
sending initial data of the resource allowance data to a server side, so that the server side can update the resource allowance data according to the received task information of the catering order;
and receiving updated resource allowance data returned by the server after the updating processing is carried out, and displaying the updated resource allowance data.
In an optional embodiment, a resource allowance setting inlet is further provided in the display interface; the program 910 may specifically be further configured to cause the processor 902 to perform the following operations: receiving a margin alarm threshold value of one or more resources recorded through a resource margin setting entry; sending the margin alarm threshold value to the server side so that the server side can judge whether the resource margin information of any resource is lower than the margin alarm threshold value of any resource when the updated resource margin is obtained; and receiving the material shortage alarm information sent by the server side, and displaying the material shortage alarm information.
In an optional embodiment, a resource increment setting inlet is further provided in the display interface; the program 910 may specifically be further configured to cause the processor 902 to perform the following operations: receiving incremental information of at least any one resource recorded through the resource incremental setting entry; and sending the resource increment information to a server side so that the server side can update the stored resource allowance data according to the resource increment information.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of embodiments of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best modes of embodiments of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed to reflect the intent: that is, the claimed embodiments of the invention require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. Embodiments of the invention may also be implemented as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing embodiments of the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (24)

1. A method for updating resource margin data comprises the following steps:
responding to a ordering instruction of a catering order, and analyzing task information of the catering order in the ordering instruction; the task information comprises identification information and usage information of at least one resource to be added;
updating the stored resource allowance data in real time according to the task information to obtain updated resource allowance data; the resource allowance data are updated according to actual usage information fed back by the measuring equipment which is arranged below the resource receiving position of the at least one resource adding equipment in response to each adding process; when returning actual usage information measured by the measuring equipment, the manufacturing control equipment returns identification information of at least one resource to be added and the actual usage information obtained by measurement according to the sequence of the first adding time sequence, and when the resources are serially output to the same resource receiving position, the manufacturing control equipment determines the actual usage information of various resources according to two adjacent actual usage information fed back by the measuring equipment;
and sending the updated resource allowance data to a display device of the merchant and/or the merchant so as to display the updated resource allowance data by the display device of the merchant and/or the merchant.
2. The method of claim 1, wherein the parsing out task information of the dining order in an order placing instruction further comprises: analyzing the order placing instruction to obtain an order procedure instruction;
and inquiring a preset procedure instruction set according to the order procedure instruction, and obtaining the identification information and the usage information of at least one resource to be added related to the order placing instruction according to an inquiry result.
3. The method of claim 2, wherein the set of preset process instructions comprises a process field, an equipment information field, a process parameter field, a digitization instruction field, a control mode field, and/or a discharge granularity field;
the querying a preset process instruction set according to the order process instruction, and obtaining the identification information and the usage information of at least one resource to be added related to the order placing instruction according to the query result further comprises:
aiming at each process instruction in the order process instructions, matching the process instruction with the field value of a digital instruction field in a preset process instruction set, and determining target instruction data according to the matching result;
determining identification information of at least one resource to be added from the equipment information value and/or the process value in the target instruction data; and determining the usage information of at least one resource to be added according to the instruction content of the process instruction and the process parameter value, the control mode value and/or the discharging particle size value in the target instruction data.
4. The method of any of claims 1-3, further comprising, prior to the method: and receiving initial data of the resource allowance data which is recorded and sent by the customer premise equipment.
5. The method of any of claims 1-3, wherein the method further comprises: receiving a margin alarm threshold value of one or more resources sent by a business user end;
after the obtaining of the updated resource headroom data, the method further comprises: and judging whether the resource residual amount information of any resource is lower than the residual amount alarm threshold of any resource, if so, sending out the shortage alarm information to a display device of a merchant, and/or sending out the shortage alarm information to a merchant terminal.
6. The method of claim 5, wherein the method further comprises:
receiving incremental information of at least one resource which is input and sent by a business user side, and updating the stored resource allowance data according to the incremental information.
7. A method for updating resource margin data comprises the following steps:
receiving initial data of the resource allowance data input through a display interface; the initial data comprises identification information of at least one resource and an initial margin value thereof;
sending initial data of the resource allowance data to a server side, so that the server side can update the resource allowance data according to the received task information of the catering order; the resource allowance data are updated according to actual usage information fed back by a measuring device which is arranged below a resource receiving position of at least one resource adding device in response to each adding process; when returning actual usage information measured by the measuring equipment, the manufacturing control equipment returns identification information of at least one resource to be added and the actual usage information obtained by measurement according to the sequence of the first adding time sequence, and when the resources are serially output to the same resource receiving position, the manufacturing control equipment determines the actual usage information of various resources according to two adjacent actual usage information fed back by the measuring equipment;
and receiving updated resource allowance data returned by the server after the updating processing is carried out, and displaying the updated resource allowance data.
8. The method according to claim 7, wherein a resource allowance setting entry is further provided in the display interface; the method further comprises the following steps:
receiving a margin alarm threshold value of one or more resources recorded through a resource margin setting entry;
sending the margin alarm threshold value to the server side so that the server side can judge whether the resource margin information of any resource is lower than the margin alarm threshold value of any resource after obtaining the updated resource margin;
and receiving the material shortage alarm information sent by the server side, and displaying the material shortage alarm information.
9. The method according to claim 7 or 8, wherein a resource increment setting entry is further provided in the display interface; the method further comprises the following steps:
receiving at least one resource increment information input through the resource increment setting entry;
and sending the resource increment information to a server so that the server updates the stored resource allowance data according to the resource increment information.
10. An apparatus for updating resource margin data, comprising:
the analysis module is suitable for responding to an order placing instruction of a catering order and analyzing task information of the catering order in the order placing instruction; the task information comprises identification information and usage information of at least one resource to be added;
the updating module is suitable for updating the stored resource allowance data in real time according to the task information to obtain updated resource allowance data; the resource allowance data are updated according to actual usage information fed back by the measuring equipment which is arranged below the resource receiving position of the at least one resource adding equipment in response to each adding process; when returning actual usage information measured by the measuring equipment, the manufacturing control equipment returns identification information of at least one resource to be added and the actual usage information obtained by measurement according to the sequence of the first adding time sequence, and when the resources are serially output to the same resource receiving position, the manufacturing control equipment determines the actual usage information of various resources according to two adjacent actual usage information fed back by the measuring equipment;
and the display module is suitable for sending the updated resource allowance data to the display equipment of the merchant and/or the merchant so as to display the updated resource allowance data by the display equipment of the merchant and/or the merchant.
11. The apparatus of claim 10, wherein the parsing module is further adapted to: analyzing the order placing instruction to obtain an order procedure instruction;
and inquiring a preset procedure instruction set according to the order procedure instruction, and obtaining the identification information and the usage information of at least one resource to be added related to the order placing instruction according to an inquiry result.
12. The apparatus of claim 11, wherein the set of preset process instructions comprises a process field, an equipment information field, a process parameter field, a digitization instruction field, a control mode field, and/or a discharge granularity field;
the parsing module is further adapted to: aiming at each process instruction in the order process instructions, matching the process instruction with the field value of a digital instruction field in a preset process instruction set, and determining target instruction data according to the matching result;
determining identification information of at least one resource to be added from the equipment information value and/or the process value in the target instruction data; and determining the usage information of at least one resource to be added according to the instruction content of the process instruction and the process parameter value, the control mode value and/or the discharge granularity value in the target instruction data.
13. The apparatus of any of claims 10-12, wherein the apparatus further comprises: and the first receiving module is suitable for receiving initial data of the resource allowance data which is recorded and sent by the customer premises.
14. The apparatus of any of claims 10-12, wherein the apparatus further comprises: the second receiving module is suitable for receiving the surplus alarm threshold value of one or more resources sent by the business user terminal;
and the alarm module is suitable for judging whether the resource surplus information of any resource is lower than the surplus alarm threshold of any resource, and if so, sending out the shortage alarm information to the display equipment of the merchant and/or sending out the shortage alarm information to the merchant terminal.
15. The apparatus of claim 14, wherein the update module is further adapted to:
receiving incremental information of at least one resource which is input and sent by a business user side, and updating the stored resource allowance data according to the incremental information.
16. An apparatus for updating resource margin data, comprising:
the first receiving module is suitable for receiving initial data of the resource allowance data input through the display interface; the initial data comprises identification information of at least one resource and an initial remainder value thereof;
the sending module is suitable for sending initial data of the resource allowance data to the server side so that the server side can update the resource allowance data according to the received task information of the catering order; the resource allowance data are updated according to actual usage information fed back by the measuring equipment which is arranged below the resource receiving position of the at least one resource adding equipment in response to each adding process; when returning actual usage information measured by the measuring equipment, the manufacturing control equipment returns identification information of at least one resource to be added and the actual usage information obtained by measurement according to the sequence of the first adding time sequence, and when the resources are serially output to the same resource receiving position, the manufacturing control equipment determines the actual usage information of various resources according to two adjacent actual usage information fed back by the measuring equipment;
and the second receiving module is suitable for receiving the updated resource allowance data returned by the server after the updating processing is carried out on the server, and displaying the updated resource allowance data.
17. The device of claim 16, wherein a resource margin setting entry is further provided in the display interface; the first receiving module is further adapted to:
receiving a margin alarm threshold value of one or more resources recorded through a resource margin setting entry;
the sending module is further adapted to: sending the margin alarm threshold value to the server side so that the server side can judge whether the resource margin information of any resource is lower than the margin alarm threshold value of any resource after obtaining the updated resource margin;
the second receiving module is further adapted to: and receiving the material shortage alarm information sent by the server side, and displaying the material shortage alarm information.
18. The device of claim 16 or 17, wherein a resource increment setting entry is further provided in the display interface; the first receiving module is further adapted to:
receiving at least one resource increment information input through the resource increment setting entry;
the sending module is further adapted to: and sending the resource increment information to a server side so that the server side can update the stored resource allowance data according to the resource increment information.
19. A system for updating resource margin data, comprising: a server side comprising the resource balance data update apparatus according to any one of claims 10 to 15, and a client side comprising the resource balance data update apparatus according to any one of claims 16 to 18.
20. The system of claim 19, further comprising a display device of the merchant, configured to receive and display updated resource allowance data and/or short-term alarm information returned by the server.
21. A server, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the resource allowance data updating method according to any one of claims 1-6.
22. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the resource margin data updating method according to any one of claims 7-9.
23. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the method for updating resource headroom data according to any one of claims 1-6.
24. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the method for updating resource margin data according to any one of claims 7 to 9.
CN201911040572.1A 2019-10-29 2019-10-29 Resource margin data updating method and device Active CN110782323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911040572.1A CN110782323B (en) 2019-10-29 2019-10-29 Resource margin data updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911040572.1A CN110782323B (en) 2019-10-29 2019-10-29 Resource margin data updating method and device

Publications (2)

Publication Number Publication Date
CN110782323A CN110782323A (en) 2020-02-11
CN110782323B true CN110782323B (en) 2022-09-27

Family

ID=69387536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911040572.1A Active CN110782323B (en) 2019-10-29 2019-10-29 Resource margin data updating method and device

Country Status (1)

Country Link
CN (1) CN110782323B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6751525B1 (en) * 2000-06-08 2004-06-15 Beverage Works, Inc. Beverage distribution and dispensing system and method

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0660266A (en) * 1992-08-11 1994-03-04 Kuniaki Takesono Drink vending device for plural chambers
JP4565764B2 (en) * 2001-03-27 2010-10-20 ユーシーシー上島珈琲株式会社 Dispenser
NZ532906A (en) * 2004-05-13 2006-10-27 Fonterra Co Operative Group Customised nutritional food and beverage dispensing system for dispensing a customised nutritional serving
WO2008114762A1 (en) * 2007-03-12 2008-09-25 Honda Motor Co., Ltd. Product modification order plan making system for production plant shipping deadline compliance system
CN107093000A (en) * 2016-11-16 2017-08-25 北京小度信息科技有限公司 Object processing method, method for information display and device
CN108510337B (en) * 2017-02-24 2021-12-10 阿里巴巴集团控股有限公司 Order generation and inventory updating method, client and server
US11053113B2 (en) * 2017-06-23 2021-07-06 Pour Technology LLC Beverage management system
CN107463710A (en) * 2017-08-21 2017-12-12 吴展 The order production process typing inquiry system applied based on wechat barcode scanning and public number
CN109409996B (en) * 2018-10-16 2022-03-08 上海氦豚机器人科技有限公司 Beverage making system and selling system based on Internet

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6751525B1 (en) * 2000-06-08 2004-06-15 Beverage Works, Inc. Beverage distribution and dispensing system and method

Also Published As

Publication number Publication date
CN110782323A (en) 2020-02-11

Similar Documents

Publication Publication Date Title
US11599931B2 (en) Consumable usage sensors and applications to facilitate automated replenishment of consumables via an adaptive distribution platform
US10275740B2 (en) Consumable usage sensors and applications to facilitate automated replenishment of consumables via an adaptive distribution platform
US11537980B2 (en) Consumable usage sensors and applications to facilitate automated replenishment of consumables via an adaptive distribution platform
US11062619B2 (en) System and method for monitoring food waste from a plurality of consecutive disposal events
EP3021271A1 (en) Smart appliance processing system and associated methods
WO2020063431A1 (en) Order collaborative processing method and apparatus, device, and storage medium
KR20180059996A (en) Management method and system for food material
JP2017527056A5 (en)
US20190164116A1 (en) System for capturing verified consumption profiles for food items
CN110852912A (en) Intelligent meal preparation method and device, computer equipment and storage medium
WO2020106863A1 (en) System for integrated device connectivity and agile device control for dynamic object tracking and management
CN104680383A (en) Dispatch reminding system and method for order processing
CN101449218B (en) Method and apparatus for determining type and quantity of food prepared by a cooking appliance
CN109905662A (en) A kind of kitchen of restaurant monitoring method and device
CN109886619B (en) Fresh time vegetable supply method and device, storage medium and terminal
CN110782323B (en) Resource margin data updating method and device
CN112668924A (en) Logistics transport capacity allocation method, device and system
JP7228831B2 (en) Information processing method and information processing system
CN110692720A (en) Digital processing method and device for beverage making process
CN115496562A (en) Commodity pushing method and device, electronic equipment, storage medium and product
CN113298564A (en) Automatic management method, device and equipment for transaction
CN110264061B (en) Processing system and method for article making order
US20210073883A1 (en) Server apparatus, stock management system, and stock management method
US11346600B2 (en) Method of setting system and processing device
CN114022187A (en) Multi-party gathering oriented merchant recommendation method and system

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