CN110750283A - Remote upgrading method and system for vending machine driving program - Google Patents

Remote upgrading method and system for vending machine driving program Download PDF

Info

Publication number
CN110750283A
CN110750283A CN201910977345.5A CN201910977345A CN110750283A CN 110750283 A CN110750283 A CN 110750283A CN 201910977345 A CN201910977345 A CN 201910977345A CN 110750283 A CN110750283 A CN 110750283A
Authority
CN
China
Prior art keywords
vending machine
upgrading
identification code
upgrading request
request identification
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
CN201910977345.5A
Other languages
Chinese (zh)
Other versions
CN110750283B (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.)
Qingdao Easy Touch Technology Co Ltd
Original Assignee
Qingdao Easy Touch 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 Qingdao Easy Touch Technology Co Ltd filed Critical Qingdao Easy Touch Technology Co Ltd
Priority to CN201910977345.5A priority Critical patent/CN110750283B/en
Publication of CN110750283A publication Critical patent/CN110750283A/en
Application granted granted Critical
Publication of CN110750283B publication Critical patent/CN110750283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F9/00Details other than those peculiar to special kinds or types of apparatus
    • G07F9/006Details of the software used for the vending machines

Abstract

The utility model provides a remote upgrade method and system for vending machine driver, through set up the upgrading request identification code for each drive plate of vending machine or vending machine, can realize the procedure upgrading for the vending machine system who sets up a network module only, can realize one-to-one through the discernment of identification code and carry out the upgrading of driver, can also one-to-many transversely upgrade, one-to-many vertically upgrade and mix the upgrading.

Description

Remote upgrading method and system for vending machine driving program
Technical Field
The disclosure relates to the technical field related to communication technology, in particular to a vending machine driving program remote upgrading method and system.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
At present, most of vending machines on the market solidify a drive program into vending machines when leaving a factory, when the vending machines are put all over the country, if a bottom-layer drive program of the vending machines has 'bug' (defect or leak) or some actual functions are required to be added, after-sales personnel are required to post a circuit board with the modified program for replacing or upgrade the drive program through special handheld equipment on the spot, and some vending machine systems have more than one drive program and some three or four drive programs work in a cooperative mode. The number of vending machines put into use at present is large, and if machines in the whole country are upgraded, the workload is extremely huge.
Disclosure of Invention
In order to solve the above problems, the present disclosure provides a method and a system for remotely upgrading a driving program of an automatic vending machine, which can upgrade the driving program one by one, and also can upgrade the driving program one by one in a transverse direction, one by many in a longitudinal direction, and a hybrid upgrade.
In order to achieve the purpose, the following technical scheme is adopted in the disclosure:
one or more embodiments provide a vending machine driver remote upgrade method, including the steps of:
setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request marking bit;
the first terminal used for sending the upgrading program sends an upgrading request identification code to the vending machine;
the vending machine judges whether the identification of the upgrading request indication bit is the same as the set upgrading request identification code or not, if so, a response is sent to the first terminal, and the next step is executed; otherwise, ending;
the first terminal receives the response and sends the upgrade program to the vending machine.
One or more embodiments provide a vending machine driver remote upgrade method, including the steps of:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request marking bit and a vending machine marking bit;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to the vending machine;
step 3, the vending machine receiving the upgrading request identification code judges whether the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code or not, and if the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code, the next step is executed; otherwise, ending;
step 4, the vending machine receiving the upgrading request identification code judges whether the received upgrading request identification code is the same as the set upgrading request identification code or not, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, judging whether the vending machine receiving the upgrading request identification code is the last vending machine or not, and if so, finishing; otherwise, sending the upgrading request identification code to the next vending machine, and executing the step 4;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
One or more embodiments provide a vending machine driver remote upgrade method, including the steps of:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark bit and a driving plate mark bit;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to a drive board of the vending machine;
step 3, the drive board receiving the upgrading request identification code judges whether the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code or not, and if so, the next step is executed; otherwise, ending;
step 4, the drive board receiving the upgrade request identification code judges whether the received upgrade request identification code is the same as the set upgrade request identification code, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, judging whether the vending machine receiving the upgrading request identification code is the last driving plate or not, and if so, ending; otherwise, sending the upgrading request identification code to the next drive board, and executing the step 4;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
One or more embodiments provide a vending machine driver remote upgrade method, including the steps of:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark position, a vending machine mark position and a driving plate mark position of the vending machine;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to a drive board of the vending machine;
step 3, the drive board of the vending machine receiving the upgrading request identification code judges whether the upgrading request indication bit is the same as the upgrading request indication bit of the set upgrading request identification code, and if the upgrading request indication bit is the same, the next step is executed; otherwise, ending;
step 4, the drive board of the vending machine receiving the upgrading request identification code judges whether the received upgrading request identification code is the same as the set upgrading request identification code or not, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, sequentially identifying each digit of the received upgrading request marking code, judging whether a driving board or a self-service vending machine which is consistent with the identification result exists according to the identification result, if so, sending the upgrading request marking code to the driving board or the self-service vending machine which is consistent with the identification result, and executing the step 4; otherwise, ending;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
One or more embodiments provide a vending machine driver remote upgrade method, including the steps of:
firstly, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark bit, a vending machine mark bit and a driving plate mark bit of the vending machine;
step two, receiving an upgrading request identification code sent by a first terminal sending the upgrading request identification code, judging whether an upgrading request marking bit is the same as an upgrading request marking bit of a set upgrading request identification code or not, and if so, executing the next step; otherwise, ending;
step three, judging whether the received upgrading request marking code is the same as the set upgrading request identification code or not, if so, sending a response, and executing the step five; otherwise, executing the next step;
step four, identifying each digit of the received upgrading request marking code in sequence, judging whether a driving board or a self-service vending machine which is consistent with the identification result exists according to the identification result, if so, sending the upgrading request marking code to the driving board or the self-service vending machine which is consistent with the identification result, and executing step three; otherwise, ending;
and step five, receiving an upgrading program sent by the first terminal for upgrading.
One or more embodiments provide a remote upgrade system for a vending machine driver, which includes a first terminal for sending an upgrade program, a network module and a plurality of vending machines, wherein the first terminal is connected to the vending machines through the network module, and the vending machine driver executes the remote upgrade method for the vending machine driver.
Compared with the prior art, the beneficial effect of this disclosure is:
(1) this is disclosed through setting up the upgrading request identification code for every drive plate of vending machine or vending machine, can realize the procedure upgrading for the vending machine system that only sets up a network module, can realize one-to-one through the discernment of identification code and carry out the upgrading of driver, can also transversely upgrade one to many, one to many vertical upgrade and mix the upgrading.
(2) Because the program upgrading is not a continuous event, and a large quantity of vending machines need to be upgraded when the program upgrading is needed, a small quantity of network modules are arranged in the system, and only one network module can be arranged in the vending machine of one parcel, so that the cost of upgrading the system can be reduced while the remote upgrading function is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure.
FIG. 1 is a hardware block diagram of a remote upgrade system for automatic sales drivers according to embodiment 1 of the present disclosure;
FIG. 2 is a schematic diagram of a one-to-many lateral upgrade method of embodiment 2 of the present disclosure;
fig. 3 is a schematic diagram of a one-to-many vertical upgrade method of embodiment 3 of the present disclosure;
fig. 4 is a schematic diagram of a hybrid upgrade method according to embodiment 4 of the present disclosure.
The system comprises a network module A, a network module B, a communication line C and a drive board module; c-1, a first driving plate, C-2, a second driving plate, C-N and an Nth driving plate.
The specific implementation mode is as follows:
the present disclosure is further described with reference to the following drawings and examples.
It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments according to the present disclosure. As used herein, the singular is intended to include the plural unless the context clearly dictates otherwise, and it should be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of features, steps, operations, elements, components, and/or combinations thereof. It should be noted that, in the present disclosure, various embodiments and features of the embodiments may be combined with each other without conflict. The embodiments will be described in detail below with reference to the accompanying drawings.
As shown in fig. 1, the hardware of a remote upgrade system for automatic sales drivers includes: the network module A, the communication line B, the driver board module C and the network module are responsible for obtaining the upgrade file from a remote place and then sending the upgrade file to the driver board through the communication line.
Example 1
The embodiment provides a one-to-one upgrading mode, and a remote upgrading method for a vending machine driver, which comprises the following steps:
step 1), setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request marking bit;
step 2), the first terminal used for sending the upgrading program sends an upgrading request identification code to the vending machine;
step 3), the vending machine judges whether the identification of the upgrading request indication bit is the same as the set upgrading request identification code, if so, a response is sent to the first terminal, and the next step is executed; otherwise, ending;
and step 4), the first terminal receives the response and sends the upgrading program to the vending machine.
The method is suitable for one-to-one upgrading, as shown in fig. 2, one vending machine has one driving board, and the upgrading process comprises the following steps: an upgrading request identification code such as 'U' is set in advance before a driver board program leaves a factory, when a driver needs upgrading, a first terminal firstly sends the identification code through a network module, and when the driver board responds, the network module can send an upgrading file with the identification code to the driver board to complete an upgrading task.
Example 2
The method is suitable for one-to-many transverse upgrading, a plurality of vending machines share one network module, and each vending machine only has one driving plate. A remote upgrading method for a vending machine driver comprises the following steps:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request marking bit and a vending machine marking bit;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to the vending machine;
step 3, the vending machine receiving the upgrading request identification code judges whether the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code or not, and if the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code, the next step is executed; otherwise, ending;
step 4, the vending machine receiving the upgrading request identification code judges whether the received upgrading request identification code is the same as the set upgrading request identification code or not, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, judging whether the vending machine receiving the upgrading request identification code is the last vending machine or not, and if so, finishing; otherwise, sending the upgrading request identification code to the next vending machine, and executing the step 4;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
The method of the embodiment is suitable for each vending machine with only one driving board, the vending machines are connected in series through communication lines, and other vending machines are upgraded through the network module of the first vending machine 1, and here, a driving board program of the vending machine 2 is taken as an example for explanation. As shown in fig. 2, the upgrade flow is: two-bit upgrade request identification codes such as "U" and a number n are set in advance before the drive board program leaves a factory, wherein "U" is fixed, n is different according to different machines, here, n of the vending machine 1 is 1, n of the vending machine 2 is 2, and so on. If the drive board of the vending machine 2 is to be upgraded, the network module firstly sends an identification code 'U2' to the drive board of the vending machine 1, the drive board of the vending machine 1 judges that the identification code is different from the drive board of the vending machine 1 after receiving 'U2', then the drive board of the vending machine 2 sends 'U2' to the drive board of the vending machine 2, and the drive board of the vending machine 2 judges that the identification code is the same as the drive board of the vending machine 2 after receiving 'U2'. Then the "U2" identification is responded to and transmitted back to the network module via the drive board of the vending machine 1. After receiving the response, the network module can send the upgrade file with the identification code to the drive board to complete the upgrade task.
Example 3
The method is suitable for one-to-many longitudinal upgrading, and the same vending machine only has one network module but has a plurality of driving plates. A remote upgrading method for a vending machine driver comprises the following steps:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark bit and a driving plate mark bit;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to a drive board of the vending machine;
step 3, the drive board receiving the upgrading request identification code judges whether the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code or not, and if so, the next step is executed; otherwise, ending;
step 4, the drive board receiving the upgrade request identification code judges whether the received upgrade request identification code is the same as the set upgrade request identification code, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, judging whether the vending machine receiving the upgrading request identification code is the last driving plate or not, and if so, ending; otherwise, sending the upgrading request identification code to the next drive board, and executing the step 4;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
As shown in fig. 3, the vending machine has N drive boards, which are respectively a first drive board C-1, a second drive board C-2, and an nth drive board C-N, and the drive boards are connected by a communication line, at this time, all other drive boards can be upgraded one-to-one by the network module of the vending machine, and the description is given by taking an example of upgrading a second drive board program. The upgrading process comprises the following steps: two-bit upgrade request identification codes such as 'U' and a number n are set in advance before the driver board program leaves a factory, wherein 'U' is fixed, n drive boards are different, here, the identifier n of the first drive board C-1 is 1, the identifier n of the second drive board C-2 is 2, and so on. If the driver of the drive board C-2 is to be upgraded, the network module firstly sends an identification code 'U2' to a first drive board C-1 of the vending machine, the first drive board C-1 of the vending machine judges that the identification code is different from the identification code, after receiving 'U2', the first drive board C-1 of the vending machine sends 'U2' to a second drive board C-2, and after receiving 'U2', the second drive board C-2 judges that the identification code is the same as the identification code. Then the "U2" identification is responded to and transmitted back to network module a via the first driver board C-1. After receiving the response, the network module A can send the upgrade file with the identification code to the second drive board C-2 to complete the upgrade task.
Example 4
The embodiment provides a one-to-many hybrid upgrading mode, and a remote upgrading method for a vending machine driver, which comprises the following steps:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark position, a vending machine mark position and a driving plate mark position of the vending machine;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to a drive board of the vending machine;
step 3, the drive board of the vending machine receiving the upgrading request identification code judges whether the upgrading request indication bit is the same as the upgrading request indication bit of the set upgrading request identification code, and if the upgrading request indication bit is the same, the next step is executed; otherwise, ending;
step 4, the drive board of the vending machine receiving the upgrading request identification code judges whether the received upgrading request identification code is the same as the set upgrading request identification code or not, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, sequentially identifying each digit of the received upgrading request marking code, judging whether a driving board or a self-service vending machine which is consistent with the identification result exists according to the identification result, if so, sending the upgrading request marking code to the driving board or the self-service vending machine which is consistent with the identification result, and executing the step 4; otherwise, ending;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
The method for identifying each bit of the received upgrade request identification code in the step 5 and judging whether a drive board or a self-service vending machine which is consistent with the identification result exists according to the identification result comprises the following steps:
identifying the vending machine indication position in the upgrading request identification code, judging whether the vending machine indication position is the same as the identification of the vending machine receiving the upgrading request identification code, and executing the next step if the vending machine indication position is the same as the identification of the vending machine receiving the upgrading request identification code; otherwise, sending the upgrading request marking code to the vending machine with the same marking bit identifier as the vending machine;
identifying a drive plate indication position in the upgrading request identification code, and sending the upgrading request identification code to the corresponding drive plate according to the identification of the drive plate indication position.
As shown in fig. 4, a plurality of vending machines only have one network module, but each vending machine has a plurality of driving boards, and the driving boards are connected through a communication line, and at this time, the driving boards of other machines can be upgraded through the network module of the vending machine 1, and here, we take the second driving board program of the vending machine 2 as an example for explanation. The upgrading process comprises the following steps: three upgrade request identification codes such as "U", the number n1 and the number n2 are set before the drive board program leaves the factory, wherein "U" is fixed, and n1 and n2 are different from the drive board, and here, the drive board 1 identification code of the vending machine 1 is considered as n 1-1, n 2-1, the identification code of the drive board 2 is considered as n 1-1, n 2-2, and so on. The identification code of the drive board 1 of the vending machine 2 is n 1-2, n 2-1, the identification code of the drive board 2 is n 1-2, n 2-2, and so on. Other vending machine identifiers are arranged in a manner that follows this rule. If the program of the drive board 2 of the vending machine 2 is to be upgraded, the network module firstly sends an identification code 'U22' to the drive board 1 of the vending machine 1, the drive board 1 of the vending machine 1 receives 'U22' and then judges that the identification code is different from the identification code, then 'U22' is sent to the drive board 1 of the vending machine 2, the drive board 1 of the vending machine 2 only finds that the second identification n1 is the same as the identification code, then the drive board 2 sends the identification code 'U22' to the drive board 2 of the vending machine, and the drive board 2 of the vending machine 2 receives 'U22' and then judges that the identification code is the same as the identification code. Then the version data is routed back to the drive board 1 of the vending machine 1 and finally back to the network module in response to the "U22" identification code. After receiving the response, the network module can send the upgrade file with the identification code to the drive board to complete the upgrade task.
Example 5
The embodiment provides a method for remotely upgrading a driver of a vending machine, which can be executed for each driver board in embodiment 4, and includes the following steps:
firstly, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark bit, a vending machine mark bit and a driving plate mark bit of the vending machine;
step two, receiving an upgrading request identification code sent by a first terminal sending the upgrading request identification code, judging whether an upgrading request marking bit is the same as an upgrading request marking bit of a set upgrading request identification code or not, and if so, executing the next step; otherwise, ending;
step three, judging whether the received upgrading request marking code is the same as the set upgrading request identification code or not, if so, sending a response, and executing the step five; otherwise, executing the next step;
step four, identifying each digit of the received upgrading request marking code in sequence, judging whether a driving board or a self-service vending machine which is consistent with the identification result exists according to the identification result, if so, sending the upgrading request marking code to the driving board or the self-service vending machine which is consistent with the identification result, and executing step three; otherwise, ending;
and step five, receiving an upgrading program sent by the first terminal for upgrading.
Further, the method for identifying each bit of the received upgrade request identification code and judging whether a drive board or a self-service vending machine which is consistent with the identification result exists according to the identification result in the fourth step comprises the following steps:
identifying the vending machine indication position in the upgrading request identification code, judging whether the vending machine indication position is the same as the identification of the vending machine receiving the upgrading request identification code, and executing the next step if the vending machine indication position is the same as the identification of the vending machine receiving the upgrading request identification code; otherwise, sending the upgrading request marking code to the vending machine with the same marking bit identifier as the vending machine;
identifying a drive plate indication position in the upgrading request identification code, and sending the upgrading request identification code to the corresponding drive plate according to the identification of the drive plate indication position.
The embodiment also provides a remote upgrading system for the vending machine driver, which comprises a first terminal for sending the upgrading program, a network module and a plurality of vending machines, wherein the first terminal is connected with the vending machines through the network module, and the vending machine driver executes the remote upgrading method for the vending machine driver in the embodiment.
Further, each vending machine comprises a plurality of serially connected drive plates, the plurality of vending machines being serially connected.
The first terminal can be a terminal computer or a mobile terminal. The mobile terminal can be a smart phone, a flat panel or a notebook computer.
The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure, and various modifications and changes may be made to the present disclosure by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.
Although the present disclosure has been described with reference to specific embodiments, it should be understood that the scope of the present disclosure is not limited thereto, and those skilled in the art will appreciate that various modifications and changes can be made without departing from the spirit and scope of the present disclosure.

