Object production system and information processing method for object production

By using the target protocol in the tea drink object production system to convert the order data into bytecode, and controlling the production equipment to generate the target object, the problem of low parallel processing efficiency of the manipulator and the lack of configuration mechanism of PLC local control is solved, and efficient tea drink is realized. Object making.

CN111738543BActive Publication Date: 2024-10-22RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010402347.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-13
Publication Date
2024-10-22
Estimated Expiration
2040-05-13

AI Technical Summary

Technical Problem

In the existing technology, the manipulator cannot process in parallel, resulting in low production efficiency of tea drinking objects. The PLC local control method lacks a platform configuration mechanism, making it difficult to realize customization requirements, resulting in low production efficiency.

Method used

Design an object production system, including a server, store terminal equipment and a programmable logic controller. It converts order data into bytecode through the target protocol, controls the production equipment to generate target objects, and realizes flexible object production.

Benefits of technology

It improves the production efficiency of tea drinking objects, solves the problems of low object production efficiency and difficulty in configuration, and realizes flexible object generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111738543B_ABST
    Figure CN111738543B_ABST
Patent Text Reader

Abstract

The present application discloses an object production system, including: a server, a store terminal device, a programmable logic controller, and a production device; the server is used to receive order data and provide the order data to the store terminal device; the store terminal device is used to obtain production information for producing a target object according to the order data; based on the target protocol, the production information is converted into a bytecode for representing the production information of the target object; the bytecode is encapsulated into a target protocol data unit and provided to the programmable logic controller; the programmable logic controller is used to obtain the target protocol data unit, parse out the bytecode for representing the production information of the target object according to the target protocol, and trigger the production device to perform an action according to the bytecode; the production device is used to perform the action indicated by the control instruction contained in the bytecode to generate the target object. The use of the system solves the problem of low efficiency in object production.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and more particularly to an object production system. The present application also relates to an information processing method, device and equipment for object production. Background Art

[0002] With the development of Internet technology and electronic technology, automated production has gradually been promoted, especially in areas where the production process and feeding process are highly standardized, and the degree of automation of object production is getting higher and higher. For example, the automatic production of catering objects and tea objects.

[0003] In the prior art, the automated production of catering objects and tea objects is achieved by means of pure robotic arms; or, the automated production is achieved by means of PLC (Programmable Logic Controller) local control of the production equipment. The following problems exist: Since the robot cannot process in parallel, the purely mechanical method has the problem of low production efficiency. In the PLC local control method and the pure robotic arm method, the process is fixedly stored in the PLC locally. The PLC obtains the process identifier and triggers the production process corresponding to the process identifier to control the production equipment. Due to the lack of a platform configuration mechanism, it is impossible to provide a configuration entry for the tea process, making it difficult to meet customization requirements, resulting in low production efficiency.

[0004] Therefore, how to improve the production efficiency of tea beverages is a problem that needs to be solved. Summary of the invention

[0005] An object production system provided in an embodiment of the present application provides an object production solution with high production efficiency, thereby solving the problem of low object production efficiency.

[0006] An embodiment of the present application provides an object production system, including: a server, a store terminal device, a programmable logic controller, and a production device; the server is used to receive order data and provide the order data to the store terminal device; the store terminal device is used to obtain production information for producing a target object based on the order data; based on a target protocol, the production information is converted into a bytecode for representing the production information of the target object; the bytecode is encapsulated as a target protocol data unit and provided to the programmable logic controller; the programmable logic controller is used to obtain the target protocol data unit, parse out the bytecode for representing the production information of the target object according to the target protocol, and trigger the production device to perform an action according to the bytecode; the production device is used to execute the action indicated by the control instruction contained in the bytecode to generate the target object.

[0007] Optionally, the programmable logic controller is also used to initiate a request to establish a target protocol connection to the store terminal device, establish a target protocol connection between the programmable logic controller and the store terminal device; obtain the device identification and device attribute information of the production equipment, and provide them to the store terminal device through the target protocol connection; the store terminal device is also used to parse the device identification and device attribute information provided by the programmable logic controller based on the target protocol; establish a network connection with the server, and provide the device identification and device attribute information of the production equipment to the server through the network connection; the server is also used to manage the status and attributes of the production equipment according to the device identification and device attribute information of the production equipment.

[0008] Optionally, the programmable logic controller is also used to write the current status of the device of the production device into a status register of the holding register; encapsulate the bytecode representing the current status of the device in the status register into a status data unit, and send it to the store terminal device through the target protocol connection; the store terminal device is also used to parse the current status of the device from the status data unit sent by the programmable logic controller based on the target protocol, and send information corresponding to the current status of the device to the server according to the current status of the device.

[0009] Optionally, the programmable logic controller is further used to read the status information recorded in the status register; if it is in the initial state, change the recorded information in the status register to the device online state, and write the device attribute information of the production device into the first attribute register of the holding register; send the device online state and the device attribute information to the store terminal device through the target protocol connection;

[0010] The store terminal device is also used to parse the device online status and the device attribute information sent by the programmable logic controller based on the target protocol, and send the device online information to the server; receive the device online success information returned by the server, provide the device online success information to the programmable logic controller, and set the status register to the device power-on state through the target protocol connection.

[0011] Optionally, the programmable logic controller is also used to obtain the successful online information of the equipment, update the status register to the producible state; obtain the producible attribute information of the production equipment, and write it into the second attribute register of the holding register; send the producible state and the producible attribute information to the store terminal device through the target protocol connection; the store terminal device is also used to parse the producible attribute information of the production equipment based on the target protocol, and send it to the server; the server is also used to determine to provide the order data to the store terminal device based on the producible attribute information.

[0012] An embodiment of the present application also provides an information processing method for object production, including: obtaining order data, and obtaining production information for producing a target object based on the order data; converting the production information into bytecodes for representing the production information of the target object based on a target protocol; encapsulating the bytecodes into target protocol data units, and providing the target protocol data units to a programmable logic controller, wherein the programmable logic controller is used to control a production device to generate a target object.

[0013] Optionally, it also includes: in response to a target protocol connection establishment request sent by the programmable logic controller, establishing a target protocol connection with the programmable logic controller; providing the target protocol data unit to the programmable logic controller includes: providing the target protocol data unit through the target protocol connection.

[0014] Optionally, it also includes: obtaining a first data unit provided by the programmable logic controller through the target protocol connection; parsing the device identification and device attribute information of the production device from the first data unit based on the target protocol; and sending the device identification and device attribute information of the production device to the server.

[0015] Optionally, it also includes: setting the holding register of the programmable logic controller to an initial state through the target protocol connection; wherein the holding register can be read and written by the programmable logic controller and the store terminal device; reading the current state of the device in the status register of the holding register through the target protocol connection, sending information corresponding to the current state of the device to the server according to the current state of the device, and obtaining management information provided by the server for the current state of the device.

