CN109901802A - A kind of information paperless recording method, apparatus, equipment and system - Google Patents

A kind of information paperless recording method, apparatus, equipment and system Download PDF

Info

Publication number
CN109901802A
CN109901802A CN201910170979.XA CN201910170979A CN109901802A CN 109901802 A CN109901802 A CN 109901802A CN 201910170979 A CN201910170979 A CN 201910170979A CN 109901802 A CN109901802 A CN 109901802A
Authority
CN
China
Prior art keywords
data
print data
identification code
management end
stage management
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
CN201910170979.XA
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.)
Xiamen Pick-Up Technology Co Ltd
Original Assignee
Xiamen Pick-Up Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Pick-Up Technology Co Ltd filed Critical Xiamen Pick-Up Technology Co Ltd
Priority to CN201910170979.XA priority Critical patent/CN109901802A/en
Publication of CN109901802A publication Critical patent/CN109901802A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a kind of information paperless recording method, apparatus, equipment and system, method includes: the print data for obtaining foreground terminal and sending;Wherein, the print data carries out conversion generation to source file to be processed by the printing driving of the foreground terminal;Obtain the data format of the print data;Preset format analytical algorithm is called to parse the print data according to the data format, to generate electronical record image, and the identification code that the electronical record image and back-stage management end are sent is bound to establish unique corresponding relationship, and be sent to back-stage management end;The used identification code of binding being shown to, the identification code for allowing users to scan display screen display in display screen by its user terminal obtains electronical record image from back-stage management end.The present invention solves the problems, such as the waste of papery print resource, toxic contaminants, voucher failure, and the convenience of electronization is brought for user.

Description

