CN107678983A - A kind of acquisition methods and mobile terminal of camera module data - Google Patents
A kind of acquisition methods and mobile terminal of camera module data Download PDFInfo
- Publication number
- CN107678983A CN107678983A CN201710800799.6A CN201710800799A CN107678983A CN 107678983 A CN107678983 A CN 107678983A CN 201710800799 A CN201710800799 A CN 201710800799A CN 107678983 A CN107678983 A CN 107678983A
- Authority
- CN
- China
- Prior art keywords
- identification information
- camera module
- mobile terminal
- data
- preset data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/102—Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a kind of acquisition methods and mobile terminal of camera module data, it is related to technical field of mobile terminals.The acquisition methods of the camera module data, applied to mobile terminal, including:If detecting, the mobile terminal loads camera module, obtains the identification information of the camera module;According to the identification information, preset data corresponding with the identification information in external data storage system is obtained, the preset data is the offset data of the camera module;The preset data is stored in read-only storage.Such scheme, by the way that the offset data of camera module is uniformly stored in external data storage system, when mobile terminal loads camera module, the offset data corresponding with the identification information of the camera module is obtained in the external data storage system, and store into the read-only storage of mobile terminal, avoided with this increases EEPROM in camera module, reduces the increase of component cost.
Description
Technical field
The present invention relates to technical field of mobile terminals, the acquisition methods of more particularly to a kind of camera module data and movement
Terminal.
Background technology
Minisize pick-up head module is mainly used in consumer electronics product, because each optics (such as complementary metal oxidation
Thing semiconductor transducer (CMOS Sensor), infrared ray (Infrared Radiation, IR) piece, camera lens etc.) between exist it is poor
It is different, cause actual image effect to have differences to make up this kind of difference, be achieved in that by criteria for selection sample (Golden
Sample, GS) camera, then common camera module and GS contrast, variance data are burnt to internal read-only
Inside the electric erazable programmable read-write memory (EEPROM) that memory (ROM) space or module additionally mount, terminal device leads to
Cross and transfer wherein EEPROM data, above difference is compensated by Software tool.
Because CMOS Sensor increase ROM Spaces can cause Sensor appearance and sizes, cost increase, ordinary circumstance is all
Increase EEPROM at module end, therefore bring problems with:
1st, reserved attachment EEPROM spaces and cabling space are needed on PCB circuits, influences camera appearance and size, so that
Have influence on end product design;
2nd, increase EEPROM, which is also implied that, needs to increase component cost, and internal recordable space is limited;
3rd, EEPROM spaces it is limited (relative termination set in ROM Space, it is simply insignificant), to burning content and burning
It is all restricted to record number.
The content of the invention
The embodiment of the present invention provides a kind of acquisition methods and mobile terminal of camera module data, existing to solve
Camera module is in the case where increasing EEPROM, the problem of causing the increase of component cost, and influence camera appearance and size.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of acquisition methods of camera module data, should
For mobile terminal, wherein, the acquisition methods include:
If detecting, the mobile terminal loads camera module, obtains the identification information of the camera module;
According to the identification information, preset data corresponding with the identification information in external data storage system is obtained,
The preset data is the offset data of the camera module;
The preset data is stored in the read-only storage of the mobile terminal.
The embodiment of the present invention also provides a kind of mobile terminal, including:
First acquisition module, if for detecting that the mobile terminal loads camera module, obtain the camera
The identification information of module;
Second acquisition module, for according to the identification information, obtaining in external data storage system and believing with the mark
Preset data corresponding to breath, the preset data are the offset data of the camera module;
Memory module, for the preset data to be stored in the read-only storage of the mobile terminal.
The embodiment of the present invention also provides a kind of mobile terminal, including:Memory, processor and storage are on a memory and can
The computer program run on a processor, above-mentioned shooting head mould is realized when the computer program is by the computing device
The step of acquisition methods of group data.
The embodiment of the present invention also provides a kind of computer-readable recording medium, wherein, the computer-readable recording medium
On be stored with computer program, the computer program realizes the acquisition of above-mentioned camera module data when being executed by processor
The step of method.
The beneficial effects of the invention are as follows:
Such scheme, by the way that the offset data of camera module is uniformly stored in external data storage system, moving
When dynamic terminal loads camera module, obtained in the external data storage system corresponding with the identification information of the camera module
Offset data, and store into the read-only storage of mobile terminal, avoided with this increases EEPROM in camera module,
Reduce the increase of component cost.
Brief description of the drawings
Fig. 1 represents the schematic flow sheet of the acquisition methods of the camera module data of the embodiment of the present invention;
Fig. 2 represents implementation process figure of the acquisition methods in concrete application of the camera module data of inventive embodiments;
Fig. 3 represents one of module diagram of mobile terminal of the embodiment of the present invention;
Fig. 4 represents the two of the module diagram of the mobile terminal of the embodiment of the present invention;
Fig. 5 represents the module diagram of the acquisition submodule of the embodiment of the present invention;
Fig. 6 is the structured flowchart of the mobile terminal of one embodiment of the invention;
Fig. 7 is the structural representation of the mobile terminal of one embodiment of the invention.
Embodiment
It is right below in conjunction with the accompanying drawings and the specific embodiments to make the object, technical solutions and advantages of the present invention clearer
The present invention is described in detail.
The present invention, in the case where increasing EEPROM, causes the increase of component cost for existing camera module, and
The problem of influenceing camera appearance and size, there is provided a kind of acquisition methods and mobile terminal of camera module data.
As shown in figure 1, one embodiment of the invention provides a kind of acquisition methods of camera module data, applied to mobile whole
End, including:
Step 101, if detecting, the mobile terminal loads camera module, obtains the mark of the camera module
Information;
Step 102, according to the identification information, obtain corresponding with the identification information pre- in external data storage system
If data, the preset data is the offset data of the camera module;
Step 103, the preset data is stored in the read-only storage of the mobile terminal.
It should be noted that it is that will need to be burnt to EEPROM compensation in camera module originally in the embodiment of the present invention
Data are protected and arranged, i.e., correspond the identification information (for example, being module ID) of camera module and offset data, are formed
One data set, and the data set is stored in external data storage system, for example, the data-storage system in high in the clouds or specified
Shared data bank system.Mobile terminal obtains corresponding with identification information in the external data storage system according to identification information
Offset data, and the offset data is stored in the read-only storage (ROM) of itself, with this, avoided in EERPOM
Burning offset data, the use of EERPOM components is avoided, reduce camera module cost and the complete machine of mobile terminal
System cost;Meanwhile camera module inner space is reduced, camera module size is reduced, is more beneficial for mobile terminal
Machine system layout.
It should be noted that when camera module loads mobile terminal first, because the shooting is not recorded in mobile terminal
The offset data of head mould group, it is therefore desirable to the offset data is obtained in outside data-storage system, still, works as camera module
Not to load mobile terminal first, for example, the camera module of mobile terminal goes wrong, movement is reloaded after taking out maintenance
Terminal, now because of the offset data of the recorded mistake camera module in mobile terminal, therefore, mobile terminal without again from
The offset data is obtained in external data storage system, specifically, the implementation of step 102 is:
Judge to whether there is the preset data corresponding with the identification information in the read-only storage of mobile terminal;
If the preset data corresponding with the identification information is not present in the read-only storage, obtains external data and deposit
The preset data corresponding with the identification information in storage system;
If the preset data corresponding with the identification information in the read-only storage be present, directly invoke described default
Data.
Above-mentioned implementation, the acquisition that mobile terminal carries out duplicate data is avoided, mobile terminal is reduced and leads to outside
The expense of letter.
Specifically, the side of preset data corresponding with the identification information in acquisition for mobile terminal external data storage system
Formula is:Mobile terminal sends the identification information to external data storage system first;External data storage system is receiving
During the identification information, the preset data corresponding with the identification information is searched from the data of itself storage, meets bar if having found
The preset data of part, then be sent to mobile terminal by the preset data, and mobile terminal directly receives the preset data;It is if outer
Portion's data-storage system has not found qualified preset data, then without the feedback of preset data.
In order to avoid in offset data of the acquisition for mobile terminal less than camera module, and cause camera module unavailable
Situation occur, the acquisition methods of the camera module data of the embodiment of the present invention also include:If mobile terminal does not get institute
The preset data of external data storage system feedback is stated, then camera module is changed in prompting.Such a situation illustrates, works as movement
The identification information for the camera module that terminal is inserted is not noted down in outside data-storage system, then mobile terminal will not obtain
Corresponding offset data is got, now, shows that the camera module is unavailable, it is necessary to change camera module in time, to ensure
Mobile terminal energy normal use camera.
The concrete application of the embodiment of the present invention is described as follows in actual applications below:
In order to can guarantee that the smooth implementation of the embodiment of the present invention, camera module supplier is firstly the need of establishing offset data
With module ID mapping relations, it is implemented as:
Step 201, select camera GS according to existing way and define representative value;
Step 202, common module is contrasted with GS according to existing way, determines burning content (i.e. offset data);
Step 203, it would be desirable to which burning content is corresponded with module ID and stored;
Step 204, it would be desirable to which burning content and module ID are corresponded and uploaded to high in the clouds;
Step 205, One Time Programmable (OTP) is detected before module shipment, it is ensured that burning content is with module ID's
Correspond errorless.
On the basis of the above, the specific implementation process of the embodiment of the present invention is:
Step 206, mobile terminal is after camera is loaded onto, by reading module ID, downloaded from high in the clouds corresponding in burning
Hold, and the burning content is remained into local ROM Space and is called at any time;
Step 207, when changing camera module, judge whether to be stored with local ROM Space and the shooting after replacing
Burning content corresponding to the module ID of head mould group, if in the presence of, execution step 208, normal call;Otherwise, step 206 is performed,
Legacy data is deleted, again from burning data corresponding to the download of high in the clouds.
Step 208, burning content is loaded, generates final effect.
The embodiment of the present invention, by the way that the offset data of camera module is uniformly stored in external data storage system,
When mobile terminal loads camera module, the identification information with the camera module is obtained in the external data storage system
Corresponding offset data, and store into the read-only storage of mobile terminal, avoided with this increases in camera module
EEPROM, reduce the increase of component cost.
As shown in figure 3, the module diagram of the mobile terminal for the embodiment of the present invention, should scheme and combine Fig. 4 extremely below
The mobile terminal of acquisition methods based on the camera module data is specifically described Fig. 5.
The embodiment of the present invention provides a kind of mobile terminal, including:
First acquisition module 301, if for detecting that the mobile terminal loads camera module, obtain the shooting
The identification information of head mould group;
Second acquisition module 302, for according to the identification information, obtain in external data storage system with the mark
Preset data corresponding to information, the preset data are the offset data of the camera module;
Memory module 303, for the preset data to be stored in the read-only storage of the mobile terminal.
Further, second acquisition module 302, including:
Judging submodule 3021, whether there is in the read-only storage for judging mobile terminal and the identification information pair
The preset data answered;
Acquisition submodule 3022, if for the present count corresponding with the identification information to be not present in the read-only storage
According to then obtaining the preset data corresponding with the identification information in external data storage system.
Specifically, the mobile terminal, in addition to:
Calling module 304, if for the preset data corresponding with the identification information in the read-only storage be present,
Directly invoke the preset data.
Specifically, the acquisition submodule 3022, including:
Transmitting element 30221, for sending the identification information to external data storage system;
Receiving unit 30222, for receive the external data storage system find it is corresponding with the identification information
Preset data when, the preset data of feedback.
Alternatively, the mobile terminal, in addition to:
Reminding module 305, if the preset data for not getting the external data storage system feedback, is prompted more
Change camera module.
It should be noted that the mobile terminal embodiment is corresponding with the acquisition methods of above-mentioned camera module data
Mobile terminal, all implementations of the acquisition methods of above-mentioned camera module data are applied to the mobile terminal embodiment
In, it can also reach identical technique effect.
The embodiment of the present invention also provides a kind of mobile terminal, including:Memory, processor and storage are on a memory and can
The computer program run on a processor, realized when the computer program is by the computing device and above-mentioned be applied to move
Each process in the acquisition methods embodiment of the camera module data of dynamic end side, and identical technique effect can be reached,
To avoid repeating, repeat no more here.
The embodiment of the present invention also provides a kind of computer-readable recording medium, wherein, the computer-readable recording medium
On be stored with computer program, the computer program is realized when being executed by processor above-mentioned is applied to taking the photograph for mobile terminal side
As head mould group data acquisition methods embodiment in each process, and identical technique effect can be reached, to avoid repeating, this
In repeat no more.Wherein, described computer-readable recording medium, such as read-only storage (Read-Only Memory, abbreviation
ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc..
As shown in fig. 6, the structured flowchart of the mobile terminal for the embodiment of the present invention.This hair is illustrated with reference to the figure
The application entity of the acquisition methods of bright camera module data.
Mobile terminal 600 as shown in Figure 6 includes:At least one processor 601, memory 602, at least one network connect
Mouth 604 and user interface 603.Each component in mobile terminal 600 is coupled by bus system 605.It is it is understood that total
Linear system system 605 is used to realize the connection communication between these components.Bus system 605 in addition to including data/address bus, in addition to
Power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as in figure 6
Bus system 605.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memory 602 of system and method described herein be intended to including but not limited to these and it is any its
It is adapted to the memory of type.
In some embodiments, memory 602 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 6022, include various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, can be specifically to apply by calling program or the instruction of the storage of memory 602
The program stored in program 6022 or instruction, if processor 601 is used to detect that the mobile terminal loads camera module,
Obtain the identification information of the camera module;According to the identification information, obtain in external data storage system with the mark
Know preset data corresponding to information, the preset data is the offset data of the camera module;The preset data is deposited
Storage is in the read-only storage of the mobile terminal.
The method that the embodiments of the present invention disclose can apply in processor 601, or be realized by processor 601.
Processor 601 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 602, processor 601 read the information in memory 602, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software
Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or
Realized outside processor.
Alternatively, the processor 601 is used for:Judge to whether there is in the read-only storage of mobile terminal and believe with the mark
Preset data corresponding to breath;If the preset data corresponding with the identification information is not present in the read-only storage, obtain
The preset data corresponding with the identification information in external data storage system.
Alternatively, the processor 601 is additionally operable to:If exist in the read-only storage corresponding with the identification information pre-
If data, then the preset data is directly invoked.
Alternatively, the processor 601 is additionally operable to:The identification information is sent to external data storage system;Described in reception
External data storage system is when finding the preset data corresponding with the identification information, the preset data of feedback.
Alternatively, the processor 601 is additionally operable to:If the present count of the external data storage system feedback is not got
According to camera module is changed in then prompting.
Mobile terminal 600 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
The embodiment of the present invention, if detecting that the mobile terminal loads camera module by processor 601, obtain institute
State the identification information of camera module;According to the identification information, obtain in external data storage system with the identification information
Corresponding preset data, the preset data are the offset data of the camera module;The preset data is stored in only
Read in memory;Avoided with this increases EEPROM in camera module, reduces the increase of component cost.
Fig. 7 is the structural representation of the mobile terminal of the embodiment of the present invention.Specifically, the mobile terminal in Fig. 7 can be
Mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 710, memory 720, input block
730th, display unit 740, processor 750, voicefrequency circuit 760, WiFi (Wireless Fidelity) modules 770 and power supply
780。
Wherein, input block 730 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal
User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 730 can be with
Including contact panel 731.Contact panel 731, also referred to as touch-screen, collect touch operation (ratio of the user on or near it
Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 731), and according to setting in advance
Fixed formula drives corresponding attachment means.Optionally, contact panel 731 may include touch detecting apparatus and touch controller two
Individual part.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
Give the processor 750, and the order sent of reception processing device 750 and can be performed.Furthermore, it is possible to using resistance-type, electricity
The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 731.Except contact panel 731, input block 730
Can also include other input equipments 732, other input equipments 732 can include but is not limited to physical keyboard, function key (such as
Volume control button, switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 740 can be used for display by the information of user's input or be supplied to information and the movement of user
The various menu interfaces of terminal.Display unit 740 may include display panel 741, optionally, can use LCD or organic light emission
The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 741.
It should be noted that contact panel 731 can cover display panel 741, touch display screen is formed, when the touch display screen is examined
After measuring the touch operation on or near it, processor 750 is sent to determine the type of touch event, is followed by subsequent processing device
750 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 750 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
Individual part, by running or performing the software program and/or module that are stored in first memory 721, and call and be stored in
Data in second memory 722, the various functions and processing data of mobile terminal are performed, it is overall so as to be carried out to mobile terminal
Monitoring.Optionally, processor 750 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 721 in software program and/or module and/
Or the data in the second memory 722, if processor 750 is used to detect that the mobile terminal loads camera module,
Obtain the identification information of the camera module;According to the identification information, obtain in external data storage system with the mark
Know preset data corresponding to information, the preset data is the offset data of the camera module;The preset data is deposited
Storage is in the read-only storage of the mobile terminal.
Alternatively, processor 750 is additionally operable to:Judge to whether there is in the read-only storage of mobile terminal and believe with the mark
Preset data corresponding to breath;If the preset data corresponding with the identification information is not present in the read-only storage, obtain
The preset data corresponding with the identification information in external data storage system.
Alternatively, processor 750 is additionally operable to:If corresponding with the identification information preset in the read-only storage be present
Data, then directly invoke the preset data.
Alternatively, processor 750 is additionally operable to:The identification information is sent to external data storage system;Receive described outer
Portion's data-storage system is when finding the preset data corresponding with the identification information, the preset data of feedback.
Alternatively, processor 750 is additionally operable to:If not getting the preset data of the external data storage system feedback,
Then camera module is changed in prompting.
The mobile terminal of the embodiment of the present invention can realize each process that mobile terminal is realized in previous embodiment, to keep away
Exempt to repeat, repeat no more here.
The embodiment of the present invention, if detecting that the mobile terminal loads camera module by processor 750, obtain institute
State the identification information of camera module;According to the identification information, obtain in external data storage system with the identification information
Corresponding preset data, the preset data are the offset data of the camera module;The preset data is stored in only
Read in memory;Avoided with this increases EEPROM in camera module, reduces the increase of component cost.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can use complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can use one or more wherein include computer can
With in the computer-usable storage medium (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program
The flow chart and/or block diagram of product describes.It should be understood that can be by computer program instructions implementation process figure and/or block diagram
In each flow and/or square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These can be provided
Computer program instructions are set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to produce a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction is produced for realizing in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The device for the function of specifying.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory produces bag
The manufacture of command device is included, the command device is realized in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented processing, so that
The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows
And/or specified in one square frame of block diagram or multiple square frames function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base
This creative concept, then other change and modification can be made to these embodiments.So appended claims are intended to be construed to
Including preferred embodiment and fall into having altered and changing for range of embodiment of the invention.
It should also be noted that, herein, such as first and second or the like relational terms are used merely to one
Entity or operation make a distinction with another entity or operation, and not necessarily require or imply between these entities or operation
Any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant are intended to contain
Lid nonexcludability includes, so that process, method, article or terminal device including a series of elements not only include that
A little key elements, but also the other element including being not expressly set out, or also include for this process, method, article or
The intrinsic key element of terminal device.In the absence of more restrictions, the key element limited by sentence "including a ...", and
It is not precluded within the process including the key element, method, article or terminal device and other identical element is also present.
Above-described is the preferred embodiment of the present invention, it should be pointed out that is come for the ordinary person of the art
Say, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, and these improvements and modifications also exist
In protection scope of the present invention.
Claims (11)
- A kind of 1. acquisition methods of camera module data, applied to mobile terminal, it is characterised in that the acquisition methods bag Include:If detecting, the mobile terminal loads camera module, obtains the identification information of the camera module;According to the identification information, preset data corresponding with the identification information in external data storage system is obtained, it is described Preset data is the offset data of the camera module;The preset data is stored in the read-only storage of the mobile terminal.
- 2. the acquisition methods of camera module data according to claim 1, it is characterised in that described according to the mark Information, the step of obtaining corresponding with identification information preset data in external data storage system, including:Judge to whether there is the preset data corresponding with the identification information in the read-only storage of mobile terminal;If the preset data corresponding with the identification information is not present in the read-only storage, external data storage system is obtained The preset data corresponding with the identification information in system.
- 3. the acquisition methods of camera module data according to claim 2, it is characterised in that judge movement eventually described After the step of whether there is the preset data corresponding with the identification information in the read-only storage at end, in addition to:If the preset data corresponding with the identification information in the read-only storage be present, the present count is directly invoked According to.
- 4. the acquisition methods of camera module data according to claim 2, it is characterised in that the acquisition external data In storage system the step of the preset data corresponding with the identification information, including:The identification information is sent to external data storage system;The external data storage system is received when finding the preset data corresponding with the identification information, feedback is preset Data.
- 5. the acquisition methods of camera module data according to claim 1 or 2, it is characterised in that in the detection institute After the step of stating the identification information of camera module, in addition to:If not getting the preset data of the external data storage system feedback, prompt to change camera module.
- A kind of 6. mobile terminal, it is characterised in that including:First acquisition module, if for detecting that the mobile terminal loads camera module, obtain the camera module Identification information;Second acquisition module, for according to the identification information, obtain in external data storage system with the identification information pair The preset data answered, the preset data are the offset data of the camera module;Memory module, for the preset data to be stored in the read-only storage of the mobile terminal.
- 7. mobile terminal according to claim 6, it is characterised in that second acquisition module, including:Judging submodule, with the presence or absence of corresponding with the identification information default in the read-only storage for judging mobile terminal Data;Acquisition submodule, if for the preset data corresponding with the identification information to be not present in the read-only storage, obtain Take preset data corresponding with the identification information in external data storage system.
- 8. mobile terminal according to claim 7, it is characterised in that also include:Calling module, if for the preset data corresponding with the identification information in the read-only storage be present, directly adjust With the preset data.
- 9. mobile terminal according to claim 7, it is characterised in that the acquisition submodule, including:Transmitting element, for sending the identification information to external data storage system;Receiving unit, the preset data corresponding with the identification information is being found for receiving the external data storage system When, the preset data of feedback.
- 10. the mobile terminal according to claim 6 or 7, it is characterised in that also include:Reminding module, if the preset data for not getting the external data storage system feedback, prompt to change shooting Head mould group.
- A kind of 11. mobile terminal, it is characterised in that including:Memory, processor and storage are on a memory and can be in processor The computer program of upper operation, the computer program are realized such as any one of claim 1 to 5 during the computing device The step of acquisition methods of described camera module data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710800799.6A CN107678983A (en) | 2017-09-07 | 2017-09-07 | A kind of acquisition methods and mobile terminal of camera module data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710800799.6A CN107678983A (en) | 2017-09-07 | 2017-09-07 | A kind of acquisition methods and mobile terminal of camera module data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107678983A true CN107678983A (en) | 2018-02-09 |
Family
ID=61135486
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710800799.6A Pending CN107678983A (en) | 2017-09-07 | 2017-09-07 | A kind of acquisition methods and mobile terminal of camera module data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107678983A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446086A (en) * | 2018-03-19 | 2018-08-24 | 联想(北京)有限公司 | Show compensation method and electronic equipment |
CN109471117A (en) * | 2018-11-21 | 2019-03-15 | 维沃移动通信(杭州)有限公司 | A kind of terminal device |
CN110032341A (en) * | 2019-04-16 | 2019-07-19 | 昆山丘钛微电子科技有限公司 | A kind of data processing method, device, electronic equipment and the medium of mould group |
CN110046524A (en) * | 2019-04-16 | 2019-07-23 | 昆山丘钛微电子科技有限公司 | A kind of processing method of data, device, electronic equipment and medium |
CN110942486A (en) * | 2019-12-12 | 2020-03-31 | 展讯通信(上海)有限公司 | Method and device for storing camera calibration parameters and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130229756A1 (en) * | 2012-03-02 | 2013-09-05 | David Otto Whitt, III | Flux Fountain |
CN104657292A (en) * | 2015-02-26 | 2015-05-27 | 深圳桑菲消费通信有限公司 | Method and device for separating hardware drive from operating system |
CN105955894A (en) * | 2016-04-29 | 2016-09-21 | 青岛海尔智能家电科技有限公司 | Camera external connection method for intelligent terminal, and intelligent terminal |
-
2017
- 2017-09-07 CN CN201710800799.6A patent/CN107678983A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130229756A1 (en) * | 2012-03-02 | 2013-09-05 | David Otto Whitt, III | Flux Fountain |
CN104657292A (en) * | 2015-02-26 | 2015-05-27 | 深圳桑菲消费通信有限公司 | Method and device for separating hardware drive from operating system |
CN105955894A (en) * | 2016-04-29 | 2016-09-21 | 青岛海尔智能家电科技有限公司 | Camera external connection method for intelligent terminal, and intelligent terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108446086A (en) * | 2018-03-19 | 2018-08-24 | 联想(北京)有限公司 | Show compensation method and electronic equipment |
CN109471117A (en) * | 2018-11-21 | 2019-03-15 | 维沃移动通信(杭州)有限公司 | A kind of terminal device |
CN110032341A (en) * | 2019-04-16 | 2019-07-19 | 昆山丘钛微电子科技有限公司 | A kind of data processing method, device, electronic equipment and the medium of mould group |
CN110046524A (en) * | 2019-04-16 | 2019-07-23 | 昆山丘钛微电子科技有限公司 | A kind of processing method of data, device, electronic equipment and medium |
CN110032341B (en) * | 2019-04-16 | 2022-07-08 | 昆山丘钛微电子科技股份有限公司 | Module data processing method and device, electronic equipment and medium |
CN110942486A (en) * | 2019-12-12 | 2020-03-31 | 展讯通信(上海)有限公司 | Method and device for storing camera calibration parameters and storage medium |
CN110942486B (en) * | 2019-12-12 | 2023-02-28 | 展讯通信(上海)有限公司 | Method and device for storing camera calibration parameters and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107678983A (en) | A kind of acquisition methods and mobile terminal of camera module data | |
CN106844067B (en) | A kind of processing method and mobile terminal of content | |
CN107181913B (en) | A kind of photographic method and mobile terminal | |
CN106506957A (en) | A kind of photographic method and mobile terminal | |
CN103616983B (en) | A kind of picture display method, device and terminal device | |
CN107172346A (en) | A kind of weakening method and mobile terminal | |
CN106713780A (en) | Control method for flash lamp and mobile terminal | |
CN106648035A (en) | Image resolution adjusting method and mobile terminal | |
CN107147852A (en) | Image capturing method, mobile terminal and computer-readable recording medium | |
CN106412457B (en) | A kind of image processing method and mobile terminal | |
CN106293293A (en) | The detection method of a kind of object distance state and mobile terminal | |
CN106780685A (en) | The generation method and terminal of a kind of dynamic picture | |
CN106681603A (en) | Method for adjusting video playing progress and mobile terminal | |
CN106372252A (en) | Picture display method and mobile terminal | |
CN106528889B (en) | A kind of information search method and terminal | |
CN106888354A (en) | A kind of singlehanded photographic method and mobile terminal | |
CN106168894A (en) | A kind of content display method and mobile terminal | |
CN106371739A (en) | Application quick startup method and mobile terminal | |
CN107395926A (en) | A kind of photographic method, mobile terminal and computer-readable recording medium | |
CN106708389B (en) | A kind of method and mobile terminal of control display interface scaling | |
CN107395956A (en) | Determine method, mobile terminal and the computer-readable recording medium of acquisition parameters | |
CN105955528A (en) | Screen unlocking method and mobile terminal | |
CN106973159A (en) | A kind of foreign matter detecting method and mobile terminal | |
CN106530217A (en) | Photo processing method and mobile terminal | |
CN106934052A (en) | A kind of media text handling method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180209 |