[0016] Optionally, it also includes: if the current state of the device is the device online state, obtaining the device identification and device attribute information of the production device from the first attribute register of the holding register through the target protocol connection; sending information corresponding to the device online state to the server according to the device online state, the device identification and the device attribute information; receiving the device online success information returned by the server, writing the device online success information into the holding register through the target protocol connection and writing the device power-on state of the production device into the status register.

[0017] Optionally, it also includes: if the current state of the device is a producible state, obtaining the producible attribute information of the production device from the second attribute register of the holding register through the target protocol connection; sending information corresponding to the producible state to the server based on the producible state and the producible attribute information; receiving the order data sent by the server, converting the order data into a second target protocol data unit according to the protocol format of the target protocol, updating the second target protocol data unit to the holding register through the target protocol connection, and setting the status register to being produced.

[0018] Optionally, obtaining order data and obtaining production information for producing the target object based on the order data include: obtaining order data provided by a server; extracting the production information from the order data; the production information includes at least one of recipe information and process information for producing the target object.

[0019] Optionally, obtaining order data and obtaining production information for producing a target object based on the order data include: obtaining order data provided by a server; extracting an object identifier, a production quantity, and preference information of the target object to be produced from the order data; obtaining ingredient type information and dosage information of each ingredient of the target object based on the object identifier as first recipe information; calculating the ingredient dosage corresponding to the order data based on the production quantity and the preference information as second recipe information; and generating the production information based on the first recipe information and the second recipe information.

[0020] Optionally, it also includes: judging whether the remaining quantity of each ingredient is sufficient according to the ingredient dosage corresponding to the order data; if so, generating the production information according to the first recipe information and the second recipe information; otherwise, prompting that the remaining quantity of the ingredient is insufficient.

[0021] Optionally, it also includes: parsing production success information from the data unit sent by the programmable logic controller based on the target protocol; and sending order configuration completion information to the server according to the production success information.

[0022] Optionally, the target protocol is a specific communication protocol based on Modbus.

[0023] An embodiment of the present application also provides an information processing method for object production, including: obtaining a target protocol data unit encapsulated based on a target protocol; parsing a bytecode used to represent target object production information according to the target protocol, and triggering a production device to perform an action according to the control instruction contained in the bytecode; wherein the production device is used to produce a generated target object.

[0024] Optionally, triggering the production device to perform an action according to a control instruction included in the bytecode includes: writing the bytecode into a holding register, triggering the production device to perform an action according to the control instruction.

[0025] Optionally, it also includes: reading the status information recorded in the status register of the holding register, and setting the attribute register according to the status information; and sending the status information and the attribute information recorded in the attribute register to the store terminal device based on the target protocol.

[0026] Optionally, setting the attribute register according to the status information includes: if the status information is an initial state, changing the record information in the status register to the device online state, setting the device attribute information of the production device, and writing the device attribute information into the first attribute register of the holding register.

[0027] Optionally, setting the attribute register according to the status information includes: if the status information is the device power-on status and the device online success information is obtained, updating the status register to a manufacturable status; obtaining the manufacturable attribute information of the manufacturing device, and writing the manufacturable attribute information into a second attribute register of the holding register.

[0028] An embodiment of the present application also provides an information processing device for object production, including: a production information acquisition unit, used to obtain order data, and obtain production information for producing a target object based on the order data; a bytecode conversion unit, used to convert the production information into bytecode for representing the target object production information based on a target protocol; a sending unit, used to encapsulate the bytecode into a target protocol data unit, and provide the target protocol data unit to a programmable logic controller, and the programmable logic controller is used to control the production equipment to generate the target object.

[0029] An embodiment of the present application also provides an information processing device for object production, including: a receiving unit, used to obtain a target protocol data unit encapsulated based on a target protocol; a control unit, used to parse out a bytecode used to represent target object production information according to the target protocol; and trigger a production device to perform an action according to a control instruction contained in the bytecode; wherein the production device is used to produce a generated target object.

[0030] An embodiment of the present application also provides an electronic device, comprising: a memory, and a processor; the memory is used to store a computer program, and after the computer program is run by the processor, the information processing method for object production provided in the embodiment of the present application is executed.

[0031] An embodiment of the present application further provides a storage device storing a computer program. After the computer program is run by a processor, the information processing method for object production provided in the embodiment of the present application is executed.

[0032] Compared with the prior art, this application has the following advantages:

[0033] An object production system provided by an embodiment of the present application includes a server, a store terminal device, a programmable logic controller, and a production device; the store terminal device obtains production information for producing a target object according to the order data; based on the target protocol, the production information is converted into a bytecode for representing the production information of the target object; the bytecode is encapsulated into a target protocol data unit and provided to the programmable logic controller; the programmable logic controller parses the bytecode from the target protocol data unit, and triggers the production device to perform an action according to the bytecode; the production device performs an action according to the control instruction contained in the bytecode to generate the target object. Since the programmable logic controller receives the production information sent by the store terminal device, it can flexibly generate the target object according to the production information, solving the problem of low object production efficiency.

[0034] The embodiments of the present application provide an information processing method, device and equipment for object production, which obtains production information for producing a target object based on order data; converts the production information into bytecode based on the target protocol, encapsulates the bytecode into a target protocol data unit, and provides it to a programmable logic controller to control the production equipment to generate the target object. The store terminal equipment sends the production information to the programmable logic controller, so that it is not limited to producing the target object according to one or several types of production information fixed in the programmable logic controller. The problem of difficulty in configuring production objects and low production efficiency is solved.

[0035] The embodiments of the present application provide an information processing method, device and equipment for object production, which parses the bytecode used to represent the target object production information according to the target protocol; writes the bytecode into a holding register, triggers the production device to perform an action according to the control instruction contained in the bytecode, and the production device is used to produce the target object. Since it is possible to accept the target object production information issued, and produce the object according to the production information, rather than according to the pre-set production information, it is possible to flexibly produce the object, solving the problem of low object production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a schematic diagram of an object making system provided in the first embodiment of the present application;

[0037] Figure 2is a timing diagram of information interaction between devices in an object production system provided in the first embodiment of the present application;

[0038] Figure 3 It is an interaction sequence diagram based on the modbus protocol of an object production system provided by the first embodiment of the present application;

[0039] Figure 4 is a processing flow chart of an information processing method for object production provided in the second embodiment of the present application;

[0040] Figure 5 is a processing flow chart of another information processing method for object production provided in the third embodiment of the present application;

[0041] Figure 6 is a schematic diagram of an information processing device for object production provided by a fourth embodiment of the present application;

[0042] Figure 7 is a schematic diagram of an information processing device for object production provided in a fifth embodiment of the present application;

[0043] Figure 8 It is a schematic diagram of an electronic device provided by this application. DETAILED DESCRIPTION

[0044] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0045] The embodiment of the present application provides an object production system. The implementation of the present application also provides an information processing method, device, electronic device and storage device for object production. The implementation of the present application also provides another information processing method, device, electronic device and storage device for object production. The following embodiments will be described in detail one by one.

