CN104933405A - Data processing method and terminal - Google Patents

Data processing method and terminal Download PDF

Info

Publication number
CN104933405A
CN104933405A CN201510278866.3A CN201510278866A CN104933405A CN 104933405 A CN104933405 A CN 104933405A CN 201510278866 A CN201510278866 A CN 201510278866A CN 104933405 A CN104933405 A CN 104933405A
Authority
CN
China
Prior art keywords
data
characters
pending data
target photo
character
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.)
Granted
Application number
CN201510278866.3A
Other languages
Chinese (zh)
Other versions
CN104933405B (en
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 Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510278866.3A priority Critical patent/CN104933405B/en
Publication of CN104933405A publication Critical patent/CN104933405A/en
Application granted granted Critical
Publication of CN104933405B publication Critical patent/CN104933405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Character Input (AREA)

Abstract

The embodiment of the invention discloses a data processing method. The data processing method includes: obtaining a target picture comprising to-be-processed data; performing digital recognition of the target picture and obtaining the to-be-processed data; and performing operation processing of the to-be-processed data via a control terminal. By employing the data processing method, the to-be-processed data in the target picture can be automatically recognized, the time for manual input of the data is reduced, and the operation efficiency is high.

Description

A kind of data processing method and terminal
Technical field
The present invention relates to areas of information technology, particularly relate to a kind of data processing method and terminal.
Background technology
Along with the use of terminal is increasingly extensive, user can utilize terminal to realize various function, wherein utilizing terminal to carry out calculation process is more common function, usually the data processed that require calculation are gathered one by one by user and are recorded on paper, such as user adds up the height situation of some classes, be then the height of each classmate of this class to be recorded on paper.The follow-up mean value that can be calculated recorded data by the calculation function of terminal, arithmetic root etc.In the prior art, when carrying out calculation process to recorded data, need user manually to input each pending data, pending data are carried out calculation process by the calculation function re-using terminal.This mode of operation spended time is long, and efficiency is low.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method, automatically can identify the pending data in Target Photo, and reduce the time of artificial input data, operation efficiency is high.
Embodiments provide a kind of data processing method, it can comprise:
Obtain Target Photo, described Target Photo comprises pending data;
Carry out numeral to described Target Photo to identify, obtain described pending data;
Described pending data are carried out calculation process by control terminal.
Embodiments provide a kind of terminal, it can comprise:
First acquiring unit, for obtaining Target Photo, described Target Photo comprises pending data;
Recognition unit, identifies for carrying out numeral to described Target Photo, obtains described pending data;
Described pending data are carried out calculation process for control terminal by control module.
The embodiment of the present invention, obtain Target Photo, this Target Photo comprises pending data, and carry out numeral to Target Photo and identify, obtain pending data, described pending data are carried out calculation process by control terminal.The pending data that this method can automatically identify in Target Photo decrease the time inputting data manually, improve operation efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention technical scheme, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of the data processing method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of the data processing method that the embodiment of the present invention provides;
Fig. 3 is the computing display interface schematic diagram that the embodiment of the present invention provides;
Fig. 4 is a kind of character duration schematic diagram that the embodiment of the present invention provides;
Fig. 5 is that the pending data amount check of one that the embodiment of the present invention provides differentiates schematic diagram;
Fig. 6 is a kind of data processing method FB(flow block) that the embodiment of the present invention provides;
Fig. 7 is the first example structure schematic diagram of the terminal that the embodiment of the present invention provides;
Fig. 8 is the first example structure schematic diagram of the first acquiring unit that the embodiment of the present invention provides;
Fig. 9 is the structural representation of the recognition unit that the embodiment of the present invention provides;
Figure 10 is the structural representation of the control module that the embodiment of the present invention provides;
Figure 11 is the second example structure schematic diagram of the terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
In specific implementation, the terminal described in the embodiment of the present invention can comprise: mobile phone, panel computer or walkman etc., and above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
The data processing method provided the embodiment of the present invention below in conjunction with Fig. 1 to Figure 11 and terminal are specifically described.
Please refer to Fig. 1, is the first embodiment schematic flow sheet of the data processing method that the embodiment of the present invention provides.Data processing method described in the present embodiment, comprises step:
S100, obtain Target Photo, described Target Photo comprises pending data;
In the embodiment of the present invention, pending data are recorded in Target Photo, when user carries out calculation process to the pending data on Target Photo, first obtain Target Photo.It should be noted that, pending data can have one, also can by multiple.
Optionally, the obtain manner obtaining Target Photo can have (but being not limited to) two kinds of optional embodiments below, concrete selection any obtain manner user can select, as shown in first display interface of Fig. 3, when opening calculator function, enter calculator function interface, user can select manual logging data, and the figure button that selects also can clicking the upper right corner is selected with the form logging data of image recognition.If selected with the form logging data of image recognition, then there is second display interface of Fig. 3, the form that user can pass through picture library (being namely the first optional embodiment following) obtains Target Photo, and user also can obtain Target Photo by the form of take pictures (being namely with the optional embodiment of following the second):
In the first optional embodiment, can S10-S11 be comprised the following steps:
S10, obtains at least one pictures that terminal prestores;
S11, chooses Target Photo from described at least one pictures.
In the embodiment of the present invention, the obtain manner obtaining Target Photo can be obtain at least one pictures prestored in terminal picture library, and is shown by described at least one pictures, and user can therefrom select a pictures as Target Photo.It should be noted that, terminal prestore picture can be by picture-storage in the storage unit such as equipment hard disk, random access memory (Random Access Memory, RAM), Flash chip.
In the optional embodiment of the second, can S12-S13 be comprised the following steps:
S12, starts the camera of terminal;
S13, by described camera pictures taken, and is defined as Target Photo by captured picture.
In the embodiment of the present invention, the obtain manner obtaining Target Photo also can be taken pictures by the camera of terminal, namely be the camera starting terminal, and the picture of pending data is comprised by camera shooting, using captured picture as Target Photo, as shown in Fig. 3 the 3rd display interface, be namely by acquisition Target Photo of taking pictures.
S101, carries out numeral to described Target Photo and identifies, obtain described pending data;
In the embodiment of the present invention, carry out numeral to Target Photo to identify, identify in Target Photo and whether comprise the character consistent with the preset characters type matching such as arabic numeral, Roman number, Chinese Digital, if there is the character consistent with preset characters type matching, then will mate consistent character as pending data.The number of the pending data identified can have one, also can by multiple.
S102, described pending data are carried out calculation process by control terminal.
In the embodiment of the present invention, after obtaining pending data, namely can treat process data and carry out calculation process, calculation process can comprise summation, quadrature, averages, asks arithmetic root etc.Concrete arithmetic processing method can be determine according to the number of pending data.If individual data, as shown in the 4th display interface of Fig. 3, single data " 1234 " are presented on counter, now only play the effect of data inputting, the same with hand input-data, user can edit, delete or, then input at least one operational data and carry out logical operation etc.If multiple data, as shown in the 5th display interface of Fig. 3, identified multiple data are presented on counter, namely be that " 1234 " and " 564 " are presented on counter, user can edit, delete or, input arithmetic logic symbol carries out calculation process to identified pending data, or inputs at least one operational data again and carry out calculation process.As shown in Fig. 3 the 6th display interface, be namely user's input arithmetic logic symbol again, and carry out summation operation.
The embodiment of the present invention, obtain Target Photo, this Target Photo comprises pending data, and carry out numeral to Target Photo and identify, obtain pending data, described pending data are carried out calculation process by control terminal.The pending data that this method can automatically identify in Target Photo decrease the time inputting data manually, improve operation efficiency.
Please refer to Fig. 2, is the second embodiment schematic flow sheet of the data processing method that the embodiment of the present invention provides.Data processing method described in the present embodiment, comprises step:
S200, obtain Target Photo, described Target Photo comprises pending data;
S201, carries out numeral to described Target Photo and identifies, judge whether described Target Photo comprises the character consistent with preset characters type matching;
In the embodiment of the present invention, the process of Target Photo being carried out to numeral identification judges whether comprise the character consistent with preset characters type matching in Target Photo, wherein, preset characters type comprises Arabic character type, roman character type and Chinese character types.
S202, is if so, then defined as pending data by the character consistent with described preset characters type matching.
In the embodiment of the present invention, if Target Photo comprises the character consistent with preset characters type matching, then this character is defined as pending data, wherein pending data can be one or more.
S203, obtains the operational order for carrying out logical operation;
In the embodiment of the present invention, need to carry out calculation process to pending data after the pending data of acquisition, the operational order for carrying out logical operation was obtained before carrying out calculation process, logical operator can be comprised in operational order, namely be the logical operator obtaining user's input, logical operator can be summation operation symbol, quadrature operational symbol, operational symbol etc. of averaging.
Described pending data are carried out calculation process according to described operational order by S204.
In the embodiment of the present invention, according to operational order, pending data are carried out the calculation process corresponding with this operational order, such as, if operational order comprises summation operation symbol, then pending data are carried out summation operation process.
Optionally, before calculation process is carried out to pending data, step can also be comprised:
According to default judgment rule, judge that described pending data are individual data or multiple data;
In the embodiment of the present invention, described default judgment rule comprises any one rule in following rule:
Judge whether the horizontal spacing between any two characters is greater than the first predetermined threshold value, if so, then determine that these two characters are the character in different pieces of information; If not, then determine that these two characters are the character in same data;
Judge whether the underscore of any two characters intersects, if the underscore of these two characters intersects, then judge whether the angle that the underscore of these two characters is formed is greater than the second predetermined threshold value, if be greater than described second predetermined threshold value, then determine that these two characters are the character in different pieces of information; If be less than or equal to described second predetermined threshold value, then determine that these two characters are the character in same data; If the underscore of these two characters is non-intersect, then determine that these two characters are the character in different pieces of information.
In the embodiment of the present invention, pending data can have multiple, also can have one, the concrete number that can identify pending data after carrying out numeral identification according to preset rules:
Wherein, pending data comprise multiple character, judge whether the horizontal spacing in multiple character between any two characters is greater than the first predetermined threshold value, if then determine that these two characters are the character in different pieces of information, first predetermined threshold value can be set by user oneself, such as, can be the mean value of the transverse width of recognized character, as shown in Figure 4, the transverse width of character and longitudinal width has been carried out to illustrate explanation.The transverse width of the character recognized may be different, and as shown in Fig. 5 first array, the transverse width of each character is different, then using the transverse width mean value of each character as the first predetermined threshold value:
In addition, judge whether the underscore of any two characters intersects, if intersect, judge whether the angle that the underscore of two characters is formed is greater than the second predetermined threshold value, as shown in Fig. 5 second array, if the second predetermined threshold value is 30 degree, the angle that the underscore of two characters is formed is greater than 30 degree, then 2 and 3 being defined as the character in different pieces of information, is namely have two pending data, 1572 and 308.
Further, if the underscore of any two characters is non-intersect, as shown in Fig. 5 the 3rd array, then two characters being defined as the character in different pieces of information, is namely the character be defined as in 2 and 3 in different pieces of information.
Concrete, according to the quantity of pending data, following two kinds of optional embodiments can be had to the processing mode that pending data process:
In the first optional embodiment, if described pending data are individual data, describedly according to described operational order, described pending data are carried out calculation process, comprising:
Obtain the first operational data of user's input;
According to described operational order, described pending data and described first operational data are carried out calculation process.
In the embodiment of the present invention, if pending data are individual data, then be presented on counter by the single data recognized, user can carry out editing, delete or input the first operational data, and pending data and the first operational data are carried out calculation process according to operational order by terminal.It should be noted that, the first operational data can have one or more.
In the optional embodiment of the second, if described pending data are multiple data, describedly according to described operational order, described pending data are carried out calculation process, comprising:
Judge whether described terminal receives the second operand certificate of user's input;
If described terminal does not receive the second operand certificate of user's input, according to described operational order, the described multiple data in described pending data are carried out calculation process.
If described terminal receives the second operand certificate of user's input, according to described operational order, the described multiple data in described pending data and described second operand certificate are carried out calculation process.
In the embodiment of the present invention, if pending data are multiple data, multiple data are presented on counter with the form of queue, user can carry out editing, delete or input second operand certificate, also second operand certificate can be inputted, if terminal does not receive the second operand certificate of user's input, then according to operational order, multiple data are carried out calculation process.If terminal receives the second operand certificate of user's input, according to operational order, each data in pending data and second operand certificate are carried out calculation process.
The embodiment of the present invention, obtain Target Photo, this Target Photo comprises pending data, and carry out numeral to Target Photo and identify, obtain pending data, described pending data are carried out calculation process by control terminal.The pending data that this method can automatically identify in Target Photo decrease the time inputting data manually, improve operation efficiency.
Please refer to Fig. 6, it is the data processing method schematic flow sheet that the embodiment of the present invention provides, as shown in the figure, first enter counter working interface, manual logging data or by picture logging data, user can select, if select picture logging data, then import pictures taken or local picture, scanned picture, carry out the identification of arabic numeral, and differentiate in pending data for single data or for array (being namely multiple data);
If single data, then with single data mode logging data, user also needs input arithmetic logic to accord with and other transportation data, finally obtains result, completes computing.
If array, then with the form logging data of array, user's input arithmetic logic accords with, and finally obtains result, completes computing.
Please refer to Fig. 7, is the first example structure schematic diagram of the terminal that the embodiment of the present invention provides.The terminal of the embodiment of the present invention comprises:
First acquiring unit 10, for obtaining Target Photo, described Target Photo comprises pending data;
In the embodiment of the present invention, be recorded in Target Photo by pending data, when user carries out calculation process to the pending data on Target Photo, first the first acquiring unit 10 obtains Target Photo.It should be noted that, pending data can have one, also can by multiple.
Optionally, the obtain manner that first acquiring unit 10 obtains Target Photo can have following two kinds of optional embodiments, concrete selection any obtain manner user can select, as shown in first display interface of Fig. 3, when opening calculator function, enter calculator function interface, user can select manual logging data, and the figure button that selects also can clicking the upper right corner is selected with the form logging data of image recognition.If selected with the form logging data of image recognition, then there is second display interface of Fig. 3, the form that user can pass through picture library (being namely the first optional embodiment following) obtains Target Photo, and user also can obtain Target Photo by the form of take pictures (being namely with the optional embodiment of following the second):
Optionally, the first acquiring unit 10 can have following two kinds of optional embodiments:
In the first optional embodiment, as shown in Figure 8, at least one pictures that the first acquiring unit 10 prestores specifically for obtaining terminal, and Target Photo is chosen from described at least one pictures.
In the embodiment of the present invention, the obtain manner obtaining Target Photo can be obtain at least one pictures prestored in terminal picture library, and is shown by described at least one pictures, and user can therefrom select a pictures as Target Photo.It should be noted that, terminal prestore picture can be by picture-storage in the storage unit such as equipment hard disk, random access memory (Random Access Memory, RAM), Flash chip.
In the optional embodiment of the second, as shown in Figure 9, captured picture, specifically for starting the camera of terminal, by described camera pictures taken, and is defined as Target Photo by the first acquiring unit 10.
In the embodiment of the present invention, the obtain manner obtaining Target Photo also can be taken pictures by the camera of terminal, namely be the camera starting terminal, and the picture of pending data is comprised by camera shooting, using captured picture as Target Photo, as shown in Fig. 3 the 3rd display interface, be namely by acquisition Target Photo of taking pictures.
Recognition unit 11, identifies for carrying out numeral to described Target Photo, obtains described pending data;
In the embodiment of the present invention, recognition unit 11 pairs of Target Photos carry out numeral and identify, identify in Target Photo and whether comprise the character consistent with the preset characters type matching such as arabic numeral, Roman number, Chinese Digital, if there is the character consistent with preset characters type matching, then will mate consistent character as pending data.The number of the pending data identified can have one, also can by multiple.
Optionally, as shown in Figure 9, recognition unit 11 can comprise the first judging unit 110 and determining unit 111;
First judging unit 110, identifies for carrying out numeral to described Target Photo, judges whether described Target Photo comprises the character consistent with preset characters type matching;
In the embodiment of the present invention, the process of Target Photo being carried out to numeral identification is that the first judging unit 110 judges whether comprise the character consistent with preset characters type matching in Target Photo, wherein, preset characters type comprises Arabic character type, roman character type and Chinese character types.
Determining unit 111, if for comprising the character consistent with preset characters type matching, is then defined as pending data by the character consistent with described preset characters type matching.
In the embodiment of the present invention, if Target Photo comprises the character consistent with preset characters type matching, this character is defined as pending data by determining unit 111, and wherein pending data can be one or more.
Described pending data are carried out calculation process for control terminal by control module 12.
In the embodiment of the present invention, after obtaining pending data, namely control module 12 can be treated process data and carry out calculation process, and calculation process can comprise summation, quadrature, averages, asks arithmetic root etc.Concrete arithmetic processing method can be determine according to the number of pending data.If individual data, as shown in the 4th display interface of Fig. 3, single data " 1234 " are presented on counter, now only play the effect of data inputting, the same with hand input-data, user can edit, delete or, then input at least one operational data and carry out logical operation etc.If multiple data, as shown in the 5th display interface of Fig. 3, identified multiple data are presented on counter, namely be that " 1234 " and " 564 " are presented on counter, user can edit, delete or, input arithmetic logic symbol carries out calculation process to identified pending data, or inputs at least one operational data again and carry out calculation process.As shown in Fig. 3 the 6th display interface, be namely user's input arithmetic logic symbol again, and carry out summation operation.
Optionally, as shown in Figure 10, control module 12 can comprise second acquisition unit 120, second judging unit 121, the 3rd acquiring unit 122, first arithmetic element 123, the 3rd judging unit 124, second arithmetic element 125, the 3rd arithmetic element 126;
Second acquisition unit 120, for obtaining the operational order for carrying out logical operation;
In the embodiment of the present invention, need to carry out calculation process to pending data after the pending data of acquisition, before carrying out calculation process, the 3rd acquiring unit 120 obtains the operational order for carrying out logical operation, logical operator can be comprised in operational order, namely be the logical operator obtaining user's input, logical operator can be summation operation symbol, quadrature operational symbol, operational symbol etc. of averaging.
Second judging unit 121, for according to default judgment rule, judges that described pending data are individual data or multiple data;
Described default judgment rule comprises any one rule in following rule:
Judge whether the horizontal spacing between any two characters is greater than the first predetermined threshold value, if so, then determine that these two characters are the character in different pieces of information; If not, then determine that these two characters are the character in same data;
Judge whether the underscore of any two characters intersects, if the underscore of these two characters intersects, then judge whether the angle that the underscore of these two characters is formed is greater than the second predetermined threshold value, if be greater than described second predetermined threshold value, then determine that these two characters are the character in different pieces of information; If be less than or equal to described second predetermined threshold value, then determine that these two characters are the character in same data; If the underscore of these two characters is non-intersect, then determine that these two characters are the character in different pieces of information.
In the embodiment of the present invention, pending data can have multiple, also can have one, and concrete can identify the number of pending data by second judging unit 121 after carrying out numeral identification according to preset rules:
Wherein, pending data comprise multiple character, judge whether the horizontal spacing in multiple character between any two characters is greater than the first predetermined threshold value, if then determine that these two characters are the character in different pieces of information, first predetermined threshold value can be set by user oneself, such as, can be the mean value of the transverse width of recognized character, as shown in Figure 4, the transverse width of character and longitudinal width has been carried out to illustrate explanation.The transverse width of the character recognized may be different, and as shown in Fig. 5 first array, the transverse width of each character is different, then using the transverse width mean value of each character as the first predetermined threshold value:
In addition, judge whether the underscore of any two characters intersects, if intersect, judge whether the angle that the underscore of two characters is formed is greater than the second predetermined threshold value, as shown in Fig. 5 second array, if the second predetermined threshold value is 30 degree, the angle that the underscore of two characters is formed is greater than 30 degree, then 2 and 3 being defined as the character in different pieces of information, is namely have two pending data, 1572 and 308.
Further, if the underscore of any two characters is non-intersect, as shown in Fig. 5 the 3rd array, then two characters being defined as the character in different pieces of information, is namely the character be defined as in 2 and 3 in different pieces of information.
3rd gets unit 122, if be individual data for described pending data, obtains the first operational data of user's input;
Described pending data and described first operational data, for according to described operational order, are carried out calculation process by the first arithmetic element 123.
In the embodiment of the present invention, if pending data are individual data, then be presented on counter by the single data recognized, user can carry out editing, delete or input the first operational data, and pending data and the first operational data are carried out calculation process according to operational order by terminal.It should be noted that, the first operational data can have one or more.
3rd judging unit 124, if be multiple data for described pending data, judges whether described terminal receives the second operand certificate of user's input;
If described multiple data in described pending data, the second operand certificate not receiving user's input for described terminal, are carried out calculation process according to described operational order by the second arithmetic element 125.
If described multiple data in described pending data and described second operand certificate, the second operand certificate receiving user's input for described terminal, are carried out calculation process according to described operational order by the 3rd arithmetic element 126.
In the embodiment of the present invention, if pending data are multiple data, multiple data are presented on counter with the form of queue, user can carry out editing, delete or input second operand certificate, also second operand certificate can be inputted, if terminal does not receive the second operand certificate of user's input, then according to operational order, multiple data are carried out calculation process.If terminal receives the second operand certificate of user's input, according to operational order, each data in pending data and second operand certificate are carried out calculation process.
The embodiment of the present invention, obtain Target Photo, this Target Photo comprises pending data, and carry out numeral to Target Photo and identify, obtain pending data, described pending data are carried out calculation process by control terminal.This method can automatically identify the pending data in Target Photo, decreases the time inputting data manually, improves operation efficiency.
Please refer to Figure 11, is the 3rd example structure schematic diagram of the terminal that the embodiment of the present invention provides.Terminal described in the present embodiment comprises: at least one input equipment 1000; At least one output device 2000; At least one processor 3000, such as CPU; With storer 4000, above-mentioned input equipment 1000, output device 2000, processor 3000 are connected by bus 5000 with storer 4000.
Wherein, above-mentioned input equipment 1000 specifically can be the camera of terminal, photographic subjects picture.
Above-mentioned output device 2000 specifically can be the display screen of terminal, for exporting operation result.
Above-mentioned storer 4000 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as magnetic disk memory.Above-mentioned storer 4000 is for storing batch processing code, and above-mentioned input equipment 1000, output device 2000 and processor 3000, for calling the program code stored in storer 4000, perform and operate as follows:
Above-mentioned input equipment 1000, for obtaining Target Photo, described Target Photo comprises pending data;
Above-mentioned processor 3000, identifies for carrying out numeral to described Target Photo, obtains described pending data;
Described pending data are also carried out calculation process for control terminal by above-mentioned processor 3000.
Above-mentioned output device 2000, for obtaining at least one pictures that terminal prestores;
Above-mentioned output device 2000 also for choosing Target Photo from described at least one pictures.
Above-mentioned input equipment 1000 is also for starting the camera of terminal;
Captured picture also for by described camera pictures taken, and is defined as Target Photo by above-mentioned input equipment 1000.
Above-mentioned processor 3000 also identifies for carrying out numeral to described Target Photo, judges whether described Target Photo comprises the character consistent with preset characters type matching;
If so, above-mentioned processor 3000 also for being then defined as pending data by the character consistent with described preset characters type matching.
Above-mentioned preset characters type comprises Arabic character type, roman character type and Chinese character types.
Above-mentioned input equipment 1000 is also for obtaining the operational order for carrying out logical operation;
Above-mentioned processor 3000 is also for carrying out calculation process according to described operational order by described pending data.
Above-mentioned processor 3000 also for according to default judgment rule, judges that described pending data are individual data or multiple data;
If described pending data are individual data, above-mentioned input equipment 1000 is also for obtaining the first operational data of user's input;
Described pending data and described first operational data also for according to described operational order, are carried out calculation process by above-mentioned processor 3000.
If described pending data are multiple data, above-mentioned input equipment 1000 is also for judging whether described terminal receives the second operand certificate of user's input;
If above-mentioned processor 3000 does not also receive the second operand certificate of user's input for described terminal, according to described operational order, the described multiple data in described pending data are carried out calculation process.
If above-mentioned processor 3000 also receives the second operand certificate of user's input for described terminal, according to described operational order, the described multiple data in described pending data and described second operand certificate are carried out calculation process.
Above-mentioned default judgment rule comprises any one rule in following rule:
Judge whether the horizontal spacing between any two characters is greater than the first predetermined threshold value, if so, then determine that these two characters are the character in different pieces of information; If not, then determine that these two characters are the character in same data;
Judge whether the underscore of any two characters intersects, if the underscore of these two characters intersects, then judge whether the angle that the underscore of these two characters is formed is greater than the second predetermined threshold value, if be greater than described second predetermined threshold value, then determine that these two characters are the character in different pieces of information; If be less than or equal to described second predetermined threshold value, then determine that these two characters are the character in same data; If the underscore of these two characters is non-intersect, then determine that these two characters are the character in different pieces of information.
In specific implementation, input equipment 1000 described in the embodiment of the present invention, output device 2000 and processor 3000 can perform the first embodiment of the data processing method that the embodiment of the present invention provides, the implementation described in the second embodiment, also can perform the implementation of the terminal described in terminal that the embodiment of the present invention provides, not repeat them here.
Unit in all embodiments of the present invention, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application Specific Integrated Circuit, special IC).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a data processing method, is characterized in that, comprising:
Obtain Target Photo, described Target Photo comprises pending data;
Carry out numeral to described Target Photo to identify, obtain described pending data;
Described pending data are carried out calculation process by control terminal.
2. the method for claim 1, is characterized in that, described acquisition Target Photo, comprising:
Obtain at least one pictures that terminal prestores, and choose Target Photo from described at least one pictures; Or,
Start the camera of terminal, by described camera pictures taken, and captured picture is defined as Target Photo.
3. method as claimed in claim 1 or 2, is characterized in that, describedly carries out numeral identification to described Target Photo, obtains described pending data, comprising:
Carry out numeral to described Target Photo to identify, judge whether described Target Photo comprises the character consistent with preset characters type matching;
If so, then the character consistent with described preset characters type matching is defined as pending data.
4. the method for claim 1, is characterized in that, described pending data are carried out calculation process by described control terminal, comprising:
Obtain the operational order for carrying out logical operation;
According to default judgment rule, judge that described pending data are individual data or multiple data;
If described pending data are individual data, obtain the first operational data of user's input;
According to described operational order, described pending data and described first operational data are carried out calculation process;
If described pending data are multiple data, judge whether described terminal receives the second operand certificate of user's input;
If described terminal does not receive the second operand certificate of user's input, according to described operational order, the described multiple data in described pending data are carried out calculation process.
5. method as claimed in claim 4, is characterized in that, if described pending data comprise at least two characters; Described default judgment rule comprises any one rule in following rule:
Judge whether the horizontal spacing between any two characters is greater than the first predetermined threshold value, if so, then determine that these two characters are the character in different pieces of information; If not, then determine that these two characters are the character in same data;
Judge whether the underscore of any two characters intersects, if the underscore of these two characters intersects, then judge whether the angle that the underscore of these two characters is formed is greater than the second predetermined threshold value, if be greater than described second predetermined threshold value, then determine that these two characters are the character in different pieces of information; If be less than or equal to described second predetermined threshold value, then determine that these two characters are the character in same data; If the underscore of these two characters is non-intersect, then determine that these two characters are the character in different pieces of information.
6. a terminal, is characterized in that, comprising:
First acquiring unit, for obtaining Target Photo, described Target Photo comprises pending data;
Recognition unit, identifies for carrying out numeral to described Target Photo, obtains described pending data;
Described pending data are carried out calculation process for control terminal by control module.
7. terminal as claimed in claim 6, is characterized in that,
At least one pictures that described first acquiring unit prestores specifically for obtaining terminal, and Target Photo is chosen from described at least one pictures; Or,
Captured picture, specifically for starting the camera of terminal, by described camera pictures taken, and is defined as Target Photo by described first acquiring unit.
8. terminal as claimed in claims 6 or 7, it is characterized in that, described recognition unit comprises:
First judging unit, identifies for carrying out numeral to described Target Photo, judges whether described Target Photo comprises the character consistent with preset characters type matching;
Determining unit, if for comprising the character consistent with preset characters type matching, is then defined as pending data by the character consistent with described preset characters type matching.
9. terminal as claimed in claim 6, it is characterized in that, described control module comprises:
Second acquisition unit, for obtaining the operational order for carrying out logical operation;
Second judging unit, for according to default judgment rule, judges that described pending data are individual data or multiple data;
3rd acquiring unit, if be individual data for described pending data, obtains the first operational data of user's input;
Described pending data and described first operational data, for according to described operational order, are carried out calculation process by the first arithmetic element;
3rd judging unit, if be multiple data for described pending data, judges whether described terminal receives the second operand certificate of user's input;
If described multiple data in described pending data, the second operand certificate not receiving user's input for described terminal, are carried out calculation process according to described operational order by the second arithmetic element.
10. terminal as claimed in claim 9, is characterized in that, if described pending data comprise at least two characters; Described default judgment rule comprises any one rule in following rule:
Judge whether the horizontal spacing between any two characters is greater than the first predetermined threshold value, if so, then determine that these two characters are the character in different pieces of information; If not, then determine that these two characters are the character in same data;
Judge whether the underscore of any two characters intersects, if the underscore of these two characters intersects, then judge whether the angle that the underscore of these two characters is formed is greater than the second predetermined threshold value, if be greater than described second predetermined threshold value, then determine that these two characters are the character in different pieces of information; If be less than or equal to described second predetermined threshold value, then determine that these two characters are the character in same data; If the underscore of these two characters is non-intersect, then determine that these two characters are the character in different pieces of information.
CN201510278866.3A 2015-05-27 2015-05-27 A kind of data processing method and terminal Active CN104933405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510278866.3A CN104933405B (en) 2015-05-27 2015-05-27 A kind of data processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510278866.3A CN104933405B (en) 2015-05-27 2015-05-27 A kind of data processing method and terminal

