CN113721932B - Online deployment method for vending machine software - Google Patents

Online deployment method for vending machine software Download PDF

Info

Publication number
CN113721932B
CN113721932B CN202010449748.5A CN202010449748A CN113721932B CN 113721932 B CN113721932 B CN 113721932B CN 202010449748 A CN202010449748 A CN 202010449748A CN 113721932 B CN113721932 B CN 113721932B
Authority
CN
China
Prior art keywords
software
vending machine
personal computer
industrial personal
serial port
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
CN202010449748.5A
Other languages
Chinese (zh)
Other versions
CN113721932A (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.)
Beijing Inhand Network Technology Co ltd
Original Assignee
Beijing Inhand Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Inhand Network Technology Co ltd filed Critical Beijing Inhand Network Technology Co ltd
Priority to CN202010449748.5A priority Critical patent/CN113721932B/en
Publication of CN113721932A publication Critical patent/CN113721932A/en
Application granted granted Critical
Publication of CN113721932B publication Critical patent/CN113721932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention discloses a vending machine software deployment method, which comprises the steps of firstly, carding information of a vending machine VMC main board communication mode, constructing a software feature list, generating each vending machine VMC main board communication mode into a software feature item, and storing the software feature list in a software server platform. The industrial personal computer automatically detects the communication software corresponding to the VMC main board of the current vending machine, and automatically retrieves the matched communication software according to the software feature list and completes downloading and installation.

Description

