CN115662007B - Off-line processing method and system for vending machine, electronic equipment and storage medium - Google Patents

Off-line processing method and system for vending machine, electronic equipment and storage medium Download PDF

Info

Publication number
CN115662007B
CN115662007B CN202211588774.1A CN202211588774A CN115662007B CN 115662007 B CN115662007 B CN 115662007B CN 202211588774 A CN202211588774 A CN 202211588774A CN 115662007 B CN115662007 B CN 115662007B
Authority
CN
China
Prior art keywords
vending machine
goods taking
goods
background server
certificate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211588774.1A
Other languages
Chinese (zh)
Other versions
CN115662007A (en
Inventor
徐海洋
邱永玖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Guangyin Technology Co ltd
Original Assignee
Chengdu Guangyin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Guangyin Technology Co ltd filed Critical Chengdu Guangyin Technology Co ltd
Priority to CN202211588774.1A priority Critical patent/CN115662007B/en
Publication of CN115662007A publication Critical patent/CN115662007A/en
Application granted granted Critical
Publication of CN115662007B publication Critical patent/CN115662007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of vending machines, in particular to an offline processing method, an offline processing system, electronic equipment and a storage medium of a vending machine. The method comprises the following steps: the background server is connected with the vending machine in a networking mode at regular intervals, order information is obtained from the vending machine, and the order information at least comprises payment information and shipment information; the background server judges whether the vending machine is successful in shipment after the user side pays successfully according to the acquired order information, and if so, a goods taking certificate is generated and fed back to a user purchase channel; the user side receives the goods taking evidence fed back by the background server through the purchase channel and feeds the goods taking evidence back to the vending machine; the vending machine receives the goods taking certificate and extracts a goods discharging instruction in the goods taking certificate, and executes corresponding goods discharging action according to the goods discharging instruction, so that the problem of goods discharging under the condition that the vending machine is suddenly off-line after the order payment is successful is solved.

Description

Off-line processing method and system for vending machine, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of vending machines, in particular to an offline processing method, an offline processing system, electronic equipment and a storage medium of a vending machine.
Background
When the existing vending machine is used for shipment, the vending machine pays through a cash or mobile phone and other terminal machines according to a single-machine shipment method, and then the vending machine carries out shipment according to a payment result.
When the shipment method is abnormal, for example, after user payment is completed, the vending machine cannot timely shipment when the vending machine is suddenly offline, and certain difficulty exists in continuing to process orders.
Disclosure of Invention
The invention aims to provide a vending machine offline processing method, a system, electronic equipment and a storage medium, wherein when a vending machine is offline, a background server sends a goods taking certificate to a vending channel of a user side, the user side verifies at the vending machine by means of the goods taking certificate, and after the vending machine is successfully verified, an order is continuously ordered for shipment, so that the problem of shipment in the case of sudden offline of the vending machine after the order payment is successful is solved.
The embodiment of the invention is realized by the following technical scheme: an off-line processing method of a vending machine comprises the following steps:
the background server is connected with the vending machine in a networking mode at regular intervals, order information is obtained from the vending machine, and the order information at least comprises payment information and shipment information;
the background server judges whether the vending machine is successful in shipment after the user side pays successfully according to the acquired order information, and if so, a goods taking certificate is generated and fed back to a user purchase channel;
the user side receives the goods taking evidence fed back by the background server through the purchase channel and feeds the goods taking evidence back to the vending machine;
the vending machine receives the goods taking certificate and extracts a goods discharging instruction in the goods taking certificate, and executes corresponding goods discharging action according to the goods discharging instruction.
According to a preferred embodiment, the pick certificate is a two-dimensional code.
According to a preferred embodiment, the method further comprises the step that the background server encrypts the two-dimensional code.
According to a preferred embodiment, the method further comprises the step that the vending machine decodes the two-dimensional code.
According to a preferred embodiment, the vending machine receives the pick slip via a two-dimensional code scanner.
According to a preferred embodiment, the purchase channel includes, but is not limited to, one of a public number or an applet.
The invention also provides an off-line processing system of the vending machine, which is applied to the method, and comprises the following steps:
the background server is used for establishing connection with the vending machine through regular networking, acquiring order information from the vending machine, wherein the order information at least comprises payment information and shipment information, judging whether the vending machine is successful in shipment after the user side is successful in payment according to the acquired order information, and generating a goods taking certificate and feeding back to a user purchase channel if the goods taking certificate is unsuccessful;
the user side is used for receiving the goods taking evidence fed back by the background server through the purchase channel and feeding the goods taking evidence back to the vending machine;
the vending machine is used for receiving the goods taking certificate and extracting a goods discharging instruction in the goods taking certificate, and executing corresponding goods discharging action according to the goods discharging instruction.
The present invention also provides an electronic device including:
a memory storing execution instructions; and
a processor executing the memory-stored execution instructions, causing the processor to perform the method as described above.
The invention also provides a readable storage medium storing execution instructions that when executed by a processor implement a method as described above.
The technical scheme of the embodiment of the invention has at least the following advantages and beneficial effects: according to the vending machine offline processing method, system, electronic equipment and storage medium provided by the invention, after the vending machine is offline, the background server sends the goods taking certificate to the vending channel of the user side, the user side verifies at the vending machine by means of the goods taking certificate, and after the vending machine is successfully verified, the order is continued to be delivered, so that the delivery problem of the vending machine under the sudden offline condition after the order payment is successful is solved.
Drawings
Fig. 1 is a flow chart of an off-line processing method of a vending machine according to embodiment 1 of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Example 1
Referring to fig. 1, fig. 1 is a schematic flow chart of an offline processing method of a vending machine according to an embodiment of the present invention.
The offline processing method of the vending machine provided by the embodiment of the invention mainly comprises the following steps: the background server is connected with the vending machine in a networking mode at regular intervals, order information is obtained from the vending machine, and the order information at least comprises payment information and shipment information; the background server judges whether the vending machine is successful in shipment after the user side pays successfully according to the acquired order information, and if so, a goods taking certificate is generated and fed back to a user purchase channel; the user side receives the goods taking evidence fed back by the background server through the purchase channel and feeds the goods taking evidence back to the vending machine; the vending machine receives the goods taking certificate and extracts a goods discharging instruction in the goods taking certificate, and executes corresponding goods discharging action according to the goods discharging instruction.
According to the invention, orders, order results and commodity information on the vending machine are stored by the background server, and the selection and payment of commodities on a purchase channel are detected by the background server, so that when the vending machine is abnormal, the background server can conveniently trace the reason of the abnormality of the vending machine according to the stored information and the monitoring flow. In particular, in this embodiment, the situation that after the user successfully pays through the purchase channel, the vending machine bursts off-line is mainly aimed at, and then the goods taking certificate is generated for the vending machine to identify and verify through the order result, the commodity information and the detected payment information about the current order stored by the background server.
Further, the vending machine can transmit data through the message queue remote sensing transmission protocol, so that the vending machine can transmit information to the background server under the conditions of limited computing capacity, limited bandwidth and poor network, the background server can acquire shipment information and flow of the vending machine, and further the background server can trace the abnormal reasons of the vending machine.
According to the vending machine offline processing method, system, electronic equipment and storage medium, after the vending machine is offline, the background server sends the goods taking certificate to the vending channel of the user side, the user side verifies the vending machine by means of the goods taking certificate, and after the vending machine is successfully verified, the order is continued to be delivered, so that the delivery problem of the vending machine under the condition of sudden offline after the order payment is successful can be solved.
In the embodiment of the invention, the goods taking certificate is a two-dimensional code, and the background server further comprises the step of encrypting the two-dimensional code after generating the two-dimensional code so as to improve the safety of the two-dimensional code; after the two-dimensional code is received by the vending machine through the two-dimensional code receiver, the information contained in the two-dimensional code is acquired through decoding processing, and corresponding shipment logic is executed according to the acquired information.
Further, in the embodiment of the present invention, the supported purchase channel includes, but is not limited to, one of a common public number, applet or APP, which will not be described here.
The embodiment of the invention also provides an off-line processing system of the vending machine, which is applied to the method, and comprises the following steps:
the background server is used for establishing connection with the vending machine through regular networking, acquiring order information from the vending machine, wherein the order information at least comprises payment information and shipment information, judging whether the vending machine is successful in shipment after the user side is successful in payment according to the acquired order information, and generating a goods taking certificate and feeding back to a user purchase channel if the goods taking certificate is unsuccessful;
the user side is used for receiving the goods taking evidence fed back by the background server through the purchase channel and feeding the goods taking evidence back to the vending machine;
the vending machine is used for receiving the goods taking certificate and extracting a goods discharging instruction in the goods taking certificate, and executing corresponding goods discharging action according to the goods discharging instruction.
The embodiment of the invention also provides electronic equipment, which comprises:
a memory storing execution instructions; and
a processor executing the memory-stored execution instructions, causing the processor to perform the method as described above.
Embodiments of the present invention also provide a readable storage medium storing execution instructions that when executed by a processor implement a method as described above.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. An off-line processing method of a vending machine is characterized by comprising the following steps:
the background server is connected with the vending machine in a networking mode at regular intervals, order information is obtained from the vending machine, and the order information at least comprises payment information and shipment information;
the background server judges whether the vending machine is successful in shipment after the user side pays successfully according to the acquired order information, if so, a goods taking certificate is generated and fed back to a user purchase channel, and the goods taking certificate is a two-dimensional code;
the user side receives the goods taking evidence fed back by the background server through the purchase channel and feeds the goods taking evidence back to the vending machine;
the vending machine receives the goods taking certificate and extracts a goods discharging instruction in the goods taking certificate, and executes corresponding goods discharging action according to the goods discharging instruction.
2. The vending machine offline processing method of claim 1, further comprising the step of encrypting the two-dimensional code by a background server.
3. The vending machine offline processing method of claim 2, further comprising the vending machine decoding the two-dimensional code.
4. The vending machine offline processing method of claim 3, wherein the vending machine receives the pick certificate via a two-dimensional code scanner.
5. A vending machine offline processing method as claimed in any one of claims 1 to 4, wherein said purchase channel includes, but is not limited to, one of a public number or an applet.
6. A vending machine offline processing system for application to a method as claimed in any one of claims 1 to 5, comprising:
the background server is used for establishing connection with the vending machine through regular networking, acquiring order information from the vending machine, wherein the order information at least comprises payment information and shipment information, judging whether the vending machine is successful in shipment after the user side is successful in payment according to the acquired order information, and generating a goods taking certificate and feeding back to a user purchase channel if the goods taking certificate is unsuccessful;
the user side is used for receiving the goods taking evidence fed back by the background server through the purchase channel and feeding the goods taking evidence back to the vending machine;
the vending machine is used for receiving the goods taking certificate and extracting a goods discharging instruction in the goods taking certificate, and executing corresponding goods discharging action according to the goods discharging instruction.
7. An electronic device, comprising:
a memory storing execution instructions; and
a processor executing the memory-stored execution instructions, causing the processor to perform the method of any one of claims 1 to 5.
8. A readable storage medium storing execution instructions which, when executed by a processor, implement the method of any one of claims 1 to 5.
CN202211588774.1A 2022-12-12 2022-12-12 Off-line processing method and system for vending machine, electronic equipment and storage medium Active CN115662007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211588774.1A CN115662007B (en) 2022-12-12 2022-12-12 Off-line processing method and system for vending machine, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211588774.1A CN115662007B (en) 2022-12-12 2022-12-12 Off-line processing method and system for vending machine, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115662007A CN115662007A (en) 2023-01-31
CN115662007B true CN115662007B (en) 2023-05-23

Family

ID=85019684

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211588774.1A Active CN115662007B (en) 2022-12-12 2022-12-12 Off-line processing method and system for vending machine, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115662007B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103325180A (en) * 2013-07-02 2013-09-25 中华全国供销合作总社北京商业机械研究所 Vending machine
CN103366303A (en) * 2012-03-28 2013-10-23 黄金富 Mobile phone shopping method and corresponding mobile phone shopping electronic commerce system
CN112669520A (en) * 2020-12-03 2021-04-16 深圳市智莱科技股份有限公司 Method and device for processing abnormal delivery of self-service vending machine and related equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107705431A (en) * 2017-09-21 2018-02-16 深圳友朋智能商业科技有限公司 A kind of shipment control method, device, automatic vending machine, picking method and device
CN109993620A (en) * 2017-12-29 2019-07-09 山东新北洋信息技术股份有限公司 A kind of vending method and sell control device
CN110363519A (en) * 2018-03-26 2019-10-22 富士电机(中国)有限公司 The method that automatic vending machine is sold goods offline
CN109362067A (en) * 2018-09-30 2019-02-19 北京未来便利技术有限公司 A kind of automatically vending system
CN111696259A (en) * 2019-07-05 2020-09-22 深圳友宝科斯科技有限公司 Method and device for processing goods delivery failure of self-service vending machine
CN110728788A (en) * 2019-10-16 2020-01-24 广东智购科技有限公司 Self-service vending machine and server side and mobile device side background management system thereof
CN111951463B (en) * 2020-06-05 2022-08-19 陶源 Vending machine activation system and vending machine offline vending method
CN112651795B (en) * 2020-12-11 2023-11-17 深圳市智莱科技股份有限公司 Shipment method for vending machine, vending machine and readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103366303A (en) * 2012-03-28 2013-10-23 黄金富 Mobile phone shopping method and corresponding mobile phone shopping electronic commerce system
CN103325180A (en) * 2013-07-02 2013-09-25 中华全国供销合作总社北京商业机械研究所 Vending machine
CN112669520A (en) * 2020-12-03 2021-04-16 深圳市智莱科技股份有限公司 Method and device for processing abnormal delivery of self-service vending machine and related equipment

Also Published As

Publication number Publication date
CN115662007A (en) 2023-01-31

Similar Documents

Publication Publication Date Title
CN109583898B (en) Intelligent terminal and method for payment based on TEE and block chain
CN105825409B (en) Electronic invoice message pushing system and method
CN106776226B (en) Monitoring method and device of self-service terminal
CN110958161B (en) Block chain link point monitoring method and device and storage medium
CN106961466A (en) The transmission of resource, get method and its equipment
CN115662007B (en) Off-line processing method and system for vending machine, electronic equipment and storage medium
CN109788065B (en) Off-line message transmission method and off-line message transmission device based on Beidou system
CN111652681A (en) Receipt processing method, server and computer readable storage medium
CN110572315A (en) Information interaction method and device, robot and storage medium
CN108513272A (en) Method for processing short messages and device
CN105741172B (en) Transaction message generation method and device, and transaction equipment component monitoring method and system
CN109922104B (en) Message sending method and related equipment
CN109102292B (en) Method and device for monitoring running state of client
CN114648325A (en) Payment notification sending method and device and electronic equipment
CN111460430B (en) Equipment installation and debugging control method and air conditioning system
CN112819115B (en) Equipment identifier verification method and device, storage medium and electronic device
CN110661681B (en) Buried point design method and device
CN113691593B (en) Internet of things monitoring equipment and Internet of things monitoring method
CN115083079B (en) Card swallowing processing method and system
CN117114639A (en) Method, device, equipment and storage medium for preventing virtual card punching of delivery pieces
CN116614345A (en) Communication method, application system, storage medium and program product
CN112132651A (en) Order confirmation method, device, medium and terminal equipment
CN116866005A (en) Sale terminal host updating method, sub-host updating method and related devices
CN115796860A (en) Card taking processing method and system for swallowing other bank cards
CN116962183A (en) Monitoring method and device of service system, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant