CN105635598A - Method and device for realizing compatibility of true and false flashlights - Google Patents

Method and device for realizing compatibility of true and false flashlights Download PDF

Info

Publication number
CN105635598A
CN105635598A CN201610005363.3A CN201610005363A CN105635598A CN 105635598 A CN105635598 A CN 105635598A CN 201610005363 A CN201610005363 A CN 201610005363A CN 105635598 A CN105635598 A CN 105635598A
Authority
CN
China
Prior art keywords
flash lamp
true
false
code
execution code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610005363.3A
Other languages
Chinese (zh)
Inventor
丁学起
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhuoyi Technology Co Ltd
Original Assignee
Shanghai Zhuoyi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhuoyi Technology Co Ltd filed Critical Shanghai Zhuoyi Technology Co Ltd
Priority to CN201610005363.3A priority Critical patent/CN105635598A/en
Publication of CN105635598A publication Critical patent/CN105635598A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/72Combination of two or more compensation controls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/745Detection of flicker frequency or suppression of flicker wherein the flicker is caused by illumination, e.g. due to fluorescent tube illumination or pulsed LED illumination

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stroboscope Apparatuses (AREA)

Abstract

The invention provides a method and a device for realizing compatibility of true and false flashlights. The method comprises the following steps: a first step, respectively obtaining execution codes of the true and false flashlights; a second step, integrating the obtained execution codes of the true and false flashlights; a third step, when receiving a flashlight opening request, reading flashlight chip information, and judging whether the read chip information belongs to the true flashlight or the false flashlight; and a fourth step, if the chip is the true flashlight, executing the code of the true flashlight, and otherwise, executing the code of the false flashlight. The method provided by the invention can be used for integrating the codes to realize the compatibility of true and false flashlights, thereby facilitating the use of users.

Description