Online deployment method for vending machine software
Technical Field
The invention relates to the technical field of vending machines, in particular to an online deployment method of vending machine software.
Background
Conventional vending machines have been keyboards or keys to purchase goods. With the continuous upgrade of modern information technology, the requirement for the novel vending machine is that the novel vending machine can realize cashless payment, can be remotely controlled to update commodity information, and can purchase through a touch screen. At present, the improvement method for the traditional vending machine at present uses an industrial personal computer developed specially for the VMC main board of the traditional vending machine to connect the VMC main board of the vending machine with the industrial personal computer by using a serial port. Specific communication protocols are used between the vending machine VMC mainboard and the industrial personal computer to realize functions such as cashless payment, commodity information display, touch screen commodity purchasing operation and the like.
Because of the variety of vending machines on the market and the difference between vending machine VMC boards, when the industrial personal computer is first connected to the vending machine VMC board, a communication program matched with the current vending machine VMC board needs to be installed on the current industrial personal computer. At present, the engineering personnel generally install the communication program on the industrial personal computer on the construction site through a USB memory and other modes. As vending machine VMC motherboard models increase, it is a very labor-cost consuming task for the engineer to carry the communication program that matches them accurately. Once the engineer carries the wrong communication procedure, this results in an extended construction time.
Therefore, there is an urgent need in the art for a method for deploying computer control software of an automatic vending machine, which is convenient and accurate.
Disclosure of Invention
One of the technical problems to be solved by the invention is to provide a method for realizing software deployment of an automatic vending machine industrial personal computer automatically through a software server platform.
In order to solve the technical problems, the invention provides a vending machine software deployment method, which comprises the following steps:
the automatic vending machine industrial personal computer firstly acquires a software feature list related to all communication software versions from a remote software server platform;
after the automatic vending machine industrial personal computer acquires the software feature list, starting to test from a first software feature item listed in the software feature list;
the test comprises the steps that firstly, an industrial personal computer configures a serial port of the industrial personal computer according to serial port numbers and serial port parameters specified in software characteristic items;
the automatic vending machine industrial personal computer selects an industrial personal computer serial port to communicate in an active mode or a passive mode according to the working mode of the industrial personal computer serial port specified by the current software characteristic item; if the current software characteristic item prescribes that the serial port of the industrial personal computer communicates in an active mode, the industrial personal computer sends a test signal to the VMC main board of the vending machine through the serial port; the industrial personal computer detects whether a feedback signal sent by the vending machine VMC main board can be received after the test signal is sent; if the current software characteristic item prescribes that the serial port of the industrial personal computer communicates in a passive mode, the industrial personal computer starts to scan the serial port; the industrial personal computer detects whether a sending signal sent by a vending machine main board VMC is received or not;
if the detected vending machine VMC motherboard sends a feedback signal or a sending signal, and the feedback signal or the sending signal is consistent with a data format specified in the software feature item, the instruction indicates that the communication software corresponding to the software feature item is matched with the current vending machine VMC motherboard; and the industrial personal computer downloads the communication software of the version corresponding to the software feature item from the software server platform and installs the communication software to complete the deployment of the vending machine software.
In one embodiment, the software feature list includes a plurality of software feature entries, each corresponding to a piece of communication software, where parameter settings for communication between the industrial personal computer and the vending machine VMC motherboard are specified in the software feature entries.
In one embodiment, a serial port number for communication, a serial port model, and a communication baud rate, data bits, start/stop bits, parity bits, etc. for setting the serial port are selected according to the software feature entry.
Compared with the prior art, the anti-cracking structure has the following invention points:
in the invention, the information of the communication modes of the VMC main board of the vending machine is utilized to comb, a software feature list is firstly constructed, the communication modes of each VMC main board of the vending machine are generated into a software feature item, and the software feature list is stored in a software server platform.
According to the method for automatically detecting the communication software corresponding to the VMC main board of the vending machine, which is constructed on the other hand, the industrial personal computer can automatically search the matched communication software according to the software feature list and finish downloading and installing.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention, without limitation to the invention. In the drawings:
FIG. 1 is a flow chart of a vending machine software deployment method according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to fig. 1.
As shown in fig. 1, the vending machine software deployment method of the present invention includes the steps of:
step 101, after the vending machine starts software deployment, the vending machine industrial personal computer firstly obtains a software feature list related to all communication software versions from a remote software server platform, wherein the software feature list comprises a plurality of software feature items, each software feature item corresponds to one piece of communication software, and parameter settings of communication between the industrial personal computer and a vending machine VMC main board are specified in the software feature items.
Step 102, after the automatic vending machine industrial personal computer acquires the software feature list, starting to test from the first software feature item listed in the software feature list.
Step 103, the industrial personal computer first configures the serial port of the industrial personal computer according to the serial port number and the serial port parameter specified in the software feature item, for example, selects the serial port number for communication according to the software feature item, the serial port model, and sets the communication baud rate, the data bit, the start/stop bit, the parity bit, and the like of the serial port.
And 104, selecting the serial port of the industrial personal computer to communicate in an active mode or a passive mode according to the working mode of the serial port of the industrial personal computer specified in the current software characteristic item.
In step 105, if the current software feature entry specifies that the serial port of the industrial personal computer communicates in the active mode, the industrial personal computer sends a test signal to the vending machine VMC motherboard through the serial port.
In step 106, the industrial personal computer detects whether the feedback signal sent by the vending machine VMC motherboard can be received after the test signal is sent.
In step 107, if the current software feature entry specifies that the serial port of the industrial personal computer communicates in the passive mode, the industrial personal computer starts to scan the serial port.
In step 108, the industrial personal computer detects whether a transmission signal sent by the vending machine main board VMC is received.
In step 109, if the signals in step 106 and step 108 are detected as yes, and the data format is consistent with the data format specified in the software feature entry, it is indicated that the communication software corresponding to the software feature entry is matched with the current vending machine VMC motherboard. And the industrial personal computer downloads the communication software of the version corresponding to the software feature item from the software server platform and installs the communication software.
Step 110, if the signals in step 106 and step 108 are detected as no, it is indicated that the communication software corresponding to the software feature entry is not matched with the current vending machine VMC motherboard, and it is further detected whether all the software feature entries in the software feature list are detected.
Step 111, if it is determined in step 110 that the software feature entry in the software feature list is not detected, the industrial personal computer carries the next software feature entry, and jumps to step 103.
The above description is only a specific embodiment of the present invention, and the scope of the present invention is not limited thereto, and any person skilled in the art should modify or replace the present invention within the technical specification described in the present invention.

Claims (3)