[0046] The following combination Figures 1 to 3 The object production system provided in the first embodiment of the present application is described. Figure 1 The object production system shown includes: a server 101, a store terminal device 102, a programmable logic controller 103, and a production device 104.

[0047] The system provided in this embodiment is an object automatic production system, for example, it can be an Internet-based automatic production system for catering dishes, or it can be an Internet-based automatic production system for tea drinks. The system can obtain order data through the server. For example, the store terminal device obtains the online order received by the virtual store opened by the entity object on the operation platform, and further automatically produces tea drinks according to the online order. The so-called entity object may be a merchant. The store terminal device may be a management device of the entity object's physical store, such as a POS (Point of Sales). The so-called operation platform is a platform that provides an operation environment for the entity object. The entity object can open one or more virtual stores on the operation platform to provide objects to end users, such as providing dishes, tea drinks and other commodities.

[0048] The server 101 is used to receive order data and provide the order data to the store terminal device.

[0049] In this embodiment, the server may be a backend server of a physical store of the physical object. In actual applications, the terminal user places an order to the physical object through the operation platform, and the server obtains the order data provided by the operation platform computing device, and provides the order data to the store terminal device through the network connection with the store terminal device. The order data includes information about the target object to be produced. For example, the order data includes the name and quantity of the tea drink to be produced. The network connection between the server and the store terminal device may be a local area network connection or an Internet connection. The server also manages and monitors the status and life cycle of the order corresponding to the order data.

[0050] The store terminal device 102 is used to obtain production information for producing the target object based on the order data; convert the production information into bytecode for representing the production information of the target object based on the target protocol; encapsulate the bytecode into a target protocol data unit and provide it to the programmable logic controller.

[0051] In this embodiment, the store terminal device and the programmable logic controller transmit information based on the target protocol, thereby realizing the automatic production of the object. First, the target protocol needs to be established. The target protocol is a specific communication protocol based on Modbus. Specifically, the correspondence between the string and the bytecode is established according to the object production information and the device attribute information of the production object, and the general Modbus protocol data format is adopted to establish the specific communication protocol based on Modbus, which is used for the communication between the store terminal device and the programmable logic controller in the object production. For example, for tea production, a set of Modbus protocols corresponding to the string and the bytecode are established according to the attribute parameters of tea production and tea equipment. Among them, the so-called Modbus is a protocol for communication between industrial electronic equipment, which can be used for programmable logic controller (PLC) communication. By combining object production with industrial automation through a communication protocol based on Modbus, the automatic control of the object production equipment can be realized, and the repeated mechanical work is completed by the industrial automation equipment, thereby improving the production efficiency of the object. The object can be any object that needs to be processed and produced, such as tea, dishes, etc. In the Modbus-based specific communication protocol, the protocol format related to the process information of object production is further defined, so that the store terminal device can transmit the process information to the programmable controller through the specific communication protocol, provide a process configuration entry for object production, and avoid the black box process of object production caused by the process information being fixed to the programmable controller. For example, the store terminal device can provide a process configuration page; or the server provides a process configuration page; the process configuration page detects the triggering of the process configuration control, and further provides the process configuration information corresponding to the trigger to the store terminal device, and then is transmitted to the programmable logic controller through the Modbus-based communication protocol. Thus, the platform configuration of process information is realized. The store terminal device can communicate with one or more programmable logic controllers based on the target protocol. Further, the store terminal device sends the information provided by the programmable logic controller through the target protocol to the server through a network connection for association; wherein the information includes the status information and attribute information of the production equipment; the production equipment is one or more devices for producing objects controlled by the programmable logic controller. Thus, the target protocol associates the programmable logic controller with the server, realizes the automatic production of objects based on the Internet, and improves the efficiency of object production.

[0052] The programmable logic controller 103 is used to obtain the target protocol data unit, parse out the bytecode used to represent the target object production information according to the target protocol, and trigger the production device to perform an action according to the bytecode.

[0053] In this embodiment, the programmable logic controller can control one or more production devices for producing objects. In this embodiment, the programmable logic controller is also used to initiate a target protocol connection request to the store terminal device, establish a target protocol connection between the programmable logic controller and the store terminal device; obtain the device identification and device attribute information of the production device, and provide it to the store terminal device through the target protocol connection. Specifically, the programmable logic controller is started as a master station (Modbus master) and requests the store management device to establish a Modbus connection. Correspondingly, the store terminal device is also used to parse the device identification and device attribute information provided by the programmable logic controller based on the target protocol; establish a network connection with the server, and provide the device identification and device attribute information of the production device to the server through the network connection. Among them, the device identification can be an identification generated according to the manufacturer, model and parameter information for uniquely identifying a device. The device attribute information may include parameter information of the production device. The server is also used to manage the status and attributes of the production device according to the device identification and device attribute information of the production device.

[0054] In this embodiment, the programmable logic controller manages the state of the Modbus master. Specifically, the programmable logic controller is also used to read the state information recorded in the state register; if it is the initial state, the recorded information in the state register is changed to the device online state, and the device attribute information of the production device is written into the first attribute register of the holding register; the device online state and the device attribute information are sent to the store terminal device through the target protocol connection. Correspondingly, the store terminal device is also used to parse the device online state and the device attribute information sent by the programmable logic controller based on the target protocol, send the device online information to the server; receive the device online success information returned by the server, provide the device online success information to the programmable logic controller, and set the status register to the device power-on state through the target protocol connection. The so-called device online state refers to the state in which the production device is ready to go online. The device power-on state refers to the state in which the production device has been turned on. The programmable logic controller is also used to obtain the device online success information, update the status register to the manufacturable state; obtain the manufacturable attribute information of the production device, and write it into the second attribute register of the holding register; send the manufacturable state and the manufacturable attribute information to the store terminal device through the target protocol connection. Correspondingly, the store terminal device is also used to parse out the producible attribute information of the production equipment based on the target protocol and send it to the server. The server is also used to determine to provide the order data to the store terminal device based on the producible attribute information. Wherein, the producible attribute information includes at least one of the following information: whether the object can be produced, the status of each ingredient corresponding to the production object, the number of objects produced in parallel, the objects and the number of objects that have been produced currently, and the objects and the number of objects that can be produced with the remaining amount of each ingredient. Further, the store terminal device obtains the production information based on the order data, converts it into bytecode based on the target protocol, and encapsulates it into a target protocol data unit, and sends it to the programmable controller through a connection based on the target protocol. The programmable controller parses the production information from the target protocol data unit according to the target protocol, writes it into a holding register, and triggers the control of the production equipment.

[0055] The production device 104 is used to execute the action indicated by the control instruction according to the control instruction included in the bytecode to generate the target object.

