Automatically sell office terminal implementation method and management system based on embedded system
Technical field
The present invention relates to automatic control technology and field of computer technology, relate in particular to a kind of based on embedded system sell the office terminal implementation method automatically, more relate to a kind of management system that realizes this method.
Background technology
At present, embedded technology has become the common development direction of communication and consumer product.Embedded system has almost comprised all electric equipments in the life, as palm PDA, mobile computing device, TV set-top box, surfing Internet with cell phone, Digital Television, multimedia, automobile, micro-wave oven, digital camera, domestic automation system, elevator, air-conditioning, security system, automatic vending machine, cellular phone, consumer-elcetronics devices, industrial automation instrument and Medical Instruments etc.Embedded system is the product that the concrete application of advanced computer technology, semiconductor technology, electronic technology and industry-by-industry combines, and this has just determined, and it must be technology-intensive a, intensive capital, high degree of dispersion, the knowledge integrated system of constantly bringing forth new ideas.
Embedded system refers generally to non-PC system.It is application-centered, software and hardware can be reduced, can adapt to the dedicated computer system of application system to comprehensive requirements such as function, reliability, cost, volume, power consumptions.Briefly, embedded system be the application software of collecting system and hardware in one, be similar to the working method of BIOS among the PC, have characteristics such as software code is little, increasingly automated, response speed is fast, therefore be particularly suitable for requiring in real time and the system of multitask.
Embedded system mainly is made up of flush bonding processor, relevant supporting hardware, embedded OS and application software system etc.Embedded system is to integrate soft, " device " that can work independently hardware.The hardware components of embedded system comprises processor/microprocessor, storer and external device and I/O port, graphics controller etc.This system is different from general computer processing system, and it has jumbo storage medium unlike hard disk, and uses E-PROM, EEPROM or flash memory Flash Memory as storage medium mostly.Software section comprises operating system software requirement real-time and multi-job operation and application programming.Application program is being controlled the running and the behavior of system; Operating system is then being controlled the reciprocation of application programming and hardware.
How to realize that the sale of vending machine and the robotization control of management are the technological cores that present domestic and international market selling system is designed and developed, automatically the fundamental purpose of selling system is to allow the merchandise control person can be that extensive stock increases or reduce stored number by shirtsleeve operation at any time, to cooperate the different demands of consumer different occasions, the difference time.When providing convenience, allow them can easily obtain the commodity that they want for the consumer.Guaranteeing that its operation is not loaded down with trivial details just needs system features in convenient, quick, and in each operating process to user's prompting, point out that they should how to operate.Make the consumer accept, like using the automatic vending system like this.Can retrieve the storage capacity of extensive stock every day, be convenient to supvr's fill-ins in time, allow the consumer be unlikely to can't buy the commodity that former instinct has been bought on vending machine.The supvr can inquire about the sales volume and revenue of every kind of commodity, so that the supvr understands the extensive stock degree that gets consumer reception, allows them distribute the commodity space size of vending machine, obtains the maximum interests of selling.After the supvr imports trade name, can obtain the sales volume of every month corresponding commodity, so that they understand the dull season and the busy season of extensive stock.And in time increase and decrease the quantity and the price of commodity, promotion profit.When the sales volume in each season compares, normally to use visual in imagely, straightaway broken line graph shows it.Above-mentioned functions is the basic function of automatic selling system, it also is the core that is different from traditional selling system, at present, at home and abroad at the system development of this direction all can't be complete the realization above-mentioned functions, many-side exists various design defect and technical barrier.
Summary of the invention
The object of the present invention is to provide a kind of based on embedded system sell the office terminal implementation method automatically, make on its efficient of selling virtual product to be greatly improved, directly can reduce maintainer's quantity, reduce cost; Realize monitoring in real time aspect security, most problems can be recognized on central server synchronously; The present invention also provides a kind of management system that realizes this method.
For effectively solving the problems of the technologies described above, the technical scheme that the present invention takes is as follows:
A kind of based on embedded system sell the office terminal implementation method automatically, its method may further comprise the steps:
(1) embedded system control platform, a virtual trading platform and a communication platform are set;
(2) described embedded system control platform is provided with a terminal management server and a data processor, described virtual trading platform is provided with a plurality of data access terminals and a plurality of control port, and described communication platform is provided with data network transmission channel and the connector under the various protocols;
(3) transaction flow is sold in described virtual trading platform control, and produces transaction data information in real time, transmits described data message to described embedded system control platform by described communication platform after described virtual trading platform control port goes out buffer memory;
(4) described terminal management server receive the data message that transmitted by described data processor encoding process after, produce after confirming data message and calculating transaction results and sell transaction voucher data message, and it is fed back to described virtual trading platform demonstration output.
Described step (1) is further comprising the steps of: with described embedded OS is starting point, with the communication network technology is communications platform, realize immediate interactive with virtual reality technology, with instant financial management system as transaction platform, by the integrated application of above-mentioned technology, realize the movable self point-of-sale terminal.
Described step (2) is further comprising the steps of: described terminal management server also is provided with database module, data are adjusted module and data transmission module, described data processor is provided with data conversion module, and described data access terminal also is provided with and shows output unit and external device driving interface.
Described step (3) is further comprising the steps of: the described transaction flow of selling is initiatively by producing transaction data stream, never call the raw data in the described database module, initiatively finish the process of buying in the transaction, the virtual trading platform is confirmed these data and is just formally entered after legal by described terminal management server acknowledge data to sell process of exchange.
Described step (4) is further comprising the steps of: the transaction data of described terminal management server feedback adopts with symmetrical expression encrypts the confidentiality of guaranteeing data, use cryptographic algorithm that plaintext is converted to ciphertext, and use corresponding decipherment algorithm that ciphertext is changed back expressly, symmetric encipherment algorithm uses identical key to carry out encryption and decryption, asymmetric arithmetic then uses public-key/and private key is right, guarantee that data avoid unexpected or deliberate modification, the software solidification aspect adopts CPLD to prevent that hardware is by fraudulent copying.
A kind of management system that realizes said method, it comprises embedded system control platform, a terminal management server, a network management platform and more than one access terminal, and described embedded system management platform comprises a data handler, a transaction platform control end and a metadata cache storer; Described terminal management server comprises database module, data accounting module and data transmission module; The data access terminal also is provided with and shows output unit and external device driving interface; Described embedded system platform directly and terminal management server interconnect, described access terminal interconnects and realizes interactive communication by the people with the network management platform and the described terminal management server of procotol.
Described demonstration output unit can be independent of outside the described terminal management apparatus, connects external demonstration output device by described external drive unit and realizes.
Described terminal management server also comprises an external drive unit, and is separate with the external drive unit of described access terminal, and connects any driving arrangement in the driving scope separately.
Described embedded system control platform also comprises a control device, adopts touch screen and case Comprehensive Control system to form independently button control area, and directly links to each other with described demonstration output unit.
Beneficial effect of the present invention is: method and system hardware system assembly selection provided by the present invention is selected with operating system, configuration compiles kernel, set up root file system, design the Bootstrap Loading system starts with the configuration linux system, select the skeleton of BusyBox as file system, select to support the uClibc storehouse of multithreading, they are configured compiling, simultaneously according to system requirements configuration and compiling kernel; Adopt the RAID technology to use multiple-disk-drive to store data, when improving reading and writing data speed, possess the immediate backup function; The application mode of the network communications technology in computer supervisory control system is diverted in the automatic selling system, and at the ARCnet interconnection network that adopted in the system, carry out actual test, realize the system remote management and implement monitoring, ensure its system architecture and selected communication mode, reach designing requirement fully; With the embedded OS is starting point, form complete automatic selling system, form the operating terminal and the management system of operation reliably, adopt based on INTEL CPU and be that exquisite built-in system software efficiently satisfies application program in the embedded system must be finished highly-specialised and real-time work under few artificial situation about getting involved requirement; The management of internal memory does not realize by the function of calling operating system, directly the address to internal memory conducts interviews, a large amount of integrated external unit drivers, connect external unit but make its multiclass than forming, make its complete function, the operation interface and the man-machine interface of high visualization are provided, allow native system be fit to most crowds and use, pleasantization of avoid maloperation, improve reliability, realization being operated.
The present invention is described in detail below in conjunction with accompanying drawing.
Description of drawings
Fig. 1 is the process flow diagram of the method for the invention;
Fig. 2 is the system architecture connection diagram of management system of the present invention.
Embodiment
The present invention is with (SuSE) Linux OS Fedora Core 4 Embedded Software Design platforms of new generation, programmable logic device (PLD) such as Qt/Embedded instrumentation IDK Cyclone II (FPGA) family chip and MAXII (CPLD) family chip, Altera Cyclone II version DSP development kit digital platform developing instrument, Quartus II 6.1 software design systems, Nios II IDE development environment is an effective technology means development system core control section, the core of its system's control is transfer data packets as required, the calculation check byte, the control mode position, in the response time that sequential allows, connect the data of liking that peripheral hardware returns, make reactions such as ACK or NAK.And handle abnormal conditions according to the mode recommended of heap in the MDB/ICP standard,, repeat to send order repeatedly,, and the data that receive are returned to call the universe, and return results sign indicating number with the enhancing fault freedom when accepting the overtime or verification of data and staggering the time.
Referring to Fig. 1, a kind of based on embedded system sell the office terminal implementation method automatically, its method may further comprise the steps:
(1) embedded system control platform, a virtual trading platform and a communication platform are set;
(2) described embedded system control platform is provided with a terminal management server and a data processor, described virtual trading platform is provided with a plurality of data access terminals and a plurality of control port, and described communication platform is provided with data network transmission channel and the connector under the various protocols;
(3) transaction flow is sold in described virtual trading platform control, and produces transaction data information in real time, transmits described data message to described embedded system control platform by described communication platform after described virtual trading platform control port goes out buffer memory;
(4) described terminal management server receive the data message that transmitted by described data processor encoding process after, produce after confirming data message and calculating transaction results and sell transaction voucher data message, and it is fed back to described virtual trading platform demonstration output.
Described step (1) is further comprising the steps of: with described embedded OS is starting point, with the communication network technology is communications platform, realize immediate interactive with virtual reality technology, with instant financial management system as transaction platform, by the integrated application of above-mentioned technology, realize the movable self point-of-sale terminal.
Described step (2) is further comprising the steps of: described terminal management server also is provided with database module, data are adjusted module and data transmission module, described data processor is provided with data conversion module, and described data access terminal also is provided with and shows output unit and external device driving interface.
Described step (3) is further comprising the steps of: the described transaction flow of selling is initiatively by producing transaction data stream, never call the raw data in the described database module, initiatively finish the process of buying in the transaction, the virtual trading platform is confirmed these data and is just formally entered after legal by described terminal management server acknowledge data to sell process of exchange.
Described step (4) is further comprising the steps of: the transaction data of described terminal management server feedback adopts with symmetrical expression encrypts the confidentiality of guaranteeing data, use cryptographic algorithm that plaintext is converted to ciphertext, and use corresponding decipherment algorithm that ciphertext is changed back expressly, symmetric encipherment algorithm uses identical key to carry out encryption and decryption, asymmetric arithmetic then uses public-key/and private key is right, guarantee that data avoid unexpected or deliberate modification, the software solidification aspect adopts CPLD to prevent that hardware is by fraudulent copying.
Referring to Fig. 2, a kind of management system that realizes said method, it comprises embedded system control platform, a terminal management server, a network management platform and more than one access terminal, and described embedded system management platform comprises a data handler, a transaction platform control end and a metadata cache storer; Described terminal management server comprises database module, data accounting module and data transmission module; The data access terminal also is provided with and shows output unit and external device driving interface; Described embedded system platform interconnects to connecing with terminal management server, and described access terminal interconnects and realize interactive communication by the people with the network management platform and the described terminal management server of procotol.
Described demonstration output unit can be independent of outside the described terminal management apparatus, connects external demonstration output device by described external drive unit and realizes.
Described terminal management server also comprises an external drive unit, and is separate with the external drive unit of described access terminal, and connects any driving arrangement in the driving scope separately.
Described embedded system control platform also comprises a control device, adopts touch screen and case Comprehensive Control system to form independently button control area, and directly links to each other with described demonstration output unit.
Major technique of the present invention is based on the embedded OS of INTEL chip, interface driving, the compatibility of software and hardware system, the whole confidentiality of data communication and complete man-machine interface design.Encryption technology with combined network communication technology, embedded-type modularized function, data transmission is the major technique means; Equipment, the product of compatible hardware platform at the INTEL chip, compatible main flow producer are integrated on the flash memory, adopt CPLD encryption, system and the function of server communication, man-machine interface and the Terminal Design that communications protocol is encrypted and innovated on technical merit and index.By the application of innovative technology, design and develop out a modular automatic selling system platform development that meets international standard.
This project is starting point with the embedded OS, and different vendor provides the compatibility between the functional module and the relevant issues of communication in the emphasis resolution system, forms complete system.By Man-machine Engineering Analysis and user's research, the person's of being used in combination audiovisual impression and operating habit form reliable operating terminal and management system.The main contents of technological development should comprise:
(1) terminal device exploitation: the design and development that mainly comprises embedded type terminal equipment, communication module, local computer system and the part of the excuse between them, wherein crucial remote management and control and the realization that also comprises embedded type terminal equipment, the selection of hardware system assembly are selected, are disposed the compiling kernel, set up root file system, design Bootstrap Loading system and the startup of configuration linux system with operating system.Select the skeleton of BusyBox, select to support the uClibc storehouse of multithreading, they are configured compiling, simultaneously according to system requirements configuration and compiling kernel as file system.
(2) server end equipment development: central server is set, hardware unit and peripheral accessory is set, adopt the RAID technology to use multiple-disk-drive to store data, when improving reading and writing data speed, possess the immediate backup function around central server.
(3) the real-time network communication technology is used: the application mode of the network communications technology in computer supervisory control system is diverted in the automatic selling system, and at the ARCnet interconnection network that adopted in the system, carry out actual test, realize the system remote management and implement monitoring, ensure its system architecture and selected communication mode, reach designing requirement fully.
(4) exploitation of embedded Control software and specialized hardware: with the embedded OS is starting point, form complete automatic selling system, form the operating terminal and the management system of operation reliably, adopt based on INTEL CPU and be that exquisite built-in system software efficiently satisfies application program in the embedded system must be finished highly-specialised and real-time work under few artificial situation about getting involved requirement; The management of internal memory does not realize by the function of calling operating system, directly the address to internal memory conducts interviews, a large amount of integrated external unit drivers, connect external unit but make its multiclass than forming, make its complete function, the operation interface and the man-machine interface of high visualization are provided, allow native system be fit to most crowds and use, pleasantization of avoid maloperation, improve reliability, realization being operated.
The present invention is not limited to above-mentioned embodiment, and all employings and analog structure of the present invention and method thereof realize that all embodiments of the object of the invention are all within protection scope of the present invention.