A kind of method realizing true and false flash lamp compatibility and device
Technical field
The present invention relates to technical field of telecommunications, particularly relate to a kind of method realizing true and false flash lamp compatibility and device.
Background technology
When people use camera or video camera shoots; often be in night or ambient light effect bad when; therefore outfit auxiliary appliance is typically required to strengthen lighting effects; and flash lamp is as a kind of common light reinforcing device; it is widely used in photography art; along with the raising that photographic effects is required by user, the requirement of flash lamp in photographic goods is also more and more higher.
At present, the competition of mobile phone market is more and more fierce, and for making oneself to survive in keen competition, each producer all does one's utmost to try every possible means and reduces the cost of mobile phone, it is considered to use false flash lamp. But what use on the market at present is all true flash lamp, and the compatibility therefore how realizing true and false flash lamp is problem demanding prompt solution to reduce cost.
Summary of the invention
For the deficiency overcoming above-mentioned prior art to exist, the purpose of the present invention is in that providing a kind of realizes the compatible method of true and false flash lamp and device, and it can pass through code and integrate the compatibility realizing true and false flash lamp, user-friendly.
For reaching above-mentioned and other purpose, the present invention proposes a kind of method realizing true and false flash lamp compatibility, comprises the steps:
Step one, obtains the execution code of true and false flash lamp respectively;
Step 2, integrates the execution code of the true and false flash lamp obtained;
Step 3, when receiving flash lamp and opening request, reads flash lamp chip information, it is judged that reading chip information is for true flash lamp or false flash lamp;
Step 4, if this chip is true flash lamp chip, performs the code of true flash lamp, otherwise then performs the code of false flash lamp.
Further, in step 2, the code that performs of false flash lamp is incorporated into performing in the execution code that code is incorporated into false flash lamp in the execution code of true flash lamp or true flash lamp.
For reaching above-mentioned purpose, the present invention also provides for a kind of method realizing true and false flash lamp compatibility, comprises the steps:
Step one, obtains the execution code of true and false flash lamp respectively;
Step 2, integrates the execution code of the true and false flash lamp obtained;
Step 3, when receiving flash lamp and opening request, performs this true flash lamp successively and adds the code of flash lamp with this.
Further, in step 2, the code that performs of false flash lamp is incorporated into performing in the execution code that code is incorporated into false flash lamp in the execution code of true flash lamp or true flash lamp.
For reaching above-mentioned purpose, the present invention also provides for a kind of system realizing true and false flash lamp compatibility, including:
Code obtaining unit, for obtaining the execution code of true and false flash lamp respectively;
Integral unit, for integrating the execution code of the true and false flash lamp obtained;
Judging unit, in time receiving flash lamp and open request, reads flash lamp chip information, it is judged that reading chip information is for true flash lamp or false flash lamp;
Performance element, in judging that this chip performs the code of true flash lamp when being true flash lamp chip, otherwise performs the code of false flash lamp.
Further, this integral unit is incorporated into performing in the execution code that code is incorporated into false flash lamp in the execution code of true flash lamp or true flash lamp the code that performs of false flash lamp.
For reaching above-mentioned purpose, the present invention also provides for a kind of system realizing true and false flash lamp compatibility, including:
Code obtaining unit, for obtaining the execution code of true and false flash lamp respectively;
Integral unit, for integrating the execution code of the true and false flash lamp obtained;
Performance element, in time receiving flash lamp and open request, performs this true flash lamp successively and adds the code of flash lamp with this.
Further, this integral unit is incorporated into performing in the execution code that code is incorporated into false flash lamp in the execution code of true flash lamp or true flash lamp the code that performs of false flash lamp.
Compared with prior art, the present invention is a kind of realizes the method and system that true and false flash lamp is compatible, and by being integrated by the execution code of true and false flash lamp, it is achieved that the compatibility of true and false flash lamp, method is simple and is very easy to the use of user.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of a kind of the first preferred embodiment realizing the compatible method of true and false flash lamp of the present invention;
Fig. 2 is the flow chart of steps of a kind of the second preferred embodiment realizing the compatible method of true and false flash lamp of the present invention;
Fig. 3 is the system architecture diagram of a kind of the first preferred embodiment realizing the compatible system of true and false flash lamp of the present invention;
Fig. 4 is the system architecture diagram of a kind of the second preferred embodiment realizing the compatible system of true and false flash lamp of the present invention;
Fig. 5 is the flow chart of steps realizing the compatible method of true and false flash lamp in the present invention one specific embodiment;
Fig. 6 is the flow chart of steps realizing the compatible method of true and false flash lamp in another specific embodiment of the present invention.
Detailed description of the invention
Below by way of specific instantiation accompanying drawings embodiments of the present invention, those skilled in the art can be understood further advantage and effect of the present invention easily by content disclosed in the present specification. The present invention also can pass through other different instantiation and be implemented or apply, and the every details in this specification also based on different viewpoints and application, can carry out various modification and change under the spirit without departing substantially from the present invention.
Fig. 1 is the flow chart of steps of a kind of the first preferred embodiment realizing the compatible method of true and false flash lamp of the present invention. As it is shown in figure 1, the present invention is a kind of realizes the method that true and false flash lamp is compatible, comprise the steps:
Step 101, obtains the execution code of true and false flash lamp respectively;
Step 102, integrates the execution code of the true and false flash lamp obtained, and namely the code that performs of false flash lamp is incorporated into performing in code or the execution code of true flash lamp being incorporated in the execution code of false flash lamp of true flash lamp;
Step 103, when receiving flash lamp and opening request, reads flash lamp chip information, it is judged that reading chip information is for true flash lamp or false flash lamp;
Step 104, if this chip is true flash lamp chip, performs the code of true flash lamp, otherwise then performs the code of false flash lamp.
Fig. 2 is the flow chart of steps of a kind of the second preferred embodiment realizing the compatible method of true and false flash lamp of the present invention. As in figure 2 it is shown, the present invention's realizes the method that true and false flash lamp is compatible, comprise the steps:
Step 201, obtains the execution code of true and false flash lamp respectively;
Step 202, integrates the execution code of the true and false flash lamp obtained, and namely the code that performs of false flash lamp is incorporated into performing in code or the execution code of true flash lamp being incorporated in the execution code of false flash lamp of true flash lamp;
Step 203, when receiving flash lamp and opening request, performs this true flash lamp successively and adds the code of flash lamp with this. Now, the code of true and false flash lamp is carried out, and to be so no matter true or false, and flash lamp all can work.
Fig. 3 is the system architecture diagram of a kind of the first preferred embodiment realizing the compatible system of true and false flash lamp of the present invention. As it is shown on figure 3, the present invention is a kind of realizes the system that true and false flash lamp is compatible, including: Code obtaining unit 301, integral unit 302, judging unit 303 and performance element 304.
Wherein, Code obtaining unit 301 is for obtaining the execution code of true and false flash lamp respectively; The integral unit 302 execution code being used for the true and false flash lamp obtained is integrated, and namely the code that performs of false flash lamp is incorporated into performing in code or the execution code of true flash lamp being incorporated in the execution code of false flash lamp of true flash lamp; Judging unit 303, in time receiving flash lamp and open request, reads flash lamp chip information, it is judged that reading chip information is for true flash lamp or false flash lamp; Performance element 304, in judging that this chip performs the code of true flash lamp when being true flash lamp chip, otherwise performs the code of false flash lamp.
Fig. 4 is the system architecture diagram of a kind of the second preferred embodiment realizing the compatible system of true and false flash lamp of the present invention. As shown in Figure 4, the present invention is a kind of realizes the system that true and false flash lamp is compatible, including: Code obtaining unit 401, integral unit 402 and performance element 403.
Wherein, Code obtaining unit 401 is for obtaining the execution code of true and false flash lamp respectively; The integral unit 402 execution code being used for the true and false flash lamp obtained is integrated, and namely the code that performs of false flash lamp is incorporated into performing in code or the execution code of true flash lamp being incorporated in the execution code of false flash lamp of true flash lamp; Performance element 403, in time receiving flash lamp and open request, performs this true flash lamp successively and adds the code of flash lamp with this, now, owing to the code of true and false flash lamp is carried out, to be so no matter true or false, and flash lamp all can work.
Fig. 5 is the flow chart of steps realizing the compatible method of true and false flash lamp in the present invention one specific embodiment. Mobile phone normal operation; When camera or pocket lamp need to use flash lamp, it may be judged whether be true flash lamp chip; If so, then perform the execution code of true flash lamp, true flash lamp normal operation, otherwise, perform the execution code of false flash lamp, false flash lamp normal operation.
Fig. 6 is the flow chart of steps realizing the compatible method of true and false flash lamp in another specific embodiment of the present invention. Mobile phone normal operation; When camera or pocket lamp need to use flash lamp, the code of true and false flash lamp is performed together; If true flash lamp, then true flash lamp normal operation, if false flash lamp, false flash lamp normal operation.
Visible, the present invention is a kind of realizes the method and system that true and false flash lamp is compatible, and by being integrated by the execution code of true and false flash lamp, it is achieved that the compatibility of true and false flash lamp, method is simple and is very easy to the use of user.
Above-described embodiment is illustrative principles of the invention and effect thereof only, not for the restriction present invention. Above-described embodiment all under the spirit and category of the present invention, can carried out modifying and change by any those skilled in the art. Therefore, the scope of the present invention, should as listed by claims.

