CN106815733A - Data processing method, device and system and printer - Google Patents

Data processing method, device and system and printer Download PDF

Info

Publication number
CN106815733A
CN106815733A CN201510850240.5A CN201510850240A CN106815733A CN 106815733 A CN106815733 A CN 106815733A CN 201510850240 A CN201510850240 A CN 201510850240A CN 106815733 A CN106815733 A CN 106815733A
Authority
CN
China
Prior art keywords
data
print
print data
printer
module
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
CN201510850240.5A
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.)
K11 Group Ltd
Original Assignee
K11 Group 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 K11 Group Ltd filed Critical K11 Group Ltd
Priority to CN201510850240.5A priority Critical patent/CN106815733A/en
Publication of CN106815733A publication Critical patent/CN106815733A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1293Printer information exchange with computer

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention relates to data processing method, device and system and printer.Data handling system includes one or more printers and back-end server.Printer includes:Receiver module, for receiving the print request from POS;Print execution module, for printing consumption authority according to the print request;Data acquisition module, for obtaining print data from the print request;And wireless communication module, it is used to carry out consumption data analysis for sending the print data from printer rear end server.According to the scheme of the embodiment of the present application, customer consumption information can be obtained from the printing link of consumption authority and send it to the foundation that back-end server is analyzed as consumption data, solve the problems, such as that shopping center cannot obtain the specific consumption data of user to carry out consumption data analysis in the prior art.

Description

