CN106469132A - The method and device of data processing - Google Patents

The method and device of data processing Download PDF

Info

Publication number
CN106469132A
CN106469132A CN201610790019.XA CN201610790019A CN106469132A CN 106469132 A CN106469132 A CN 106469132A CN 201610790019 A CN201610790019 A CN 201610790019A CN 106469132 A CN106469132 A CN 106469132A
Authority
CN
China
Prior art keywords
calculated
character
inventory
formula
image information
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
CN201610790019.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.)
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Wireless 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 Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201610790019.XA priority Critical patent/CN106469132A/en
Publication of CN106469132A publication Critical patent/CN106469132A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/0225User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Character Discrimination (AREA)

Abstract

Embodiments provide a kind of method of data processing, be related to field of terminal technology, can effectively simplify the operating process of inventory verification.The image information of collection inventory;Character to be calculated is extracted from described image information;According to character to be calculated, determine the formula being made up of described character to be calculated;Calculated according to described formula, obtained the statistical result of described inventory.During the embodiment of the present invention is applied to list accounts settlement.

Description

The method and device of data processing
【Technical field】
The present invention relates to field of terminal technology, more particularly, to a kind of method and device of data processing.
【Background technology】
Calculator application software is the function of generally providing on the mobile terminals such as smart mobile phone, panel computer, permissible Carry out simple mathematical operation after user's hand input-data, be user's daily life provides convenient.But, such as doing shopping In some common living scenes such as inventory verification, user wants automatically to be calculated using calculator application software, needs first Numeral substantial amounts of on inventory and operator are manually entered in calculator application software, complex operation, waste time and energy, and go out Error rate is high.
【Content of the invention】
In view of this, embodiments provide a kind of method and device of data processing, can effectively simplify inventory The operating process of verification.
On the one hand, embodiments provide a kind of method of data processing, methods described includes:
The image information of collection inventory;
Character to be calculated is extracted from described image information;
According to character to be calculated, determine the formula being made up of described character to be calculated;
Calculated according to described formula, obtained the statistical result of described inventory.
On the other hand, the embodiment of the present invention additionally provides a kind of device of data processing, and described device includes:
Collecting unit, for gathering the image information of inventory;
Extraction unit, for extracting character to be calculated from described image information;
Determining unit, for according to character to be calculated, determining the formula being made up of described character to be calculated;
Computing unit, for being calculated according to described formula, obtains the statistical result of described inventory.
The method of data processing provided in an embodiment of the present invention, being identified by the image information of direct collection inventory is needed Numerical value to be calculated, and then according to the last statistical result of these numerical computations inventories, need user compared in prior art The troublesome operation inputting one by one is compared, and method provided in an embodiment of the present invention only needs user to provide the image information of inventory Go out final result, eliminate the operation of complexity, more flexibly accurate.
【Brief description】
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to use required in embodiment Figure be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, without having to pay creative labor, can also be other attached according to the acquisition of these accompanying drawings Figure.
Fig. 1 is a kind of method flow diagram of data processing provided in an embodiment of the present invention;
Fig. 2 is the method flow diagram of another kind provided in an embodiment of the present invention data processing;
Fig. 3 is the method flow diagram of another kind provided in an embodiment of the present invention data processing;
Fig. 4 is the method flow diagram of another kind provided in an embodiment of the present invention data processing;
Fig. 5 is the method flow diagram of another kind provided in an embodiment of the present invention data processing;
Fig. 6 is a kind of composition frame chart of the device of data processing provided in an embodiment of the present invention;
Fig. 7 is the composition frame chart of the device of another kind provided in an embodiment of the present invention data processing;
Fig. 8 is the composition frame chart of the device of another kind provided in an embodiment of the present invention data processing;
Fig. 9 is the composition frame chart of the device of another kind provided in an embodiment of the present invention data processing.
【Specific embodiment】
In order to be better understood from technical scheme, below in conjunction with the accompanying drawings the embodiment of the present invention is retouched in detail State.
It will be appreciated that described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of not making creative work all its Its embodiment, broadly falls into the scope of protection of the invention.
The term using in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting The present invention." a kind of ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications.
Embodiments provide a kind of method of data processing it is adaptable to have in the equipment of computing function, such as Fig. 1 Shown, methods described includes:
101st, gather the image information of inventory.
102nd, extract character to be calculated from described image information.
Wherein, character to be calculated includes numerical value and positive-negative relationship of numeral etc..
103rd, according to character to be calculated, determine the formula being made up of described character to be calculated.
In embodiments of the present invention, the formula being typically made up of character to be calculated is plus-minus formula, according to actual needs Can be configured to the formula with multiplication and division relation.
104th, calculated according to described formula, obtained the statistical result of described inventory.
The method of data processing provided in an embodiment of the present invention, being identified by the image information of direct collection inventory is needed Numerical value to be calculated, and then according to the last statistical result of these numerical computations inventories, need user compared in prior art The troublesome operation inputting one by one is compared, and method provided in an embodiment of the present invention only needs user to provide the image information of inventory Go out final result, eliminate the operation of complexity, more flexibly accurate.
Furthermore, it is understood that combining preceding method flow process, in alternatively possible implementation provided in an embodiment of the present invention In, the realization for step 101 provides below scheme, as shown in Fig. 2 including:
1011st, start photographic head.
1012nd, by described photographic head, described inventory is taken pictures, obtain inventory picture.
In this implementation, user can be used directly terminal camera function image acquisition is carried out to inventory it is also possible to After other approach get the image information of inventory, this image information is directed in this method.
It is further to note that because method provided in an embodiment of the present invention is related to calculation process, being therefore integrated in end Realize in the calculator function at end, now can set up the interface starting photographic head in calculator function module, so that user After starting calculator function, the image that photographic head gathers inventory can be directly initiated in calculator function interface.
Above-mentioned inventory picture needs separate storage in specific memory space, so that follow-up process is processed.
Furthermore, it is understood that combining preceding method flow process, in alternatively possible implementation provided in an embodiment of the present invention In, the realization for step 102 provides below scheme, as shown in figure 3, including:
1021st, by OCR, the designated area of described inventory picture is identified, obtains to be calculated Character.
Wherein, OCR is OCR (Optical Character Recognition), in the art, Electronic equipment (such as scanner or digital camera) checks the character printing on paper, determines its shape by the pattern detecting dark, bright Then shape is translated into the process of computword by shape with character identifying method;That is, for printed character, using optics Mode the text conversion in paper document is become the image file of black and white lattice, and by identification software by the literary composition in image Word is converted into text formatting, the technology edited and processed further for word processor.
Wherein it is intended that region is typically according to needing calculative part in inventory to be set, for example, if gold to be calculated Volume all concentrates on the right half area of inventory, then designated area just could be arranged to the right half area of inventory.Relevant designated area Method to set up can refer to such mode and analogize.
It should be added that, character to be calculated need to be stored in and facilitate in the independent memory space that follow-up process is called, Initial data area can be designated as.
In addition, verifying the accuracy of recognition result for the convenience of the user, the result after identification can be shown to user, simultaneously User can enter edlin to display result.
Furthermore, it is understood that combining preceding method flow process, in alternatively possible implementation provided in an embodiment of the present invention In, the realization for step 103 provides below scheme, as shown in figure 4, including:
1031st, positive and negative according to each character to be calculated, determine each intercharacter calculated relationship to be calculated.
Character to be calculated can call from aforementioned initial data area.
Due in inventory record character there may be positive and negative, therefore determine calculated relationship when need specify positive number Front interpolation positive sign, and stet before negative.
1032nd, the order of magnitude according to each intercharacter calculated relationship to be calculated and each character to be calculated, really The fixed formula being made up of described character to be calculated.
Formula described herein need to be stored in and facilitate in the independent memory space that follow-up process is called, and can be designated as formula data Area.
Furthermore, it is understood that combining preceding method flow process, in alternatively possible implementation provided in an embodiment of the present invention In, the realization for step 104 provides below scheme, as shown in figure 5, including:
1041st, by the calculating symbol in described formula and numeral successively typing calculator modules.
Wherein, the calculating symbol in formula and numeral can be called from aforesaid formula data field.
It should be noted that the process of the calculating symbol in described formula and digital typing calculator modules can be simulated It is manually entered, from formula data field, calls calculating symbol and numeral successively, often read a character and just actively call calculating OnClick method in device is entered in calculator modules.
1042nd, receive the statistical result of calculator modules output.
Embodiments provide a kind of device of data processing, can be used for realizing aforementioned approaches method flow process, as Fig. 6 institute Show, described device includes:
Collecting unit 21, for gathering the image information of inventory.
Extraction unit 22, for extracting character to be calculated from described image information.
Determining unit 23, for according to character to be calculated, determining the formula being made up of described character to be calculated.
Computing unit 24, for being calculated according to described formula, obtains the statistical result of described inventory.
Optionally, as shown in fig. 7, described collecting unit 21 includes:
Starting module 211, for starting photographic head.
Photo module 212, for taking pictures to described inventory by described photographic head, obtains inventory picture.
Optionally, described extraction unit 22 is specifically for the finger to described inventory picture by OCR Determine region to be identified, obtain character to be calculated.
Optionally, as shown in figure 8, described determining unit 23 includes:
First determining module 231, for positive and negative according to each character to be calculated, determines each intercharacter meter to be calculated Calculation relation.
Second determining module 232, for according to each intercharacter calculated relationship to be calculated and each character to be calculated Order of magnitude, determine the formula that is made up of described character to be calculated.
Optionally, as shown in figure 9, described computing unit 24 includes:
Typing module 241, for by the calculating symbol in described formula and numeral successively typing calculator modules.
Receiver module 242, for receiving the statistical result of calculator modules output.
The device of data processing provided in an embodiment of the present invention, being identified by the image information of direct collection inventory is needed Numerical value to be calculated, and then according to the last statistical result of these numerical computations inventories, need user compared in prior art The troublesome operation inputting one by one is compared, and method provided in an embodiment of the present invention only needs user to provide the image information of inventory Go out final result, eliminate the operation of complexity, more flexibly accurate.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed system in several embodiments provided by the present invention, apparatus and method are permissible Realize by another way.For example, device embodiment described above is only schematically, for example, described unit Divide, only a kind of division of logic function, actual can have other dividing mode when realizing, for example, multiple units or group Part can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown Or the coupling each other that discusses or direct-coupling or communication connection can be by some interfaces, device or unit indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs 's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form that hardware adds SFU software functional unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in an embodied on computer readable and deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer Device (can be personal computer, server, or network equipment etc.) or processor (Processor) execution the present invention each The part steps of embodiment methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various Can be with the medium of store program codes.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.

Claims (10)

1. a kind of method of data processing is it is characterised in that methods described includes:
The image information of collection inventory;
Character to be calculated is extracted from described image information;
According to character to be calculated, determine the formula being made up of described character to be calculated;
Calculated according to described formula, obtained the statistical result of described inventory.
2. method according to claim 1 is it is characterised in that the image information of described collection inventory includes:
Start photographic head;
By described photographic head, described inventory is taken pictures, obtain inventory picture.
3. method according to claim 2 is it is characterised in that extract character bag to be calculated the described information from described image Include:
By OCR, the designated area of described inventory picture is identified, obtains character to be calculated.
4. method according to claim 3 it is characterised in that described according to character to be calculated, determine by described to be calculated The formula of character composition includes:
Positive and negative according to each character to be calculated, determine each intercharacter calculated relationship to be calculated;
According to the order of magnitude of each intercharacter calculated relationship to be calculated and each character to be calculated, determine and treated by described The formula of calculating character composition.
5. method according to claim 4, it is characterised in that described calculated according to described formula, obtains described clear Single statistical result includes:
By in the calculating symbol in described formula and numeral successively typing calculator modules;
Receive the statistical result of calculator modules output.
6. a kind of device of data processing is it is characterised in that described device includes:
Collecting unit, for gathering the image information of inventory;
Extraction unit, for extracting character to be calculated from described image information;
Determining unit, for according to character to be calculated, determining the formula being made up of described character to be calculated;
Computing unit, for being calculated according to described formula, obtains the statistical result of described inventory.
7. device according to claim 6 is it is characterised in that described collecting unit includes:
Starting module, for starting photographic head;
Photo module, for taking pictures to described inventory by described photographic head, obtains inventory picture.
8. device according to claim 7 is it is characterised in that described extraction unit is specifically for by optical character recognition Technology is identified to the designated area of described inventory picture, obtains character to be calculated.
9. device according to claim 8 is it is characterised in that described determining unit includes:
First determining module, for positive and negative according to each character to be calculated, determines each intercharacter calculated relationship to be calculated;
Second determining module, for the absolute value according to each intercharacter calculated relationship to be calculated and each character to be calculated Size, determines the formula being made up of described character to be calculated.
10. device according to claim 9 is it is characterised in that described computing unit includes:
Typing module, for by the calculating symbol in described formula and numeral successively typing calculator modules;
Receiver module, for receiving the statistical result of calculator modules output.
CN201610790019.XA 2016-08-31 2016-08-31 The method and device of data processing Pending CN106469132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610790019.XA CN106469132A (en) 2016-08-31 2016-08-31 The method and device of data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610790019.XA CN106469132A (en) 2016-08-31 2016-08-31 The method and device of data processing

