CN111104355A - Stable and reliable data writing system for self-service equipment - Google Patents

Stable and reliable data writing system for self-service equipment Download PDF

Info

Publication number
CN111104355A
CN111104355A CN201911399124.0A CN201911399124A CN111104355A CN 111104355 A CN111104355 A CN 111104355A CN 201911399124 A CN201911399124 A CN 201911399124A CN 111104355 A CN111104355 A CN 111104355A
Authority
CN
China
Prior art keywords
usb
controller
self
data writing
multiplexer
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.)
Pending
Application number
CN201911399124.0A
Other languages
Chinese (zh)
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.)
Tianjin Hengda Wenbo Science& Technology Co ltd
Original Assignee
Tianjin Hengda Wenbo Science& 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 Tianjin Hengda Wenbo Science& Technology Co ltd filed Critical Tianjin Hengda Wenbo Science& Technology Co ltd
Priority to CN201911399124.0A priority Critical patent/CN111104355A/en
Publication of CN111104355A publication Critical patent/CN111104355A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0002Serial port, e.g. RS232C
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention provides a stable and reliable data writing system for self-service equipment, which comprises a USB HUB, a USB channel control board, a host and USB terminal equipment, wherein the host is connected with the input end of the USB channel control board through the USB HUB, the output end of the USB channel control board is connected with the USB terminal equipment, the USB channel control board comprises a controller and a multiplexer, the controller is connected with the multiplexer, and the host is connected with the controller through an RS485 control line. The invention provides a reliable and stable remote data writing scheme for complex and large self-service system equipment, can conveniently expand unit circuits according to actual requirements, and shortens development time; the production and the assembly are more convenient, the maintenance is more convenient, and the wiring is convenient.

Description