Data processing method, device and system and printer
Technical field
The invention relates to electronic data acquisition and process field, more particularly relate to Carry out data processing method, data processing equipment, the data handling system of consumption data analysis And associated printer.
Background technology
Consumption data analysis is for raising marketing decision-making level, the validity side of enhancing marketing strategy There is critically important meaning in face.
Consumer consume clearing during, be sold trade company POS can print consumption with According to (such as consumption receipt) so that consumer confirms to consumption, thus in consumption authority Consumption data be research consumer behavior, the important foundation of consumption habit.
The content of the invention
But during current operation management at the mall, entering businessman due to each has The Product Management System of oneself uniqueness, the product database with each businessman is very big to being connected to Technical difficulty, so each product data for entering businessman cannot be obtained, so as to cannot obtain Consumer specifically buys the data of product, it is difficult to carry out the analysis of consumption propensity and consumption habit.
Accordingly, it would be desirable to solving shopping center cannot obtain the specific consumption data of user to be consumed The problem of data analysis.
The purpose of the embodiment of the present application is that a kind of data processing scheme of offer so that can obtain The specific consumption data of user is got so as to carry out consumption data analysis, to solve in the prior art Above mentioned problem.
According to the one side of the embodiment of the present application, there is provided a kind of data processing method, including: In a printer, print data is obtained from the print request from POS;With And by wireless communication module, the printing number is sent from printer rear end server According to for carrying out consumption data analysis.
According to the another aspect of the embodiment of the present application, there is provided a kind of data processing equipment, including: Data acquisition module, in a printer from the print request from POS Obtain print data;And wireless communication module, for being serviced to the back-end from the printer Device sends the print data to be used to carry out consumption data analysis.
According to the one side of the embodiment of the present application, there is provided a kind of data processing method, including: In a back-end server, receive and pass through respective channel radio by one or more printers The respective print data that letter module sends, the respective print data is by one or many What individual printer was obtained from the corresponding print request from respective POS;And according to The respective print data carries out consumption data analysis.
According to the another aspect of the embodiment of the present application, there is provided a kind of data processing equipment, including: Data acquisition module, in a printer from the print request from POS Obtain print data;And wireless communication module, for being serviced to the back-end from the printer Device sends the print data to be used to carry out consumption data analysis.
According to the one side of the embodiment of the present application, there is provided a kind of data handling system, including: One or more printers, each described printer includes data processing equipment, the number Include data acquisition module according to processing unit, in a printer from from cash register system Print data, and wireless communication module are obtained in the print request of system, for being beaten from described Print machine rear end server sends the print data to be used to carry out consumption data analysis;And Back-end server, the back-end server includes data processing equipment, the data processing dress Put including data acquisition module, in a printer from the printing from POS Print data, and wireless communication module are obtained in request, for from the printer backward End server sends the print data to be used to carry out consumption data analysis.
According to the one side of the embodiment of the present application, there is provided a kind of printer, including:Receive mould Block, for receiving the print request from POS;Print execution module, for basis The print request prints consumption authority;Data acquisition module, for being asked from the printing Seek middle acquisition print data;And wireless communication module, for from the printer to the back-end Server sends the print data to be used to carry out consumption data analysis.
According to the scheme of the embodiment of the present application, can be obtained from the printing link of consumption authority and used Family consumption information simultaneously sends it to the foundation that back-end server is analyzed as consumption data, solution Shopping center in the prior art of having determined cannot obtain the specific consumption data of user to carry out consumption number According to the problem of analysis.Further, since can intactly be obtained in the printing link of consumption authority The specific consumption information at family is taken, and the validity of information is very reliable, it is possible to really Protect the high accuracy of consumption data analysis.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the application A part, the schematic description and description of the application is used to explain the application, not Constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 shows the schematic construction block diagram of the data handling system according to the embodiment of the present application;
Fig. 2 shows the flow chart of the data processing method according to the application one embodiment;
Fig. 3 shows the flow chart of the data processing method according to another embodiment of the application;
Fig. 4 shows the schematic construction frame according to the data processing equipment of the application one embodiment Figure;
Fig. 5 shows the schematic construction frame of the data processing equipment according to another embodiment of the application Figure;
Fig. 6 shows the schematic construction block diagram of the printer according to the embodiment of the present application;
Fig. 7 shows showing for the hardware composition part of the data handling system according to the embodiment of the present application Example explanation;And
Fig. 8 shows showing for the software component elements of the data handling system according to the embodiment of the present application Example framework.
Specific embodiment
The basic conception of the embodiment of the present application is, there is provided a kind of improved receipt (consumption authority) Printer, enabling print data is obtained from the print request from POS and is incited somebody to action Print data is sent to back-end server.Correspondingly, the design of the embodiment of the present application is also resided in, A kind of can reception by one or more printers from the printing from respective POS is provided The print data that the respective print data and basis obtained in request are received carries out consumption data The data handling system of analysis.
To make the purpose, technical scheme and advantage of the application clearer, below in conjunction with accompanying drawing and Specific embodiment, is described in further detail to the application.
Fig. 1 is the schematic construction block diagram of the data handling system 100 according to the embodiment of the present application. As shown in figure 1, data handling system 100 can include that printer 101,103 and rear end take Business device 102.Although Fig. 1 only shows two printers 101 and 103, it is understood that also Less or more printer can be included.Here the number of printer can be arbitrary integer. The operation of each printer is similar, therefore is illustrated by taking printer 101 as an example below.
Generally, receipt printer can only perform right according to the print request from POS Consume the printing of authority.In contrast, in embodiments herein, printing Machine 101 can not only perform printing according to the print request from POS, and And print data can be obtained from the print request from POS and by channel radio Print data is sent to back-end server 102 and is used for consumption data analysis by letter mode. Printer 101 can be obtained on the basis of common receipt printer by the improvement in structure Arrive, specifically, can common receipt printer be combined to develop electronic circuit system, make Obtaining can coordinate traditional printing function, and WiFi connections, data transfer, ASCii can be realized again The functions such as code identification.This point is described in more detail further in connection with Fig. 6.
In embodiments herein, back-end server 102 can be received and beaten by one or more Print machine 101 send respective print data and consumed according to the print data for receiving Data analysis.According to embodiments herein, back-end server 102 can be cloud service Device.According to the other embodiments of the application, back-end server 102 can include one or many Individual computer equipment.It will be appreciated that, back-end server 102 can be by can be according to receiving Print data carry out consumption data analysis arbitrary data processing unit realize.
The data processing according to the embodiment of the present application is more specifically described with reference to Fig. 2 and Fig. 3 The whole data handling procedure of system.Fig. 2 show according to the embodiment of the present application can be The flow chart of the data processing method 300 that the side of printer 101 is implemented.Fig. 3 shows basis The data processing method 400 that can implement in the side of back-end server 102 of the embodiment of the present application Flow chart.
According to embodiments herein, between printer 101 and POS (not shown) with And Chang Lian can be set up with any desired manner between printer 101 and back-end server 102 Connect, to ensure data communication efficiency and user-friendly.For example, in an implementation In example, can be set up by wired connection mode between printer 101 and POS often Connection.In one embodiment, can lead between printer 101 and back-end server 102 Cross radio connection to set up connection, and kept for example, by the mode of data breathing bag Therebetween it is in normal connection status.Certainly, in other embodiments, in printer 101 Can not be built between POS and between printer 101 and back-end server 102 Vertical often connection, and only needing to carry out resettling connection when data are transmitted.
Still further, according to embodiments herein, printer 101 can be by such as Any communication mode and POS of serial communication protocol, Parallel Interface Communication agreement etc are carried out Communication.According to embodiments herein, printer 101 can be by such as WiFi's etc Communication is communicated with back-end server 102.
It will be appreciated that, the above-mentioned connection enumerated or communication mode are merely illustrative, the application not purport Being limited to these implementations, and can be by any of known in the art or following exploitation Suitable method is realized.
As shown in Fig. 2 in step S201, printer is from the print request from POS Obtain print data.
According to embodiments herein, printer 101 can monitor in real time itself and POS it Between communication, to get the print request from POS, in the print request wrap Include print data.According to embodiments herein, the print data can include layout Information, customer consumption data message etc..
According to embodiments herein, printer 101 can be deposited after print data is got Store up the print data.For example, can by print data storage in local storage device or Person is stored in the storage device of the outside being attached thereto.It will be appreciated that, it is local or outside Storage device can be any Nonvolatile memory devices.
In step S202, printer passes through wireless communication module, from printer rear end server Sending print data is used to carry out consumption data analysis.
According to embodiments herein, printer 101 can be by means of built-in channel radio Letter module and with back-end server 102 set up wireless connection, the printing number that will be got According to back-end server 102 is sent to, for being used for consumption data analysis.According to the application Embodiment, the built-in wireless communication module can include WiFi communication module.In a reality In applying example, can by means of the portable terminal with access point function, such as smart mobile phone, Portable terminal such as ipad, personal digital assistant etc. set up printer 101 With the wireless connection between back-end server 102.Specifically, printer 101 is in upper electricity Manually or automatically configuration mode can be entered afterwards so that its WiFi communication module is entered into and connect Access point (AP) access module.Furthermore it is possible to operate portable terminal to be allowed to open access point Function such as focus function, to set up WiFi network.At the same time, carry out AP and access mould The printer 101 of formula can be accessed by the checking of corresponding WiFi network ID and password The WiFi network that portable terminal is set up.Connected by the WiFi network, printer 101 Row data communication can be entered with back-end server 102, the print data that will be got sends To back-end server 102.Can be realized from there through the portable terminal with access point function Wireless network connection without display screen printer apparatus.
According to embodiments herein, after can be directly forwarded to for print data by printer 101 End server 102.
According to embodiments herein, printer 101 have sent in rear end server 102 and beat Printing can be received from back-end server 102 for receiving the printing number after According to confirmation.According to embodiments herein, when printer 101 receives the confirmation During information, printer can be deleted the print data stored before it.According to Embodiments herein, when printer 101 is in scheduled time slot after have sent print data When not receiving the confirmation, printer 101 can rear end server 102 retransmit beat Printing evidence.If not receiving confirmation yet after retransmitting pre-determined number, continue to store and be somebody's turn to do Print data, and do not deleted.According to embodiments herein, confirmation can be with It is the prompt message for including following any one or more form, such as voice, sound, text This, animation shows, flashes etc..
As mentioned above, print data may be used also in addition to including customer consumption data message Some other information unrelated with customer consumption data message such as layout information can be included Deng.According to embodiments herein, printer 101 after print data is got and Before rear end server 102 is transmitted, print data can be parsed and recognized Treatment, useful consumption data information is analyzed therefrom to extract for consumption data.Then will The consumption data information extracted is sent to back-end server 102.Thus, it is possible to share rear end The data processing amount of server, improves the operating efficiency of whole system.Here it is possible to pass through Any appropriate data identification of known in the art or following exploitation and analysis mode are realized disappearing Take the extraction of data message.For example, can be by skills such as character string identification, keyword matchs Art extracts consumption data information interested.Consumption data information can for example, at least include User identity information, consumption content-data etc..
As shown in figure 3, in step S301, back-end server 102 is received to be beaten by one or more The corresponding printing that print machine (such as 101,103 etc.) is sent by respective wireless communication module Data.The respective print data is from from respective cash register system by one or more printers Obtained in the corresponding print request of system.
According to embodiments herein, back-end server 102 can be beaten by with one or more Wireless connection that print machine pre-builds receives respective print data.According to the implementation of the application Example, back-end server 102 is receiving the corresponding printing number from one or more printers After, corresponding confirmation can be sent to each corresponding printer.According to the implementation of the application Example, confirmation can be the prompt message for including following any one or more form, example Such as voice, sound, text, animation show, flash.
According to embodiments herein, back-end server 102 can before print data is received, In the random time during receiving print data or in receiving after print data, obtain The unique mark of corresponding printer, and print data is related to the unique mark of the printer The storage of connection ground is analyzed in database with being ready for use on follow-up consumption data.For example, beating Print machine is set up after being connected with back-end server 102, and back-end server 102 can be obtained and beaten The unique ID of print machine, and pre-build corresponding tables of data as index.Work as rear end Server 102 receives the print data from printer corresponding with the unique ID When, by print data storage to the corresponding data table for pre-building.It is understood that Tables of data can be that array, queue etc. be known in the art or arbitrary data stock of following exploitation Storage form.
In step S302, back-end server 102 carries out consumption number according to the print data for receiving According to analysis.
According to embodiments herein, back-end server 102 can be recognized by character string, closed The matching of key word, OCR identification technologies etc. are identified and parse to print data, therefrom to carry Take out the consumption data information useful to consumption data analysis.For example, can be to print data In text data carry out character match and parsing, and can be to the image in print data Data carry out OCR identifications and parsing, so as to extract the consumption useful to consumption data analysis Data message, and by consumption data information Store to corresponding data table.
In a specific embodiment, back-end server 102 can be provided with various patterns in advance Template, the various type styles comprising receipt in these templates.After print data is received, Back-end server 102 can first according to the regular print data to receiving of communication protocol Parsed.Then the print data after parsing is matched with each pattern template, is known Do not go out pattern template corresponding with print data, be hereby based on the type style for identifying, can To quickly determine the position of the useful information in print data, such that it is able to rapidly from beating Print extracting data useful information, improves data-handling efficiency.
In other embodiments, match with print data when back-end server 102 can not find During pattern template, writings and image identification can be directly carried out to the print data, determine The corresponding type style of the print data and using a kind of type style as new pattern template Stored in case subsequently using.It is possible thereby to real-time update pattern template, so that further Improve data-handling efficiency.
In a specific embodiment, after the type style for identifying print data, to sample The specific region in such as total price region, detailed content area, new line region in formula etc. is entered Style of writing sheet and/or image recognition, to extract information interested.For example can be by OCR Identification is combined to realize above-mentioned Text region and information with the database traversal queries of keyword Extract.
Then, according to embodiments herein, can according to the consumption data information extracted with And the user profile in customer relation management (CRM) system carries out consumption data analysis.Tool For body, in one embodiment, can by the corresponding consumption data information in tables of data with User profile in crm system is bound, and then can be formed for consumption data analysis Such as statistics of consumer behaviour analysis.According to embodiments herein, can pass through Any desired manner of known in the art or following exploitation is come according to above-mentioned acquired statistical number According to consumption data analysis is carried out, to reach disappearing in terms of consumption propensity, consumption habit etc. The analysis purpose of the person's of expense behavior.For example, in practical application scene at the mall, shopping Central administrator can enter businessman's distribution and be printed according to the receipt of the embodiment of the present application to each Machine, thus shopping center manager can be received as back-end server and business is entered by each The respective print data acquired in receipt printer that family is used, therefore can easily obtain Get and enter the relevant customer consumption data message of businessman with each, such that it is able to carry out comprehensively Accurate consumption data analysis.
Similar with above-mentioned data processing method, the embodiment of the present application also provides corresponding data processing Device.This is described with reference to Fig. 4 and Fig. 5.
Fig. 4 shows the data processing that can implement in printer side according to the embodiment of the present application The schematic construction block diagram of device 400.Fig. 5 show according to the embodiment of the present application can be The schematic construction block diagram of the data processing equipment 500 that back-end server side is implemented.
As shown in figure 4, device 400 can include data acquisition module 401 and radio communication mold Block 402.
According to embodiments herein, data acquisition module 401 can be used in a printer In print data is obtained from the print request from POS.Wireless communication module 402 can It is used to carry out consumption data analysis for sending print data from printer rear end server.
According to embodiments herein, device 400 can also include:Data memory module, uses In the storage print data;And storage control module, in response to from the rear end The confirmation for receiving the print data of server, the printing number that deletion is stored According to.
According to embodiments herein, data acquisition module 401 can also include that data extract mould Block, for extracting consumption data information from print data, and wherein wireless communication module is used Divide for carrying out consumption data in consumption data information is sent into back-end server from printer Analysis.
Correspondingly, as shown in figure 5, device 500 can include the sum of data reception module 501 According to analysis module 502.
According to embodiments herein, data reception module 501 can be used in a rear end clothes The phase sent by respective wireless communication module by one or more printers is received in business device Print data is answered, the respective print data is from from each receipts by one or more printers Obtained in the corresponding print request of silver-colored system.Data analysis module 502 can be used for according to phase Answering print data carries out consumption data analysis.
According to embodiments herein, device 500 can also include:Data transmission blocks, use In sending the corresponding confirmation for receiving respective print data to one or more printers.
According to embodiments herein, device 500 can also include:Identifier acquisition module, uses In the unique mark for obtaining corresponding printer;And data memory module, for unique mark Respective print data is stored in association.
According to embodiments herein, data analysis module 502 can include:Extracting sub-module, For extracting consumption data information from respective print data;And analysis submodule, for root Consumption data is carried out according to the user profile in consumption data information and CRM system Analysis.
Data processing equipment described above is with the treatment of the data processing method for describing before It is corresponding, accordingly, with respect to its detail, may refer to the data processing side for describing before Method, repeats no more here.
As mentioned above, the central scope of the embodiment of the present application is that there is provided a kind of structure On be able to improved novel printer, it can in real time get relevant with customer consumption beating Printing evidence, and the print data that will be got is sent to back-end services by communication Device, uses for consumption data analysis.This is described in more detail with reference to Fig. 6.
Fig. 6 shows the schematic construction block diagram of the printer 600 according to the embodiment of the present application.
As shown in fig. 6, printer 600 can include receiver module 601, print execution module 602nd, data acquisition module 603 and wireless communication module 604.
According to embodiments herein, receiver module 601 can be used for receiving from POS Print request.In one embodiment, receiver module 601 can be monitored by such as serial ports The communication intercept module of module etc is realized, with by monitoring between printer and POS Communication get the print request from POS.
According to embodiments herein, print execution module 602 can be used for according to print request To print consumption authority.In one embodiment, print execution module 602 can include printing Mechanism's drive module and print execution mechanism.Printing mechanism drive module can be according to print request The printing of consumption authority is performed to drive print execution mechanism.According to embodiments herein, Print execution mechanism can be thermosensitive type, or other any types.
According to embodiments herein, data acquisition module 603 can be used for from print request Obtain print data.According to embodiments herein, data acquisition module 603 can include example Such as serial port transform USB module.According to embodiments herein, data acquisition module 603 can be with Including the data extracting sub-module for extracting consumption data information from print data.For example, In one embodiment, data extracting sub-module can include standard Chinese character word-base chip, for example GB2312 Chinese chips.
According to embodiments herein, wireless communication module 604 can be used for from printer backward End server sends print data to be used to carry out consumption data analysis.In one embodiment, nothing Line communication module 604 can be including WiFi communication module etc..
According to embodiments herein, printer 600 can also include data memory module, use In storage print data.According to embodiments herein, printer 600 can also include storage Control module, in response to from back-end server for receiving print data really Recognize, delete stored print data.
It will be appreciated that, in addition to above-mentioned module, printer 600 can also include system power supply Module and other supplementary modules.
It is also believed that module in the printer 600 of the embodiment of the present application can at one or Realized on multiple chips, and can be realized by hardware module, such as hardware module can be with Including but not limited to application specific integrated circuit (ASIC) chip, field programmable gate array (FPGA) With other PLDs.
The treatment of printer described above correspond to above in conjunction with data processing method, device and The treatment of System describe, therefore, other details combine data processing side before may refer to The treatment of method, device and System describe, repeats no more here.
Equally, as mentioned above, the design of the embodiment of the present application is also resided in, there is provided a kind of Can receive and be obtained from the print request from respective POS by one or more printers The respective print data for taking and the number that consumption data analysis is carried out according to the print data for receiving According to processing system.Example in more detail is carried out with reference to Fig. 7 and Fig. 8 to it to describe.
Data handling system according to the embodiment of the present application can include hardware composition part and soft Part part.Fig. 7 shows the hardware group of the data handling system according to the embodiment of the present application Into illustrating for part.Fig. 8 shows the data handling system according to the embodiment of the present application The exemplary architecture of software component elements.
As shown in fig. 7, in a specific example, hardware composition part can include STM32 Acp chip (STM32 core processors), serial port transform USB module, standard Chinese character character library Chip (such as the GB2312 Chinese chip shown in figure), WiFi communication module, storage Unit, thermal printing executing agency, SPU, system supplymentary unit etc..
In the example in figure 7, such as 5V direct currents can be obtained by USB interface, is passed through SPU can be powered for modules.In system operation, can be with STM32 core processors are core, coordinate serial port transform USB module, and serial data is converted It is attached into USB forms and POS.Word in GB2312 based on spi bus Storehouse chip completes the character recognition of the print data of POS.Then WiFi communication is utilized Data after identification can be uploaded to back-end server by module.On the other hand, print execution machine Structure can complete the printing of papery receipt.
As shown in figure 8, in a specific example, software component elements can include embedded Software (being mountable to POS side and/or printer side), mobile phone terminal APP (can be installed In the portable terminal side of such as smart mobile phone, ipad etc) and server software.
Specifically, each hardware module can be driven and hung up by embedded software, for example, realize The reading of GB2312 Chinese chips, the drive control of print execution mechanism, the data of WiFi module Transmitting-receiving etc..In addition, embedded software can be with the formulation of control instruction and communication protocol, example Such as specify instruction and data form, the data that serial ports end is sent are parsed into effective data and are referred to Order.Additionally, embedded software can be used for specific tasks execution.For example in initial phase, Embedded software cooperation mobile phone terminal APP can realize the configuration of network parameter;In working stage, Can realize that electricity is connected into WiFi network automatically, data are solved after serial data is reached Analysis, and the data after parsing are sent to back-end server by WiFi communication module, and Print execution mechanism can be driven to complete receipt in addition print.
Correspondingly, the course of work of mobile phone terminal APP can be as follows:On a printer after electricity, Key is pressed by length and starts configuration mode, so that its WiFi module enters AP access modules; Handset-selected to access the AP networks that printer is set up, printer is wished in input on APP interfaces The WiFi network ID and password of addition, the network ID and password can be sent out by AP networks Deliver to printer;The WiFi communication module converter of printer adds what is specified into Dietary behavior WiFi network, completes network configuration, and send confirmation to APP ends.
Correspondingly, the course of work of server software can be as follows:When printer adds WiFi To be connected automatically to after back-end server, server end can obtain the unique of printer to network Mark ID simultaneously sets up corresponding tables of data, and real-time by way of data call bag The on-line/off-line state (monitor equipment status) of monitor printer;When POS passes through serial ports After being sent data to the WiFi communication module of printer transmission print data and printer During the server of end, server end sends confirmation letter after partial data information is received to printer Breath;Then server end can be parsed according to communication protocol rule to data, to be formed at The consistent electronic visual information of receipt printing content, and line character is entered to text With, parsing, and carry out OCR for the view data of dot matrix and recognize and analyze its image, with Effective information storage is extracted in corresponding tables of data, and with the user profile of crm system Bound.
It will be understood by those skilled in the art that embodiments herein can be provided as method, device or Computer program product.Therefore, embodiments herein can using complete hardware embodiment, The form of the embodiment in terms of complete software embodiment or combination software and hardware.And, this The embodiment of application can be used and wherein include computer usable program code at one or more Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, light Learn memory etc.) on the form of computer program product implemented.
In a typical configuration, computing device include one or more processors (CPU), Input/output interface, network interface and internal memory.Internal memory can be included in computer-readable medium Volatile memory, random access memory (RAM) and/or Nonvolatile memory etc. Form, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer The example of computer-readable recording medium.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media Information Store can be realized by any method or technique.Information can be that computer-readable refers to Make, data structure, the module of program or other data.The example of the storage medium of computer Include, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), Dynamic random access memory (DRAM), other kinds of random access memory (RAM), Read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), Fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, magnetic disk Storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be with The information being accessed by a computing device.Defined according to herein, computer-readable medium is not wrapped Transient state computer-readable medium is included, such as the data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant Including for nonexcludability is intended to, so that process, method including a series of key elements, Commodity or equipment not only include those key elements, but also other including being not expressly set out Key element, or also include for this process, method, commodity or equipment it is intrinsic want Element.In the absence of more restrictions, by wanting that sentence "including a ..." is limited Element, it is not excluded that also deposited in the process including the key element, method, commodity or equipment In other identical element.
Embodiments herein is the foregoing is only, the application is not limited to.For For those skilled in the art, the application can have various modifications and variations.It is all in the application Spirit and principle within any modification, equivalent substitution and improvements made etc., all should include Within the scope of claims hereof.

