Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for information interaction between an application program of an automatic vending machine and a hardware device

A technology of automatic vending machine and application program, applied in the directions of coin-operated equipment for distributing discrete items, coin-operated equipment for distributing discrete items, coin-operated equipment for distributing discrete items, etc. Communication operation, unreasonable, mismatch and other problems, to avoid interface call problems, improve stability and immediacy, and high efficiency

Active Publication Date: 2021-12-07
SHENZHEN ZHILAI SCI & TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And this setting is actually unreasonable, because the protocol used by the middle layer should be determined by the hardware device
The initialization operation of the application program on the middle layer is not only a redundant operation, but also when there are too many initialization parameters, the setting of the middle layer may not match the actual hardware, making the device unable to use normally
[0006] When the middle layer communicates with hardware devices, it generally adopts the form of one question and one answer. Sending instructions and receiving instructions are put in one transaction and executed serially. Other communication operations make the communication efficiency not high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for information interaction between an application program of an automatic vending machine and a hardware device
  • A method for information interaction between an application program of an automatic vending machine and a hardware device
  • A method for information interaction between an application program of an automatic vending machine and a hardware device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Next, the technical solutions in the embodiments of the present invention will be described in connection with the drawings of the embodiments of the present invention, and it is understood that the described embodiments are merely the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art are in the range of the present invention without making creative labor premise.

[0045] like figure 1 As shown, it is a system architecture involving an application and hardware device information interaction, which involves an application and hardware device information interaction. The system includes an automatic vending machine application 10, intermediate layer 20, and automatic Hardware device 30 of the sellers. The intermediate layer and the application 10 are installed in the automatic seller, communicated by broadcast or AIDL, and the intermediate l...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for information interaction between an application program of an automatic vending machine and a hardware device. An intermediate layer is added between the application program and the hardware device, and the intermediate layer communicates with the hardware device to realize data interaction. The application program passes AIDL And the broadcast realizes the interaction with the middle layer; the application program judges whether the industrial computer resources are surplus, and if the system resources are surplus, execute: call the interface by broadcasting; if there is no surplus, execute: call the interface by AIDL; application The program calls the standard interface in the middle layer by sending a broadcast or calling AIDL, and obtains the result of the interface call by receiving the broadcast or AIDL interface callback. The beneficial effects of the invention are: calling AIDL can improve the stability and immediacy of the interface calling function; avoiding the interface calling problem caused by misinitialization of the application program; the application program is more flexible and efficient when executing the interface calling transaction.

Description

Technical field [0001] The present invention relates to the field of automated vending machine terminal, and Background technique [0002] Today, the Internet of Things has penetrated into various corners of life, intelligent, and automation have gradually become the development goals of all walks of life, and the retail industry is no exception. The vending machine is quickly expanding its market share in the retail industry with its advantages of intelligence, convenience. [0003] The saleser system is also developing in the direction of modularity, and the saleser application is no longer a huge application of multiple business, but the part of the hardware interaction is peeled out from traditional garage applications, and become an intermediate layer. Provide support for the independent development of the solder program and the independent production of hardware equipment, such as the Patent Nos. The intermediate layer connected to the hardware device, the application and t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G07F11/00G07F9/00
CPCG07F9/006G07F9/002
Inventor 郑天轶毛红胜
Owner SHENZHEN ZHILAI SCI & TECH