Stable and reliable data writing system for self-service equipment
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a stable and reliable data writing system for self-service equipment.
Background
With the development and popularization of automation and information technology, automation and information systems such as vending cabinets and unmanned express cabinets are applied more and more in various fields, and play more and more important roles. Meanwhile, due to the fact that the self-service equipment is unattended, once data updating or resource writing is needed on the site, workers are necessarily needed to be called to maintain on the site, and time, efficiency and cost seriously affect normal use of the equipment. The existing large-scale equipment in the market adopts manual maintenance or a wireless network to update data or write resources, so that the stability is poor, and a data transmission technology cannot be reliably provided for self-service products. The technical schemes have the following disadvantages when applied:
1. the manual writing of data requires one path of USB data line to be plugged and unplugged, so that the efficiency is low, and the time cost is high;
2. the updating can not be remotely carried out at any time;
3. the wireless transmission has large data rate, slow speed and easy interference of electromagnetic waves;
based on the technical drawbacks described above, a stable and reliable data writing system is urgently needed in various application fields such as express cabinets, vending, tourism and the like, and a resource updating scheme is provided for unattended equipment.
Disclosure of Invention
In view of this, the present invention is directed to provide a stable and reliable data writing system for self-service devices, so as to solve the problems of data writing, resource updating efficiency and instability of large and complex devices like an unattended rack.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the utility model provides a reliable and stable data write-in system for self-service equipment, includes USB HUB, USB passageway control panel, host computer and USB terminal equipment, the host computer passes through the input that USB HUB connects the USB passageway control panel, and USB terminal equipment is connected to the output of USB passageway control panel, USB passageway control panel includes controller and multiplexer, and multiplexer is connected to the controller, the host computer passes through RS485 control line connection director.
Furthermore, the multiplexer comprises a plurality of multiplexers, and each multiplexer is connected with the USB terminal equipment through a USB data line to form a control path respectively.
Further, the USB HUB is connected with the multiplexer through a USB data line.
Furthermore, the host is connected with the USB HUB through a USB data line.
Further, the controller is a 16-bit single chip microcomputer controller.
Further, the data writing system working method comprises the following steps:
s1: the background end is remotely connected with the host through a remote control application program and initiates a writing action;
s2: the host computer initiates a connection request with the USB terminal equipment;
s3: the host computer sends a control instruction to the controller through a 485 control line;
s4: after the controller receives the command, the multiplexer is controlled through the channel control command, and a channel connected with the USB terminal equipment is opened;
s5: establishing channels of the host and the USB terminal equipment, and reading and writing data;
s6: after the data reading and writing are finished, the host computer achieves a feedback instruction and sends a control instruction to the controller through 485 bus control;
s7: and after receiving the command, the controller controls the multiplexer through the channel control command to close the channel connected with the USB terminal equipment.
Furthermore, a plurality of control channels are respectively controlled.
Compared with the prior art, the stable and reliable data writing system for the self-service equipment has the following advantages:
the invention provides a reliable and stable remote data writing scheme for complex and large self-service system equipment, can conveniently expand unit circuits according to actual requirements, and shortens development time; the production and the assembly are more convenient, the maintenance is more convenient, and the wiring is convenient.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a stable and reliable data writing system for a self-service device according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a principle of a USB channel control board according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
As shown in fig. 1-2, the present invention provides a stable and reliable data writing system, which includes a USB HUB, a USB channel control board, a host and a USB terminal device, wherein the host is connected to an input terminal of the USB channel control board through the USB HUB, an output terminal of the USB channel control board is connected to the USB terminal device, the USB channel control board includes a controller and a multiplexer, the controller is connected to the multiplexer, and the host is connected to the controller through an RS485 control line. The multiplexers comprise a plurality of multiplexers, and each multiplexer is connected with the USB terminal equipment through a USB data line to form a control path respectively. The USB HUB is connected with the multiplexer through a USB data line. The host is connected with the USB HUB through a USB data line. The controller is a 16-bit single chip microcomputer controller.
The working process of the invention is as follows:
1. the background end is remotely connected with the computer of the system through a remote control application program (such as TeamViewer) to initiate a writing action;
2. initiating a connection request with the USB terminal equipment 1 by the computer host;
3. the computer host sends a control instruction to the singlechip controller through a 485 control line;
4. after receiving the instruction, the singlechip controller controls the multiplexer 1 through a channel control instruction to open a channel connected with the USB terminal equipment 1;
5. establishing a channel between the computer and the USB terminal equipment 1 to read and write data;
6. after the data reading and writing are finished, the computer host achieves a feedback instruction and sends a control instruction to the single chip microcomputer controller through 485 bus control;
7. after receiving the instruction, the singlechip controller controls the multiplexer 1 through a channel control instruction, and closes a channel connected with the USB terminal equipment 1; the principle of establishing and closing other channels is the same.
The invention can remotely connect the computer of the system through a remote control application program (such as TeamViewer) to carry out multi-path writing, the whole writing process does not need manual intervention, and the writing work of all terminal devices can be finished without manually plugging and unplugging the USB data lines all the way. The invention supports write-in of up to 64-way devices; the switching of the writing equipment can be controlled remotely without manual intervention; the invention adopts wired connection, the data transmission is reliable, and the data transmission is not easy to be interfered; the write-in rate of the invention is not influenced by the number of load nodes and can reach 480 Mbps; the invention has the advantages of convenient wiring, strong reliability and easy maintenance.
The multi-path control board is different from the traditional HUB concentrator, and once the traditional HUB concentrator establishes connection between a host and a terminal, a writing channel cannot be changed unless manual intervention is performed; the multi-path USB write-in control panel has an automatic switching function of connecting the terminals, and the write-in channel can be seamlessly switched between the host end and the terminals without manual intervention.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (7)