A kind of information paperless recording method, apparatus, equipment and system
Technical field
The present invention relates to computer information technology fields, more particularly to a kind of information paperless recording method, apparatus, set Standby and system.
Background technique
Currently, graph-text content is printed as papery not necessarily in many scenes, also not optimum way, such as receive The consumption receipt of silver printing is used only to the review amount of money mostly, and consumer does not often take or directly abandons, this is for businessman A kind of waste.In these scenes, the printing consumables such as paper, ink, colour band, dyestuff of consumption are very huge, are such as largely used to The heat-sensitive paper of consumption receipt printing, domestic annual consumption volume 10,000,000,000 or more.And the generation of these consumptive materials, it usually needs timber, Water, coal etc. cause the serious wasting of resources.Moreover, some consumptive materials can generate chemical contamination, be detrimental to health, such as heat Bisphenol-A contained by quick paper, is prohibited by America & Canada.And the preservation of papery is also a problem, the writing on heat-sensitive paper Usual two weeks or so writing begins to subside, and is easy rubbing, deformation, tearing plus papery, leads to that the handwriting is blurred or loss, very Value for preservation is lost fastly, loses voucher meaning.
Summary of the invention
The purpose of the present invention is to overcome the deficiency in the prior art, provides a kind of information paperless recording method, apparatus, equipment And system, solve the problems, such as the waste of papery print resource, toxic contaminants, voucher failure, and bring electronization just for user Benefit.It specifically includes:
In a first aspect, the embodiment of the invention provides a kind of information paperless recording methods, comprising:
Obtain the print data that foreground terminal is sent;Wherein, the print data is driven by the printing of the foreground terminal Conversion generation is carried out to source file to be processed;
Obtain the data format of the print data;
Preset format analytical algorithm is called to parse the print data according to the data format, to generate electricity Subrecord image, and the electronical record image and the identification code that back-stage management end is sent bound it is unique right to establish It should be related to, and be sent to back-stage management end;
The used identification code of binding is shown in display screen, allows users to scan by its user terminal aobvious Show that the identification code of screen display obtains electronical record image from back-stage management end.
Preferably, the data format includes at least one of: dot matrix, order, pixel and text.
Preferably, preset format analytical algorithm is called to parse the print data according to the data format, To generate electronical record image, specifically:
When judging the data format for dot array data format, the print data is obtained into dot matrix by format parsing Data, and the target dot matrix of the dot array data is extracted, and according to dot matrix type of arrangement, call transformed mappings algorithm described Target dot matrix is converted to electronical record image;
When being data format described in judge as text data format, the print data is obtained into text by format parsing Notebook data, and the target text of the text data format is extracted, and according to text font size, call scaling algorithm by the mesh Mark text conversion is electronical record image.
Preferably, when judgement is with back-stage management end communication abnormality, the electronical record image after binding with identification code delays There are locals, when detecting normal with the communication recovery at back-stage management end, after being bound described in storage with identification code Electronical record image be sent to back-stage management end.
Preferably, when receiving the electronical record image print request, the print data is sent to and is currently connected The printing device connect is printed, to generate the papery receipt for including the electronical record image.
Preferably, the identification code is for two dimensional code, bar code or in the plane with chequered with black and white graphic recording data symbols The recognizable encoding of graphs of number information.
Second aspect, the embodiment of the invention provides a kind of information paperless recording devices, comprising:
Print data acquiring unit, for obtaining the print data of foreground terminal transmission;Wherein, the print data is by institute The printing driving for stating foreground terminal carries out conversion generation to source file to be processed;
Data format acquiring unit, for obtaining the data format of the print data;
Generation unit, for calling preset format analytical algorithm to carry out the print data according to the data format Parsing, to generate electronical record image, and the identification code that the electronical record image is sent with back-stage management end is bound To establish unique corresponding relationship, and it is sent to back-stage management end;
Display unit, the identification code for that will bind used is shown in display screen, allows users to pass through it The identification code of user terminal scanning display screen display obtains electronical record image from back-stage management end.
Preferably, the data format includes at least one of: dot matrix, order, pixel and text.
Preferably, generation unit is specifically used for:
When judging the data format for dot array data format, the print data is obtained into dot matrix by format parsing Data, and the target dot matrix of the dot array data is extracted, and according to dot matrix type of arrangement, call transformed mappings algorithm described Target dot matrix is converted to electronical record image;
When being data format described in judge as text data format, the print data is obtained into text by format parsing Notebook data, and the target text of the text data format is extracted, and according to text font size, call scaling algorithm by the mesh Mark text conversion is electronical record image.
Preferably, further includes:
Communication abnormality judging unit is used for when judgement is with back-stage management end communication abnormality, after binding with identification code Electronical record image buffer storage is in local, when detecting normal with the communication recovery at back-stage management end, by described in storage with knowledge Electronical record image after other code is bound is sent to back-stage management end.
Preferably, further includes:
Print request receiving unit, when for receiving the electronical record image print request, by the print data It is sent to the printing device currently connected to be printed, to generate the papery receipt for including the electronical record image.
Preferably, the identification code is for two dimensional code, bar code or in the plane with chequered with black and white graphic recording data symbols The recognizable encoding of graphs of number information.
The third aspect, the embodiment of the invention provides a kind of information paperless recording equipment, including processor, memory with And the computer program of storage in the memory, the computer program can be executed by the processor to realize as such as Information paperless recording method described in first aspect.
Fourth aspect, the embodiment of the invention provides a kind of information paperless recording systems, including back-stage management end, user Terminal, foreground terminal and the information paperless recording equipment as described in the third aspect;
The back-stage management end, at least one identification code to be sent to the information paperless recording equipment;
The foreground terminal drives for obtaining source file data to be processed, and by printing by the source document number of packages According to the print data be converted to suitable for printing;
The information paperless recording equipment, for obtaining the print data of foreground terminal transmission and obtaining the printing The data format of data;Preset format analytical algorithm is called to parse the print data according to the data format, To generate electronical record image, and the identification code that the electronical record image and back-stage management end are sent is bound to establish Unique corresponding relationship, and it is sent to back-stage management end, and the used identification code of binding is shown in display screen;
The back-stage management end is also used to receive tying up with the electronical record image for information paperless recording equipment transmission Identification code after fixed;
The identification code of the user terminal, the display screen display for scanning information paperless recording equipment is managed from backstage It manages end and obtains electronical record image.
Preferably, the back-stage management end, being also used to be converted by the E-consumer image by OCR algorithm can The text of editor.
Implement the embodiment of the present invention, there are following advantageous effects:
1, permanent to retain: unique corresponding by the way that print data is carried out binding foundation with the identification code that back-stage management end is sent Relationship, and call preset format analytical algorithm to solve the print data according to the data format of the print data Analysis, to generate electronical record image, user can also be scanned used identification code by its user terminal, be obtained from back-stage management end Electronical record image is taken, so that user no longer needs print data obtaining print data, Er Qie electricity by papery printing type Sub- shelves can be stored in for a long time on the media such as mobile phone, computer, USB flash disk, avoid the problem that papery shelves are easily damaged, lose.
2, facilitate general;Electronics shelves can be used as general voucher, make out an invoice applied to teleworking, voucher, the fields such as data inspection Scape avoids the problem that papery shelves are easily deformed, damage, fail.
3, the feature of environmental protection: the production of traditional prints paper needs to consume timber, water etc. and pollutes resource beneficial to resource and coal etc., every year Consumption is very huge.By electronics shelves compatibility or replace papery shelves, with no paper environmental protection is gradually pushed to print.
4, health: health can be had an impact by printing the Long Term Contacts such as required ink, colour band, dyestuff.In printing paper Heat-sensitive paper human health can be damaged containing the chemical substances such as bisphenol-A, especially pregnant woman, child and print people for a long time Member, should reduce contact heat-sensitive paper to the greatest extent.By electronics shelves compatibility or replace papery shelves, with no paper health is gradually pushed to print.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in embodiment will be made below Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram for information paperless recording method that first embodiment of the invention provides.
Fig. 2 is a kind of structural schematic diagram for information paperless recording device that second embodiment of the invention provides.
Fig. 3 is a kind of structural schematic diagram for information paperless recording system that fourth embodiment of the invention provides.
Fig. 4 is the overall structure diagram of information paperless recording equipment provided in an embodiment of the present invention.
Fig. 5 is the structural schematic diagram of controller provided in an embodiment of the present invention.
Fig. 6 is the structural schematic diagram of power module provided in an embodiment of the present invention.
Fig. 7 is the structural schematic diagram of interface module provided in an embodiment of the present invention.
Fig. 8 is the structural schematic diagram of communication module provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
First embodiment of the invention:
Referring to Fig. 1, first embodiment of the invention provides a kind of information paperless recording method, it can be by information without paper Change recording equipment to execute, particularly, is executed by the one or more processors in information paperless recording equipment, and at least Include the following steps:
S10 obtains the print data that foreground terminal is sent;Wherein, print data is treated by the printing driving of foreground terminal The source file of processing carries out conversion generation.
In the present embodiment, the foreground terminal for obtaining source file data to be processed, and passes through foreground terminal The source file data are converted to the print data suitable for printing by printing driving.Wherein, the source file is any can be used for The file of printing, including but not limited to text file, image file etc., for example, the source file data include active user's Consumption data, these are within the scope of the present invention, repeat here, not carrying.
Wherein, the foreground terminal may include the invoice system terminal of printed invoice, printing ticket terminal, cash register end End, is also possible to banking system etc., these are within the scope of the present invention.
Wherein, the printing of the foreground terminal is driven to the print driver of standard or customization, standard driver package Include but be not limited to GDI printing driving, PCL printing driving, PostScript printing driving etc..
S20 obtains the data format of print data.
In the present embodiment, the data format includes at least one of: dot matrix, order, pixel and text, Certainly, it should be noted that the data format is also possible to numerical value, character etc., here, the present invention is not specifically limited.
S30, with calling preset format analytical algorithm to parse print data according to data format, to generate electronics note Image is recorded, and the identification code that electronical record image and back-stage management end are sent is bound to establish unique corresponding relationship, And it is sent to back-stage management end.
In the present embodiment, the identification code is for two dimensional code, bar code or in the plane with chequered with black and white graphic recording The recognizable encoding of graphs of data symbol information, certainly, it should be noted that in other embodiments, the identification code can also To be one-dimension code or other identifiable graphic codes, if can unique identification identification code protection scope of the present invention it It is interior.Wherein, it should be noted that the unbound identification code is managed collectively by back-stage management end, and is sent to information without paper Change recording equipment, when can ensure that user will customize oneself identification code, as long as data in modification back-stage management end, customization side Just.
In the present embodiment, the data format for being used to judge received print data according to format analytical algorithm, root Data content is extracted according to format, the data format of print data is mainly classified as dot array data format and text data by the present invention Format two major classes.
Specifically, the print data is passed through format solution when judging the data format for dot array data format Analysis obtains dot array data, and extracts the target dot matrix of the dot array data, and according to dot matrix type of arrangement, calls transformed mappings The target dot matrix is converted to electronical record image by algorithm.Wherein, for dot array data, the present invention passes through command analysis algorithm Print command is automatically parsed, the target dot matrix of the dot array data is extracted, the command analysis algorithm supports standard or customization to beat Print order, including but not limited to ESC command set, PCL command set, PostScript command set, producer's custom command collection etc..
When being data format described in judge as text data format, the print data is obtained into text by format parsing Notebook data, and the target text of the text data is extracted, and according to text font size, call scaling algorithm by the target text Originally electronical record image is converted to.Wherein, for the text data, the present invention automatically parses text by text resolution algorithm Coding, extracts target text, and the text resolution algorithm supports the coding such as ASCII, GBK, Unicode, UTF8.
Specifically, when dot array data format obtains dot array data after format parses, the dot array data is most former The print data of beginning, the dot array data can the various drive commands of energy band, communication protocol commands etc., pass through command analysis algorithm mistake Drive command, communication protocol commands etc. are filtered, and extract the target dot matrix for really having print data according to command analysis algorithm. Wherein, the image that the target dot matrix is made of pixel bit by bit, therefore, target dot matrix of the invention is with preset version Formula carries out typesetting, for example, it is possible to which target dot matrix is typesetting sidewards, it is also possible to endways typesetting, it is also possible to typesetting according to certain rules. Then, by dot matrix restoration algorithm, (the dot matrix restoration algorithm is to call transformed mappings algorithm according to dot matrix type of arrangement, will Dot array data is converted to image pixel.The dot matrix restoration algorithm supports the customized dot matrix arrangement of standard or producer, it is ensured that restores Image keep the space of a whole page and content consistent with the papery shelves that print), ultimately form the figure pixel-based that we visually see Picture, i.e. electronical record image.And so on, the text data format obtains text data, the text after format parses Notebook data may also filter out drive command, communication by text resolution algorithm with various drive commands, communication protocol commands etc. Protocol command etc., and the target text for really having print data is extracted according to text resolution algorithm.Wherein, the text be by Coding composition, therefore, text, which is changed into image, can all size and shape, at this point, character library is transferred according to required font, And according to required font size, then target text is converted to electronical record image, with the papery for ensuring the image restored with printing Shelves keep the space of a whole page consistent with content, for example, the character library of the Song typeface is just called, for example, it is desired to No. 3 fonts when needing to change into the Song typeface When, just according to database scaling to No. 3 font sizes.
Wherein, it should be noted that by the way that identification code to be pre-stored within to the local of the with no paper equipment of the information, then general The identification code is bound with print data, it is ensured that in the case where no network or no networking, can will be stored in Local identification code carries out binding foundation with the print data and is associated with, and does not influence to work normally.
The used identification code of binding is shown in display screen, allows users to sweep by its user terminal by S40 The identification code for retouching display screen display obtains electronical record image from back-stage management end.
In conclusion establishing unique corresponding pass by the way that print data is carried out binding with the identification code that back-stage management end is sent System, and call preset format analytical algorithm to parse the print data according to the data format of the print data, To generate electronical record image, user can also be scanned used identification code by its user terminal, be obtained from back-stage management end Electronical record image, so that user no longer needs print data obtaining print data, and electronics by papery printing type Shelves can be stored in for a long time on the media such as mobile phone, computer, USB flash disk, avoid the problem that papery shelves are easily damaged, lose, and electronics shelves It can be used as general voucher, make out an invoice applied to teleworking, voucher, the scenes such as data inspection, papery shelves is avoided to be easily deformed, damage It is bad, failure the problem of.
On the basis of the above embodiments, in one embodiment of the present invention, when judgement and back-stage management end communication abnormality When, it will be buffered in local with the print data after identification code binding, detected with the communication recovery at back-stage management end just Chang Shi is sent to back-stage management end by the identification code of storage and with the print data after identification code binding.Ensure No network or without networking in the case where, print data will not lose, in the case where there is network, it is ensured that data energy and Shi Gengxin is simultaneously sent to back-stage management end.
On the basis of the above embodiments, it in one embodiment of the present invention, when receiving print request, described will beat Printing evidence is sent to the printing device currently connected and is printed, to generate the papery receipt for including the print data.Meet The demand that user needs papery to print.
Second embodiment of the invention:
Referring to Fig. 2, second embodiment of the invention provides a kind of information paperless recording device, comprising:
Print data acquiring unit 10, for obtaining the print data of foreground terminal transmission;Wherein, the print data by The printing driving of the foreground terminal carries out conversion generation to source file to be processed;
Data format acquiring unit 20, for obtaining the data format of the print data;
Generation unit 30, for according to the data format call preset format analytical algorithm to the print data into Row parsing, to generate electronical record image, and the identification code that the electronical record image is sent with back-stage management end is tied up Determine to establish unique corresponding relationship, and is sent to back-stage management end;
Display unit 40, the identification code for that will bind used is shown in display screen, allows users to pass through The identification code of its user terminal scanning display screen display obtains electronical record image from back-stage management end.
Preferably, the data format includes at least one of: dot matrix, order, pixel and text.
Preferably, generation unit 30 are specifically used for:
When judging the data format for dot array data format, the print data is obtained into dot matrix by format parsing Data, and the target dot matrix of the dot array data is extracted, and according to dot matrix type of arrangement, call transformed mappings algorithm described Target dot matrix is converted to electronical record image;
When being data format described in judge as text data format, the print data is obtained into text by format parsing Notebook data, and the target text of the text data format is extracted, and according to text font size, call scaling algorithm by the mesh Mark text conversion is electronical record image.
Preferably, further includes:
Communication abnormality judging unit is used for when judgement is with back-stage management end communication abnormality, after binding with identification code Electronical record image buffer storage is in local, when detecting normal with the communication recovery at back-stage management end, by described in storage with knowledge Electronical record image after other code is bound is sent to back-stage management end.
Preferably, further includes:
Print request receiving unit, when for receiving the electronical record image print request, by the print data It is sent to the printing device currently connected to be printed, to generate the papery receipt for including the electronical record image.
Preferably, the identification code is for two dimensional code, bar code or in the plane with chequered with black and white graphic recording data symbols The recognizable encoding of graphs of number information.
Third embodiment of the invention:
Third embodiment of the invention provides a kind of information paperless recording equipment, including processor, memory and deposits The computer program of storage in the memory, the computer program can be executed by the processor to realize such as above-mentioned reality Apply information paperless recording method described in example.
Fourth embodiment of the invention:
Fig. 3 to Fig. 8 is please referred to, fourth embodiment of the invention provides a kind of information paperless recording system, including backstage Management end 1, user terminal 2, foreground terminal 3 and the information paperless recording equipment 4 as described in 3rd embodiment;
The back-stage management end 1, at least one identification code to be sent to the information paperless recording equipment 4.
The foreground terminal 3 drives for obtaining source file data to be processed, and by printing by the source document number of packages According to the print data be converted to suitable for printing.
The information paperless recording equipment 4, for obtaining the print data of the transmission of foreground terminal 3 and obtaining described beat The data format of printing evidence;Preset format analytical algorithm is called to solve the print data according to the data format Analysis, to generate electronical record image, and by the identification code that the electronical record image and back-stage management end are sent bind with Unique corresponding relationship is established, and is sent to back-stage management end 1, and the used identification code of binding is shown and is being shown Shield
The back-stage management end 1, be also used to receive information paperless recording equipment 4 transmission with the electronical record image Identification code after binding.
The user terminal 2, the identification code of the display screen display for scanning information paperless recording equipment is from from the background Management end obtains electronical record image.
Preferably, the back-stage management end, being also used to be converted by the E-consumer image by OCR algorithm can The text of editor.
Refering to Fig. 4, in the present embodiment, the information paperless recording equipment 4, comprising: shell, and setting and shell Interior controller 101, communication module 103 and display screen 104;The controller 101 respectively with the communication module 103 and The display screen 104 is electrically connected.Wherein, the controller 101 includes processor, memory and stores in the memory And it is configured the computer program executed by the processing, the processor realizes such as above-mentioned reality when executing the computer program Apply a kind of information paperless recording method described in example;Wherein,
The processor, for the knowledge by the communication module 103 from the pre- first to file predetermined quantity at back-stage management end 1 Other code is simultaneously stored in the memory, and obtains the print data that foreground terminal is sent, and is called according to the data format Preset format analytical algorithm parses the print data, to generate electronical record image, and by the electronical record The identification code that image and back-stage management end 1 are sent is bound to establish unique corresponding relationship, and is sent to back-stage management end 1, and the used identification code of binding is shown in display screen.Certainly, it should be noted that the identification yardage of pre- first to file Amount can be customized, and the present invention is not specifically limited herein.
The display screen 104, the identification code after binding for receiving the processor transmission, and will be arrived used in binding The identification code be shown on the display screen 104.
The shell is also built-in with power module 106, interface module 105 and the print module for printing electronic receipt 102;Wherein, the print module and the interface module 105 are electrically connected with the controller respectively;The power module 106 are electrically connected with the controller, the communication module 103 and the display screen 104 respectively.The communication module includes WiFi module, ethernet module and 4G/5G module;It is supported between the WiFi module, ethernet module and 4G/5G module Mutually backup is automatically switched;Wherein, in the case that WiFi module, ethernet module and 4G/5G module all work, preferentially Grade is successively are as follows: ethernet module > WiFi module > 4G/5G module.The interface module includes usb mouthfuls, parallel port, serial ports and net Mouthful, to provide the interface of input data and output data.
Wherein, the processor selects STM32F407ZGT6 type single-chip microcontroller, and chip is interior using 32 ARM as core processor Portion has storage inside the vast capacity random access memory ram of 196K byte and the Flash of 1M byte;In its processor chips Portion integrates dedicated reset circuit and watchdog function, and is equipped with much 17 timer internals, while also having 4 UART communication interface and 3 SPI communication interfaces.Brilliant frame by external 8MHz is that processor is supplied to stable work clock Signal.Certainly, it should be noted that the processor model is arranged according to the actual situation, is not specifically limited herein.
Wherein, power module 106 selects LM1117 three-terminal regulator chip, and LM1117 is a kind of three end integrated circuit pressure stabilizing cores Piece, it only has input, output end and common, and peripheral components needed for LM1117 voltage stabilizing chip are less, chip interior It is integrated with overcurrent and overheating protection circuit.Certainly, it should be noted that 106 model of power module is set according to the actual situation It sets, is not specifically limited herein.
Wherein, interface module 105 selects IP101G, and RMII interface is used between IP101G and embedded microcontroller.When So, it should be noted that 105 model of interface module is arranged according to the actual situation, is not specifically limited herein.
Wherein, communication module 103 is connected with embedded microcontroller by corresponding serial communication protocol interface, by being embedded in The controller that declines controls the normal work of its chip, and the application uses frequency range for the communication module ESP8266 of 2.4GHz, ESP8266 chip interior uses LWIP agreement, to user be UART Universal Serial communication form be interface count According to communication.User need to only send simple AT order by UART interface can be realized wireless networking.Memory module be responsible for save from Print data in the case of line selects W25Q128, and W25Q128 is 16M byte serial flash storage, and each sector at least may be used It writes or wipes 100000 times, data, which save, to be up to 20 years.W25Q128 carries out data communication by SPI with embedded microcontroller. Certainly, it should be noted that 103 model of communication module is arranged according to the actual situation, is not specifically limited herein.
On the basis of the above embodiments, in a preferred embodiment of the present invention, the back-stage management end 1 is also used to lead to OCR algorithm is crossed to carry out the electronical record image to be converted into editable text.Electronical record image or electronics shelves pass through Picture and text are converted editable text by OCR algorithm or semantics recognition etc., and accuracy rate is high, also avoids papery shelves because obscuring, taking off Color, deformation etc. cause picture and text conversion accuracy low, it is difficult to the problem of using.
On the basis of the above embodiments, in one embodiment of the present invention, the back-stage management end 1 is also used to, by institute It states electronical record image to carry out after being converted into editable text by OCR algorithm, be classified according to text by item property Processing generates classification data and according to commodity or the when and where of service, generates time and location data.And by number of classifying Summarize data according to carrying out summarizing generation with the same category in history classification data, by print data, time and location data, classification Data and summarize data carry out statistics generate statistical report form, consumption guide can be provided for user.Finally, user can be used with it Identification code on family terminal scanning display screen is browsed, inquires various accounting datas and historical data, while the above various notes Account data can also be by network automatic push to user terminal.
Illustratively, computer program described in the embodiment of the present invention can be divided into one or more modules, and described one A or multiple modules are stored in the memory, and are executed by the processor, to complete the present invention.It is one or Multiple modules can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on Calculation machine program is in the implementation procedure for realizing information paperless recording method.
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes Computer program in the memory and/or module are stored, and calls the data being stored in memory, realizes information The various functions of paperless recording system.The memory can mainly include storing program area and storage data area, wherein storage It program area can application program needed for storage program area, at least one function (such as sound-playing function, text conversion function Deng) etc.;Storage data area, which can be stored, uses created data (such as audio data, text message data etc.) according to mobile phone Deng.It can also include nonvolatile memory in addition, memory may include high-speed random access memory, such as hard disk, interior It deposits, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, Flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
This system includes two databases.Datum number storage is the carrier that server zone carries out storage recalls information according to library, Storing data includes arrangement data, model data, report data, the rating result data etc. after the initial data imported, cleaning Content;CRM database mainly stores internal rating result to be appraised and shows information, is the unified storage data of customer relation management Library.
Wherein, if the module for realizing a kind of information paperless recording system is realized in the form of SFU software functional unit And when sold or used as an independent product, it can store in a computer readable storage medium.Based on such Understand, the present invention realizes all or part of the process in above-described embodiment method, can also instruct phase by computer program The hardware of pass is completed, and the computer program can be stored in a computer readable storage medium, the computer program When being executed by processor, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer Program code, the computer program code can be source code form, object identification code form, executable file or certain centres Form etc..The computer-readable medium may include: can carry the computer program code any entity or device, Recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software Distribution medium etc..It should be noted that the content that the computer-readable medium includes can be according to making laws in jurisdiction Requirement with patent practice carries out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and patent practice, computer Readable medium does not include electric carrier signal and telecommunication signal.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand And implement.
It should be noted that the apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.In addition, device provided by the invention In embodiment attached drawing, the connection relationship between module indicate between them have communication connection, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, it can understand And implement.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (10)