[0056] Please refer to Figure 2, the figure includes: S201, establish a communication connection based on the target protocol. Establish a communication protocol between the store terminal device and the PLC (programmable logic controller). Specifically, according to the production information and attribute information of the object, the protocol corresponding to the string and bytecode established based on the Modbus communication protocol is used as the target protocol. Establish a Modbus connection between the store terminal device and the PLC based on the target protocol. S202, set the device information and attributes according to the target protocol. S203, upload the device information and attributes based on the target protocol, specifically the device information and device attribute information of the production equipment controlled by the PLC. Among them, the device information can be a device identifier. The device attribute information can be the parameters of the production equipment and the status of the corresponding ingredients. The store terminal device parses the device information and attributes and sends them to the server for establishing an online connection between the production equipment controlled by the PLC and the server. S204, establish a network connection. Specifically, establish a network connection between the store terminal device and the server, and the server receives the device information and attributes sent by the store terminal device through the network connection. S205, receive online orders and send them to the store terminal device. S206, the store terminal device converts the order into a Modbus data unit based on the target protocol. S207, the store terminal device sends the data unit to the PLC. S208, the PLC parses the data unit content according to the target protocol and controls the production equipment according to the data unit content.

[0057] In this embodiment, the store terminal device responds to the target protocol connection establishment request sent by the programmable logic controller, establishes a target protocol connection with the programmable logic controller, and further communicates with the programmable logic controller based on the target protocol connection. The programmable logic controller is used to control the production equipment to generate the target object. Specifically, the store terminal device obtains order data, obtains production information for producing the target object according to the order data; converts the production information into bytecode for representing the production information of the target object based on the target protocol; encapsulates the bytecode into a target protocol data unit, and provides the target protocol data unit to the programmable logic controller, specifically providing the target protocol data unit to the programmable logic controller through the target protocol connection. The store terminal device can obtain the device information and device attributes provided by the programmable logic controller through the target protocol connection, and further send it to the server. Thus, an online connection of the production equipment controlled by the programmable logic controller is established, that is, an online connection between the server and the production equipment is established. The store terminal device obtains the current device status of the production equipment set by the programmable logic controller based on the target protocol connection and further provides it to the server, and updates the current device status according to the production process information provided by the server, so that the server can obtain the device information and device attribute information of the production equipment, thereby managing the production equipment. Specifically, it includes: the store terminal device obtains the first data unit provided by the programmable logic controller through the target protocol connection; the device identification and device attribute information of the production device are parsed from the first data unit based on the target protocol; and the device identification and device attribute information of the production device are sent to the server. The server can also obtain the device status information of the production device, specifically including: the store terminal device sets the holding register of the programmable logic controller to the initial state through the target protocol connection; wherein the holding register can be read and written by the programmable logic controller and the store terminal device; reads the current state of the device in the status register of the holding register through the target protocol connection, sends information corresponding to the current state of the device to the server according to the current state of the device, and obtains the management information provided by the server for the current state of the device. Further, if the current state of the device is the device online state, the device identification and device attribute information of the production device are obtained from the first attribute register of the holding register through the target protocol connection; according to the device online state, the device identification and device attribute information, the information corresponding to the device online state is sent to the server; the device online success information returned by the server is received, the device online success information is written into the holding register through the target protocol connection, and the device power-on state of the production device is written into the status register.If the current state of the device is a producible state, the producible attribute information of the production device is obtained from the second attribute register of the holding register through the target protocol connection; based on the producible state and the producible attribute information, information corresponding to the producible state is sent to the server; the order data sent by the server is received, and according to the order data, it is converted into a second target protocol data unit according to the protocol format of the target protocol, and the second target protocol data unit is updated to the holding register through the target protocol connection, and the status register is set to be in production.

[0058] In this embodiment, the store terminal device determines the production information according to the order provided by the server. In one embodiment, the following processing is included: obtaining the order data provided by the server; extracting the production information from the order data; the production information includes at least one of the recipe information and process information for producing the target object. In one embodiment, the following processing is included: obtaining the order data provided by the server; extracting the object identification, number of production copies and preference information of the target object to be produced from the order data; obtaining the ingredient type information of the target object and the amount information of each ingredient according to the object identification as the first recipe information; calculating the ingredient amount corresponding to the order data according to the number of production copies and preference information as the second recipe information; generating the production information according to the first recipe information and the second recipe information. Further, judging whether the surplus of each ingredient is sufficient according to the ingredient amount corresponding to the order data; if so, generating the production information according to the first recipe information and the second recipe information; otherwise, prompting that the surplus of ingredients is insufficient. After the target object is produced, the store terminal device parses the production success information from the data unit sent by the programmable logic controller based on the target protocol; and sends the order configuration completion information to the server according to the production success information.

[0059] In this embodiment, the programmable controller obtains a target protocol data unit encapsulated based on the target protocol; parses the bytecode used to represent the target object production information according to the target protocol; triggers the production device to perform an action according to the control instruction contained in the bytecode, and the production device is used to produce and generate the target object. Specifically, the bytecode is written into the holding register to trigger the production device to perform an action according to the control instruction. Specifically, information is transmitted between the programmable controller and the store terminal device by reading and writing the holding register. The programmable controller reads the status information recorded in the status register of the holding register, sets the attribute register according to the status information; sends the status information and the attribute information recorded in the attribute register to the store terminal device based on the target protocol. Specifically, if the status information is the initial state, the recorded information in the status register is changed to the device online state, and the device attribute information of the production device is set, and the device attribute information is written into the first attribute register of the holding register. If the status information is the device power-on state, and the device online success information is obtained, the status register is updated to the manufacturable state; the manufacturable attribute information of the production device is obtained, and the manufacturable attribute information is written into the second attribute register of the holding register.

[0060] Please refer to Figure 3, the figure includes: S301, start the Modbus service. PLC starts as a Modbus master. The Modbus master refers to the party that initiates the request. The party that responds to the request is the slave. S302, establish a Modbus connection between the store terminal device and the PLC. S303, set the initial state of the register. The initial state is set by the store terminal device. Specifically, the store terminal device encapsulates the initial state according to the target protocol, and sends it to the PLC through the Modbus connection after encapsulation. The PLC parses the bytecode used to represent the initial state based on the target protocol, and writes the initial state into the status register of the holding register during the parsing process. The target protocol is a protocol corresponding to the string and bytecode established based on the Modbus protocol according to the production information and attribute information of the object. S304, PLC determines whether it is the initial state. If it is the initial state, it is updated to the device online state and the attribute register is set. S305, the store terminal device checks the status information. S306, obtains the device online state. S307, reports the device online information to the server. S308, the server returns that the device is online successfully. S309, the store terminal device sets the status register to the device power-on status. S310, after the PLC obtains the device online successfully, it updates the status to the manufacturable status and reports the manufacturable attributes. Specifically, the PLC writes the manufacturable attributes into the holding register, reports the manufacturable attributes through the Modbus connection, and packages the manufacturable attributes according to the protocol format of the target protocol and sends them to the store terminal device. S311, the store terminal device obtains the manufacturable attributes of the device. S312, reports the manufacturable status and manufacturable attributes to the server. S313, the server sends the order information. S314, the store terminal device converts the order information into the protocol format and updates it to the register. S315, the PLC obtains the order information, sends the production through the holding register, and triggers the production device to produce the object according to the order information.