Claims (8)

1. realize the method that true and false flash lamp is compatible, comprise the steps:
Step one, obtains the execution code of true and false flash lamp respectively;
Step 2, integrates the execution code of the true and false flash lamp obtained;
Step 3, when receiving flash lamp and opening request, reads flash lamp chip information, it is judged that reading chip information is for true flash lamp or false flash lamp;
Step 4, if this chip is true flash lamp chip, performs the code of true flash lamp, otherwise then performs the code of false flash lamp.
2. a kind of as claimed in claim 1 realize the method that true and false flash lamp is compatible, it is characterized in that: in step 2, the code that performs of false flash lamp is incorporated into performing in the execution code that code is incorporated into false flash lamp in the execution code of true flash lamp or true flash lamp.
3. realize the method that true and false flash lamp is compatible, comprise the steps:
Step one, obtains the execution code of true and false flash lamp respectively;
Step 2, integrates the execution code of the true and false flash lamp obtained;
Step 3, when receiving flash lamp and opening request, performs this true flash lamp successively and adds the code of flash lamp with this.
4. a kind of as claimed in claim 3 realize the method that true and false flash lamp is compatible, it is characterized in that: in step 2, the code that performs of false flash lamp is incorporated into performing in the execution code that code is incorporated into false flash lamp in the execution code of true flash lamp or true flash lamp.
5. realize the system that true and false flash lamp is compatible, including:
Code obtaining unit, for obtaining the execution code of true and false flash lamp respectively;
Integral unit, for integrating the execution code of the true and false flash lamp obtained;
Judging unit, in time receiving flash lamp and open request, reads flash lamp chip information, it is judged that reading chip information is for true flash lamp or false flash lamp;
Performance element, in judging that this chip performs the code of true flash lamp when being true flash lamp chip, otherwise performs the code of false flash lamp.
6. a kind of as claimed in claim 5 realize the system that true and false flash lamp is compatible, it is characterised in that: this integral unit false flash lamp perform that code is incorporated into true flash lamp perform performing in the execution code that code is incorporated into false flash lamp in code or true flash lamp.
7. realize the system that true and false flash lamp is compatible, including:
Code obtaining unit, for obtaining the execution code of true and false flash lamp respectively;
Integral unit, for integrating the execution code of the true and false flash lamp obtained;
Performance element, in time receiving flash lamp and open request, performs this true flash lamp successively and adds the code of flash lamp with this.
8. a kind of as claimed in claim 7 realize the system that true and false flash lamp is compatible, it is characterised in that: this integral unit false flash lamp perform that code is incorporated into true flash lamp perform performing in the execution code that code is incorporated into false flash lamp in code or true flash lamp.
CN201610005363.3A 2016-01-05 2016-01-05 Method and device for realizing compatibility of true and false flashlights Pending CN105635598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610005363.3A CN105635598A (en) 2016-01-05 2016-01-05 Method and device for realizing compatibility of true and false flashlights

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610005363.3A CN105635598A (en) 2016-01-05 2016-01-05 Method and device for realizing compatibility of true and false flashlights