1. A robust data writing system for self-service devices, characterized by: including USB HUB, USB passageway control panel, host computer and USB terminal equipment, the host computer passes through the input that USB HUB connects the USB passageway control panel, and USB terminal equipment is connected to the output of USB passageway control panel, the USB passageway control panel includes controller and multiplexer, and the multiplexer is connected to the controller, the host computer passes through RS485 control line connection director.
2. A robust data writing system for self-service devices as recited in claim 1, wherein: the multiplexers comprise a plurality of multiplexers, and each multiplexer is connected with the USB terminal equipment through a USB data line to form a control path respectively.
3. A robust data writing system for self-service devices as recited in claim 1, wherein: the USB HUB is connected with the multiplexer through a USB data line.
4. A robust data writing system for self-service devices as recited in claim 1, wherein: the host is connected with the USB HUB through a USB data line.
5. A robust data writing system for self-service devices as recited in claim 1, wherein: the controller is a 16-bit single chip microcomputer controller.
6. A robust data writing system for self-service devices as recited in claim 1, wherein: the working method of the data writing system comprises the following steps:
s1: the background end is remotely connected with the host through a remote control application program and initiates a writing action;
s2: the host computer initiates a connection request with the USB terminal equipment;
s3: the host computer sends a control instruction to the controller through a 485 control line;
s4: after the controller receives the command, the multiplexer is controlled through the channel control command, and a channel connected with the USB terminal equipment is opened;
s5: establishing channels of the host and the USB terminal equipment, and reading and writing data;
s6: after the data reading and writing are finished, the host computer achieves a feedback instruction and sends a control instruction to the controller through 485 bus control;
s7: and after receiving the command, the controller controls the multiplexer through the channel control command to close the channel connected with the USB terminal equipment.
7. A robust data writing system for self-service devices as recited in claim 6, wherein: the control channels are respectively controlled.
CN201911399124.0A 2019-12-27 2019-12-27 Stable and reliable data writing system for self-service equipment Pending CN111104355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911399124.0A CN111104355A (en) 2019-12-27 2019-12-27 Stable and reliable data writing system for self-service equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911399124.0A CN111104355A (en) 2019-12-27 2019-12-27 Stable and reliable data writing system for self-service equipment

Publications (1)

Publication Number Publication Date
CN111104355A true CN111104355A (en) 2020-05-05

Family

ID=70424854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911399124.0A Pending CN111104355A (en) 2019-12-27 2019-12-27 Stable and reliable data writing system for self-service equipment

Country Status (1)

Country Link
CN (1) CN111104355A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205139907U (en) * 2015-08-05 2016-04-06 东莞铭基电子科技集团有限公司 USBType -C data line
CN107209741A (en) * 2015-04-17 2017-09-26 惠普发展公司,有限责任合伙企业 USB is managed
CN110568946A (en) * 2019-09-02 2019-12-13 腾讯科技(深圳)有限公司 Port control method, device and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107209741A (en) * 2015-04-17 2017-09-26 惠普发展公司,有限责任合伙企业 USB is managed
CN205139907U (en) * 2015-08-05 2016-04-06 东莞铭基电子科技集团有限公司 USBType -C data line
CN110568946A (en) * 2019-09-02 2019-12-13 腾讯科技(深圳)有限公司 Port control method, device and medium

Similar Documents

Publication Publication Date Title
CN104301151A (en) Movement operation and maintenance system and method of power communication network
CN207408936U (en) A kind of multiplex roles PCIE device adapter
WO2016145848A1 (en) Test connection device, system and automatic test connection method
CN105679231B (en) Terminal device access control system and LED display system
CN103067201A (en) Multi-protocol communication manager
CN208126178U (en) A kind of ship cold storage monitoring system
CN110708324A (en) Method and system for realizing point-to-point communication between FPGA (field programmable Gate array) board cards
CN111104355A (en) Stable and reliable data writing system for self-service equipment
CN204302423U (en) Rack electric power demand side monitoring device
CN109168093A (en) The orientation management device and method of the upper fiber port of ODN
CN107453823A (en) The monomer test system and method for a kind of optical fiber distributed type repeater
CN104460857A (en) Peripheral component interconnect-express card and method and device for using same
CN203554492U (en) Controller LAN bus intelligent interface device and satellite
CN111107507A (en) LoRa equipment networking method suitable for geological disaster monitoring application
CN105429838B (en) LED display system
CN204856479U (en) Electric power source distribution device management system
CN211018381U (en) Multi-power supply system for self-service equipment
CN216851981U (en) Multichannel voltage detection light transmission system
CN206819343U (en) A kind of serial server device based on universal serial bus
CN103838191A (en) Distributed control system access method and distributed control system access device
CN213690310U (en) Intelligent PLC controller
CN206400523U (en) Analog-digital conversion control circuit and presentation device
CN217563646U (en) Communication control device of carrier module test system based on WiFI communication
CN202906972U (en) Protocol transition card
CN103714025A (en) Interface control equipment, data acquisition system and equipment connection control method

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