Publications (1)

Publication Number Publication Date
CN106469132A true CN106469132A (en) 2017-03-01

Family

ID=58230008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610790019.XA Pending CN106469132A (en) 2016-08-31 2016-08-31 The method and device of data processing

Country Status (1)

Country Link
CN (1) CN106469132A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016365A (en) * 2017-04-01 2017-08-04 深圳天珑无线科技有限公司 Image processing method and device
CN110084225A (en) * 2019-05-16 2019-08-02 中国联合网络通信集团有限公司 Scanning, digital operation and printing equipment and system based on 5G cloud storage
CN113408446A (en) * 2021-06-24 2021-09-17 成都新希望金融信息有限公司 Bill accounting method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996029A (en) * 2009-08-24 2011-03-30 北京三星通信技术研究有限公司 Handwritten mathematical expression recognition and editing device and method thereof
CN102298811A (en) * 2010-06-25 2011-12-28 无锡中星微电子有限公司 Handheld terminal
CN103279788A (en) * 2013-04-28 2013-09-04 广东欧珀移动通信有限公司 Counting method and mobile terminal for automatic number recognition
CN103324460A (en) * 2012-03-19 2013-09-25 联想(北京)有限公司 Method and system for data processing and equipment provided with system
CN103699891A (en) * 2012-09-27 2014-04-02 京瓷办公信息系统株式会社 Image processing apparatus and image processing method
CN104166474A (en) * 2013-05-16 2014-11-26 富士通株式会社 Information processing apparatus and character recognition method
CN104750667A (en) * 2015-03-12 2015-07-01 广东欧珀移动通信有限公司 Image content processing method and mobile terminal
CN104820833A (en) * 2015-05-18 2015-08-05 成都准星云学科技有限公司 Method and device for recognizing hand-written expression
CN104933405A (en) * 2015-05-27 2015-09-23 深圳市金立通信设备有限公司 Data processing method and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996029A (en) * 2009-08-24 2011-03-30 北京三星通信技术研究有限公司 Handwritten mathematical expression recognition and editing device and method thereof
CN102298811A (en) * 2010-06-25 2011-12-28 无锡中星微电子有限公司 Handheld terminal
CN103324460A (en) * 2012-03-19 2013-09-25 联想(北京)有限公司 Method and system for data processing and equipment provided with system
CN103699891A (en) * 2012-09-27 2014-04-02 京瓷办公信息系统株式会社 Image processing apparatus and image processing method
CN103279788A (en) * 2013-04-28 2013-09-04 广东欧珀移动通信有限公司 Counting method and mobile terminal for automatic number recognition
CN104166474A (en) * 2013-05-16 2014-11-26 富士通株式会社 Information processing apparatus and character recognition method
CN104750667A (en) * 2015-03-12 2015-07-01 广东欧珀移动通信有限公司 Image content processing method and mobile terminal
CN104820833A (en) * 2015-05-18 2015-08-05 成都准星云学科技有限公司 Method and device for recognizing hand-written expression
CN104933405A (en) * 2015-05-27 2015-09-23 深圳市金立通信设备有限公司 Data processing method and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016365A (en) * 2017-04-01 2017-08-04 深圳天珑无线科技有限公司 Image processing method and device
CN110084225A (en) * 2019-05-16 2019-08-02 中国联合网络通信集团有限公司 Scanning, digital operation and printing equipment and system based on 5G cloud storage
CN113408446A (en) * 2021-06-24 2021-09-17 成都新希望金融信息有限公司 Bill accounting method and device, electronic equipment and storage medium
CN113408446B (en) * 2021-06-24 2022-11-29 成都新希望金融信息有限公司 Bill accounting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CA3017647C (en) Optical character recognition in structured documents
US9747269B2 (en) Smart optical input/output (I/O) extension for context-dependent workflows
KR101462289B1 (en) Digital image archiving and retrieval using a mobile device system
CN111931777A (en) Invoice information processing method and device based on RPA and storage medium
US10339373B1 (en) Optical character recognition utilizing hashed templates
CN101582083A (en) Web-based detection in image, extraction and recognition
CN109344926A (en) Processing method, device and the equipment of service receipt information
CN106469132A (en) The method and device of data processing
CN107515950A (en) A kind of image processing method, device, terminal and computer-readable recording medium
CN115641594A (en) OCR technology-based identification card recognition method, storage medium and device
CN108429877B (en) Image acquisition method and mobile terminal
Dangiwa et al. A business card reader application for iOS devices based on Tesseract
CN111669312A (en) Message interaction method, electronic device and medium
CN110059184B (en) Operation error collection and analysis method and system
CN117253248A (en) Bill identification method, device and storage medium based on large language model
CN111753850A (en) Document processing method and device, computer equipment and computer readable storage medium
CN116627460A (en) Firmware upgrading method and device
CN110525069A (en) A kind of OCR comparison system and its method for intelligent stamper machine
RU2587406C2 (en) Method of processing visual object and electronic device used therein
CN107679851A (en) Means of payment call method and device, computer installation and readable storage medium storing program for executing
WO2015160988A1 (en) Smart optical input/output (i/o) extension for context-dependent workflows
CN113835598A (en) Information acquisition method and device and electronic equipment
CN108021648B (en) Question searching method and device and intelligent terminal
US11973892B2 (en) User interface with interactive elements having dynamically determined functionality
TWI312487B (en) A snapshot characters recognition system of a hand-carried data processing device and its method

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: 20170301