Claims (10)

1. A remote upgrading method for a vending machine driving program is characterized by comprising the following steps:
setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request marking bit;
the first terminal used for sending the upgrading program sends an upgrading request identification code to the vending machine;
the vending machine judges whether the identification of the upgrading request indication bit is the same as the set upgrading request identification code or not, if so, a response is sent to the first terminal, and the next step is executed; otherwise, ending;
the first terminal receives the response and sends the upgrade program to the vending machine.
2. A remote upgrading method for a vending machine driving program is characterized by comprising the following steps:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request marking bit and a vending machine marking bit;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to the vending machine;
step 3, the vending machine receiving the upgrading request identification code judges whether the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code or not, and if the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code, the next step is executed; otherwise, ending;
step 4, the vending machine receiving the upgrading request identification code judges whether the received upgrading request identification code is the same as the set upgrading request identification code or not, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, judging whether the vending machine receiving the upgrading request identification code is the last vending machine or not, and if so, ending; otherwise, sending the upgrading request identification code to the next vending machine, and executing the step 4;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
3. A remote upgrading method for a vending machine driving program is characterized by comprising the following steps:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark bit and a driving plate mark bit;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to a drive board of the vending machine;
step 3, the drive board receiving the upgrading request identification code judges whether the upgrading request marking bit is the same as the upgrading request marking bit of the set upgrading request identification code or not, and if so, the next step is executed; otherwise, ending;
step 4, the drive board receiving the upgrade request identification code judges whether the received upgrade request identification code is the same as the set upgrade request identification code, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, judging whether the vending machine receiving the upgrading request identification code is the last driving plate or not, and if so, ending; otherwise, sending the upgrading request identification code to the next drive board, and executing the step 4;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
4. A remote upgrading method for a vending machine driving program is characterized by comprising the following steps:
step 1, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark position, a vending machine mark position and a driving plate mark position of the vending machine;
step 2, the first terminal for sending the upgrading program sends an upgrading request identification code to a drive board of the vending machine;
step 3, the drive board of the vending machine receiving the upgrading request identification code judges whether the upgrading request indication bit is the same as the upgrading request indication bit of the set upgrading request identification code, and if the upgrading request indication bit is the same, the next step is executed; otherwise, ending;
step 4, the drive board of the vending machine receiving the upgrading request identification code judges whether the received upgrading request identification code is the same as the set upgrading request identification code or not, if so, a response is sent to the first terminal, and step 6 is executed; otherwise, executing the next step;
step 5, sequentially identifying each bit of the received upgrading request marking code, judging whether a driving plate or a self-service vending machine which is consistent with the identification result exists according to the identification result, if so, sending the upgrading request marking code to the driving plate or the self-service vending machine which is consistent with the identification result, and executing the step 4; otherwise, ending;
and 6, the first terminal receives the response and sends the upgrading program to the drive board of the vending machine sending the response.
5. The vending machine driver remote upgrading method as recited in claim 4, further comprising: the method for identifying each bit of the received upgrade request identification code in the step 5 and judging whether a drive board or a self-service vending machine which is consistent with the identification result exists according to the identification result comprises the following steps:
identifying the vending machine indication position in the upgrading request identification code, judging whether the vending machine indication position is the same as the identification of the vending machine receiving the upgrading request identification code, and executing the next step if the vending machine indication position is the same as the identification of the vending machine receiving the upgrading request identification code; otherwise, sending the upgrading request marking code to the vending machine with the same marking bit identifier as the vending machine;
identifying a drive plate indication position in the upgrading request identification code, and sending the upgrading request identification code to the corresponding drive plate according to the identification of the drive plate indication position.
6. A remote upgrading method for a vending machine driving program is characterized by comprising the following steps:
firstly, setting an upgrading request identification code, wherein the upgrading request identification code comprises an upgrading request mark bit, a vending machine mark bit and a driving plate mark bit of the vending machine;
step two, receiving an upgrading request identification code sent by a first terminal sending the upgrading request identification code, judging whether an upgrading request marking bit is the same as an upgrading request marking bit of the set upgrading request identification code or not, and if so, executing the next step; otherwise, ending;
step three, judging whether the received upgrading request marking code is the same as the set upgrading request identification code or not, if so, sending a response, and executing the step five; otherwise, executing the next step;
step four, identifying each digit of the received upgrading request marking code in sequence, judging whether a driving board or a self-service vending machine which is consistent with the identification result exists according to the identification result, if so, sending the upgrading request marking code to the driving board or the self-service vending machine which is consistent with the identification result, and executing step three; otherwise, ending;
and step five, receiving an upgrading program sent by the first terminal for upgrading.
7. The vending machine driver remote upgrading method as recited in claim 6, further comprising: the method for identifying each bit of the received upgrade request identification code and judging whether a drive plate or a self-service vending machine which is consistent with the identification result exists according to the identification result in the fourth step comprises the following steps:
identifying the vending machine indication position in the upgrading request identification code, judging whether the vending machine indication position is the same as the identification of the vending machine receiving the upgrading request identification code, and executing the next step if the vending machine indication position is the same as the identification of the vending machine receiving the upgrading request identification code; otherwise, sending the upgrading request marking code to the vending machine with the same marking bit identifier as the vending machine;
identifying a drive plate indication position in the upgrading request identification code, and sending the upgrading request identification code to the corresponding drive plate according to the identification of the drive plate indication position.
8. A remote upgrading system for a vending machine driving program is characterized in that: the method comprises a first terminal for sending the upgrading program, a network module and a plurality of vending machines, wherein the first terminal is connected with the vending machines through the network module, and a driving board of the vending machines executes the vending machine driving program remote upgrading method in claim 6 or 7.
9. The vending machine driver remote upgrade system as claimed in claim 8, wherein: each vending machine includes a plurality of series connected drive plates, the plurality of vending machines being connected in series.
10. The vending machine driver remote upgrade system as claimed in claim 8, wherein: the first terminal is a terminal computer or a mobile terminal.
CN201910977345.5A 2019-10-15 2019-10-15 Remote upgrade method and system for vending machine driver Active CN110750283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910977345.5A CN110750283B (en) 2019-10-15 2019-10-15 Remote upgrade method and system for vending machine driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910977345.5A CN110750283B (en) 2019-10-15 2019-10-15 Remote upgrade method and system for vending machine driver