Claims (18)

1. a kind of data processing method, including:
In a printer, print data is obtained from the print request from POS; And
By wireless communication module, the printing number is sent from printer rear end server According to for carrying out consumption data analysis.
2. method according to claim 1, also includes:
Store the print data;And
In response to the confirmation for receiving the print data from the back-end server, The print data that deletion is stored.
3. method according to claim 1, wherein from printer rear end server Send the print data includes for carrying out consumption data analysis:
Consumption data information is extracted from the print data;And
The consumption data information that will be extracted is sent to the back-end server.
4. a kind of data processing method, including:
In a back-end server, receive by one or more printers by respective wireless The respective print data that communication module sends, the respective print data is by one or many What individual printer was obtained from the corresponding print request from respective POS;And
Consumption data analysis is carried out according to the respective print data.
5. method according to claim 4, also includes:
Sent for receiving the respective print data to one or more of printers It is corresponding to confirm.
6. method according to claim 4, also includes:
Obtain the corresponding unique mark of one or more of printers;And
The respective print data is stored in association to the corresponding unique mark.
7. method according to claim 4, wherein being carried out according to the respective print data Consumption data analysis includes:
Consumption data information is extracted from the respective print data;And
According to the user profile in the consumption data information and CRM system, enter Row consumption data is analyzed.
8. a kind of data processing equipment, including:
Data acquisition module, in a printer from the print request from POS Middle acquisition print data;And
Wireless communication module, for sending the printing number from printer rear end server According to for carrying out consumption data analysis.
9. device according to claim 8, also includes:
Data memory module, for storing the print data;And
Storage control module, in response to from the back-end server for receiving State the confirmation of print data, the print data that deletion is stored.
10. device according to claim 8, also includes:
Data extraction module, for extracting consumption data information from the print data, and
Wherein described wireless communication module is used for the consumption data information from the printer The back-end server is sent to for carrying out consumption data analysis.
A kind of 11. data processing equipments, including:
Data reception module, for being received in a back-end server by one or more printings The respective print data that machine is sent by respective wireless communication module, the respective print data Be by one or more of printers from the corresponding print request from respective POS Obtain;And
Data analysis module, for carrying out consumption data analysis according to the respective print data.
12. devices according to claim 11, also include:
Data transmission blocks, for being sent for receiving to one or more of printers State the corresponding confirmation of respective print data.
13. devices according to claim 11, also include:
Identifier acquisition module, the corresponding unique mark for obtaining one or more of printers Know;And
Data memory module, for storing described corresponding in association to the corresponding unique mark Print data.
14. devices according to claim 11, wherein the data analysis module includes:
Extracting sub-module, for extracting consumption data information from the respective print data;With And
Analysis submodule, for according to the consumption data information and CRM system In user profile carry out consumption data analysis.
A kind of 15. data handling systems, including:
One or more printers, each described printer is included according to claim 8-10 Any one of data processing equipment;And
Back-end server, the back-end server is included according to any one of claim 11-14 Described data processing equipment.
A kind of 16. printers, including:
Receiver module, for receiving the print request from POS;
Print execution module, for printing consumption authority according to the print request;
Data acquisition module, for obtaining print data from the print request;And
Wireless communication module, for sending the printing number from printer rear end server According to for carrying out consumption data analysis.
17. printers according to claim 16, also include:
Data memory module, for storing the print data;And
Storage control module, in response to from the back-end server for receiving State the confirmation of print data, the print data that deletion is stored.
18. printers according to claim 16, the data acquisition module also includes number According to extracting sub-module, for extracting consumption data information from the print data, and
Wherein described wireless communication module is used for the consumption data information from the printer The back-end server is sent to for carrying out consumption data analysis.
CN201510850240.5A 2015-11-27 2015-11-27 Data processing method, device and system and printer Pending CN106815733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510850240.5A CN106815733A (en) 2015-11-27 2015-11-27 Data processing method, device and system and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510850240.5A CN106815733A (en) 2015-11-27 2015-11-27 Data processing method, device and system and printer