1. a kind of information paperless recording method characterized by comprising
Obtain the print data that foreground terminal is sent;Wherein, the print data is treated by the printing driving of the foreground terminal The source file of processing carries out conversion generation;
Obtain the data format of the print data;
Preset format analytical algorithm is called to parse the print data according to the data format, to generate electronics note Image is recorded, and the electronical record image is bound with the identification code that back-stage management end is sent to establish unique corresponding pass System, and it is sent to back-stage management end;
The used identification code of binding is shown in display screen, allows users to scan display screen by its user terminal The identification code of upper display obtains electronical record image from back-stage management end.
2. information paperless recording method according to claim 1, which is characterized in that the data format include at least with It is one of lower: dot matrix, order, pixel and text.
3. information paperless recording method according to claim 2, which is characterized in that called according to the data format pre- If format analytical algorithm the print data is parsed, to generate electronical record image, specifically:
When judging the data format for dot array data format, the print data is obtained into dot matrix number by format parsing According to, and the target dot matrix of the dot array data is extracted, and according to dot matrix type of arrangement, call transformed mappings algorithm by the mesh Punctuate battle array is converted to electronical record image;
When being data format described in judge as text data format, the print data is obtained into textual data by format parsing According to, and the target text of the text data format is extracted, and according to text font size, call scaling algorithm by the target text Originally electronical record image is converted to.
4. information paperless recording method according to claim 1, which is characterized in that when judgement is communicated with back-stage management end When abnormal, electronical record image buffer storage after binding with identification code is extensive with the communication at back-stage management end detecting in local When multiple normal, the electronical record image after being bound described in storage with identification code is sent to back-stage management end.
5. information paperless recording method according to claim 1, which is characterized in that when receiving the electronical record figure When as print request, the print data is sent to the printing device currently connected and is printed, includes the electricity to generate The papery receipt of subrecord image.
6. information paperless recording method according to claim 1, which is characterized in that the identification code is two dimensional code, item Shape code or in the plane with the recognizable encoding of graphs of chequered with black and white graphic recording data symbol information.
7. a kind of information paperless recording device characterized by comprising
Print data acquiring unit, for obtaining the print data of foreground terminal transmission;Wherein, the print data is by before described The printing driving of platform terminal carries out conversion generation to source file to be processed;
Data format acquiring unit, for obtaining the data format of the print data;
Generation unit, for calling preset format analytical algorithm to solve the print data according to the data format Analysis, to generate electronical record image, and by the identification code that the electronical record image and back-stage management end are sent bind with Unique corresponding relationship is established, and is sent to back-stage management end;
Display unit, the identification code for that will bind used is shown in display screen, is allowed users to through its user The identification code of terminal scanning display screen display obtains electronical record image from back-stage management end.
8. a kind of information paperless recording equipment, which is characterized in that including processor, memory and be stored in the memory Interior computer program, the computer program can be executed by the processor to realize such as claim 1 to 6 any one The information paperless recording method.
9. a kind of information paperless recording system, which is characterized in that including back-stage management end, user terminal, foreground terminal and Information paperless recording equipment as claimed in claim 6;
The back-stage management end, at least one identification code to be sent to the information paperless recording equipment;
The foreground terminal turns the source file data for obtaining source file data to be processed, and by printing driving It is changed to the print data suitable for printing;
The information paperless recording equipment, for obtaining the print data of foreground terminal transmission and obtaining the print data Data format;Preset format analytical algorithm is called to parse the print data according to the data format, with life It binds at electronical record image, and by the identification code that the electronical record image and back-stage management end are sent to establish uniquely Corresponding relationship, and be sent to back-stage management end, and the used identification code of binding is shown in display screen;
The back-stage management end, be also used to receive information paperless recording equipment transmission with the electronical record image binding after Identification code;
The user terminal, the identification code of the display screen display for scanning information paperless recording equipment is from back-stage management end Obtain electronical record image.
10. a kind of information paperless recording system according to claim 9, which is characterized in that the back-stage management end, also For carrying out the E-consumer image to be converted into editable text by OCR algorithm.
CN201910170979.XA 2019-03-07 2019-03-07 A kind of information paperless recording method, apparatus, equipment and system Pending CN109901802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910170979.XA CN109901802A (en) 2019-03-07 2019-03-07 A kind of information paperless recording method, apparatus, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910170979.XA CN109901802A (en) 2019-03-07 2019-03-07 A kind of information paperless recording method, apparatus, equipment and system

