Summary of the invention
The present invention's technical matters at first to be solved provides a kind of goods shelf electronic price system, not only can the real time automatic update shelf on the commodity price information that shows of electronics price tickets, and realize the low-power consumption work of electronics price tickets.For this reason, the present invention adopts following technical scheme: said system comprises:
A plurality of electronics price tickets respectively have unique identity code, can store and show the information updating data of database relevant with merchandise sales that read write line issues and regularly initiatively send data exchange request to read write line;
A plurality of read write lines; Respectively have unique identity code, be in real-time query pattern, the data exchange request that read write line is initiated with wireless mode inquiry electronics price tickets in real time; Read write line is provided with and receives data storing buffer and send data storing buffer; After read write line receives the electronics price tickets data that the electronics price tickets send, deposit in and receive in the data storing buffer, the waiting system server reads; If when the data that need be issued to the electronics price tickets being arranged in the transmission data storing buffer of read write line, with the data of sending data storing buffer to pass to the electronics price tickets under the wireless mode; The data that communication is successful are removed with receiving the data storing buffer from sending data storing buffer;
System server is provided with equipment management device, data processing equipment, equipment control middleware, device status data storehouse and information updating database,
The device status data storehouse is used for the status information of store electrons price tickets, read write line;
Equipment management device is used for the data of screening installation slip condition database, and analysis result is deposited in the device status data storehouse;
System server is monitored the POS database data in real time and is changed; After reading the price data and/or sales promotion information data and/or timing system maintenance task data of its change; After the data processing equipment analysis, deposit the information updating database in, the equipment control middleware is transferred to Updating Information in the information updating database in the transmission data storing buffer of read write line through bus mode; The middleware of equipment control simultaneously reads the data that receive in the data storing buffer with bus mode; Deposit the device status data storehouse in, system server is through equipment management device analytical equipment status data database data, through the equipment state of display displaying system.
Another technical matters to be solved of the present invention provides a kind of information processing method of above-mentioned goods shelf electronic price system, and for this reason, the present invention adopts following technical scheme:
1), system server is monitored the variation of POS database data in real time; After reading the price data and/or sales promotion information data and/or timing system maintenance task data of its change; After the data processing equipment analysis, deposit the information updating database in, be transferred in the transmission data storing buffer of read write line through bus mode by the equipment control middleware; The middleware of equipment control simultaneously is with the data in the reception data storing buffer that reads read write line of bus mode; Deposit the device status data storehouse in, system server is through equipment management device analytical equipment status data database data, through display display device state;
2), read write line is inquired about the data exchange request that the electronics price tickets are initiated with wireless mode in real time; Read write line receive unique identity code that the electronics price tickets send and last time communication state data after; Deposit in and receive in the data storing buffer, the waiting system server reads, if when in the transmission data storing buffer of read write line the new data that need be issued to these electronics price tickets being arranged; With the data of sending data storing buffer to pass to the electronics price tickets under the wireless mode; Accomplish in case send, get back to real-time query State, the data that communication is successful are removed with receiving the data storing buffer from sending data storing buffer;
3), the electronics price tickets are in holding state at ordinary times; Timing wake-up switches to duty, initiatively sends data exchange request to read write line through wireless mode, and unique identity code of uploading the electronics price tickets arrives read write line with the data of communication state last time; And receive simultaneously, data that the storage read-write device is replied; After accomplishing exchanges data, update displayed switches to the low-power consumption standby state.
Owing to adopt technical scheme of the present invention; The commodity price information that the electronics price tickets show on not only can the real time automatic update shelf, monitor the duty of electronics price tickets in real time, and, among the present invention; The electronics price tickets are initiatively initiated communication request; And read write line is opened all the time under query pattern, so just guaranteed the electronics price tickets initiatively communication requests all can well be received by read write line at every turn, also shortened electronics price tickets open wireless unit and increased time of power consumption with regard to effective; The efficient that has improved the electronics price tickets has reduced the power consumption that signal post needs; Can realize the low-power consumption work of electronics price tickets, the electronics price tickets can move more than 3 years at least, the maintenance cost of bring great convenience for retailer's merchandise sales management work, the reduction system runing.
Embodiment
With reference to Fig. 1.Native system comprises system server, a plurality of read write line, a plurality of electronics price tickets;
Said a plurality of electronics price tickets respectively have unique identity code, can store and show the information updating data of database relevant with merchandise sales that read write line issues and regularly initiatively send data exchange request to read write line;
With reference to Fig. 2.The electronics price tickets are by first controller unit, first radio communication unit, display unit, and first power control unit is formed.The electronics price tickets can be worked under button cell CR2450 power supply; First controller unit can adopt single-chip microcomputer and peripheral circuit thereof; First radio communication unit can adopt the 2.4G wireless communication module, the module that first power control unit can adopt low pressure differential power supply chip SP6205EM5-3.3 to form.
The electronics price tickets are worked under the control of first power control unit, the liquid crystal display displays initial value of display unit, and the first controller unit timer internal is timed to; Start first radio communication unit, with identity code and the state of self, for example electric weight; Send in the air, and switch first radio communication unit, judge whether the identity code in receiving is corresponding to receiving mode; Deposit the data that meet in, on display, upgrade the data that receive, electronic tag gets into the standby low-power consumption.
Said a plurality of read write line; Respectively have unique identity code, be in real-time query pattern, the data exchange request that read write line is initiated with wireless mode inquiry electronics price tickets in real time; Read write line is provided with and receives data storing buffer and send data storing buffer; After read write line receives the electronics price tickets data that the electronics price tickets send, deposit in and receive in the data storing buffer, the waiting system server reads; If when the data that need be issued to the electronics price tickets being arranged in the transmission data storing buffer of read write line, with the data of sending data storing buffer to pass to the electronics price tickets under the wireless mode; The data that communication is successful are removed with receiving the data storing buffer from sending data storing buffer.
With reference to Fig. 3.Said read write line by second controller unit, reception data storing buffer, sends data storing buffer, and second radio communication unit, second source administrative unit, network management unit are formed; The interface mode of its network management is: UDP/TCP, RS485, one or more in RS232, the CAN bus.Second control module can adopt arm processor and peripheral circuit thereof; It extends out two storeies respectively as receiving data storing buffer and sending data storing buffer; Second radio communication unit can adopt the 2.4G wireless communication module; The second source administrative unit can adopt the POE power management module, and network management unit can adopt the UDP/TCP network management module and adopt the UDP bus mode.
Read write line is worked under the control of second source control module, is initially taking turn inquiry system server and electronics price tickets data data sent, and starting second radio communication unit earlier is receiving mode; Receive electronics price tickets data,, deposit the reception data storing buffer in if there are data to arrive; Then start network management unit, receive price data and/or the sales promotion information data and/or the timing system maintenance task data of the change of electronics price tickets, if there are data to arrive; Then deposit the transmission data storing buffer in, the beginning switching working mode switches second radio communication unit to sending mode; If send data storing buffer new data is arranged, data are added that the data of the identity code of read write line are dealt in the air, clear simultaneously data of sending in the data storing buffer; Otherwise, then reply regular coding information, to confirm that two-way data communication is normal; Switch wired NIU to sending mode; The new data that receives data storing buffer is added that the identity code of self issues system server, and the clear simultaneously data that receive in the data storing buffer switch to the inquiry receiving mode at last.
The frequency range of said wireless mode can be one or more combination in any among 51KHz~58KHz, 125KHz~135KHz, 2MHz~14MHz, 315MHz~320MHz, 415M~455MHz, 800MHz~950MHz, the 2.3GHz~2.6GHz.
With reference to Fig. 4, said system server is provided with equipment management device, data analysis treating apparatus, equipment control middleware, device status data storehouse and information updating database.Equipment management device, data analysis treating apparatus, equipment control middleware reside in the system server maybe can load the form of accomplishing corresponding function software with the firmware of accomplishing corresponding function software, supply the control device of system server to call.
The device status data storehouse is used for the status information of store electrons price tickets, read write line;
The information updating database is used for price data and/or the sales promotion information data and/or the timing system maintenance task data of store electrons price tickets changes;
Equipment management device is used for the data of screening installation slip condition database, and analysis result is deposited in the device status data storehouse;
The data analysis treating apparatus is used for the price and the sales promotion information of analytical electron price tickets, and with its processing, as encrypt, the translation data form;
The equipment control middleware is used for passing to read write line under the information updating data of database in the system server, and the data read that simultaneously read write line need be uploaded is taken out and deposited the device status data storehouse in.
System server is monitored the POS database data in real time and is changed; After reading the price data and/or sales promotion information data and/or timing system maintenance task data of its change; After the data processing equipment analysis, deposit the information updating database in, the equipment control middleware is transferred to Updating Information in the information updating database in the transmission data storing buffer of read write line through bus mode; The middleware of equipment control simultaneously reads the data that receive in the data storing buffer with bus mode; Deposit the device status data storehouse in, system server is through equipment management device analytical equipment status data database data, through the equipment state of display displaying system.
With reference to figure 5; The effect of information updating database is that storing commodity is sold relevant data, comprises a kind of or combination in any of identity code, bar code, shop ISN, the name of an article, the place of production, specification, retail price, price for member, promotion price, sales promotion from date, sales promotion Close Date, row's face amount, row's face number.
The effect of equipment control middleware is exactly that data down transmission with system server is to read write line; The data read that simultaneously read write line need be uploaded is taken out; These data comprise the status data of a plurality of electronics price tickets, read write line, deposit in after the screening in the device status data storehouse.When having the data movement that is numbered No. 1 electronics price list price lattice to be data1 in the example system server, the equipment control middleware is sent to the data1 data in the transmission data storing buffer of read write line second controller unit through wired NIU; When data1 success is transferred to No. 1 electronics price tickets and obtains in the reception data storing buffer that its feedback data data2 is stored in read write line by wireless module; Equipment control this moment middleware receives data2 the data storing buffer from read write line and reads out, and is transferred to system server through wired NIU.
With reference to figure 6; The device status data storehouse act as a plurality of electronics price tickets after the storage screening, the status information of a plurality of read write lines, and its status information comprises a kind of or combination in any of identity code, device type, voltage, temperature, fault, data, online, fault-time.
The data of equipment management device screening installation slip condition database demonstrate a plurality of electronics price tickets on the display with system server, the various status datas of a plurality of read write lines.
With reference to Fig. 7, electronics price tickets and read write line data wireless communication schematic flow sheet in the native system are described.
Second radio communication unit of read write line is in the state of intercepting at t0 in the time period, and the electronics price tickets adopt timing wake-up mechanism, and the electronics price tickets are in the low-power consumption standby duty in the t0 time period;
T0 is after the time period, and the electronics price tickets wake up from the low-power consumption standby state and switch to the high speed operation state, open first radio communication unit; Be made as sending mode; Initiatively initiate data exchange request, data content sends identity code and communication state data last time, after sending completion; First controller unit is transformed into receiving mode to first radio communication unit; And set a time-out time t1, be in receiving mode at t1 time period electronics price tickets, after read write line receives the data exchange request that the electronics price tickets initiatively initiate; Second radio communication unit on t1 time period read write line is a sending mode; Send new data or reply data. will receive data earlier and the data that receive are deposited in the receive data buffer, whether the read write line search is sent has the new data of the unique identity code correspondence of electronics price tickets therewith in the data storing buffer, and new data sends to the electronics price tickets of initiatively initiating data exchange request with wireless mode; If send the data storing buffer no datat, response message of fixing transmission; After sending successfully, read write line is got back to and is switched back the state of intercepting;
The electronics price tickets receive new data, drive the LCD of the display unit on the electronics price tickets through first controller unit, upgrade the displaying contents on the liquid crystal display, set wake up next time send identity code and last time the communication state data exchange request;
T0 time period electronics price tickets low-power consumption standby, read write line is intercepted state, t1 time period read write line and electronics price tickets wireless mode interaction data, so circulation is constantly.