Publications (1)

Publication Number Publication Date
CN105635598A true CN105635598A (en) 2016-06-01

Family

ID=56050046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610005363.3A Pending CN105635598A (en) 2016-01-05 2016-01-05 Method and device for realizing compatibility of true and false flashlights

Country Status (1)

Country Link
CN (1) CN105635598A (en)

Similar Documents

Publication Publication Date Title
US11800221B2 (en) Time-lapse shooting method and device
CN109951633B (en) Method for shooting moon and electronic equipment
CN111443884A (en) Screen projection method and device and electronic equipment
US20100103303A1 (en) Method for displaying image by virtual illumination and portable terminal using the same
CN112712470A (en) Image enhancement method and device
KR20150099017A (en) Electronic device and method for processing image
CN110138999B (en) Certificate scanning method and device for mobile terminal
CN106134189A (en) Image processing apparatus, camera head, image processing method and program
US20210409588A1 (en) Method for Shooting Long-Exposure Image and Electronic Device
CN112529645A (en) Picture layout method and electronic equipment
US20190008018A1 (en) Method and apparatus for controlling smart flashlight and smart device
CN108156366A (en) A kind of image capturing method and mobile device based on dual camera
CN108921055A (en) Personal identification method, device, storage medium and electronic equipment
CN115543145A (en) Folder management method and device
CN113723397B (en) Screen capturing method and electronic equipment
CN105635598A (en) Method and device for realizing compatibility of true and false flashlights
CN116055856B (en) Camera interface display method, electronic device, and computer-readable storage medium
CN113497835B (en) Multi-screen interaction method, electronic equipment and computer readable storage medium
CN115701018A (en) Method for safely calling service, method and device for safely registering service
WO2011080383A1 (en) Method and apparatus for illumination
CN205430430U (en) Two -dimensional identification system
CN106341616B (en) Photographing method and mobile terminal
CN115002333B (en) Image processing method and related device
CN113905334B (en) Information sharing method and device
CN116320716B (en) Picture acquisition method, model training method and related devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160601

WD01 Invention patent application deemed withdrawn after publication