Publications (2)

Publication Number Publication Date
CN104933405A true CN104933405A (en) 2015-09-23
CN104933405B CN104933405B (en) 2019-04-23

Family

ID=54120565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510278866.3A Active CN104933405B (en) 2015-05-27 2015-05-27 A kind of data processing method and terminal

Country Status (1)

Country Link
CN (1) CN104933405B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227692A (en) * 2016-07-12 2016-12-14 深圳市金立通信设备有限公司 The implementation method of a kind of computer and terminal
CN106469132A (en) * 2016-08-31 2017-03-01 深圳天珑无线科技有限公司 The method and device of data processing
CN106547434A (en) * 2016-11-30 2017-03-29 努比亚技术有限公司 A kind of implementation method and terminal of terminal calculator
CN107016365A (en) * 2017-04-01 2017-08-04 深圳天珑无线科技有限公司 Image processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020064299A1 (en) * 2000-11-29 2002-05-30 Giken Trastem Co., Ltd. Method for identifying an object image
US20050207620A1 (en) * 2001-06-29 2005-09-22 Takeshi Chujoh Object recognition apparatus and object recognition method
CN102298811A (en) * 2010-06-25 2011-12-28 无锡中星微电子有限公司 Handheld terminal
CN103400161A (en) * 2013-07-18 2013-11-20 苏州大学 Handwritten numeral recognition method and system
CN103927550A (en) * 2014-04-22 2014-07-16 苏州大学 Handwritten number identifying method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020064299A1 (en) * 2000-11-29 2002-05-30 Giken Trastem Co., Ltd. Method for identifying an object image
US20050207620A1 (en) * 2001-06-29 2005-09-22 Takeshi Chujoh Object recognition apparatus and object recognition method
CN102298811A (en) * 2010-06-25 2011-12-28 无锡中星微电子有限公司 Handheld terminal
CN103400161A (en) * 2013-07-18 2013-11-20 苏州大学 Handwritten numeral recognition method and system
CN103927550A (en) * 2014-04-22 2014-07-16 苏州大学 Handwritten number identifying method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227692A (en) * 2016-07-12 2016-12-14 深圳市金立通信设备有限公司 The implementation method of a kind of computer and terminal
CN106469132A (en) * 2016-08-31 2017-03-01 深圳天珑无线科技有限公司 The method and device of data processing
CN106547434A (en) * 2016-11-30 2017-03-29 努比亚技术有限公司 A kind of implementation method and terminal of terminal calculator
CN107016365A (en) * 2017-04-01 2017-08-04 深圳天珑无线科技有限公司 Image processing method and device

Also Published As

Publication number Publication date
CN104933405B (en) 2019-04-23

Similar Documents

Publication Publication Date Title
CN104933405A (en) Data processing method and terminal
CN104657058A (en) Screenshot method
WO2017032265A1 (en) Application push method and apparatus, and a serving device
CN110139149B (en) Video optimization method and device, and electronic equipment
CN104679405A (en) Terminal
CN104965646A (en) Operation instruction response processing method and terminal
CN113407254B (en) Form generation method and device, electronic equipment and storage medium
CN105787874A (en) Method and device used for mosaic processing of captured image
CN105184838A (en) Picture processing method and terminal
CN108804016A (en) Object identification method based on touch screen, device and electronic equipment
CN105809117A (en) Information prompt method and user terminal
CN109144363B (en) Information processing method and electronic equipment
CN106803246A (en) Image quality evaluating method, device and equipment
CN104537049A (en) Picture browsing method and device
CN109358927B (en) Application program display method and device and terminal equipment
CN105224680A (en) A kind of method of search for application and terminal
CN111311619A (en) Method and device for realizing slider verification
CN105022746A (en) Character library generation method, server and system
CN110619116A (en) Data processing method, device, terminal and storage medium
CN106227692A (en) The implementation method of a kind of computer and terminal
CN106469132A (en) The method and device of data processing
CN104766352A (en) Picture processing method
CN110147765A (en) A kind of image processing method and device
CN105138237A (en) Picture display method and terminal
CN115510508A (en) Page information protection method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210224

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040 21 floor, east block, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right