[0061] So far, the system provided by the first embodiment has been described. The system obtains production information for producing a target object according to the order data through a store terminal device; converts the production information into a bytecode for representing the production information of the target object based on a target protocol; encapsulates the bytecode into a target protocol data unit and provides it to a programmable logic controller; the programmable logic controller parses the bytecode from the target protocol data unit and triggers the production device to perform an action according to the bytecode; the production device performs an action according to the control instruction contained in the bytecode to generate a target object. Since the programmable logic controller receives the production information sent by the store terminal device, it can flexibly generate the target object according to the production information, solving the problem of low object production efficiency.

[0062] Based on the above embodiment, the second embodiment of the present application provides an information processing method for object production. Figure 4 The method provided in the second embodiment of the present application is described. Figure 4 The information processing method for object production shown includes: steps S401 to S403.

[0063] Step S401, acquiring order data, and obtaining production information for producing a target object according to the order data.

[0064] In this embodiment, the production information is determined according to the order provided by the server. In one embodiment, the following processing is included: obtaining the order data provided by the server; extracting the production information from the order data; the production information includes at least one of the recipe information and process information for producing the target object. In one embodiment, the following processing is included: obtaining the order data provided by the server; extracting the object identification, number of production copies and preference information of the target object to be produced from the order data; obtaining the ingredient type information of the target object and the amount information of each ingredient according to the object identification as the first recipe information; calculating the ingredient amount corresponding to the order data according to the number of production copies and preference information as the second recipe information; generating the production information according to the first recipe information and the second recipe information. Further, judging whether the surplus of each ingredient is sufficient according to the ingredient amount corresponding to the order data; if so, generating the production information according to the first recipe information and the second recipe information; otherwise, prompting that the surplus of ingredients is insufficient.

[0065] Step S402: converting the production information into bytecode for representing the production information of the target object based on the target protocol.

[0066] In this embodiment, the target protocol is a specific communication protocol based on Modbus. Specifically, a Modbus protocol that establishes a correspondence between a string and a bytecode according to object production information and device attribute information of the production object can be used for communication between a store terminal device and a programmable logic controller in object production. The programmable logic controller is used to control the production device to generate a target object. For example, for tea production, a set of Modbus protocols corresponding to strings and bytecodes is established according to the attribute parameters of tea production and tea equipment. In this embodiment, after the target protocol connection between the programmable logic controller and the programmable logic controller is established based on the target protocol, information is transmitted between the programmable logic controller. Specifically, the programmable logic controller initiates a Modbus connection request as a Modbus Master (master station); the device executing the method, for example, the store terminal device, as a Modbus slave station, responds to the target protocol connection request sent by the programmable logic controller to establish a target protocol connection with the programmable logic controller. In this embodiment, the information transmitted through the target protocol connection is a target protocol data unit encapsulated in the protocol format of the target protocol. The target protocol data unit carries information that needs to be interacted with the store terminal device during the production process, and the information is represented in bytecode form. This step includes converting the production information into bytecode for representing the target object production information based on the target protocol.

[0067] Step S403: encapsulate the bytecode into a target protocol data unit, and provide the target protocol data unit to a programmable logic controller, wherein the programmable logic controller is used to control a production device to generate a target object.

[0068] In this embodiment, the bytecode is encapsulated into a target protocol data unit based on the target protocol, and the target protocol data unit is provided through the target protocol connection. In this embodiment, it also includes obtaining the first data unit provided by the programmable logic controller through the target protocol connection; parsing the device identification and device attribute information of the production device from the first data unit based on the target protocol; and sending the device identification and device attribute information of the production device to the server. Thus, an online connection of the production device controlled by the programmable logic controller is established, that is, an online connection between the server and the production device is established. In this embodiment, it also includes: obtaining the current device status of the production device set by the programmable logic controller based on the target protocol connection and further providing it to the server, and updating the current device status according to the production process information provided by the server; enabling the server to obtain the device information and device attribute information of the production device, so as to manage the production device. Specifically, it includes the following processing: setting the holding register of the programmable logic controller to the initial state through the target protocol connection; wherein the holding register can be read and written by the programmable logic controller and the store terminal device; reading the current device status in the status register of the holding register through the target protocol connection, sending information corresponding to the current device status to the server according to the current device status, and obtaining the management information provided by the server for the current device status. Further, if the current state of the device is the device online state, the device identification and device attribute information of the production device are obtained from the first attribute register of the holding register through the target protocol connection; according to the device online state, the device identification and the device attribute information, information corresponding to the device online state is sent to the server; the device online success information returned by the server is received, the device online success information is written into the holding register through the target protocol connection, and the device power-on state of the production device is written into the status register. If the current state of the device is the manufacturable state, the manufacturable attribute information of the production device is obtained from the second attribute register of the holding register through the target protocol connection; according to the manufacturable state and the manufacturable attribute information, information corresponding to the manufacturable state is sent to the server; the order data sent by the server is received, and the order data is converted into a second target protocol data unit according to the protocol format of the target protocol according to the order data, and the second target protocol data unit is updated to the holding register through the target protocol connection, and the status register is set to be in production. Further, the production success information is parsed from the data unit sent by the programmable logic controller based on the target protocol; and the order configuration completion information is sent to the server according to the production success information.

[0069] So far, the method provided by the second embodiment has been described. The method obtains production information for producing a target object according to order data; converts the production information into bytecode based on the target protocol, encapsulates the bytecode into a target protocol data unit, and provides it to the programmable logic controller to control the production device to generate the target object. The store terminal device sends the production information to the programmable logic controller, so that it is not limited to producing the target object according to one or several types of production information fixed in the programmable logic controller. The problem of difficulty in configuring production objects and low production efficiency is solved.

[0070] Based on the above embodiment, the third embodiment of the present application also provides another information processing method for object production. Figure 5 The method is described. Figure 5 The method shown includes: step S501 to step S502.

[0071] Step S501, obtaining a target protocol data unit encapsulated based on a target protocol.

