CN115662007A - Vending machine offline processing method and system, electronic device and storage medium - Google Patents

Vending machine offline processing method and system, electronic device and storage medium Download PDF

Info

Publication number
CN115662007A
CN115662007A CN202211588774.1A CN202211588774A CN115662007A CN 115662007 A CN115662007 A CN 115662007A CN 202211588774 A CN202211588774 A CN 202211588774A CN 115662007 A CN115662007 A CN 115662007A
Authority
CN
China
Prior art keywords
vending machine
goods
goods taking
voucher
background server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211588774.1A
Other languages
Chinese (zh)
Other versions
CN115662007B (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 a vending machine offline processing method and system, electronic equipment and a storage medium. The method comprises the following steps: the method comprises the steps that a background server is connected with a vending machine in a networking mode regularly, 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 successfully delivers goods after the user side successfully pays according to the acquired order information, and if the vending machine fails, a goods taking certificate is generated and fed back to a user purchasing channel; the user side receives the goods taking voucher fed back by the background server through a purchasing channel and feeds the goods taking voucher back to the vending machine; the vending machine receives the goods taking voucher, extracts a goods delivery instruction in the goods taking voucher and executes a corresponding goods delivery action according to the goods delivery instruction, so that the problem of goods delivery under the condition that the vending machine suddenly goes offline after the order payment is successful is solved.

Description

Vending machine offline processing method and system, electronic device and storage medium
Technical Field
The invention relates to the technical field of vending machines, in particular to a vending machine offline processing method and system, electronic equipment and a storage medium.
Background
When the existing vending machine is in shipment, the existing vending machine adopts a single-machine type shipment method, namely the vending machine pays through terminals such as cash or a mobile phone, and then the vending machine carries out shipment according to payment results.
When the goods delivery method is abnormal, for example, after the user finishes paying, the vending machine suddenly goes off-line, the goods can not be delivered in time, and certain difficulty exists in continuously processing the order.
Disclosure of Invention
The invention aims to provide a vending machine offline processing method, a vending machine offline processing system, electronic equipment and a storage medium.
The embodiment of the invention is realized by the following technical scheme: an off-line processing method for a vending machine, comprising the steps of:
the method comprises the steps that a background server is connected with a vending machine in a networking mode regularly, 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 successfully delivers goods after the user side successfully pays according to the acquired order information, and if the vending machine fails, a goods taking voucher is generated and fed back to a user purchasing channel;
the user side receives the goods taking voucher fed back by the background server through a purchasing channel and feeds the goods taking voucher back to the vending machine;
the vending machine receives the goods taking voucher, extracts a goods delivery instruction in the goods taking voucher and executes a corresponding goods delivery action according to the goods delivery instruction.
According to a preferred embodiment, the pick-up voucher is a two-dimensional code.
According to a preferred embodiment, the method further includes that the backend server encrypts the two-dimensional code.
According to a preferred embodiment, the method further comprises decoding the two-dimensional code by the vending machine.
According to a preferred embodiment, the vending machine receives the pick-up voucher through 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 offline vending machine processing system applied to the method, comprising the following steps:
the background server is used for establishing connection with the vending machine through a network at regular intervals, acquiring order information from the vending machine, wherein the order information at least comprises payment information and shipment information, judging whether the vending machine successfully delivers the goods after the payment at the user side is successful according to the acquired order information, and if the payment is failed, generating a goods taking voucher and feeding the goods taking voucher back to a user purchasing channel;
the user side is used for receiving the goods taking voucher fed back by the background server through a purchasing channel and feeding the goods taking voucher back to the vending machine;
and the vending machine is used for receiving the goods taking voucher, extracting a goods delivery instruction in the goods taking voucher and executing a corresponding goods delivery action according to the goods delivery instruction.
The present invention also provides an electronic device, comprising:
a memory storing execution instructions; and
a processor executing execution instructions stored by the memory to cause the processor to perform the method as described above.
The invention also provides a readable storage medium storing executable instructions which, when executed by a processor, implement the method as described above.
The technical scheme of the embodiment of the invention at least has the following advantages and beneficial effects: according to the vending machine offline processing method, the vending machine offline processing system, the electronic device and the storage medium, when the vending machine is offline, the background server sends the goods taking voucher to the selling channel of the user side, the user side conducts verification at the vending machine by means of the goods taking voucher, and after the vending machine is successfully verified, the order is continuously discharged, so that the problem of discharging goods under the condition that the vending machine is suddenly offline after the order payment is successful is solved.
Drawings
Fig. 1 is a schematic flow chart of an offline processing method of a vending machine according to embodiment 1 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of 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 vending machine processing method according to an embodiment of the present invention.
The vending machine offline processing method provided by the embodiment of the invention mainly solves the following problems: the method comprises the steps that a background server is connected with a vending machine in a networking mode regularly, 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 successfully delivers goods after the user side successfully pays according to the acquired order information, and if the vending machine fails, a goods taking certificate is generated and fed back to a user purchasing channel; the user side receives the goods taking voucher fed back by the background server through a purchasing channel and feeds the goods taking voucher back to the vending machine; the vending machine receives the goods taking voucher, extracts a goods delivery instruction in the goods taking voucher and executes a corresponding goods delivery action according to the goods delivery instruction.
The order, the order result and the commodity information on the vending machine are stored by the background server, the selection and the payment of the commodity on the purchase channel are detected by the background server, and when the vending machine is abnormal, the background server can trace the reason of the abnormal vending machine conveniently according to the stored information and the monitoring process. Specifically, in the embodiment, the situation that the vending machine suddenly goes off-line after the user successfully pays through the purchase channel is mainly addressed, and the goods taking voucher is generated through the order result, the commodity information and the detected payment information which are stored by the background server and are related to the current order at that time, so that the vending machine can identify and verify the goods taking voucher.
Furthermore, 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 the shipment information and the flow of the vending machine, and the background server can trace the reason of the abnormity of the vending machine.
According to the vending machine offline processing method, the vending machine offline processing system, the electronic device and the storage medium, when the vending machine is offline, the background server sends the goods taking voucher to the vending channel of the user side, the user side conducts verification at the vending machine by means of the goods taking voucher, and after the vending machine is successfully verified, the order is continuously discharged, so that the problem of discharging under the condition that the vending machine is suddenly offline after the order payment is successful can be solved.
Specifically, in the embodiment of the present invention, the goods-taking voucher is a two-dimensional code, and the background server further encrypts the two-dimensional code after generating the two-dimensional code, so as to improve the security of the two-dimensional code; after receiving the two-dimensional code through the two-dimensional code receiver, the vending machine decodes the two-dimensional code to acquire information contained in the two-dimensional code, and accordingly executes corresponding shipment logic 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 public account, an applet, or an APP, which is not described herein again.
The embodiment of the invention also provides an offline vending machine processing system, which is applied to the method, and comprises the following steps:
the background server is used for establishing connection with the vending machine through a network at regular intervals, acquiring order information from the vending machine, wherein the order information at least comprises payment information and shipment information, judging whether the vending machine successfully delivers the goods after the payment at the user side is successful according to the acquired order information, and if the payment is failed, generating a goods taking voucher and feeding the goods taking voucher back to a user purchasing channel;
the user side is used for receiving the goods taking voucher fed back by the background server through a purchasing channel and feeding the goods taking voucher back to the vending machine;
and the vending machine is used for receiving the goods taking voucher, extracting a goods delivery instruction in the goods taking voucher and executing a corresponding goods delivery action according to the goods delivery instruction.
An embodiment of the present invention further provides an electronic device, including:
a memory storing execution instructions; and
a processor executing the execution instructions stored by the memory, causing the processor to perform the method as described above.
Embodiments of the present invention further provide a readable storage medium, where the readable storage medium stores an execution instruction, and the execution instruction, when executed by a processor, implements the method as described above.
The present invention has been described in terms of the preferred embodiment, and it is not intended to be limited to the embodiment. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. An off-line processing method for a vending machine, comprising the steps of:
the method comprises the steps that a background server is connected with a vending machine in a networking mode regularly, 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 successfully delivers goods after the user side successfully pays according to the acquired order information, and if the vending machine fails, a goods taking certificate is generated and fed back to a user purchasing channel;
the user side receives the goods taking voucher fed back by the background server through a purchasing channel and feeds the goods taking voucher back to the vending machine;
the vending machine receives the goods taking voucher, extracts a goods delivery instruction in the goods taking voucher and executes a corresponding goods delivery action according to the goods delivery instruction.
2. The vending machine offline processing method of claim 1, wherein the pick-up voucher is a two-dimensional code.
3. The vending machine offline processing method according to claim 2, further comprising the step of encrypting the two-dimensional code by a backend server.
4. The vending machine offline processing method of claim 3, further comprising the vending machine decoding the two-dimensional code.
5. The vending machine offline processing method of claim 4, wherein the vending machine receives the pick voucher through a two-dimensional code scanner.
6. A vending machine offline processing method as claimed in any one of claims 1 to 5, wherein said purchase channel includes but is not limited to one of a public number or an applet.
7. A vending machine offline processing system, applied to the method of any one of claims 1 to 6, comprising:
the background server is used for establishing connection with the vending machine through a network at regular intervals, acquiring order information from the vending machine, wherein the order information at least comprises payment information and shipment information, judging whether the vending machine successfully delivers the goods after the payment at the user side is successful according to the acquired order information, and if the payment is failed, generating a goods taking voucher and feeding the goods taking voucher back to a user purchasing channel;
the user side is used for receiving the goods taking voucher fed back by the background server through a purchasing channel and feeding the goods taking voucher back to the vending machine;
and the vending machine is used for receiving the goods taking voucher, extracting a goods delivery instruction in the goods taking voucher and executing a corresponding goods delivery action according to the goods delivery instruction.
8. An electronic device, comprising:
a memory storing execution instructions; and
a processor executing execution instructions stored by the memory to cause the processor to perform the method of any of claims 1 to 6.
9. A readable storage medium, characterized in that it stores executable instructions which, when executed by a processor, implement the method according to any one of claims 1 to 6.
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 true CN115662007A (en) 2023-01-31
CN115662007B 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 (11)

* 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
CN107705431A (en) * 2017-09-21 2018-02-16 深圳友朋智能商业科技有限公司 A kind of shipment control method, device, automatic vending machine, picking method and device
CN109362067A (en) * 2018-09-30 2019-02-19 北京未来便利技术有限公司 A kind of automatically vending system
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
CN110728788A (en) * 2019-10-16 2020-01-24 广东智购科技有限公司 Self-service vending machine and server side and mobile device side background management system thereof
CN111696259A (en) * 2019-07-05 2020-09-22 深圳友宝科斯科技有限公司 Method and device for processing goods delivery failure of self-service vending machine
CN111951463A (en) * 2020-06-05 2020-11-17 陶源 Vending machine activation system and vending machine offline vending method
CN112651795A (en) * 2020-12-11 2021-04-13 深圳市智莱科技股份有限公司 Vending machine, vending machine and readable storage medium
CN112669520A (en) * 2020-12-03 2021-04-16 深圳市智莱科技股份有限公司 Method and device for processing abnormal delivery of self-service vending machine and related equipment

Patent Citations (11)

* 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
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
CN111951463A (en) * 2020-06-05 2020-11-17 陶源 Vending machine activation system and vending machine offline vending method
CN112669520A (en) * 2020-12-03 2021-04-16 深圳市智莱科技股份有限公司 Method and device for processing abnormal delivery of self-service vending machine and related equipment
CN112651795A (en) * 2020-12-11 2021-04-13 深圳市智莱科技股份有限公司 Vending machine, vending machine and readable storage medium

Also Published As

Publication number Publication date
CN115662007B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US10311427B2 (en) Method and system for monitoring secure application execution events during contactless RFID/NFC communication
CN107506997B (en) Payment method for actively scanning codes on user mobile terminal based on block chain technology
CN115516482A (en) Aggregated payment method and related product
CN106096928A (en) A kind of payment detection method, device, server and payment detecting system
CN112734415B (en) Digital money collection method, terminal, device and computer readable storage medium
CN115662007A (en) Vending machine offline processing method and system, electronic device and storage medium
CN111951463B (en) Vending machine activation system and vending machine offline vending method
CN109788065B (en) Off-line message transmission method and off-line message transmission device based on Beidou system
CN108881320B (en) Authentication processing method for user login, server and client
CN107563242B (en) Identity card information checking device and system
CN105741172B (en) Transaction message generation method and device, and transaction equipment component monitoring method and system
CN113191874A (en) Credit card activation method, system and terminals based on 5G message and voiceprint recognition
CN110879787A (en) Client test method and system
CN115083079B (en) Card swallowing processing method and system
CN108711214B (en) Self-service device, control device, money box management method and computer storage medium
CN113313888B (en) ATM card-free withdrawal system and method based on block chain
CN111752724B (en) Customer information modification system and method
WO2023163793A1 (en) Systems and methods for incident reporting from secured devices
CN116523516A (en) Payment method, device, equipment and storage medium
CN115796860A (en) Card taking processing method and system for swallowing other bank cards
CN117172946A (en) Account checking method and device for business transaction, computer equipment and storage medium
CN116258564A (en) Off-line channel card-free service processing method, system, device and server
CN115545687A (en) Cross-border remittance data processing method and device
CN110717748A (en) Network payment method and related equipment
CN117896112A (en) Interface protection method, device, 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