CN104866303B - The method and mobile terminal of a kind of information processing - Google Patents
The method and mobile terminal of a kind of information processing Download PDFInfo
- Publication number
- CN104866303B CN104866303B CN201510167499.XA CN201510167499A CN104866303B CN 104866303 B CN104866303 B CN 104866303B CN 201510167499 A CN201510167499 A CN 201510167499A CN 104866303 B CN104866303 B CN 104866303B
- Authority
- CN
- China
- Prior art keywords
- function
- base class
- class function
- mobile terminal
- taking pictures
- 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.)
- Expired - Fee Related
Links
Landscapes
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a kind of method of information processing, including:N number of base class function of the code of the application function of taking pictures of mobile terminal is obtained, wherein, N is the integer more than or equal to 1;Extract the general character part of N number of base class function;The general character part of N number of base class function is configured to a new base class function.The embodiment of the invention also discloses a kind of mobile terminal.The processing speed of code can be accelerated using the embodiment of the present invention, improve the readability of code.
Description
Technical field
The present embodiments relate to the method and mobile terminal of field of computer technology, more particularly to a kind of information processing.
Background technology
With the development of information technology, the use of mobile terminal is more and more common, and function is also more and more, and single just take pictures is come
Say, present exposal model is also more and more.
Under normal circumstances, when user, which clicks on, to take pictures, it is necessary to arrange parameter, for example the direction for the picture taken pictures is set, if
The state of taking pictures etc. is put, then photographing command is set again, is waited after photographing command is set, setting may be also needed to and taken pictures sound, finally
Need to UI processing, such as the action such as allow to take pictures again.
The movements design of taking pictures of industry is typically done in the manner described above at present, thus can be produced than more serious mistake
Formula program, in general flow be user click on take pictures button->Ashing take pictures button->Arrange parameter->Photographing command->Take pictures
Sound->Button of taking pictures allows processing etc. of taking pictures, and is all down to handle step by step, and this mode has the shortcomings that individual fatal to be to work as
As exposal model is more and more, each photographing command is different, and the processing of data of such as taking pictures readjustment all can be different, entirely
Scape and it is common take pictures it is also different, it is necessary to be constantly increasing different exposal model condition judgments, bring size of code to get over
Come huger, code readability will worse and worse, and processing time is long.
The content of the invention
The embodiments of the invention provide a kind of method of information processing and mobile terminal, the processing speed of code can be accelerated,
Improve the readability of code.
First aspect of the embodiment of the present invention provides a kind of method of information processing, including step:
N number of base class function of the code of the application function of taking pictures of mobile terminal is obtained, wherein, N is whole more than or equal to 1
Number;
Extract the general character part of N number of base class function;
The general character part of N number of base class function is configured to a new base class function.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal, including:
Acquiring unit, N number of base class function of the code of the application function of taking pictures for obtaining mobile terminal, wherein, N is big
In or equal to 1 integer;
Extraction unit, for extracting the general character part of N number of base class function;
First structural unit, for the general character part of N number of base class function to be configured into a new base class function.
Implement the embodiment of the present invention, have the advantages that:
The embodiment of the present invention obtains N number of base class function of the code of the application function of taking pictures of mobile terminal, wherein, N is big
In or equal to 1 integer;Extract the general character part of N number of base class function;The general character part of N number of base class function is constructed
The base class function new into one.The processing speed of code can be accelerated using the embodiment of the present invention, improve the readability of code.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to required in embodiment, description
The accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the embodiment of the present invention
Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the first embodiment of the method for information processing provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of the second embodiment of the method for information processing provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of the 3rd embodiment of the method for information processing provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of the fourth embodiment of the method for information processing provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic flow sheet of 5th embodiment of the method for information processing provided in an embodiment of the present invention;
Fig. 6 a are a kind of structural representation of the first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 6 b are a kind of another structural representation of the first embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of the second embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of structural representation of the 3rd embodiment of mobile terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of the fourth embodiment of mobile terminal provided in an embodiment of the present invention;
Figure 10 is a kind of structural representation of the 5th embodiment of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the embodiment of the present invention, rather than whole implementation
Example.Based on the embodiment in the embodiment of the present invention, those of ordinary skill in the art institute under the premise of creative work is not made
The every other embodiment obtained, belong to the scope of protection of the embodiment of the present invention.
In realization, in the embodiment of the present invention, mobile terminal can include but is not limited to:Notebook computer, mobile phone, flat board electricity
Brain, intelligent wearable device etc..The system of mobile terminal refers to the operating system of mobile terminal, can include but is not limited to:
Android system, Saipan system, Windows systems, IOS (Mobile operating system of Apple Inc.'s exploitation) system etc..Need
Illustrate, Android mobile terminal refers to the mobile terminal of android system, and Saipan mobile terminal refers to the movement of Saipan system
Terminal, etc..Above-mentioned mobile terminal is only citing, and non exhaustive, including but not limited to above-mentioned mobile terminal.
The method and mobile terminal of a kind of information processing provided in an embodiment of the present invention are retouched with reference to Fig. 1 to Figure 10
State.
Referring to Fig. 1, Fig. 1 is a kind of flow of the first embodiment of the method for information processing provided in an embodiment of the present invention
Schematic diagram.The method of information processing described in the present embodiment, including step:
S101, obtain mobile terminal application function of taking pictures code N number of base class function, wherein, N be more than or equal to
1 integer.
Wherein, mobile terminal can obtain N number of base class function of the code of the application function of taking pictures of mobile terminal, for example, N number of
Base class function can be:Preconditioned functions before taking pictures, take pictures in processing function and the processing function after taking pictures.
Preconditioned functions beforeSnapping () before taking pictures, the pre- place before the taking pictures of its application function that is used to taking pictures
Reason;Pretreatment before taking pictures may include but be not limited only to:Adjust brightness, selection mode, exposure time, the control of image size, bat
Take the photograph volume etc..
In taking pictures processing function mCameraInterface.captureProcess (getShutterCallback (),
GetRawCallback (), getPostViewCallback (), getJpegCallback ()), it is used to take pictures using work(
Can take pictures in processing;Processing in taking pictures may include but be not limited only to:Adjust brightness, storage zone, picture name, exposure
Duration, the control of image size, shooting volume etc..
Processing function afterSnapping () after taking pictures, the processing after the taking pictures of its application function that is used to taking pictures;Take pictures
Processing afterwards may include but be not limited only to:Storage zone, picture name, the control of image size, picture beautification etc..
S102, extraction N number of base class function general character part.
Wherein, mobile terminal can extract the general character department of N number of base class function.General character part is common for N number of base class function
Funtion part, as described above three functions:Preconditioned functions before taking pictures, take pictures in processing function and the processing letter after taking pictures
Number.There is picture size control in its three base class functions, can be by function corresponding to image size control in three base class functions
Extracting section comes out.
S103, the general character part of N number of base class function is configured to a new base class function.
Wherein, the general character part of N number of base class function can be configured to a new base class function by mobile terminal, such as will be above-mentioned
Image size control in 3 base class functions is configured to a new base class function.
The embodiment of the present invention obtains N number of base class function of the code of the application function of taking pictures of mobile terminal, wherein, N is big
In or equal to 1 integer;Extract the general character part of N number of base class function;The general character part of N number of base class function is constructed
The base class function new into one.The processing speed of code can be accelerated using the embodiment of the present invention, improve the readability of code.
Referring to Fig. 2, Fig. 2 is a kind of flow of the second embodiment of the method for information processing provided in an embodiment of the present invention
Schematic diagram.It is the another embodiment of the method for the information processing provided in an embodiment of the present invention described by Fig. 1.This implementation
The method of information processing described in example, including step:
S201, by the mobile terminal take pictures application under tupe be divided into N number of operating process.
Wherein, its tupe under application of taking pictures can be divided into N number of operating process by mobile terminal, before taking pictures
Pretreatment process, take pictures in handling process and the handling process after taking pictures.Handling process before taking pictures can be further divided into
Brightness regulation, model selection, exposure time is set, image size controls, shoots volume setting etc..
S202, N number of operating process is abstracted as N number of base class function.
Wherein, N number of operating process can be abstracted as N number of base class function by mobile terminal.
S203, obtain mobile terminal application function of taking pictures code N number of base class function, wherein, N be more than or equal to
1 integer.
Specifically describe the step S101 for the method for seeing the information processing in Fig. 1 described by the embodiment of the present invention.
S204, extraction N number of base class function general character part.
Specifically describe the step S102 for the method for seeing the information processing in Fig. 1 described by the embodiment of the present invention.
S205, the general character part of N number of base class function is configured to a new base class function.
Specifically describe the step S103 for the method for seeing the information processing in Fig. 1 described by the embodiment of the present invention.
Tupe of the mobile terminal under application of taking pictures is divided into N number of operating process by the embodiment of the present invention;Will
N number of operating process is abstracted as N number of base class function;Obtain N number of base class letter of the code of the application function of taking pictures of mobile terminal
Number, wherein, N is the integer more than or equal to 1;Extract the general character part of N number of base class function;By N number of base class function
General character part be configured to a new base class function.The processing speed of code can be accelerated using the embodiment of the present invention, improve generation
The readability of code.
Referring to Fig. 3, Fig. 3 is a kind of flow of the 3rd embodiment of the method for information processing provided in an embodiment of the present invention
Schematic diagram.It is the step S202 of the method for the information processing described in Fig. 2 specific refinement.Described in the present embodiment
The method of information processing, including step:
S301, any one operating process j of N number of operating process is expressed as code.
Wherein, any one operating process j of N number of operating process is expressed as code by mobile terminal, the processing before such as taking pictures
Flow can be further divided into brightness regulation, model selection, exposure time is set, image size controls, shooting volume is set etc.
Deng.Handling process before taking pictures can be expressed as code by mobile terminal.
S302, the code building base class function j by any one operating process j.
Wherein, the code of the handling process statement before mobile terminal will can take pictures is packaged, and generates base class function.
Any one operating process j of N number of operating process is expressed as code by the embodiment of the present invention;Will it is described any one
Operating process j code building base class function j.The flow for application of taking pictures can be abstracted as by base class letter using the embodiment of the present invention
Number, it is easy to the general character part of subsequent extracted base class function.
Referring to Fig. 4, Fig. 4 is a kind of flow of the fourth embodiment of the method for information processing provided in an embodiment of the present invention
Schematic diagram.It is the another embodiment of the method for the information processing provided in an embodiment of the present invention described by Fig. 1.This implementation
The method of information processing described in example, including step:
S401, obtain mobile terminal application function of taking pictures code N number of base class function, wherein, N be more than or equal to
1 integer.
Specifically describe the step S101 for the method for seeing the information processing in Fig. 1 described by the embodiment of the present invention.
S402, extraction N number of base class function general character part.
Specifically describe the step S102 for the method for seeing the information processing in Fig. 1 described by the embodiment of the present invention.
S403, any one base class function i in N number of base class function is removed to remainder after the general character part
Divide and be configured to a characteristic base class function i, wherein, i is the positive integer less than or equal to N.
Wherein, mobile terminal can go out one base class function i of people in N number of base class function the residue after general character part
Part is configured to a characteristic base class function i, such as:
In taking pictures processing function mCameraInterface.captureProcess (getShutterCallback (),
GetRawCallback (), getPostViewCallback (), getJpegCallback ()), it is used to take pictures using work(
Can take pictures in processing;Processing in taking pictures may include but be not limited only to:Adjust brightness, storage zone, picture name, exposure
Duration, the control of image size, shooting volume etc., it is assumed that general character part controls for image size, then by the processing in taking pictures
Other parts in function in addition to image size controls are configured to a characteristic base class function.
The embodiment of the present invention obtains N number of base class function of the code of the application function of taking pictures of mobile terminal, wherein, N is big
In or equal to 1 integer;Extract the general character part of N number of base class function;By any one base class in N number of base class function
The remainder that function i removes after the general character part is configured to a characteristic base class function i, wherein, i be less than or equal to
N positive integer.Remainder after extraction general character part can be configured to by characteristic base class function using the embodiment of the present invention, carried
High code process efficiency.
Referring to Fig. 5, Fig. 5 is a kind of flow of the fourth embodiment of the method for information processing provided in an embodiment of the present invention
Schematic diagram.It is the step S102 of the method for the information processing described in Fig. 1 specific refinement.Described in the present embodiment
The method of information processing, including step:
S501, analysis N number of base class function, to obtain the function of N number of base class function.
Wherein, mobile terminal can analyze N number of base class function, obtain the function of N number of base class function.Such as by N number of base class function
Code understood, analyze the function of the subfunction in N number of base class function, such as control image size, regulation brightness.
S502, identical function in the function of N number of base class function is isolated as N number of base class function
General character part.
Wherein, identical function in the function of N number of base class function can be isolated as N number of base class function by mobile terminal
General character part, such as three functions described in the method for information processing provided in an embodiment of the present invention in Fig. 1:Before taking pictures
Preconditioned functions, take pictures in processing function and the processing function after taking pictures.There is picture size control in its three base class functions
System, function part corresponding to image size control in three base class functions can be extracted.
The embodiment of the present invention analyzes N number of base class function, to obtain the function of N number of base class function;Will be described N number of
Identical function is isolated as the general character part of N number of base class function in the function of base class function.
Fig. 6 a are referred to, Fig. 6 a are a kind of structural representations of the embodiment of mobile terminal provided in an embodiment of the present invention.
Mobile terminal described in the present embodiment, it is specific as follows:
Acquiring unit 601, N number of base class function of the code of the application function of taking pictures for obtaining mobile terminal, wherein, N
For the integer more than or equal to 1.
Wherein, acquiring unit 601 obtains N number of base class function of the code of the application function of taking pictures of mobile terminal, for example, N
Individual base class function can be:Preconditioned functions before taking pictures, take pictures in processing function and the processing function after taking pictures, specifically can shape
Such as:
Preconditioned functions beforeSnapping () before taking pictures, the pre- place before the taking pictures of its application function that is used to taking pictures
Reason;Pretreatment before taking pictures may include but be not limited only to:Adjust brightness, selection mode, exposure time, the control of image size, bat
Take the photograph volume etc..
In taking pictures processing function mCameraInterface.captureProcess (getShutterCallback (),
GetRawCallback (), getPostViewCallback (), getJpegCallback ()), it is used to take pictures using work(
Can take pictures in processing;Processing in taking pictures may include but be not limited only to:Adjust brightness, storage zone, picture name, exposure
Duration, the control of image size, shooting volume etc..
Processing function afterSnapping () after taking pictures, the processing after the taking pictures of its application function that is used to taking pictures;Take pictures
Processing afterwards may include but be not limited only to:Storage zone, picture name, the control of image size, picture beautification etc..
Extraction unit 602, for extracting the general character part of N number of base class function.
Wherein, extraction unit 602 can extract the general character department of N number of base class function.General character part is total to for N number of base class function
Congenerous part, as described above three functions:Preconditioned functions before taking pictures, take pictures in processing function and the processing letter after taking pictures
Number.There is picture size control in its three base class functions, can be by function corresponding to image size control in three base class functions
Extracting section comes out.
First structural unit 603, for the general character part of N number of base class function to be configured into a new base class letter
Number.
Wherein, the general character part of N number of base class function can be configured to a new base class function by the first structural unit 603,
The image size control in above-mentioned 3 base class functions is such as configured to a new base class function.
As a kind of possible embodiment, as shown in Figure 6 b, mobile terminal described by the embodiment of the present invention can be with
Including:Division unit 604 and abstraction unit 605.
Division unit 604, for tupe of the mobile terminal under application of taking pictures to be divided into N number of operation stream
Journey.
Wherein, its tupe under application of taking pictures can be divided into N number of operating process by division unit 604, such as be taken pictures
Preceding pretreatment process, take pictures in handling process and the handling process after taking pictures.Handling process before taking pictures can further be drawn
It is divided into brightness regulation, model selection, exposure time is set, image size controls, shoots volume setting etc..
Abstraction unit 605, for N number of operating process to be abstracted as into N number of base class function.
Wherein, N number of operating process can be abstracted as N number of base class function by abstraction unit 605.
Acquiring unit of the embodiment of the present invention 601 obtains N number of base class function of the code of the application function of taking pictures of mobile terminal,
Wherein, N is the integer more than or equal to 1;Extraction unit 602 extracts the general character part of N number of base class function;First construction is single
The general character part of N number of base class function is configured to a new base class function by member 603.It can be accelerated using the embodiment of the present invention
The processing speed of code, improve the readability of code.
Referring to Fig. 7, Fig. 7 is a kind of structural representation of the second embodiment of mobile terminal provided in an embodiment of the present invention
Figure.Mobile terminal described by Fig. 7 is another concrete structure of the mobile terminal described in Fig. 6 a or Fig. 6 b, and it divides single
Member 604 may include representation unit 701 and generation unit 702.Mobile terminal described in the embodiment of the present invention, it is specific as follows:
Representation unit 701, for any one operating process j of N number of operating process to be expressed as into code.
Wherein, any one operating process j of N number of operating process is expressed as code by representation unit 701, the place before such as taking pictures
Reason flow can be further divided into brightness regulation, model selection, exposure time is set, image size controls, shooting volume is set
Etc..Handling process before taking pictures can be expressed as code by mobile terminal.
Generation unit 702, for by the code building base class function j of any one operating process j.
Wherein, the code of the handling process statement before generation unit 702 will can take pictures is packaged, and generates base class function.
Any one operating process j of N number of operating process is expressed as code by representation unit of the embodiment of the present invention 701;
Generation unit 702 is by the code building base class function j of any one operating process j.It will can be taken pictures using the embodiment of the present invention
The flow of application is abstracted as base class function, is easy to the general character part of subsequent extracted base class function.
Referring to Fig. 8, Fig. 8 is a kind of structural representation of the 3rd embodiment of mobile terminal provided in an embodiment of the present invention
Figure.Mobile terminal described by Fig. 8 is another concrete structure of the mobile terminal described in Fig. 6 a or Fig. 6 b, specifically such as
Under:
Acquiring unit 601, N number of base class function of the code of the application function of taking pictures for obtaining mobile terminal, wherein, N
For the integer more than or equal to 1.
Wherein, acquiring unit 601 obtains N number of base class function of the code of the application function of taking pictures of mobile terminal, for example, N
Individual base class function can be:Preconditioned functions before taking pictures, take pictures in processing function and the processing function after taking pictures, specifically can shape
Such as:
Preconditioned functions beforeSnapping () before taking pictures, the pre- place before the taking pictures of its application function that is used to taking pictures
Reason;Pretreatment before taking pictures may include but be not limited only to:Adjust brightness, selection mode, exposure time, the control of image size, bat
Take the photograph volume etc..
In taking pictures processing function mCameraInterface.captureProcess (getShutterCallback (),
GetRawCallback (), getPostViewCallback (), getJpegCallback ()), it is used to take pictures using work(
Can take pictures in processing;Processing in taking pictures may include but be not limited only to:Adjust brightness, storage zone, picture name, exposure
Duration, the control of image size, shooting volume etc..
Processing function afterSnapping () after taking pictures, the processing after the taking pictures of its application function that is used to taking pictures;Take pictures
Processing afterwards may include but be not limited only to:Storage zone, picture name, the control of image size, picture beautification etc..
Extraction unit 602, for extracting the general character part of N number of base class function.
Wherein, extraction unit 602 can extract the general character department of N number of base class function.General character part is total to for N number of base class function
Congenerous part, as described above three functions:Preconditioned functions before taking pictures, take pictures in processing function and the processing letter after taking pictures
Number.There is picture size control in its three base class functions, can be by function corresponding to image size control in three base class functions
Extracting section comes out.
Second structural unit 606, for any one base class function i in N number of base class function to be removed into the general character
Remainder after part is configured to a characteristic base class function i, wherein, i is the positive integer less than or equal to N.
Wherein, the second structural unit 606 one base class function i of people in N number of base class function can be gone out general character part it
Remainder afterwards is configured to a characteristic base class function i, such as:
In taking pictures processing function mCameraInterface.captureProcess (getShutterCallback (),
GetRawCallback (), getPostViewCallback (), getJpegCallback ()), it is used to take pictures using work(
Can take pictures in processing;Processing in taking pictures may include but be not limited only to:Adjust brightness, storage zone, picture name, exposure
Duration, the control of image size, shooting volume etc., it is assumed that general character part controls for image size, then by the processing in taking pictures
Other parts in function in addition to image size controls are configured to a characteristic base class function.
Acquiring unit of the embodiment of the present invention 601 obtains N number of base class function of the code of the application function of taking pictures of mobile terminal,
Wherein, N is the integer more than or equal to 1;Extraction unit 602 extracts the general character part of N number of base class function;Second construction is single
Remainder after any one base class function i removings general character part in N number of base class function is configured to by member 606
One characteristic base class function i, wherein, i is the positive integer less than or equal to N.Can be by extraction general character portion using the embodiment of the present invention
/ after remainder be configured to characteristic base class function, improve code process efficiency.
Referring to Fig. 9, Fig. 9 is a kind of structural representation of the fourth embodiment of mobile terminal provided in an embodiment of the present invention
Figure.Mobile terminal described by Fig. 9 is another concrete structure of the mobile terminal described in Fig. 6 a or Fig. 6 b, and it extracts single
Member 602 may include analytic unit 901 and separative element 902.Mobile terminal described in the embodiment of the present invention, it is specific as follows:
Analytic unit 901, for analyzing N number of base class function, to obtain the function of N number of base class function.
Wherein, analytic unit 901 can analyze N number of base class function, obtain the function of N number of base class function.Such as by N number of base class letter
Several codes are understood, and analyze the function of the subfunction in N number of base class function, such as control image size, regulation brightness.
Separative element 902, for identical function in the function of N number of base class function to be isolated as into the N
The general character part of individual base class function.
Wherein, identical function in the function of N number of base class function can be isolated as N number of base class by separative element 902
The general character part of function, such as three functions described in the method for information processing provided in an embodiment of the present invention in Fig. 1:Take pictures
Preceding preconditioned functions, take pictures in processing function and the processing function after taking pictures.There is picture big in its three base class functions
Small control, function part corresponding to image size control in three base class functions can be extracted.
Analytic unit of the embodiment of the present invention 901 analyzes N number of base class function, to obtain the work(of N number of base class function
Energy;Identical function in the function of N number of base class function is isolated as N number of base class function by separative element 902
General character part.
Referring to Figure 10, Figure 10 is a kind of the 5th example structure schematic diagram of mobile terminal provided in an embodiment of the present invention.
Mobile terminal described in the present embodiment includes:At least one input equipment 1000;At least one output equipment 2000;At least
One processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output equipment 2000, processor 3000
Connected with memory 4000 by bus 5000.
Wherein, above-mentioned input equipment 1000 can be contact panel, common PC, liquid crystal display, touch screen etc..
Above-mentioned memory 4000 can be high-speed RAM memory, or non-labile memory (non-volatile
), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated
Go out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, perform following operation:
Above-mentioned processor 3000, N number of base class function of the code of the application function of taking pictures for obtaining mobile terminal, its
In, N is the integer more than or equal to 1;
Above-mentioned processor 3000, also particularly useful for:
Extract the general character part of N number of base class function;
Above-mentioned processor 3000, also particularly useful for
The general character part of N number of base class function is configured to a new base class function.
In some feasible embodiments, above-mentioned processor 3000 is additionally operable to:
Tupe of the mobile terminal under application of taking pictures is divided into N number of operating process;
N number of operating process is abstracted as N number of base class function.
In some feasible embodiments, above-mentioned processor 3000 is additionally operable to:
Any one operating process j of N number of operating process is expressed as code;
By the code building base class function j of any one operating process j.
In some feasible embodiments, after the general character part for extracting N number of base class function, above-mentioned processor 3000 is also used
In:
Any one base class function i in N number of base class function is removed to the remainder structure after the general character part
A characteristic base class function i is caused, wherein, i is the positive integer less than or equal to N.
In some feasible embodiments, above-mentioned processor 3000 is additionally operable to:
N number of base class function is analyzed, to obtain the function of N number of base class function;
Identical function in the function of N number of base class function is isolated as to the general character of N number of base class function
Part.
In the specific implementation, input equipment 1000, output equipment 2000 and processor described in the embodiment of the present invention
Retouched in each embodiment of the method for information processing described in 3000 executable Fig. 1~Fig. 5 provided in an embodiment of the present invention
The implementation stated, also can perform Fig. 6~Fig. 9 provided in an embodiment of the present invention described by mobile terminal first embodiment~
The implementation of mobile terminal described in fourth embodiment, will not be repeated here.
Module or submodule in all embodiments of the embodiment of the present invention, can pass through universal integrated circuit, such as CPU
(Central Processing Unit, central processing unit), or pass through ASIC (Application Specific
Integrated Circuit, application specific integrated circuit) realize.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program, which can be stored in a computer and can spend, takes storage medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, abbreviation RAM) etc..
Above disclosed is only preferred embodiment of the embodiment of the present invention, certainly can not be of the invention real to limit with this
The interest field of example, therefore the equivalent variations made according to claim of the embodiment of the present invention are applied, still belongs to the embodiment of the present invention and is contained
The scope of lid.
Claims (10)
- A kind of 1. method of information processing, it is characterised in that including:N number of base class function of the code of the application function of taking pictures of mobile terminal is obtained, wherein, N is the integer more than or equal to 1, N number of base class function includes:Preconditioned functions before taking pictures, take pictures in processing function and the processing function after taking pictures, institute The preconditioned functions before taking pictures are stated to be used to realize following at least one function:Adjust brightness, selection mode, exposure time, image Size control, shooting volume;It is described take pictures in processing function be used to realize following at least one function:Adjust brightness, preserve Region, picture name, exposure time, the control of image size, shooting volume;It is described take pictures after processing function be used for realize it is as follows At least one function:Storage zone, picture name, the control of image size, picture beautification;The general character part of N number of base class function is extracted, the general character part is the common function part of N number of base class function Point, the common funtion part controls including at least image size;The general character part of N number of base class function is configured to a new base class function.
- 2. the method as described in claim 1, it is characterised in that the base class function for obtaining mobile terminal under application of taking pictures Before, methods described also includes:Tupe of the mobile terminal under application of taking pictures is divided into N number of operating process;N number of operating process is abstracted as N number of base class function.
- 3. method as claimed in claim 2, it is characterised in that the processing mould by the mobile terminal under application of taking pictures Formula is divided into N number of operating process, and methods described includes:Any one operating process j of N number of operating process is expressed as code;By the code building base class function j of any one operating process j.
- 4. the method as described in any one of claims 1 to 3, it is characterised in that the general character of extraction N number of base class function After part, methods described also includes:Remainder after any one base class function i removings general character part in N number of base class function is configured to One characteristic base class function i, wherein, i is the positive integer less than or equal to N.
- 5. the method as described in any one of claims 1 to 3, it is characterised in that the general character of extraction N number of base class function Part, methods described also include:N number of base class function is analyzed, to obtain the function of N number of base class function;Identical function in the function of N number of base class function is isolated as to the general character part of N number of base class function.
- A kind of 6. mobile terminal, it is characterised in that including:Acquiring unit, N number of base class function of the code of the application function of taking pictures for obtaining mobile terminal, wherein, N to be more than or Integer equal to 1, N number of base class function include:Preconditioned functions before taking pictures, take pictures in processing function and after taking pictures Handle function, it is described take pictures before preconditioned functions be used to realize following at least one function:Adjust brightness, selection mode, exposure Light time is long, image size controls, shooting volume;It is described take pictures in processing function be used to realize following at least one function:Adjust Save brightness, storage zone, picture name, exposure time, the control of image size, shooting volume;It is described take pictures after processing function For realizing following at least one function:Storage zone, picture name, the control of image size, picture beautification;Extraction unit, for extracting the general character part of N number of base class function, the general character part is N number of base class function Common funtion part, the common funtion part comprises at least the control of image size;First structural unit, for the general character part of N number of base class function to be configured into a new base class function.
- 7. mobile terminal as claimed in claim 6, it is characterised in that the mobile terminal also includes:Division unit, for tupe of the mobile terminal under application of taking pictures to be divided into N number of operating process;Abstraction unit, for N number of operating process to be abstracted as into N number of base class function.
- 8. mobile terminal as claimed in claim 7, it is characterised in that the division unit includes:Representation unit, for any one operating process j of N number of operating process to be expressed as into code;Generation unit, for by the code building base class function j of any one operating process j.
- 9. the mobile terminal as described in any one of claim 6~8, it is characterised in that the mobile terminal also includes:Second structural unit, for by after any one base class function i removings general character part in N number of base class function Remainder be configured to a characteristic base class function i, wherein, i is positive integer less than or equal to N.
- 10. the mobile terminal as described in any one of claim 6~8, it is characterised in that the extraction unit includes:Analytic unit, for analyzing N number of base class function, to obtain the function of N number of base class function;Separative element, for identical function in the function of N number of base class function to be isolated as into N number of base class letter Several general character parts.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510167499.XA CN104866303B (en) | 2015-04-09 | 2015-04-09 | The method and mobile terminal of a kind of information processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510167499.XA CN104866303B (en) | 2015-04-09 | 2015-04-09 | The method and mobile terminal of a kind of information processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104866303A CN104866303A (en) | 2015-08-26 |
CN104866303B true CN104866303B (en) | 2018-01-23 |
Family
ID=53912154
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510167499.XA Expired - Fee Related CN104866303B (en) | 2015-04-09 | 2015-04-09 | The method and mobile terminal of a kind of information processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104866303B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111856977B (en) * | 2020-07-31 | 2021-12-07 | 成都新潮传媒集团有限公司 | Control method and device of multimedia terminal and storage medium |
CN113885863A (en) * | 2021-10-21 | 2022-01-04 | 上海波顿诺华智能科技有限公司 | Method, device, electronic equipment and storage medium for realizing SOA (service oriented architecture) service |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677788A (en) * | 2012-09-25 | 2014-03-26 | 深圳市金正方科技股份有限公司 | Reuse framework generating method, device and application system based on J2EE distributed architecture |
CN104407901A (en) * | 2014-12-08 | 2015-03-11 | 北京国双科技有限公司 | Code adding method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10149301A (en) * | 1996-11-19 | 1998-06-02 | Hitachi Ltd | Script generation device |
-
2015
- 2015-04-09 CN CN201510167499.XA patent/CN104866303B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103677788A (en) * | 2012-09-25 | 2014-03-26 | 深圳市金正方科技股份有限公司 | Reuse framework generating method, device and application system based on J2EE distributed architecture |
CN104407901A (en) * | 2014-12-08 | 2015-03-11 | 北京国双科技有限公司 | Code adding method and device |
Also Published As
Publication number | Publication date |
---|---|
CN104866303A (en) | 2015-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2990930B1 (en) | Scraped information providing method and apparatus | |
CN105867925B (en) | Shortcut establishing method and electronic equipment | |
CN106062763B (en) | Method and device for displaying application and picture and electronic equipment | |
CN105426083B (en) | A kind of file switching method and terminal | |
CN103345405A (en) | Application program starting method and device and client | |
CN112269508B (en) | Display method and device and electronic equipment | |
WO2023061280A1 (en) | Application program display method and apparatus, and electronic device | |
CN106372243A (en) | Test question searching method and device applied to electronic terminal | |
CN111602107B (en) | Display method and terminal during application quitting | |
CN112306607A (en) | Screenshot method and device, electronic equipment and readable storage medium | |
CN112148181A (en) | Menu display method and device, electronic equipment and storage medium | |
CN107515707B (en) | Mobile terminal multilevel menu control method and system, storage medium, electronic equipment | |
CN109085982A (en) | content identification method, device and mobile terminal | |
CN108958576A (en) | content identification method, device and mobile terminal | |
CN112162812B (en) | Object adding method and device | |
CN112099714B (en) | Screenshot method and device, electronic equipment and readable storage medium | |
CN113253883A (en) | Application interface display method and device and electronic equipment | |
CN112269506A (en) | Screen splitting method and device and electronic equipment | |
CN106372076B (en) | Method and device for switching web pages in browser | |
CN109857298B (en) | Application starting method, device, equipment and storage medium | |
CN104866303B (en) | The method and mobile terminal of a kind of information processing | |
CN104049846A (en) | Information processing method and electronic device | |
CN112399010B (en) | Page display method and device and electronic equipment | |
CN114090110A (en) | Application program starting method and device and electronic equipment | |
CN112684963A (en) | Screenshot method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180123 |