[0072] In this embodiment, the target protocol is a specific communication protocol based on Modbus. After the target protocol connection is established with the store terminal device based on the target protocol, information is transmitted between the store terminal device. Specifically, it includes: as a Modbus Master (master station), a Modbus connection request is initiated; the store terminal device, as a Modbus slave, responds to the target protocol connection request sent by the programmable logic controller, thereby establishing a target protocol connection. The information transmitted through the target protocol connection is a target protocol data unit encapsulated according to the protocol format of the target protocol. The target protocol data unit carries information that needs to be interacted with the store terminal device during the production process, and the information is represented in bytecode form. In this embodiment, the target protocol data unit is obtained so that the production information can be parsed out in subsequent steps. The production information includes control instructions for the production equipment. In this embodiment, it also includes providing the following arbitrary information of the production equipment to the store terminal device through the target protocol connection: equipment identification, equipment attribute information, current state of the equipment, and manufacturable attributes. Specifically, the above information is in bytecode form, and the information in bytecode form is written into the holding register for sending processing; in the sending process, the information in bytecode form is encapsulated into a target protocol data unit based on the target protocol, and sent to the store terminal device through the target protocol connection. Among them, the device identification and device attribute information are provided to the store terminal device for establishing an online connection of the production device, and the production device is connected to the server through the store terminal device, so that the server can manage the production device. Specifically, it includes: reading the status information recorded in the status register of the holding register, and setting the attribute register according to the status information; sending the status information and the attribute information recorded in the attribute register to the store terminal device based on the target protocol. If the status information is the initial state, the recorded information in the status register is changed to the device online state, and the device attribute information of the production device is set, and the device attribute information is written into the first attribute register of the holding register. If the status information is the device power-on state, and the device online success information is obtained, the status register is updated to the manufacturable state; the manufacturable attribute information of the production device is obtained, and the manufacturable attribute information is written into the second attribute register of the holding register.

[0073] Step S502: parse the bytecode for representing the target object production information according to the target protocol, trigger the production device to perform actions according to the control instructions contained in the bytecode, wherein the production device is used to produce the target object.

[0074] In this embodiment, a target protocol data unit encapsulated based on the target protocol is obtained, and a bytecode for representing the target object production information is parsed according to the encapsulation format. The bytecode is written into a holding register to trigger the production device to perform an action according to the control instruction.

[0075] So far, the method provided by the third embodiment has been described. The method parses the bytecode used to represent the target object production information according to the target protocol; writes the bytecode into the holding register, triggers the production device to perform an action according to the control instruction contained in the bytecode, and the production device is used to produce the target object. Since the target object production information issued can be accepted and the object is produced according to the production information, rather than according to the pre-set production information, the object can be produced flexibly, solving the problem of low object production efficiency.

[0076] Corresponding to the second embodiment, the fourth embodiment of the present application provides an information processing device for object production. Figure 6 The device will be described. Figure 6 The information processing device for object production shown includes:

[0077] A production information obtaining unit 601 is used to obtain order data and obtain production information for producing a target object according to the order data;

[0078] A bytecode conversion unit 602, configured to convert the production information into a bytecode for representing the production information of the target object based on the target protocol;

[0079] The sending unit 603 is used to encapsulate the bytecode into a target protocol data unit and provide the target protocol data unit to a programmable logic controller, and the programmable logic controller is used to control the production device to generate a target object.

[0080] Optionally, the device also includes a link building unit, which is used to: establish a target protocol connection between the programmable logic controller and the programmable logic controller in response to a request for establishing a target protocol connection sent by the programmable logic controller; the sending unit is specifically used to: provide the target protocol data unit through the target protocol connection.

[0081] Optionally, the device also includes a receiving unit, which is used to: obtain a first data unit provided by the programmable logic controller through the target protocol connection; parse the device identification and device attribute information of the production device from the first data unit based on the target protocol; and send the device identification and device attribute information of the production device to the server.

[0082] Optionally, the sending unit 603 is specifically used to: set the holding register of the programmable logic controller to an initial state through the target protocol connection; wherein the holding register can be read and written by the programmable logic controller and the store terminal device; the receiving unit is specifically used to: read the current state of the device in the status register of the holding register through the target protocol connection, send information corresponding to the current state of the device to the server according to the current state of the device, and obtain management information provided by the server for the current state of the device.

[0083] Optionally, the receiving unit is specifically used for: if the current state of the device is the device online state, obtaining the device identification and device attribute information of the production device from the first attribute register of the holding register through the target protocol connection; sending information corresponding to the device online state to the server according to the device online state, the device identification and the device attribute information; receiving the device online success information returned by the server, writing the device online success information into the holding register through the target protocol connection and writing the device power-on state of the production device into the status register.

[0084] Optionally, the receiving unit is specifically used to: if the current state of the device is a producible state, obtain the producible attribute information of the production device from the second attribute register of the holding register through the target protocol connection; send information corresponding to the producible state to the server based on the producible state and the producible attribute information; receive the order data sent by the server, convert the order data into a second target protocol data unit according to the protocol format of the target protocol, update the second target protocol data unit to the holding register through the target protocol connection, and set the status register to being produced.

[0085] Optionally, the production information obtaining unit 601 is specifically used to: obtain order data provided by a server; extract the production information from the order data; the production information includes at least one of recipe information and process information for producing a target object.

[0086] Optionally, the production information acquisition unit 601 is specifically used to: obtain order data provided by the server; extract the object identification, production quantity and preference information of the target object to be produced from the order data; obtain the ingredient type information of the target object and the dosage information of each ingredient according to the object identification, as the first recipe information; calculate the ingredient dosage corresponding to the order data according to the production quantity and the preference information, as the second recipe information; generate the production information according to the first recipe information and the second recipe information.

[0087] Optionally, the production information obtaining unit 601 is specifically used to: determine whether the remaining quantity of each ingredient is sufficient according to the ingredient dosage corresponding to the order data; if so, generate the production information according to the first recipe information and the second recipe information; otherwise, prompt that the remaining quantity of the ingredient is insufficient.

[0088] Optionally, the receiving unit is specifically used to: parse out production success information from a data unit sent by the programmable logic controller based on a target protocol; and send order configuration completion information to a server according to the production success information.

[0089] Optionally, the target protocol is a specific communication protocol based on Modbus.

[0090] So far, the device provided by the fourth embodiment has been described. The device obtains production information for producing a target object according to order data; converts the production information into bytecode based on the target protocol, encapsulates the bytecode into a target protocol data unit, and provides it to the programmable logic controller to control the production device to generate the target object. The store terminal device sends the production information to the programmable logic controller, so that it is not limited to producing the target object according to one or several production information fixed in the programmable logic controller. The problem of difficulty in configuring production objects and low production efficiency is solved.

[0091] Corresponding to the third embodiment, the fifth embodiment of the present application provides another information processing device for object production. Figure 7 The device will be described. Figure 7 The information processing device for object production shown includes:

[0092] A receiving unit 701 is used to obtain a target protocol data unit encapsulated based on a target protocol;

[0093] The control unit 702 is used to parse the bytecode used to represent the target object production information according to the target protocol; trigger the production device to perform actions according to the control instructions contained in the bytecode; wherein the production device is used to produce the generated target object.

[0094] Optionally, the control unit 702 is specifically used to: write the bytecode into a holding register to trigger the production device to perform an action according to the control instruction.

[0095] Optionally, the device also includes a sending unit, which is used to: read the status information recorded in the status register of the holding register, and set the attribute register according to the status information; and send the status information and the attribute information recorded in the attribute register to the store terminal device based on the target protocol.

[0096] Optionally, the control unit 702 is specifically used to: if the status information is an initial state, change the record information in the status register to the device online state, set the device attribute information of the production device, and write the device attribute information into the first attribute register of the holding register.

[0097] Optionally, the control unit 702 is specifically used to: if the status information is the device power-on status and the device online success information is obtained, then update the status register to a manufacturable status; obtain the manufacturable attribute information of the manufacturing device, and write the manufacturable attribute information into the second attribute register of the holding register.

[0098] So far, the device provided by the fifth embodiment has been described. The device parses the bytecode used to represent the target object production information according to the target protocol; writes the bytecode into the holding register, triggers the production device to perform an action according to the control instruction contained in the bytecode, and the production device is used to produce the target object. Since the target object production information issued can be accepted and the object is produced according to the production information, rather than according to the pre-set production information, the object can be produced flexibly, solving the problem of low object production efficiency.

[0099] Based on the above embodiments, a sixth embodiment of the present application provides an electronic device. Figure 8 It is a schematic diagram of the electronic device, which includes: a memory 801 and a processor 802; the memory is used to store a computer program, and after the computer program is run by the processor, the method provided in the embodiment of the present application is executed.

[0100] So far, the electronic device provided in this embodiment has been described. The electronic device can run the computer program corresponding to the store terminal device, obtain the production information for producing the target object according to the order data; convert the production information into bytecodes for representing the production information of the target object based on the target protocol; encapsulate the bytecodes into target protocol data units, and provide them to the programmable logic controller. The electronic device can run the computer program corresponding to the programmable logic controller, parse the bytecodes from the target protocol data unit, trigger the production device to perform actions according to the bytecodes; the production device performs actions according to the control instructions contained in the bytecodes to generate the target object. Since the programmable logic controller receives the production information sent by the store terminal device, it can flexibly generate the target object according to the production information, solving the problem of low object production efficiency.

[0101] Based on the above embodiments, the seventh embodiment of the present application provides a storage device. For the relevant parts, please refer to the corresponding description of the above embodiments. Figure 8 The storage device stores a computer program, and after the computer program is run by the processor, the method provided in the embodiment of the present application is executed.

[0102] So far, the storage device provided in this embodiment has been described. The storage device stores instructions, and the instructions may correspond to a computer program running on a store terminal device, obtain production information for producing a target object according to the order data; convert the production information into a bytecode for representing the production information of the target object based on the target protocol; encapsulate the bytecode into a target protocol data unit, and provide it to a programmable logic controller. The instructions may correspond to a computer program running on a programmable logic controller, parse the bytecode from the target protocol data unit, trigger the production device to perform an action according to the bytecode; and the production device performs an action according to the control instruction contained in the bytecode to generate a target object. Since the programmable logic controller receives the production information sent by the store terminal device, it can flexibly generate the target object according to the production information, solving the problem of low object production efficiency.

[0103] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0104] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0105] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0106] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0107] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

Claims

1. An object production system, characterized in that: include: Server, store terminal equipment, programmable logic controller, production equipment; wherein the store terminal equipment communicates with one or more programmable logic controllers and is connected to the server via a network, and the programmable logic controller controls multiple production equipment; The server is used to receive order data, and determine to provide the order data to the store terminal device according to the producible attribute information of the production equipment; wherein the producible attribute information of the production equipment includes at least one of the following information of the production equipment: whether the object can be produced, the status of each ingredient corresponding to the production object, the number of objects produced in parallel, the objects and the number of objects that have been produced currently, and the objects and the number of objects that can be produced with the remaining amount of each ingredient; The store terminal device is used to obtain production information for producing the target object according to the order data, the production information includes recipe information and process information for producing the target object, and the process information is configured on a platform through a process configuration page, so as to avoid the process information being fixed to the programmable controller; based on the target protocol, the production information is converted into bytecode for representing the production information of the target object; the bytecode is encapsulated into a target protocol data unit and provided to the programmable logic controller; wherein the production information is generated according to the first recipe information and the second recipe information, the first recipe information includes the ingredient type information of the target object and the amount information of each ingredient, and the second recipe information is the ingredient amount corresponding to the order data calculated according to the number of portions produced and the preference information; The programmable logic controller is used to obtain the target protocol data unit, parse out the bytecode used to represent the target object production information according to the target protocol, and trigger the corresponding production device to perform an action according to the bytecode; The production device is used to execute the actions indicated by the control instructions contained in the bytecode to generate the target object. After the target object is produced, the store terminal device sends the order configuration completion information to the server based on the production success information, thereby realizing the production of the object according to the order data provided by the server.

2. The system according to claim 1, characterized in that The programmable logic controller is further used to initiate a target protocol connection establishment request to the store terminal device, and establish a target protocol connection between the programmable logic controller and the store terminal device; obtain the device identification and device attribute information of the production device, and provide them to the store terminal device through the target protocol connection; The store terminal device is further used to parse the device identification and device attribute information provided by the programmable logic controller based on the target protocol; Establishing a network connection with a server, providing the server with the device identification and device attribute information of the production device through the network connection; thereby establishing an online connection between the server and the production device controlled by the programmable logic controller, so that the server can manage the production device; The server is also used to manage the status and attributes of the production equipment according to the equipment identification and equipment attribute information of the production equipment.

3. The system according to claim 1, characterized in that The programmable logic controller is further used to write the current state of the device of the production device into the status register of the holding register; encapsulate the byte code representing the current state of the device in the status register into a status data unit, and send it to the store terminal device through the target protocol connection; The store terminal device is also used to parse the current state of the device from the state data unit sent by the programmable logic controller based on the target protocol, and send information corresponding to the current state of the device to the server according to the current state of the device.

4. The system according to claim 3, characterized in that The programmable logic controller is further used to read the status information recorded in the status register; if it is in the initial state, change the recorded information in the status register to the device online state, and write the device attribute information of the production device into the first attribute register of the holding register; send the device online state and the device attribute information to the store terminal device through the target protocol connection; The store terminal device is also used to parse the device online status and the device attribute information sent by the programmable logic controller based on the target protocol, and send the device online information to the server; receive the device online success information returned by the server, provide the device online success information to the programmable logic controller, and set the status register to the device power-on state through the target protocol connection.

5. The system according to claim 4, characterized in that The programmable logic controller is further used to obtain the device online success information, update the status register to the manufacturable state; obtain the manufacturable attribute information of the manufacturing device, and write it into the second attribute register of the holding register; send the manufacturable state and the manufacturable attribute information to the store terminal device through the target protocol connection; The store terminal device is further used to parse the manufacturable attribute information of the manufacturing device based on the target protocol and send it to the server.