Publications (2)

Publication Number Publication Date
CN110750283A true CN110750283A (en) 2020-02-04
CN110750283B CN110750283B (en) 2023-05-02

Family

ID=69278390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910977345.5A Active CN110750283B (en) 2019-10-15 2019-10-15 Remote upgrade method and system for vending machine driver

Country Status (1)

Country Link
CN (1) CN110750283B (en)

Citations (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19717630A1 (en) * 1997-04-25 1998-11-05 Siemens Ag Automat representation method of finite state machine for processor memory or display
US6462644B1 (en) * 1998-11-19 2002-10-08 The Coca-Cola Company Network of vending machines connected interactively to data-base building host
US20050043011A1 (en) * 1999-09-20 2005-02-24 Numerex Corp. Method and system for refining vending operations based on wireless data
US20060253617A1 (en) * 2005-04-22 2006-11-09 Microsoft Corporation Driver upgrade tools
WO2007117578A2 (en) * 2006-04-06 2007-10-18 Fortune Resources Vending machine systems and methods of use
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN101206743A (en) * 2006-12-20 2008-06-25 金瓯 Method for monitoring and keeping away counterfeit money based on vendor cluster network
US20090113196A1 (en) * 2007-10-27 2009-04-30 Hsun-Yao Jan Method and systems for advanced reprogrammable boot codes and in-application programming of embedded microprocessor systems
CN101958799A (en) * 2009-07-14 2011-01-26 中兴通讯股份有限公司 Method, device and system for updating terminal
WO2012034486A1 (en) * 2010-09-13 2012-03-22 烽火通信科技股份有限公司 Method and system for installing and upgrading software on application terminal in home network
CN202394297U (en) * 2011-11-17 2012-08-22 浙江师范大学 Vending machine based on Internet of things
JP5035715B1 (en) * 2012-05-09 2012-09-26 株式会社日本マシンサービス In-house vending machine management system
JP5174268B1 (en) * 2011-10-14 2013-04-03 キヤノン株式会社 Network system, client apparatus and method
CN103019788A (en) * 2012-12-14 2013-04-03 上海邮政科学研究院 Remote online upgrading method based on CAN (Controller Area Network) bus
US20160070578A1 (en) * 2014-09-05 2016-03-10 Xiaomi Inc. Method and system for upgrading an electronic device
CN105468414A (en) * 2015-11-30 2016-04-06 Tcl集团股份有限公司 Intelligent terminal upgrading method and system
US20170034163A1 (en) * 2015-07-27 2017-02-02 International Business Machines Corporation Updating database drivers for client applications through a database server push
CN106406946A (en) * 2016-09-12 2017-02-15 雷蕾 Method for automatically upgrading system software of multi-master and slave devices
CN106445621A (en) * 2016-10-31 2017-02-22 乐视控股(北京)有限公司 Upgrading method and device of application and electronic device
CN106681777A (en) * 2017-01-18 2017-05-17 青岛海尔空调电子有限公司 Quick program updating method for multi-split unit
US20170255459A1 (en) * 2016-03-01 2017-09-07 Renesas Electronics Corporation Embedded device and program updating method
CN107301068A (en) * 2017-06-12 2017-10-27 合肥众志行云科技有限公司 One-to-many wireless program upgrade-system and method on a kind of single-chip microcomputer
JP2018036745A (en) * 2016-08-30 2018-03-08 コベルコ建機株式会社 Update device for software and update method for software
CN108023907A (en) * 2016-10-31 2018-05-11 比亚迪股份有限公司 Vehicle module upgrade method, device and vehicle
CN108021382A (en) * 2017-12-22 2018-05-11 深圳华意隆电气股份有限公司 A kind of embedded device remote update system, method and embedded device
CN108073408A (en) * 2016-11-15 2018-05-25 平安科技(深圳)有限公司 The method for updating system and device of self-aided terminal
CN108182072A (en) * 2017-12-28 2018-06-19 上汽通用五菱汽车股份有限公司 Remote upgrade method, server and the storage medium of vehicle electronics
CN108415715A (en) * 2018-02-12 2018-08-17 四川爱创科技有限公司 Method for upgrading software based on scene analysis suitable for automatic vending machine
CN208188814U (en) * 2017-12-22 2018-12-04 深圳华意隆电气股份有限公司 A kind of embedded device and its remote update system
CN108989103A (en) * 2018-07-11 2018-12-11 珠海格力电器股份有限公司 Device updating method, debugger, the network equipment and network system
CN109271184A (en) * 2018-08-28 2019-01-25 苏州浪潮智能软件有限公司 A method of based on remote upgrade version security protection
CN109302476A (en) * 2018-09-30 2019-02-01 珠海汇众能源科技有限公司 A kind of PLC program upgrade method and system based on mobile terminal
CN109358883A (en) * 2018-11-05 2019-02-19 珠海格力电器股份有限公司 Programme upgrade method, system and application system, storage medium
JP2019028708A (en) * 2017-07-28 2019-02-21 株式会社リコー Program, update method, and information processing device
CN109753297A (en) * 2018-12-28 2019-05-14 深圳创维-Rgb电子有限公司 Method for upgrading software, device and readable storage medium storing program for executing when terminal standby
JP2019101817A (en) * 2017-12-04 2019-06-24 富士電機株式会社 Vending machine and vending machine system
CN110286929A (en) * 2019-06-26 2019-09-27 浪潮金融信息技术有限公司 A method of management platform remotely controls Self-help vending machine edition upgrading

Patent Citations (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19717630A1 (en) * 1997-04-25 1998-11-05 Siemens Ag Automat representation method of finite state machine for processor memory or display
US6462644B1 (en) * 1998-11-19 2002-10-08 The Coca-Cola Company Network of vending machines connected interactively to data-base building host
US20050043011A1 (en) * 1999-09-20 2005-02-24 Numerex Corp. Method and system for refining vending operations based on wireless data
US20060253617A1 (en) * 2005-04-22 2006-11-09 Microsoft Corporation Driver upgrade tools
WO2007117578A2 (en) * 2006-04-06 2007-10-18 Fortune Resources Vending machine systems and methods of use
CN101060427A (en) * 2006-04-19 2007-10-24 华为技术有限公司 A system and method for realizing the remote software updating
CN101206743A (en) * 2006-12-20 2008-06-25 金瓯 Method for monitoring and keeping away counterfeit money based on vendor cluster network
US20090113196A1 (en) * 2007-10-27 2009-04-30 Hsun-Yao Jan Method and systems for advanced reprogrammable boot codes and in-application programming of embedded microprocessor systems
CN101958799A (en) * 2009-07-14 2011-01-26 中兴通讯股份有限公司 Method, device and system for updating terminal
WO2012034486A1 (en) * 2010-09-13 2012-03-22 烽火通信科技股份有限公司 Method and system for installing and upgrading software on application terminal in home network
JP5174268B1 (en) * 2011-10-14 2013-04-03 キヤノン株式会社 Network system, client apparatus and method
CN202394297U (en) * 2011-11-17 2012-08-22 浙江师范大学 Vending machine based on Internet of things
JP5035715B1 (en) * 2012-05-09 2012-09-26 株式会社日本マシンサービス In-house vending machine management system
CN103019788A (en) * 2012-12-14 2013-04-03 上海邮政科学研究院 Remote online upgrading method based on CAN (Controller Area Network) bus
US20160070578A1 (en) * 2014-09-05 2016-03-10 Xiaomi Inc. Method and system for upgrading an electronic device
US20170034163A1 (en) * 2015-07-27 2017-02-02 International Business Machines Corporation Updating database drivers for client applications through a database server push
CN105468414A (en) * 2015-11-30 2016-04-06 Tcl集团股份有限公司 Intelligent terminal upgrading method and system
US20170255459A1 (en) * 2016-03-01 2017-09-07 Renesas Electronics Corporation Embedded device and program updating method
JP2018036745A (en) * 2016-08-30 2018-03-08 コベルコ建機株式会社 Update device for software and update method for software
CN106406946A (en) * 2016-09-12 2017-02-15 雷蕾 Method for automatically upgrading system software of multi-master and slave devices
CN106445621A (en) * 2016-10-31 2017-02-22 乐视控股(北京)有限公司 Upgrading method and device of application and electronic device
CN108023907A (en) * 2016-10-31 2018-05-11 比亚迪股份有限公司 Vehicle module upgrade method, device and vehicle
CN108073408A (en) * 2016-11-15 2018-05-25 平安科技(深圳)有限公司 The method for updating system and device of self-aided terminal
CN106681777A (en) * 2017-01-18 2017-05-17 青岛海尔空调电子有限公司 Quick program updating method for multi-split unit
CN107301068A (en) * 2017-06-12 2017-10-27 合肥众志行云科技有限公司 One-to-many wireless program upgrade-system and method on a kind of single-chip microcomputer
JP2019028708A (en) * 2017-07-28 2019-02-21 株式会社リコー Program, update method, and information processing device
JP2019101817A (en) * 2017-12-04 2019-06-24 富士電機株式会社 Vending machine and vending machine system
CN208188814U (en) * 2017-12-22 2018-12-04 深圳华意隆电气股份有限公司 A kind of embedded device and its remote update system
CN108021382A (en) * 2017-12-22 2018-05-11 深圳华意隆电气股份有限公司 A kind of embedded device remote update system, method and embedded device
CN108182072A (en) * 2017-12-28 2018-06-19 上汽通用五菱汽车股份有限公司 Remote upgrade method, server and the storage medium of vehicle electronics
CN108415715A (en) * 2018-02-12 2018-08-17 四川爱创科技有限公司 Method for upgrading software based on scene analysis suitable for automatic vending machine
CN108989103A (en) * 2018-07-11 2018-12-11 珠海格力电器股份有限公司 Device updating method, debugger, the network equipment and network system
CN109271184A (en) * 2018-08-28 2019-01-25 苏州浪潮智能软件有限公司 A method of based on remote upgrade version security protection
CN109302476A (en) * 2018-09-30 2019-02-01 珠海汇众能源科技有限公司 A kind of PLC program upgrade method and system based on mobile terminal
CN109358883A (en) * 2018-11-05 2019-02-19 珠海格力电器股份有限公司 Programme upgrade method, system and application system, storage medium
CN109753297A (en) * 2018-12-28 2019-05-14 深圳创维-Rgb电子有限公司 Method for upgrading software, device and readable storage medium storing program for executing when terminal standby
CN110286929A (en) * 2019-06-26 2019-09-27 浪潮金融信息技术有限公司 A method of management platform remotely controls Self-help vending machine edition upgrading

Also Published As

Publication number Publication date
CN110750283B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN103744784B (en) Mobile phone application automated testing method and system
CN105741126B (en) Management method and management device of air conditioner, server, terminal and communication device
CN106533476B (en) The method and system of vehicle and car-mounted terminal binding
CN103458086B (en) A kind of smart mobile phone and fault detection method thereof
CN101477506A (en) Addressing system and method of master equipment to slave equipment
CN102802148A (en) Method, system and device for card personalization over the air
CN108829608A (en) A kind of automatization test system and method for the Intelligent vehicle-mounted terminal equipment based on automobile simulator
CN101737909B (en) Method for setting address of indoor unit of central air conditioning system
CN203706058U (en) CAN bus based multi-I/O board card expansion structure
CN108769241B (en) Operation method, device and system for remote control of heat pump unit
CN106020898A (en) Software upgrading method and system of multi-processor device
CN110312266A (en) The method and apparatus that the multisystem of terminal realizes WIFI communication
CN104167023A (en) Parking lot system
CN101699416B (en) Communication method and system between host computer and card reader with multiple card holders
CN105631715A (en) Advertisement updating supervision method and device
CN111203869B (en) Robot system maintenance method and device, robot and readable storage medium
CN110750283A (en) Remote upgrading method and system for vending machine driving program
CN102243489B (en) Cross-platform data processing system and method
CN110012109B (en) Method for establishing engineering information capable of realizing high accuracy
CN107135120B (en) Automatic test method and device for HPC cluster
CN106530023A (en) Tax supervising server and anti-suspension method of tax supervising core board
CN101094484B (en) Interactive testing device for data of smart card, and method for testing quality of network by using the smart card
CN103376369A (en) Test method and test apparatus of communication load
CN104185169A (en) Stator synchronization method of air write card, device and system thereof
CN103176904B (en) A kind of simulation test platform software architecture and the method for testing based on this framework

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