Publications (1)

Publication Number Publication Date
CN106815733A true CN106815733A (en) 2017-06-09

Family

ID=59155480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510850240.5A Pending CN106815733A (en) 2015-11-27 2015-11-27 Data processing method, device and system and printer

Country Status (1)

Country Link
CN (1) CN106815733A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273066A (en) * 2017-06-13 2017-10-20 福建惠联众网络科技有限公司 It is a kind of to realize system and its implementation that data sharing is applied by reducing print data
CN107992273A (en) * 2017-11-15 2018-05-04 江苏神州信源系统工程有限公司 A kind of printing management-control method and system based on CUPS
CN109491623A (en) * 2018-11-14 2019-03-19 北京三快在线科技有限公司 Print data processing method and device, electronic invoice generation method and server
CN111324312A (en) * 2018-12-14 2020-06-23 北京互帮国际技术有限公司 Information processing system, device, method, medium and equipment
CN111324313A (en) * 2018-12-14 2020-06-23 北京互帮国际技术有限公司 Information processing system, device, method, medium and equipment
CN111966400A (en) * 2019-05-20 2020-11-20 上海寒武纪信息科技有限公司 Instruction processing method and device and related product
CN114005229A (en) * 2021-09-24 2022-02-01 上海花颜餐饮管理有限公司 Cash register data processing method and device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9131064B2 (en) * 2010-10-13 2015-09-08 Kabushiki Kaisha Toshiba Communication apparatus and communication method for information processing apparatus
CN104992507A (en) * 2015-06-26 2015-10-21 深圳市华阳信通科技发展有限公司 Intelligent device and method for integrating cashing data
CN205318553U (en) * 2015-11-27 2016-06-15 K11集团有限公司 Data processing device and system and printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9131064B2 (en) * 2010-10-13 2015-09-08 Kabushiki Kaisha Toshiba Communication apparatus and communication method for information processing apparatus
CN104992507A (en) * 2015-06-26 2015-10-21 深圳市华阳信通科技发展有限公司 Intelligent device and method for integrating cashing data
CN205318553U (en) * 2015-11-27 2016-06-15 K11集团有限公司 Data processing device and system and printer

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273066A (en) * 2017-06-13 2017-10-20 福建惠联众网络科技有限公司 It is a kind of to realize system and its implementation that data sharing is applied by reducing print data
CN107992273A (en) * 2017-11-15 2018-05-04 江苏神州信源系统工程有限公司 A kind of printing management-control method and system based on CUPS
CN107992273B (en) * 2017-11-15 2020-11-13 北信源系统集成有限公司 Printing control method and system based on CUPS
CN109491623A (en) * 2018-11-14 2019-03-19 北京三快在线科技有限公司 Print data processing method and device, electronic invoice generation method and server
CN111324312A (en) * 2018-12-14 2020-06-23 北京互帮国际技术有限公司 Information processing system, device, method, medium and equipment
CN111324313A (en) * 2018-12-14 2020-06-23 北京互帮国际技术有限公司 Information processing system, device, method, medium and equipment
CN111966400A (en) * 2019-05-20 2020-11-20 上海寒武纪信息科技有限公司 Instruction processing method and device and related product
CN114005229A (en) * 2021-09-24 2022-02-01 上海花颜餐饮管理有限公司 Cash register data processing method and device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN106815733A (en) Data processing method, device and system and printer
CN104200361B (en) The Mobile banking's payment system and method for payment automatically generated based on Quick Response Code
CN110287247B (en) Data storage method, device, equipment and storage medium based on Unionpay system
CN104468531B (en) The authorization method of sensitive data, device and system
CN106293554A (en) A kind of cloud print system and cloud printer
CN103713863A (en) Print control device, printer, and control method of a print control device
CN106549920A (en) Log-on message input method, log-on message store method and relevant apparatus
CN106788972A (en) A kind of train ticket self-help ticket-buying fetching system based on block chain authentication
CN103685255B (en) File encryption method based on two-dimension code scanning
CN106572091A (en) Invoice information transfer generation method and system thereof
CN103826197A (en) Mobile intelligent terminal-based information interaction system and mobile intelligent terminal-based information interaction method as well as system and method for invoicing tax invoice based on mobile intelligent terminal
CN103189886B (en) Electronic receipt system, terminal installation, the offer method of electronic receipt and program
CN104765580B (en) A kind of bill printing intelligence control system for supporting cloud printing technique
CN102402658A (en) Classified printing control method based on virtual printing, intelligent card and information system
CN104639657B (en) A kind of bill printing intelligence control system for supporting Remote configuration
CN106710093A (en) Receipt production system, printer, and control method thereof
KR101168272B1 (en) The system of issuing nfc ticket and method thereof
CN205318553U (en) Data processing device and system and printer
US20170345042A1 (en) Service processing method, terminal and server
CN106203556B (en) A kind of method and device reading electronic labeling information
CN202736110U (en) Stamp management system
CN102387255A (en) Method and device for utilizing intelligent card to process third-party expanded service data
CN102316428A (en) Method for communication between mobile application client and intelligent card and device
CN107613494A (en) A kind of large-scale consumer based on wireless device Handshake Protocol is registered method
CN102521757A (en) One-key application method for commercial tenant membership card on the basis of intelligent 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1233744

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20170609