6. An information processing method for object production, characterized in that include: Acquire order data, and obtain production information for producing a target object according to the order data; wherein the production information includes recipe information and process information for producing the target object, and the process information is configured on a platform through a process configuration page, thereby avoiding the process information being fixed to a programmable controller; wherein the production information is generated according to first recipe information and second recipe information, the first recipe information includes ingredient type information of the target object and amount information of each ingredient, and the second recipe information is the ingredient amount corresponding to the order data calculated according to the number of portions produced and preference information; Converting the production information into bytecode for representing the production information of the target object based on the target protocol; The bytecode is encapsulated into a target protocol data unit, and the target protocol data unit is provided to a programmable logic controller. The programmable logic controller is used to control the corresponding production equipment to generate a target object. After the target object is produced, the store terminal equipment sends order configuration completion information to the server according to the production success information, thereby realizing the production of the object according to the order data provided by the server.

7. The method according to claim 6, characterized in that Also includes: In response to a target protocol connection establishment request sent by the programmable logic controller, establishing a target protocol connection with the programmable logic controller; The providing the target protocol data unit to the programmable logic controller comprises: The target protocol data unit is provided via the target protocol connection.

8. The method according to claim 7, characterized in that Also includes: Acquire a first data unit provided by the programmable logic controller through the target protocol connection; Parsing the device identification and device attribute information of the production device from the first data unit based on the target protocol; The device identification and device attribute information of the production device are sent to the server.

9. The method according to claim 7, characterized in that: Also includes: Setting the holding register of the programmable logic controller to an initial state through the target protocol connection; wherein the holding register can be read and written by the programmable logic controller and the store terminal device; The current state of the device in the state register of the holding register is read through the target protocol connection, information corresponding to the current state of the device is sent to the server according to the current state of the device, and management information provided by the server for the current state of the device is obtained.

10. The method according to claim 9, characterized in that Also includes: If the current state of the device is the device online state, obtaining the device identification and device attribute information of the manufacturing device from the first attribute register of the holding register through the target protocol connection; Sending information corresponding to the online status of the device to the server according to the online status of the device, the device identifier and the device attribute information; Receive the device online success information returned by the server, write the device online success information into the holding register through the target protocol connection, and write the device power-on status of the production device into the status register.

11. The method according to claim 9, characterized in that Also includes: If the current state of the device is a manufacturable state, obtaining manufacturable attribute information of the manufacturing device from the second attribute register of the holding register through the target protocol connection; According to the producible state and the producible attribute information, sending information corresponding to the producible state to a server; Receive the order data sent by the server, convert the order data into a second target protocol data unit according to the protocol format of the target protocol, update the second target protocol data unit to the holding register through the target protocol connection, and set the status register to being produced.

12. The method according to claim 6, characterized in that The step of acquiring the order data and obtaining production information for producing the target object according to the order data includes: Get the order data provided by the server; The production information is extracted from the order data.

13. The method according to claim 6, characterized in that Also includes: Determining whether the remaining quantity of each ingredient is sufficient according to the ingredient quantity corresponding to the order data; If yes, the production information is generated according to the first recipe information and the second recipe information; otherwise, it is prompted that the remaining amount of ingredients is insufficient.

14. The method according to claim 6, characterized in that Also includes: The production success information is parsed from the data unit sent by the programmable logic controller based on the target protocol.

15. The method according to claim 6, characterized in that The target protocol is a specific communication protocol based on Modbus.

16. An information processing method for object production, characterized in that include: Obtaining a target protocol data unit encapsulated based on a target protocol; Parsing a bytecode for representing target object production information according to the target protocol, triggering a corresponding production device to perform an action according to the control instruction contained in the bytecode; wherein the production device is used to produce and generate the target object; Among them, the production information includes recipe information and process information for producing the target object, and the process information is platform-configured through the process configuration page; wherein, the production information is generated based on first recipe information and second recipe information, the first recipe information includes ingredient type information of the target object and usage information of each ingredient, and the second recipe information is the ingredient usage corresponding to the order data calculated based on the number of portions produced and preference information.

17. The method according to claim 16, characterized in that The step of triggering the production device to perform an action according to the control instruction contained in the bytecode includes: The bytecode is written into a holding register, triggering the production device to perform an action according to the control instruction.

18. The method according to claim 16, characterized in that Also includes: Reading the status information recorded in the status register of the holding register, and setting the attribute register according to the status information; The state information and the attribute information recorded in the attribute register are sent to a store terminal device based on the target protocol.

19. The method according to claim 18, characterized in that The step of setting the attribute register according to the state information comprises: If the state information is an initial state, the record information in the state register is changed to the device online state, and the device attribute information of the production device is set, and the device attribute information is written into the first attribute register of the holding register.

20. The method according to claim 18, characterized in that The step of setting the attribute register according to the state information comprises: If the status information is the device power-on status and the device online success information is obtained, the status register is updated to the production-ready status; The manufacturable attribute information of the manufacturing device is obtained, and the manufacturable attribute information is written into the second attribute register of the holding register.

21. An information processing device for object production, characterized in that include: A production information acquisition unit, used to obtain order data, and obtain production information for producing a target object according to the order data; wherein the production information includes recipe information and process information for producing the target object, and the process information is configured on a platform through a process configuration page, so as to avoid the process information being fixed to programmable control; wherein the production information is generated according to first recipe information and second recipe information, wherein the first recipe information includes ingredient type information of the target object and dosage information of each ingredient, and the second recipe information is the ingredient dosage corresponding to the order data calculated according to the number of portions produced and preference information; A bytecode conversion unit, configured to convert the production information into a bytecode representing the production information of the target object based on the target protocol; The sending unit is used to encapsulate the bytecode into a target protocol data unit and provide the target protocol data unit to the programmable logic controller. The programmable logic controller is used to control the corresponding production equipment to generate the target object. After the target object is produced, the store terminal equipment sends the order configuration completion information to the server according to the production success information, so as to realize the production of the object according to the order data provided by the server.

22. An information processing device for object production, characterized in that include: A receiving unit, used for obtaining a target protocol data unit encapsulated based on a target protocol; A control unit, configured to parse a bytecode representing target object production information according to the target protocol; trigger a corresponding production device to perform an action according to the control instruction contained in the bytecode; wherein the production device is configured to produce a generated target object; Among them, the production information includes recipe information and process information for producing the target object, and the process information is platform-configured through the process configuration page; wherein, the production information is generated based on first recipe information and second recipe information, the first recipe information includes ingredient type information of the target object and usage information of each ingredient, and the second recipe information is the ingredient usage corresponding to the order data calculated based on the number of portions produced and preference information.

23. An electronic device, characterized in that: include: A memory and a processor; the memory is used to store a computer program, and after the computer program is run by the processor, the method described in any one of claims 6 to 20 is executed.

24. A storage device, characterized in that: A computer program is stored, and after the computer program is run by a processor, the method described in any one of claims 6 to 20 is executed.