Publications (1)

Publication Number Publication Date
CN109901802A true CN109901802A (en) 2019-06-18

Family

ID=66946677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910170979.XA Pending CN109901802A (en) 2019-03-07 2019-03-07 A kind of information paperless recording method, apparatus, equipment and system

Country Status (1)

Country Link
CN (1) CN109901802A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111079709A (en) * 2019-12-31 2020-04-28 广州市昊链信息科技股份有限公司 Electronic document generation method and device, computer equipment and storage medium
CN112130785A (en) * 2020-10-10 2020-12-25 国网新疆电力有限公司昌吉供电公司 Digital printing method and device for relay protection device
CN113934385A (en) * 2021-10-13 2022-01-14 中国农业银行股份有限公司山西省分行 Electronic certificate generation method and device and bank counter business system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022122A1 (en) * 2003-03-31 2005-01-27 John Barrus Document collection manipulation
CN103077462A (en) * 2011-10-25 2013-05-01 上海博路信息技术有限公司 Electronic receipt system based on terminal
CN104598596A (en) * 2015-01-23 2015-05-06 王小安 Paperless file system
CN109118298A (en) * 2017-06-26 2019-01-01 上海新飞凡电子商务有限公司 A kind of method of settlement and printer for supporting cloud to pay

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022122A1 (en) * 2003-03-31 2005-01-27 John Barrus Document collection manipulation
CN103077462A (en) * 2011-10-25 2013-05-01 上海博路信息技术有限公司 Electronic receipt system based on terminal
CN104598596A (en) * 2015-01-23 2015-05-06 王小安 Paperless file system
CN109118298A (en) * 2017-06-26 2019-01-01 上海新飞凡电子商务有限公司 A kind of method of settlement and printer for supporting cloud to pay

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111079709A (en) * 2019-12-31 2020-04-28 广州市昊链信息科技股份有限公司 Electronic document generation method and device, computer equipment and storage medium
CN112130785A (en) * 2020-10-10 2020-12-25 国网新疆电力有限公司昌吉供电公司 Digital printing method and device for relay protection device
CN113934385A (en) * 2021-10-13 2022-01-14 中国农业银行股份有限公司山西省分行 Electronic certificate generation method and device and bank counter business system

Similar Documents

Publication Publication Date Title
CN109901802A (en) A kind of information paperless recording method, apparatus, equipment and system
CN105278894B (en) Print control, print system and printing control method
CN100565601C (en) A kind of bill processing apparatus and method
CN108491199A (en) A kind of method and terminal automatically generating interface
CN103336690B (en) HTML (Hypertext Markup Language) 5-based text-element drawing method and device
CN102999337A (en) Browser packaging system and method
CN108038093B (en) PDF character extraction method and device
CN106815733A (en) Data processing method, device and system and printer
CN107911227A (en) A kind of breakpoint data follow-up method, electronic device and computer-readable recording medium
CN106534267A (en) File uploading and resolving method and device
CN111522515A (en) Printing method and device
CN111338586A (en) Print object processing method and device, electronic equipment and readable storage medium
CN109979551A (en) A kind of editing machine of web-based electronic medical record document
CN111914548A (en) Intelligent document filling method and system and related equipment
CN110032345A (en) A kind of information paperless recording method, apparatus, equipment and system
US20100147960A1 (en) Methods, devices, and systems for printing bar codes
CN102467490B (en) Font data processing method and device
CN106559455B (en) Form filling result feedback prompting method and device
CN113297425B (en) Document conversion method, device, server and storage medium
CN103034990A (en) Method and device for checking publications
CN110390090A (en) Financial system billing information input method, device, storage medium and terminal device
CN105005889A (en) Method for acquiring cashing data in rapid and low-cost way
CN114691712A (en) Method and device for generating bill and storage medium
CN107066219A (en) A kind of network printing method of relay protection device of intelligent substation
US20100017708A1 (en) Information output apparatus, information output method, and recording medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190618