1. A vending machine software deployment method, the method comprising:
the automatic vending machine industrial personal computer acquires a software feature list related to all communication software versions from a remote software server platform;
after the automatic vending machine industrial personal computer acquires the software feature list, starting to test from a first software feature item listed in the software feature list;
the test comprises the steps that firstly, an industrial personal computer configures a serial port of the industrial personal computer according to serial port numbers and serial port parameters specified in software characteristic items;
the automatic vending machine industrial personal computer selects an industrial personal computer serial port to communicate in an active mode or a passive mode according to the working mode of the industrial personal computer serial port specified by the current software characteristic item; if the current software characteristic item prescribes that the serial port of the industrial personal computer communicates in an active mode, the industrial personal computer sends a test signal to the VMC main board of the vending machine through the serial port; the industrial personal computer detects whether a feedback signal sent by the vending machine VMC main board can be received after the test signal is sent; if the current software characteristic item prescribes that the serial port of the industrial personal computer communicates in a passive mode, the industrial personal computer starts to scan the serial port; the industrial personal computer detects whether a sending signal sent by a vending machine main board VMC is received or not;
if the detected vending machine VMC motherboard sends out a feedback signal or a sending signal, and the feedback signal or the sending signal is consistent with a data format specified in the software feature item, the communication software corresponding to the software feature item is indicated to be matched with the current vending machine VMC motherboard; and the industrial personal computer downloads the communication software of the version corresponding to the software feature item from the software server platform and installs the communication software to complete the deployment of the vending machine software.
2. The vending machine software deployment method of claim 1, wherein the software feature list comprises a plurality of software feature entries, each corresponding to a piece of communication software, wherein parameter settings for communication between the industrial personal computer and the vending machine VMC motherboard are specified in the software feature entries.
3. The vending machine software deployment method of claim 2, wherein a serial port number for communication, a serial port model, and a communication baud rate, data bits, start/stop bits, or parity bits for setting the serial port are selected according to the software feature entry.
CN202010449748.5A 2020-05-25 2020-05-25 Online deployment method for vending machine software Active CN113721932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010449748.5A CN113721932B (en) 2020-05-25 2020-05-25 Online deployment method for vending machine software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010449748.5A CN113721932B (en) 2020-05-25 2020-05-25 Online deployment method for vending machine software

Publications (2)

Publication Number Publication Date
CN113721932A CN113721932A (en) 2021-11-30
CN113721932B true CN113721932B (en) 2024-03-19

Family

ID=78671704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010449748.5A Active CN113721932B (en) 2020-05-25 2020-05-25 Online deployment method for vending machine software

Country Status (1)

Country Link
CN (1) CN113721932B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853173A (en) * 2010-05-27 2010-10-06 杭州华三通信技术有限公司 Software upgrading method and device of programmable logic device of distributed system
CN107154107A (en) * 2017-03-27 2017-09-12 北京映翰通网络技术股份有限公司 A kind of automatic vending machine Function Extension device and method
CN111666085A (en) * 2020-05-07 2020-09-15 湖南北吉星技术服务有限公司 Method for upgrading vending machine software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853173A (en) * 2010-05-27 2010-10-06 杭州华三通信技术有限公司 Software upgrading method and device of programmable logic device of distributed system
CN107154107A (en) * 2017-03-27 2017-09-12 北京映翰通网络技术股份有限公司 A kind of automatic vending machine Function Extension device and method
CN111666085A (en) * 2020-05-07 2020-09-15 湖南北吉星技术服务有限公司 Method for upgrading vending machine software

Also Published As

Publication number Publication date
CN113721932A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN102571914B (en) The Universal Remote with Lookup protocol controls
CN104145452B (en) Information processor, electronic control unit and information processing method
CN109656597A (en) Firmware upgrade method, device and computer readable storage medium
JP5337400B2 (en) Terminal device, production information system, and program
US20040193602A1 (en) Method and system for maintenance of engineering change data
CN103365262A (en) Apparatus and method for determining operation compatibility between field devices
CN103282885A (en) Dynamic device configuration using predicates
CN112666927A (en) Upgrading method and upgrading system for vehicle Electronic Control Unit (ECU)
CN103164238A (en) Method for automatically and continuously installing operating system
EP1221651A2 (en) Device environment configuration system, device environment configuration method, and data storage medium therefor
CN102810077A (en) Abnormal hardware detecting method and device
CN109947449A (en) Method for upgrading system, device, storage medium and electronic equipment
KR20060044228A (en) Electronic device firmware upgrade system using a smart phone and method thereof
JP2022161342A (en) Digital twin control system and method
CN105045671B (en) The method for upgrading system and device of a kind of intelligent terminal
CN113721932B (en) Online deployment method for vending machine software
CN108920171A (en) Firmware update and device, electronic equipment
CN110096304A (en) Task construction method, device, equipment and storage medium based on Jenkins
CN104869274A (en) Image forming system, information processing device and tally information transmission method
CN101465897B (en) Method for configuring IP telephone parameter
US9025183B2 (en) Image forming apparatus, method for controlling image forming apparatus, and storage medium for performing maintenance on an image forming apparatus
CN115883150A (en) Device information writing method, device, storage medium and electronic device
KR20010070343A (en) multi ROM writer and the control method thereof
KR102475313B1 (en) Keyboard
CN109413714B (en) User agent information processing method, device, storage medium and terminal

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