CN105611282A - Reminding method of terminal camera state and terminal device - Google Patents

Reminding method of terminal camera state and terminal device Download PDF

Info

Publication number
CN105611282A
CN105611282A CN201510979666.0A CN201510979666A CN105611282A CN 105611282 A CN105611282 A CN 105611282A CN 201510979666 A CN201510979666 A CN 201510979666A CN 105611282 A CN105611282 A CN 105611282A
Authority
CN
China
Prior art keywords
camera
terminal
hardware
user
icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510979666.0A
Other languages
Chinese (zh)
Other versions
CN105611282B (en
Inventor
吴堂志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510979666.0A priority Critical patent/CN105611282B/en
Publication of CN105611282A publication Critical patent/CN105611282A/en
Application granted granted Critical
Publication of CN105611282B publication Critical patent/CN105611282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a reminding method of terminal camera states and a terminal device. The reminding method of terminal camera states comprises following steps of when a terminal is started or when the camera application in the terminal generates a fault, triggering a hardware device in a scanning terminal; obtaining the device information of the hardware device, wherein the device information comprises the type of the hardware device; determining the number of the cameras in a normal working state according to the type of the hardware device; and reminding a user of the camera states in the terminal according to the number of the cameras in the normal working state. In adoption of the embodiment provided by the invention, when the camera use is abnormal, the terminal camera states are judged rapidly; the user is reminded of the terminal camera states; the efficiency is high; and the user experience is improved.

Description

A kind of reminding method of terminal camera state and terminal device
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of reminding method and end of terminal camera stateEnd equipment.
Background technology
Along with scientific and technological development, smart mobile phone is extensively universal in our life, in order to meet user'sRoutine use demand, camera function becomes smart mobile phone indispensability and important function, simultaneously in order to facilitate userUse, in nearly all smart mobile phone, all can dispose front-facing camera and post-positioned pick-up head.
At present, in people are taking pictures process, likely run into the situation that cannot open camera application, produceThe reason of this situation is likely that camera hardware breaks down, and is likely also that asking appears in camera applications softwareTopic. In the time breaking down, user wishes that the very first time can judge camera hardware problem or cameraApplication software problem to be to keep in repair further, and the method for existing failure judgement to be user pass through to intersectExperiment judges, user need to have taking the photograph of fault mobile phone by the camera module of a normal mobile phone and onePicture head mould group is exchanged, more whether the camera module that has fault mobile phone by observations can be normal on normal mobile phoneThereby work judges that whether camera hardware is normal, and obviously, this determination methods is taken the photograph because needs user dismantlesJudge user's complex operation step that deterministic process is related, the length that expends time in, efficiency as a hardwareLow.
Summary of the invention
The embodiment of the present invention provides a kind of method and terminal device of terminal camera malfunction, Ke YiCamera uses while going wrong, and the state of judgement reminding subscriber terminal camera fast promotes user and experiences.
Embodiment of the present invention first aspect provides a kind of reminding method of terminal camera state, comprising:
When in starting up of terminal or terminal, camera applications breaks down, the hardware device in driver sweep terminal alsoObtain the facility information of described hardware device, described facility information comprises the type of described hardware device;
According to the type of described hardware device, determine the quantity of the camera in normal operating conditions;
According to the quantity of the described camera in normal operating conditions, camera in terminal described in prompting userState.
Embodiment of the present invention second aspect provides a kind of terminal device, comprising:
Scanning element, in the time that starting up of terminal or terminal camera applications break down, driver sweep terminalIn hardware device and obtain the facility information of described hardware device, described facility information comprises that described hardware establishesStandby type;
Acquiring unit, for according to the type of described hardware device, determines the shooting in normal operating conditionsThe quantity of head;
Condition prompting unit, for according to the quantity of the described camera in normal operating conditions, points out and usesCamera state in terminal described in family.
Can find out, in the technical scheme providing in the embodiment of the present invention, phase in starting up of terminal or terminalWhen machine application is broken down, the hardware device in driver sweep terminal also obtains facility information, then establish by thisThe type of standby information judges the quantity of the camera in normal work in the hardware device scanning, and carriesShow the hardware fault situation of camera in user terminal, thereby can in the time that camera use goes wrong, sentence fastThe disconnected also state of reminding subscriber terminal camera, promotes user and experiences.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, required in describing embodiment belowThe accompanying drawing using is briefly described, and apparently, the accompanying drawing in the following describes is only of the present inventionSome embodiment, for those of ordinary skill in the art, are not paying under the prerequisite of creative work,Can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is that the flow process of the reminding method of a kind of terminal camera state of providing of first embodiment of the invention is shownIntention;
Fig. 2 is that the flow process of the reminding method of a kind of terminal camera state of providing of second embodiment of the invention is shownIntention;
Fig. 3 is that the flow process of the reminding method of a kind of terminal camera state of providing of third embodiment of the invention is shownIntention;
Fig. 4 is the structural representation of a kind of terminal device of providing of fourth embodiment of the invention;
Fig. 5 is the structural representation of a kind of terminal device of providing of fifth embodiment of the invention;
Fig. 6 is the structural representation of a kind of terminal device of providing of sixth embodiment of the invention.
Detailed description of the invention
The embodiment of the present invention provides a kind of method and terminal device of terminal camera malfunction, Ke YiCamera uses while going wrong, the state of judgement reminding subscriber terminal camera fast, and efficiency is high, promotesUser experiences.
In order to make those skilled in the art person understand better the present invention program, below in conjunction with the invention processAccompanying drawing in example, is clearly and completely described the technical scheme in the embodiment of the present invention, obviously, and instituteThe embodiment describing is the embodiment of a part of the present invention, instead of whole embodiment. In the present inventionEmbodiment, those of ordinary skill in the art do not make under creative work prerequisite, obtain all itsHis embodiment, should belong to the scope of protection of the invention.
Term " first " in description of the present invention and claims and above-mentioned accompanying drawing, " second " and "Three " be etc. for distinguishing different objects, but not for describing particular order. In addition, term " comprise " withAnd their any distortion, intention is to cover not exclusive comprising. Series of steps or unit are for example comprisedProcess, method, system, product or equipment be not defined in step or the unit listed, but optionalGround also comprises step or the unit do not listed, or also comprises alternatively for these processes, method, productOr intrinsic other step or the unit of equipment.
The reminding method of a kind of terminal camera state of the embodiment of the present invention, a kind of terminal camera stateReminding method comprises: when in starting up of terminal or terminal, camera applications breaks down, in driver sweep terminalHardware device also obtains the facility information of described hardware device, and described facility information comprises described hardware deviceType; According to the type of described hardware device, determine the quantity of the camera in normal operating conditions; RootAccording to the quantity of the described camera in normal operating conditions, camera state in terminal described in prompting user.
First referring to Fig. 1, Fig. 1 is the prompting of a kind of terminal camera state of providing of first embodiment of the inventionThe schematic flow sheet of method. Wherein, as shown in Figure 1, a kind of terminal that first embodiment of the invention provides is taken the photographReminding method as head status can comprise:
S101, when in starting up of terminal or terminal, camera applications breaks down, the hardware in driver sweep terminalEquipment also obtains the facility information of described hardware device, and described facility information comprises the type of described hardware device.
Wherein, terminal refers to the intelligent terminal that camera can be installed, can be mobile phone, panel computer, canThe intelligent terminals such as wearing equipment, notebook computer, palm PC, desktop computer.
In embodiments of the present invention, the camera quantity in terminal is 2, be respectively front-facing camera and afterPut camera, separate between two cameras, under normal service condition, when user is in the time taking pictures,Can utilize front-facing camera to take, also can utilize post-positioned pick-up head to take, and user canTo switch between front-facing camera and post-positioned pick-up head in shooting process.
In embodiments of the present invention, in the time that terminal cannot utilize camera normally to take pictures, can be terminalThe software issue of camera applications causes camera normally to start, and now camera hardware is all normal, and also having canEnergy camera applications software is normal, but camera goes wrong, and can go wrong for front-facing camera, orPerson's post-positioned pick-up head goes wrong, or both all go wrong, so can pass through in the embodiment of the present inventionThe quantity of the camera that detection can normally be worked judges that whether camera hardware is normal, further judgesOr the problem of camera applications software causes camera applications normally to make actually camera hardware goes wrongWith.
Alternatively, in possible embodiments more of the present invention, the quantity of this camera can be also 2More than individual.
Alternatively, in possible embodiments more of the present invention, this facility information is established except comprising hardwareBeyond standby type, can also comprise the information such as the equipment Serial Number of hardware device.
Particularly, when the hardware device in end of scan and while obtaining the facility information of hardware device, can scanHardware device in terminal also obtains the equipment Serial Number of hardware device, then from corresponding with this equipment Serial NumberDevice driver in obtain the miscellaneous equipment information that comprises device type of hardware device.
Alternatively, in possible embodiments more of the present invention, terminal is in order to determine the hardware in terminalWhether can normally use, thus can be at every turn customary in the time of start the hardware device in end of scan obtainingThe step of the facility information of hardware device, thus determine that whether the camera in terminal is normal.
Alternatively, in other possible embodiments of the present invention, terminal can cannot in camera applicationsWhen normal startup, start the hardware device in end of scan and obtain the step of the facility information of hardware device,Thereby by the camera in end of scan come camera hardware reason whether cause camera applications in terminal withoutMethod normally starts. For example, when using, user taking pictures application while taking pictures, the application start of taking pictures in terminalFailure or the application start success of taking pictures still cause taking pictures unsuccessfully because take pictures application or camera break downTime, start the hardware device in end of scan and obtain the step of the facility information of hardware device.
Alternatively, in possible embodiments more of the present invention, also can find to take pictures application userGo wrong or experience when not good, carrying out the hardware in driver sweep terminal by clicking default button in terminalEquipment also obtains the step of the facility information of hardware device.
S102, according to the type of described hardware device, determine the quantity of camera in normal operating conditions.
Wherein, refer in the camera of normal operating conditions the shooting that does not have hardware fault normally to useHead, in the time of camera cisco unity malfunction in terminal, user cannot use camera normally to take pictures,Also be that terminal can be because the reason of camera hardware cannot be opened camera.
In embodiments of the present invention, if the quantity of the camera of installing in terminal is on two, can be normalThe quantity of the camera using can be zero, one or two.
Alternatively, in other possible embodiments of the present invention, if the camera of installing in terminalQuantity be N, wherein N is greater than 2 positive integer, the camera that can normally use gettingQuantity can be any one positive integer in 0-N.
S103, according to the quantity of the described camera in normal operating conditions, described in prompting user in terminalCamera state.
Be appreciated that due to what get it is the quantity of the camera that can normally use, so can be by sweepingThe quantity of retouching the camera that can normally use in terminal judges whether the camera of terminal exists hardware faultAnd point out user.
The camera that can come in reminding subscriber terminal by certain mode in an embodiment of the present invention, is depositedIn hardware fault.
Alternatively, in possible embodiments more of the present invention, can answer by changing camera in terminalWith the camera that comes in reminding subscriber terminal of icon there is hardware fault.
Alternatively, in other possible embodiments of the present invention, also can point out by prompting frameThere is hardware fault in the camera in user terminal.
Can find out, in the scheme of the present embodiment, in starting up of terminal or terminal, camera applications breaks downTime, the hardware device in driver sweep terminal also obtains facility information, then sentence by the type of this facility informationThe quantity of the camera in normal work in the disconnected hardware device scanning, and take the photograph in reminding subscriber terminalThe hardware fault situation of picture head, thus can in the time that camera use goes wrong, judge fast and point out user eventuallyThe state of end camera, efficiency is high, promotes user and experiences.
Alternatively, in possible embodiments more of the present invention, described in described basis in normal workThe quantity of the camera of state, camera state in terminal described in prompting user, comprising:
The quantity of the described camera in normal operating conditions is zero, hides the camera in described terminalApplication icon or described camera applications icon are set to the first preset icon, to point out described in user in terminalCamera all there is hardware fault.
Wherein, the first preset icon refers to the shooting that all has hardware fault for the camera of marking terminalThe icon kind of head.
Alternatively, in possible embodiments more of the present invention, the first preset icon can be by cameraApplication icon is set to default color, as grey.
Alternatively, in other possible embodiments of the present invention, can be also at camera applications iconOn add special identifier symbol to occur hardware fault with the camera in reminding subscriber terminal, for example, Ke YiAll there is hardware fault in the camera on camera applications icon in the symbol prompting user terminal of mark " X ".
Alternatively, in possible embodiments more of the present invention, also can be convenient to judge terminal for otherIn camera there is the camera applications icon of hardware fault.
Alternatively, in other possible embodiments of the present invention, also can point out by alternate mannerThere is hardware fault in the camera in this terminal of user, for example, can scan taking the photograph that terminal can normally useThe quantity of picture head is 1 o'clock, and the camera sending in prompting frame reminding subscriber terminal all exists hardware fault.
Be appreciated that being set to one by hiding camera applications icon or camera applications icon is convenient to userDistinguish the icon whether camera breaks down, thereby can conveniently point out the camera of this terminal of user all to existHardware fault, so that user judges software issue or the hardware problem of terminal easily.
Alternatively, in possible embodiments more of the present invention, if described terminal comprises front-facing cameraAnd post-positioned pick-up head, it is characterized in that, the quantity of the camera in normal operating conditions described in described basis,Camera state in terminal described in prompting user, comprising:
The quantity of the described camera in normal operating conditions is one, by camera applications in described terminalFront camera and rear camera switching push button be set to default color, with point out described in user front-facing camera or described afterPut camera and have hardware fault.
Be appreciated that in the time that the quantity of the camera that can normally use scanning is one, by by cameraFront camera and rear camera switching push button in application is set to default color, thereby user can pass through this default chromatic zonesDivide front-facing camera or post-positioned pick-up head to have hardware fault, facilitate user to judge rapidly the shooting in terminalThe hardware problem of head.
Alternatively, in possible embodiments more of the present invention, this default color can be grey, tableShow that front camera and rear camera switching push button is unavailable, thus can represent in preposition or post-positioned pick-up head some go outExisting hardware fault.
Alternatively, in other possible embodiments of the present invention, this default color can be also otherThe color that can identify for user.
Alternatively, in possible embodiments more of the present invention, the shooting that can normally use in terminalWhen the quantity of head is one, also can point out user preposition camera or post-positioned pick-up head to deposit by alternate mannerIn hardware fault, for example, the front camera and rear camera switching key in can camera applications icon is set to other,Or send prompting frame to point out user preposition camera or post-positioned pick-up head to have hardware fault.
Alternatively, in possible embodiments more of the present invention, described method also comprises:
If the quantity of the camera in normal operating conditions is one, obtain the equipment order of described cameraRow number;
If described equipment Serial Number mates with described front-facing camera, by described front camera and rear camera switching push buttonBe set to the second preset icon, to point out front-facing camera described in user to have hardware fault.
Wherein, the second preset icon be terminal set in advance for pointing out user preposition camera to have hardwareThe icon of fault.
Wherein, equipment Serial Number refers to an intrinsic and unique parameter of hardware device, and different hardware are establishedStandby sequence number is all different, so the sequence number of hardware device can be used as unique identity of each hardware deviceIdentification. The equipment Serial Number of hardware device solidifies the read-only storage that is stored in hardware device in the time that hardware dispatches from the factoryIn device, when needed, can read this equipment Serial Number by reading in the read-only storage of hardware device.
Alternatively, in possible embodiments more of the present invention, also can be by the camera scanningParameter and by this parameter with mate with the relevant parameter of front-facing camera. Its a little parameter and hardware deviceThe memory location difference of equipment Serial Number, is generally in the drive software that is stored in hardware device, when needed,Can from the drive software of this hardware device, read.
Alternatively, in possible embodiments more of the present invention, this second preset icon can be formerIn front camera and rear camera switching push button, add an empty circles.
Alternatively, in other possible embodiments of the present invention, this second preset icon can be alsoOther is convenient to user and identifies front-facing camera and exist the icon of hardware fault.
In embodiments of the present invention, due to each the camera hardware device in terminal, all canThere is equipment Serial Number, so can, in the time that the quantity of the camera that can normally use scanning is one, enterOne step judges that by this equipment Serial Number this camera that can normally use is front-facing camera or rearmounted shootingHead.
Be appreciated that to similar above, judge by the equipment Serial Number of camera in terminal can be normalThe camera using, can be by cutting front camera and rear camera specifically after front-facing camera or post-positioned pick-up headChange the mode that button is set to the second preset icon and point out user preposition camera to break down, thereby user canJudge by this second preset icon that easily the front-facing camera in terminal breaks down.
Alternatively, in possible embodiments more of the present invention, described method also comprises:
If the quantity of the described camera in normal operating conditions is one, obtain establishing of described cameraStandby sequence number;
If described equipment Serial Number mates with described post-positioned pick-up head, by described front camera and rear camera switching push buttonBe set to the 3rd preset icon, to point out post-positioned pick-up head described in user to have hardware fault.
Wherein, the 3rd preset icon be terminal set in advance for pointing out user's post-positioned pick-up head to have hardwareThe icon of fault.
Alternatively, in possible embodiments more of the present invention, also can be by the camera scanningParameter is also mated this parameter with the relevant parameter of post-positioned pick-up head.
Alternatively, in possible embodiments more of the present invention, the 3rd preset icon can be formerIn front camera and rear camera switching push button, add a solid circles.
Alternatively, in other possible embodiments of the present invention, the 3rd preset icon can be alsoOther is convenient to user and identifies post-positioned pick-up head and exist the icon of hardware fault.
Alternatively, the first preset icon, the second preset icon and the 3rd preset icon can be identical.
Preferably, the first preset icon, the second preset icon and the 3rd preset icon difference, thus be convenient toUser judges hardware state easily according to icon.
Preferably, the 3rd preset icon and the second preset icon need different, pass through thereby can be convenient to userActually front camera and rear camera switching push button judges that or front-facing camera post-positioned pick-up head goes wrong, for example,When the second preset icon is that add empty circles on former button time, the 3rd preset icon can be solid for addingCircle, and when the second preset icon when adding solid circles on former button, the 3rd preset icon can beAdd solid circles.
In embodiments of the present invention, due to each the camera hardware device in terminal, all canThere is equipment Serial Number, so can, in the time that the quantity of the camera that can normally use scanning is one, enterOne step judges that by this equipment Serial Number this camera that can normally use is front-facing camera or rearmounted shootingHead.
Be appreciated that to similar above, judge by the equipment Serial Number of camera in terminal can be normalThe camera using, can be by cutting front camera and rear camera specifically after front-facing camera or post-positioned pick-up headChange the mode that button is set to the 3rd preset icon and point out user's post-positioned pick-up head to break down, thereby user canJudge by the 3rd preset icon that easily the post-positioned pick-up head in terminal breaks down.
Alternatively, in possible embodiments more of the present invention, in terminal, take the photograph described in described prompting userThe hardware fault situation of picture head, also comprises:
If the quantity of the described camera in normal operating conditions is two, by the camera in described terminalFront camera and rear camera switching key in application icon and described camera applications all normally shows, to point out user instituteAll there is not hardware fault in the camera device of stating in terminal.
The quantity of the camera that can normally use scanning if be appreciated that is two, illustrates in terminalCamera there is not hardware fault, so do not need profit point out in any way user's where is it hardware thereforeBarrier, therefore all normally demonstrations of camera applications icon and front camera and rear camera switching push button represent that hardware is normal, ifNow terminal camera can not normally use, and illustrates that terminal exists software issue.
Alternatively, in possible embodiments more of the present invention, if the camera quantity in terminal is NIndividual, in the quantity of the camera that may normally use scanning during for N, the camera applications figure in terminalFront camera and rear camera switching key in mark and described camera applications is normally demonstration all, to point out terminal described in userIn camera device all there is not hardware fault.
Need explanation, after the camera fault scanning in terminal, be not limited to aforesaid way prompting user eventuallyCamera in end breaks down, can point out in any user mode easy to identify, for example, frontWhile putting in camera or post-positioned pick-up head some breaking down, before not necessarily leaveing no choice but start camera applications and observingRear camera switching push button just can judge, also can by generate on the table other icon or with otherMode judges.
For the ease of the better such scheme of understanding and implementing the embodiment of the present invention, concrete below in conjunction with someApplication scenarios is illustrated.
Refer to Fig. 2, Fig. 2 is the prompting side of a kind of terminal camera state of providing of second embodiment of the inventionThe schematic flow sheet of method, wherein, as shown in Figure 2, a kind of terminal shooting that second embodiment of the invention providesThe reminding method of head status can comprise:
S201, when in starting up of terminal or terminal, camera applications breaks down, the hardware in driver sweep terminalEquipment also obtains the facility information of hardware device.
Wherein, facility information comprises the type of described hardware device.
Alternatively, in possible embodiments more of the present invention, this facility information is established except comprising hardwareBeyond standby type, can also comprise the information such as the equipment Serial Number of hardware device.
Particularly, when the hardware device in end of scan and while obtaining the facility information of hardware device, can scanHardware device in terminal also obtains the equipment Serial Number of hardware device, then from corresponding with this equipment Serial NumberDevice driver in obtain the miscellaneous equipment information that comprises device type of hardware device.
Wherein, terminal refers to the intelligent terminal that camera can be installed, can be mobile phone, panel computer, canThe intelligent terminals such as wearing equipment, notebook computer, palm PC, desktop computer.
In embodiments of the present invention, the camera quantity in terminal is 2, be respectively front-facing camera and afterPut camera, separate between two cameras, under normal service condition, when user is in the time taking pictures,Can utilize front-facing camera to take, also can utilize post-positioned pick-up head to take, and user canTo switch between front-facing camera and post-positioned pick-up head in shooting process.
In embodiments of the present invention, in the time that terminal cannot utilize camera normally to take pictures, can be terminalThe software issue of camera applications causes camera normally to start, and now camera hardware is all normal, and also having canEnergy camera applications software is normal, but camera goes wrong, and can go wrong for front-facing camera, orPerson's post-positioned pick-up head goes wrong, or both all go wrong, so can pass through in the embodiment of the present inventionThe quantity of the camera that detection can normally be worked judges that whether camera hardware is normal, further judgesOr the problem of camera applications software causes camera applications normally to make actually camera hardware goes wrongWith.
Alternatively, in possible embodiments more of the present invention, the quantity of this camera can be also 2More than individual.
Alternatively, in possible embodiments more of the present invention, terminal is in order to determine the hardware in terminalWhether can normally use, thus can be at every turn customary in the time of start the hardware device in end of scan obtainingThe step of the facility information of hardware device, thus determine that whether the camera in terminal is normal.
Alternatively, in other possible embodiments of the present invention, terminal can cannot in camera applicationsWhen normal startup, start the hardware device in end of scan and obtain the step of the facility information of hardware device,Thereby by the camera in end of scan come camera hardware reason whether cause camera applications in terminal withoutMethod normally starts. For example, when using, user taking pictures application while taking pictures, the application start of taking pictures in terminalFailure or the application start success of taking pictures still cause taking pictures unsuccessfully because take pictures application or camera break downTime, start the hardware device in end of scan and obtain the step of the facility information of hardware device.
Alternatively, in possible embodiments more of the present invention, also can find to take pictures application userGo wrong or experience when not good, carrying out the hardware in driver sweep terminal by clicking default button in terminalEquipment also obtains the step of the facility information of hardware device.
S202, according to the type of hardware device, determine the quantity of camera in normal operating conditions.
Wherein, refer in the camera of normal operating conditions the shooting that does not have hardware fault normally to useHead, in the time of camera cisco unity malfunction in terminal, user cannot use camera normally to take pictures,Also be that terminal can be because the reason of camera hardware cannot be opened camera.
In embodiments of the present invention, if the quantity of the camera of installing in terminal is on two, can be normalThe quantity of the camera using can be zero, one or two.
Alternatively, in other possible embodiments of the present invention, if the camera of installing in terminalQuantity be N, wherein N is greater than 2 positive integer, the camera that can normally use gettingQuantity can be any one positive integer in 0-N.
S203, in the time that the quantity of the camera in normal operating conditions is zero, the camera in concealed terminalApplication icon or camera applications icon are set to the first preset icon, with the camera in reminding subscriber terminalAll there is hardware fault.
Be appreciated that due to what get it is the quantity of the camera in normal operating conditions, therefore this quantityBe 1 o'clock, illustrate that camera all exists hardware fault, so can be by can normally using in end of scanThe quantity of camera judge whether the camera of terminal exists hardware fault.
Wherein, the first preset icon refers to the shooting that all has hardware fault for the camera of marking terminalThe icon kind of head.
Alternatively, in possible embodiments more of the present invention, the first preset icon can be by cameraApplication icon is set to default color, as grey.
Alternatively, in other possible embodiments of the present invention, can be also at camera applications iconOn add special identifier symbol to occur hardware fault with the camera in reminding subscriber terminal, for example, Ke YiAll there is hardware fault in the camera on camera applications icon in the symbol prompting user terminal of mark " X ".
Alternatively, in possible embodiments more of the present invention, also can be convenient to judge terminal for otherIn camera there is the camera applications icon of hardware fault.
Alternatively, in other possible embodiments of the present invention, also can point out by alternate mannerThere is hardware fault in the camera in this terminal of user, for example, can scan taking the photograph that terminal can normally useThe quantity of picture head is 1 o'clock, and the camera sending in prompting frame reminding subscriber terminal all exists hardware fault.
Be appreciated that being set to one by hiding camera applications icon or camera applications icon is convenient to userDistinguish the icon whether camera breaks down, thereby can conveniently point out the camera of this terminal of user all to existHardware fault, so that user judges software issue or the hardware problem of terminal easily.
Can find out, in the scheme of the present embodiment, in starting up of terminal or terminal, camera applications breaks downTime, the hardware device in driver sweep terminal also obtains facility information, then sentence by the type of this facility informationThe quantity of the camera in normal work in the disconnected hardware device scanning, and take the photograph in reminding subscriber terminalThe hardware fault situation of picture head, thus can in the time that camera use goes wrong, judge fast and point out user eventuallyThe state of end camera, efficiency is high, promotes user and experiences.
Refer to Fig. 3, Fig. 3 is the prompting side of a kind of terminal camera state of providing of third embodiment of the inventionThe schematic flow sheet of method, wherein, as shown in Figure 3, a kind of terminal shooting that third embodiment of the invention providesThe reminding method of head status can comprise:
S301, when in starting up of terminal or terminal, camera applications breaks down, the hardware in driver sweep terminalEquipment also obtains the facility information of hardware device.
Wherein, facility information comprises the type of described hardware device.
Alternatively, in possible embodiments more of the present invention, this facility information is established except comprising hardwareBeyond standby type, can also comprise the information such as the equipment Serial Number of hardware device.
Particularly, when the hardware device in end of scan and while obtaining the facility information of hardware device, can scanHardware device in terminal also obtains the equipment Serial Number of hardware device, then from corresponding with this equipment Serial NumberDevice driver in obtain the miscellaneous equipment information that comprises device type of hardware device.
Wherein, terminal refers to the intelligent terminal that camera can be installed, can be mobile phone, panel computer, canThe intelligent terminals such as wearing equipment, notebook computer, palm PC, desktop computer.
In embodiments of the present invention, the camera quantity in terminal is 2, be respectively front-facing camera and afterPut camera, separate between two cameras, under normal service condition, when user is in the time taking pictures,Can utilize front-facing camera to take, also can utilize post-positioned pick-up head to take, and user canTo switch between front-facing camera and post-positioned pick-up head in shooting process.
In embodiments of the present invention, in the time that terminal cannot utilize camera normally to take pictures, can be terminalThe software issue of camera applications causes camera normally to start, and now camera hardware is all normal, and also having canEnergy camera applications software is normal, but camera goes wrong, and can go wrong for front-facing camera, orPerson's post-positioned pick-up head goes wrong, or both all go wrong, so can pass through in the embodiment of the present inventionThe quantity of the camera that detection can normally be worked judges that whether camera hardware is normal, further judgesOr the problem of camera applications software causes camera applications normally to make actually camera hardware goes wrongWith.
Alternatively, in possible embodiments more of the present invention, the quantity of this camera also can 2Above.
Alternatively, in possible embodiments more of the present invention, terminal is in order to determine the hardware in terminalWhether can normally use, thus can be at every turn customary in the time of start the hardware device in end of scan obtainingThe step of the facility information of hardware device, thus determine that whether the camera in terminal is normal.
Alternatively, in other possible embodiments of the present invention, terminal can cannot in camera applicationsWhen normal startup, start the hardware device in end of scan and obtain the step of the facility information of hardware device,Thereby by the camera in end of scan come camera hardware reason whether cause camera applications in terminal withoutMethod normally starts. For example, when using, user taking pictures application while taking pictures, the application start of taking pictures in terminalFailure or the application start success of taking pictures still cause taking pictures unsuccessfully because take pictures application or camera break downTime, start the hardware device in end of scan and obtain the step of the facility information of hardware device.
Alternatively, in possible embodiments more of the present invention, also can find to take pictures application userGo wrong or experience when not good, carrying out the hardware in driver sweep terminal by clicking default button in terminalEquipment also obtains the step of the facility information of hardware device.
S302, according to the type of hardware device, determine the quantity of camera in normal operating conditions.
Wherein, refer in the camera of normal operating conditions the shooting that does not have hardware fault normally to useHead, in the time of camera cisco unity malfunction in terminal, user cannot use camera normally to take pictures,Also be that terminal can be because the reason of camera hardware cannot be opened camera.
In embodiments of the present invention, if the quantity of the camera of installing in terminal is on two, can be normalThe quantity of the camera using can be zero, one or two.
Alternatively, in other possible embodiments of the present invention, if the camera of installing in terminalQuantity be N, wherein N is greater than 2 positive integer, the camera that can normally use gettingQuantity can be any one positive integer in 0-N.
The quantity of S303, the described camera in normal operating conditions is one, by phase in described terminalThe front camera and rear camera switching push button of machine application is set to default color, with point out described in user front-facing camera orThere is hardware fault in described post-positioned pick-up head.
Be appreciated that in the time that the quantity of the camera that can normally use scanning is one, by by cameraFront camera and rear camera switching push button in application is set to default color, thereby user can pass through this default chromatic zonesDivide front-facing camera or post-positioned pick-up head to have hardware fault, facilitate user to judge rapidly the shooting in terminalThe hardware problem of head.
Alternatively, in possible embodiments more of the present invention, this default color can be grey, tableShow that front camera and rear camera switching push button is unavailable, thus can represent in preposition or post-positioned pick-up head some go outExisting hardware fault.
Alternatively, in other possible embodiments of the present invention, this default color can be also otherThe color that can identify for user.
Alternatively, in possible embodiments more of the present invention, the shooting that can normally use in terminalWhen the quantity of head is one, also can point out user preposition camera or post-positioned pick-up head to deposit by alternate mannerIn hardware fault, for example, the front camera and rear camera switching key in can camera applications icon is set to other,Or send prompting frame to point out user preposition camera or post-positioned pick-up head to have hardware fault.
Alternatively, in possible embodiments more of the present invention, described method also comprises:
If described quantity is one, obtain unique identification code or the parameter of described camera;
If described unique identifier or parameter are mated with described front-facing camera, described front camera and rear camera is cutChange button and be set to the second preset icon, to point out front-facing camera described in user to have hardware fault.
Wherein, the second preset icon be terminal set in advance for pointing out user preposition camera to have hardwareThe icon of fault.
Alternatively, in possible embodiments more of the present invention, this second preset icon can be formerIn front camera and rear camera switching push button, add an empty circles.
Alternatively, in other possible embodiments of the present invention, this second preset icon can be alsoOther is convenient to user and identifies front-facing camera and exist the icon of hardware fault.
In embodiments of the present invention, due to each the camera hardware device in terminal, all canThere is unique identification code or parameter, so can be one in the quantity of the camera that can normally use scanningWhen individual, further judge that by this unique identification code or parameter this camera that can normally use is prepositionCamera or post-positioned pick-up head.
Be appreciated that to similar above, the unique identification code parameters by camera judge in terminal canThe normal camera using, can be by making a video recording front and back specifically after front-facing camera or post-positioned pick-up headSwitching push button is set to the mode of the second preset icon and points out user preposition camera to break down, thereby usesFamily can judge that the front-facing camera in terminal breaks down easily by this second preset icon.
Alternatively, in possible embodiments more of the present invention, described method also comprises:
If described quantity is one, obtain unique identification code or the parameter of described camera;
If described unique identifier or parameter are mated with described front-facing camera, described front camera and rear camera is cutChange button and be set to the second preset icon, to point out front-facing camera described in user to have hardware fault.
Wherein, the 3rd preset icon be terminal set in advance for pointing out user's post-positioned pick-up head to have hardwareThe icon of fault.
Alternatively, in possible embodiments more of the present invention, the 3rd preset icon can be formerIn front camera and rear camera switching push button, add a solid circles.
Alternatively, in other possible embodiments of the present invention, the 3rd preset icon can be alsoOther is convenient to user and identifies post-positioned pick-up head and exist the icon of hardware fault.
Alternatively, the first preset icon, the second preset icon and the 3rd preset icon can be identical.
Preferably, the first preset icon, the second preset icon and the 3rd preset icon difference, thus be convenient toUser judges hardware state easily according to icon.
Preferably, the 3rd preset icon and the second preset icon need different, pass through thereby can be convenient to userActually front camera and rear camera switching push button judges that or front-facing camera post-positioned pick-up head goes wrong, for example,When the second preset icon is that add empty circles on former button time, the 3rd preset icon can be solid for addingCircle, and when the second preset icon when adding solid circles on former button, the 3rd preset icon can beAdd solid circles.
In embodiments of the present invention, due to each the camera hardware device in terminal, all canThere is unique identification code or parameter, so can be one in the quantity of the camera that can normally use scanningWhen individual, further judge that by this unique identification code or parameter this camera that can normally use is prepositionCamera or post-positioned pick-up head.
Be appreciated that to similar above, the unique identification code parameters by camera judge in terminal canThe normal camera using, can be by making a video recording front and back specifically after front-facing camera or post-positioned pick-up headSwitching push button is set to the mode of the 3rd preset icon and points out user's post-positioned pick-up head to break down, thereby usesFamily can judge that the post-positioned pick-up head in terminal breaks down easily by the 3rd preset icon.
Can find out, in the scheme of the present embodiment, in starting up of terminal or terminal, camera applications breaks downTime, the hardware device in driver sweep terminal also obtains facility information, then sentence by the type of this facility informationThe quantity of the camera in normal work in the disconnected hardware device scanning, and take the photograph in reminding subscriber terminalThe hardware fault situation of picture head, thus can in the time that camera use goes wrong, judge fast and point out user eventuallyThe state of end camera, efficiency is high, promotes user and experiences.
Lift again a more specifically application scenarios below.
Illustrate, if when front-facing camera and post-positioned pick-up head are installed in mobile phone, when user wants to use phaseWhen machine application is taken pictures, find that camera applications cannot normally be used, now user can select to restart handMachine, mobile phone starts to start the camera in scanning cell phone, and obtains the quantity of the camera that can normally use.
If after handset starting, on mobile phone desktop, original camera applications icon disappears, and now illustrates that mobile phone takes the photographGo wrong as a hardware, user can repair or change camera.
If after handset starting, the camera applications icon on mobile phone desktop still exists, but opens camera applicationsAfter, camera applications still cannot normally be used, and the front camera and rear camera switching push button of camera applications is grey,Illustrating now in front-facing camera or post-positioned pick-up head has to have a fault.
If after handset starting, the camera applications icon on mobile phone desktop normally shows, and opens respective applicationTime, although cannot normally use and display frame, front camera and rear camera switching push button normally shows, saysThere is not hardware fault in the camera in bright terminal, user can select to investigate software fault.
The embodiment of the present invention also provides a kind of terminal device, and this terminal device comprises:
Scanning element, in the time that starting up of terminal or terminal camera applications break down, driver sweep terminalIn hardware device and obtain the facility information of described hardware device, described facility information comprises that described hardware establishesStandby type;
Acquiring unit, for according to the type of described hardware device, determines the shooting in normal operating conditionsThe quantity of head;
Condition prompting unit, for according to the quantity of the described camera in normal operating conditions, points out and usesCamera state in terminal described in family.
Concrete, refer to Fig. 4, Fig. 4 is the structure of a kind of terminal device of providing of fourth embodiment of the inventionSchematic diagram, for realizing the reminding method of the disclosed terminal camera state of the embodiment of the present invention. Wherein, asShown in Fig. 4, a kind of terminal device 400 that fourth embodiment of the invention provides can comprise:
Scanning element 410, acquiring unit 420 and condition prompting unit 430.
Wherein, scanning element 410, in the time that starting up of terminal or terminal camera applications break down, triggersHardware device in end of scan also obtains the facility information of described hardware device, and described facility information comprises instituteState the type of hardware device.
Wherein, terminal refers to the intelligent terminal that camera can be installed, can be mobile phone, panel computer, canThe intelligent terminals such as wearing equipment, notebook computer, palm PC, desktop computer.
In embodiments of the present invention, the camera quantity in terminal is 2, be respectively front-facing camera and afterPut camera, separate between two cameras, under normal service condition, when user is in the time taking pictures,Can utilize front-facing camera to take, also can utilize post-positioned pick-up head to take, and user canTo switch between front-facing camera and post-positioned pick-up head in shooting process.
In embodiments of the present invention, in the time that terminal cannot utilize camera normally to take pictures, can be terminalThe software issue of camera applications causes camera normally to start, and now camera hardware is all normal, and also having canEnergy camera applications software is normal, but camera goes wrong, and can go wrong for front-facing camera, orPerson's post-positioned pick-up head goes wrong, or both all go wrong, so can pass through in the embodiment of the present inventionThe quantity of the camera that detection can normally be worked judges that whether camera hardware is normal, further judgesOr the problem of camera applications software causes camera applications normally to make actually camera hardware goes wrongWith.
Alternatively, in possible embodiments more of the present invention, the quantity of this camera also can 2Above.
Alternatively, in possible embodiments more of the present invention, this facility information is established except comprising hardwareBeyond standby type, can also comprise the information such as the equipment Serial Number of hardware device.
Particularly, when the hardware device in end of scan and while obtaining the facility information of hardware device, can scanHardware device in terminal also obtains the equipment Serial Number of hardware device, then from corresponding with this equipment Serial NumberDevice driver in obtain the miscellaneous equipment information that comprises device type of hardware device.
Alternatively, in possible embodiments more of the present invention, terminal is in order to determine the hardware in terminalWhether can normally use, thus can be at every turn customary in the time of start the hardware device in end of scan obtainingThe step of the facility information of hardware device, thus determine that whether the camera in terminal is normal.
Alternatively, in other possible embodiments of the present invention, terminal can cannot in camera applicationsWhen normal startup, start the hardware device in end of scan and obtain the step of the facility information of hardware device,Thereby by the camera in end of scan come camera hardware reason whether cause camera applications in terminal withoutMethod normally starts. For example, when using, user taking pictures application while taking pictures, the application start of taking pictures in terminalFailure or the application start success of taking pictures still cause taking pictures unsuccessfully because take pictures application or camera break downTime, start the hardware device in end of scan and obtain the step of the facility information of hardware device.
Alternatively, in possible embodiments more of the present invention, also can find to take pictures application userGo wrong or experience when not good, carrying out the hardware in driver sweep terminal by clicking default button in terminalEquipment also obtains the step of the facility information of hardware device.
Acquiring unit 420, for according to the type of described hardware device, determines taking the photograph in normal operating conditionsThe quantity of picture head.
Wherein, refer in the camera of normal operating conditions the shooting that does not have hardware fault normally to useHead, in the time of camera cisco unity malfunction in terminal, user cannot use camera normally to take pictures,Also be that terminal can be because the reason of camera hardware cannot be opened camera.
In embodiments of the present invention, if the quantity of the camera of installing in terminal is on two, can be normalThe quantity of the camera using can be zero, one or two.
Alternatively, in other possible embodiments of the present invention, if the camera of installing in terminalQuantity be N, wherein N is greater than 2 positive integer, the camera that can normally use gettingQuantity can be any one positive integer in 0-N.
Condition prompting unit 430, for according to the quantity of the described camera in normal operating conditions, points outCamera state in terminal described in user.
Be appreciated that due to what get it is the quantity of the camera that can normally use, so can be by sweepingThe quantity of retouching the camera that can normally use in terminal judges whether the camera of terminal exists hardware faultAnd point out user.
The camera that can come in reminding subscriber terminal by certain mode in an embodiment of the present invention, is depositedIn hardware fault.
Alternatively, in possible embodiments more of the present invention, can answer by changing camera in terminalWith the camera that comes in reminding subscriber terminal of icon there is hardware fault.
Alternatively, in other possible embodiments of the present invention, also can point out by prompting frameThere is hardware fault in the camera in user terminal.
Be understandable that, the function of each functional module of the terminal device 400 of the present embodiment can be according to above-mentionedMethod specific implementation in embodiment of the method, its specific implementation process can be with reference to the phase of said method embodimentClose and describe, repeat no more herein.
Can find out, in the scheme of the present embodiment, terminal device 400 start shooting or terminal in camera applicationsWhile breaking down, the hardware device in driver sweep terminal also obtains facility information, then by this facility informationType judge the quantity of the camera in normal work in the hardware device scanning, and point out userThe hardware fault situation of camera in terminal, thus can in the time that camera use go wrong, judge fast and carryThe state that shows user terminal camera, efficiency is high, promotes user and experiences.
Refer to Fig. 5, Fig. 5 is the knot of the exhibiting device of a kind of result of providing of fourth embodiment of the inventionStructure schematic diagram, for realizing the reminding method of the disclosed terminal camera state of the embodiment of the present invention. Wherein,Terminal device shown in Fig. 5 is that terminal device is as shown in Figure 4 optimized and obtains. End shown in Fig. 5End equipment, except comprising the module and function of the terminal device shown in Fig. 4, can also have following expansion:
Alternatively, in possible embodiments more of the present invention, described condition prompting unit 530 comprises:
The first Tip element 531 is two for the quantity of the described camera in normal operating conditions,By all normal the front camera and rear camera switching push button in the camera applications icon in described terminal and described camera applicationsShow, to point out the camera in terminal described in user all not have hardware fault.
Wherein, the first preset icon refers to the shooting that all has hardware fault for the camera of marking terminalThe icon kind of head.
Alternatively, in possible embodiments more of the present invention, the first preset icon can be by cameraApplication icon is set to default color, as grey.
Alternatively, in other possible embodiments of the present invention, can be also at camera applications iconOn add special identifier symbol to occur hardware fault with the camera in reminding subscriber terminal, for example, Ke YiAll there is hardware fault in the camera on camera applications icon in the symbol prompting user terminal of mark " X ".
Alternatively, in possible embodiments more of the present invention, also can be convenient to judge terminal for otherIn camera there is the camera applications icon of hardware fault.
Alternatively, in other possible embodiments of the present invention, also can point out by alternate mannerThere is hardware fault in the camera in this terminal of user, for example, can scan taking the photograph that terminal can normally useThe quantity of picture head is 1 o'clock, and the camera sending in prompting frame reminding subscriber terminal all exists hardware fault.
Be appreciated that being set to one by hiding camera applications icon or camera applications icon is convenient to userDistinguish the icon whether camera breaks down, thereby can conveniently point out the camera of this terminal of user all to existHardware fault, so that user judges software issue or the hardware problem of terminal easily.
Alternatively, in possible embodiments more of the present invention, if described terminal comprises front-facing cameraAnd post-positioned pick-up head, it is characterized in that, described condition prompting unit 530 also comprises:
The second Tip element 532 is one for the quantity of the described camera in normal operating conditions,In described terminal, the front camera and rear camera switching push button of camera applications is set to default color, to point out user instituteState front-facing camera or described post-positioned pick-up head exists hardware fault.
Be appreciated that in the time that the quantity in normal operating conditions camera scanning is one, by inciting somebody to actionFront camera and rear camera switching push button in camera applications is set to default color, thereby user can pass through this default faceLook is distinguished front-facing camera or post-positioned pick-up head exists hardware fault, facilitates user to judge rapidly in terminalThe hardware problem of camera.
Alternatively, in possible embodiments more of the present invention, this default color can be grey, tableShow that front camera and rear camera switching push button is unavailable, thus can represent in preposition or post-positioned pick-up head some go outExisting hardware fault.
Alternatively, in other possible embodiments of the present invention, this default color can be also otherThe color that can identify for user.
Alternatively, in possible embodiments more of the present invention, the shooting that can normally use in terminalWhen the quantity of head is one, also can point out user preposition camera or post-positioned pick-up head to deposit by alternate mannerIn hardware fault, for example, the front camera and rear camera switching key in can camera applications icon is set to other,Or send prompting frame to point out user preposition camera or post-positioned pick-up head to have hardware fault.
Alternatively, in possible embodiments more of the present invention, described facility information comprises hardware deviceEquipment Serial Number, described the second Tip element 532, for:
If the quantity of the described camera in normal operating conditions is one, obtain establishing of described cameraStandby sequence number;
If described equipment Serial Number mates with front-facing camera, front-facing camera switching push button is set toTwo preset icon, to point out front-facing camera described in user to have hardware fault.
Wherein, the second preset icon be terminal set in advance for pointing out user preposition camera to have hardwareThe icon of fault.
Alternatively, in possible embodiments more of the present invention, also can be by the camera scanningParameter and by this parameter with mate with the relevant parameter of front-facing camera.
Alternatively, in possible embodiments more of the present invention, this second preset icon can be formerIn front camera and rear camera switching push button, add an empty circles.
Alternatively, in other possible embodiments of the present invention, this second preset icon can be alsoOther is convenient to user and identifies front-facing camera and exist the icon of hardware fault.
In embodiments of the present invention, due to each the camera hardware device in terminal, all canThere is unique equipment Serial Number, so can be one in the quantity of the camera that can normally use scanningTime, further judge that by this unique equipment Serial Number this camera that can normally use is preposition shootingHead or post-positioned pick-up head.
Be appreciated that to similar above, judge by the equipment Serial Number of camera in terminal can be normalThe camera using, can be by cutting front camera and rear camera specifically after front-facing camera or post-positioned pick-up headChange the mode that button is set to the second preset icon and point out user preposition camera to break down, thereby user canJudge by this second preset icon that easily the front-facing camera in terminal breaks down.
Alternatively, in possible embodiments more of the present invention, described facility information comprises hardware deviceEquipment Serial Number, described the second Tip element 532, for:
If the quantity of the described camera in normal operating conditions is one, obtain establishing of described cameraStandby sequence number;
If described equipment Serial Number mates with post-positioned pick-up head, described post-positioned pick-up head switching push button is arrangedBe the 3rd preset icon, to point out post-positioned pick-up head described in user to have hardware fault.
Wherein, the 3rd preset icon be terminal set in advance for pointing out user's post-positioned pick-up head to have hardwareThe icon of fault.
Alternatively, in possible embodiments more of the present invention, also can be by the camera scanningParameter and by this parameter with mate with the relevant parameter of front-facing camera.
Alternatively, in possible embodiments more of the present invention, the 3rd preset icon can be formerIn front camera and rear camera switching push button, add a solid circles.
Alternatively, in other possible embodiments of the present invention, the 3rd preset icon can be alsoOther is convenient to user and identifies post-positioned pick-up head and exist the icon of hardware fault.
It should be noted that, the 3rd preset icon and the second preset icon need different, thereby can be convenient to useActually family judges that by front camera and rear camera switching push button or front-facing camera post-positioned pick-up head goes wrong,For example,, when the second preset icon is that add empty circles on former button time, the 3rd preset icon can be for addingEnter solid circles, and when the second preset icon when adding solid circles on former button, the 3rd preset iconCan be for adding solid circles.
In embodiments of the present invention, due to each the camera hardware device in terminal, all canThere is unique equipment Serial Number, so can be one in the quantity of the camera that can normally use scanningTime, further judge that by this unique equipment Serial Number this camera that can normally use is preposition shootingHead or post-positioned pick-up head.
Be appreciated that to similar above, judge by the equipment Serial Number of camera in terminal can be normalThe camera using, can be by cutting front camera and rear camera specifically after front-facing camera or post-positioned pick-up headChange the mode that button is set to the 3rd preset icon and point out user's post-positioned pick-up head to break down, thereby user canJudge by the 3rd preset icon that easily the post-positioned pick-up head in terminal breaks down.
Alternatively, in possible embodiments more of the present invention, described condition prompting unit 530 also wrapsDraw together:
The 3rd Tip element 533 is two for the quantity of the described camera in normal operating conditions,By all normal the front camera and rear camera switching push button in the camera applications icon in described terminal and described camera applicationsShow, to point out the camera in terminal described in user all not have hardware fault.
The quantity of the camera that can normally use scanning if be appreciated that is two, illustrates in terminalCamera there is not hardware fault, so do not need profit point out in any way user's where is it hardware thereforeBarrier, therefore all normally demonstrations of camera applications icon and front camera and rear camera switching push button represent that hardware is normal, ifNow terminal camera can not normally use, and illustrates that terminal exists software issue.
Alternatively, in possible embodiments more of the present invention, if the camera quantity in terminal is NIndividual, in the quantity of the camera that may normally use scanning during for N, the camera applications figure in terminalFront camera and rear camera switching key in mark and described camera applications is normally demonstration all, to point out terminal described in userIn camera device all there is not hardware fault.
Need explanation, after the camera fault scanning in terminal, be not limited to aforesaid way prompting user eventuallyCamera in end breaks down, can point out in any user mode easy to identify, for example, frontWhile putting in camera or post-positioned pick-up head some breaking down, before not necessarily leaveing no choice but start camera applications and observingRear camera switching push button just can judge, also can by generate on the table other icon or with otherMode judges.
Be understandable that, the function of each functional module of the terminal device 500 of the present embodiment can be according to above-mentionedMethod specific implementation in embodiment of the method, its specific implementation process can be with reference to the phase of said method embodimentClose and describe, repeat no more herein.
Can find out, in the scheme of the present embodiment, terminal device 500 start shooting or terminal in camera applicationsWhile breaking down, the hardware device in driver sweep terminal also obtains facility information, then by this facility informationType judge the quantity of the camera in normal work in the hardware device scanning, and point out userThe hardware fault situation of camera in terminal, thus can in the time that camera use go wrong, judge fast and carryThe state that shows user terminal camera, efficiency is high, promotes user and experiences.
Referring to Fig. 6, Fig. 6 is the structure of the exhibiting device of a kind of result of providing of sixth embodiment of the inventionSchematic diagram. As shown in Figure 6, a kind of terminal device 600 that fifth embodiment of the invention provides can comprise:At least one bus 601, at least one processor 602 being connected with bus and be connected with bus at least oneIndividual memory 603.
Wherein, processor 602 is by bus 601, and the code that calls storage in memory 603 is at endWhen in end start or terminal, camera applications breaks down, the hardware device in driver sweep terminal and obtain described inThe facility information of hardware device, described facility information comprises the type of described hardware device; According to described hardwareThe type of equipment, the quantity of definite camera in normal operating conditions; According to described in normal workThe quantity of the camera of state, camera state in terminal described in prompting user.
Alternatively, in possible embodiments more of the present invention, described processor 602 is according to described placeIn the quantity of the camera of normal operating conditions, camera state in terminal described in prompting user, comprising:
The quantity of the described camera in normal operating conditions is zero, hides the camera in described terminalApplication icon or described camera applications icon are set to the first preset icon, to point out described in user in terminalCamera all there is hardware fault.
Alternatively, in possible embodiments more of the present invention, if described terminal comprises front-facing cameraAnd post-positioned pick-up head, it is characterized in that, described processor 602 is according to described taking the photograph in normal operating conditionsThe quantity of picture head, camera state in terminal described in prompting user, comprising:
The quantity of the described camera in normal operating conditions is one, by camera applications in described terminalFront camera and rear camera switching push button be set to default color, with point out described in user front-facing camera or described afterPut camera and have hardware fault.
Alternatively, in possible embodiments more of the present invention, described processor 602 is according to described placeIn the quantity of the camera of normal operating conditions, camera state in terminal described in prompting user, comprising:
The quantity of the described camera in normal operating conditions is two, should by the camera in described terminalAll normally show with the front camera and rear camera switching push button in icon and described camera applications, to point out described in userAll there is not hardware fault in the camera in terminal.
Alternatively, in possible embodiments more of the present invention, described facility information comprises hardware deviceEquipment Serial Number;
Described processor 602 also for:
The quantity of the described camera in normal operating conditions is one, by camera applications in described terminalFront camera and rear camera switching push button be set to default color, with point out described in user front-facing camera or described afterPut camera and have hardware fault, comprising:
If described equipment Serial Number mates with front-facing camera, front-facing camera switching push button is set toTwo preset icon, to point out front-facing camera described in user to have hardware fault;
If described equipment Serial Number mates with post-positioned pick-up head, described post-positioned pick-up head switching push button is arrangedBe the 3rd preset icon, to point out post-positioned pick-up head described in user to have hardware fault.
Be understandable that, the function of each functional module of the terminal device 600 of the present embodiment can be according to above-mentionedMethod specific implementation in embodiment of the method, its specific implementation process can be with reference to the phase of said method embodimentClose and describe, repeat no more herein.
Can find out, in the scheme of the present embodiment, terminal device 600 start shooting or terminal in camera applicationsWhile breaking down, the hardware device in driver sweep terminal also obtains facility information, then by this facility informationType judge the quantity of the camera in normal work in the hardware device scanning, and point out userThe hardware fault situation of camera in terminal, thus can in the time that camera use go wrong, judge fast and carryThe state that shows user terminal camera, efficiency is high, promotes user and experiences.
The embodiment of the present invention also provides a kind of computer-readable storage medium, and wherein, this computer-readable storage medium can be depositedContain program, this program comprises any terminal camera state of recording in said method embodiment while executionThe part or all of step of reminding method.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it is all explainedFor a series of combination of actions, but those skilled in the art should know, the present invention is not subject to describedThe restriction of sequence of movement, because according to the present invention, some step can adopt other orders or enter simultaneouslyOK. Secondly, those skilled in the art also should know, the embodiment described in description all belongs to excellentSelect embodiment, related action and module might not be that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, do not haveThe part describing in detail, can be referring to the associated description of other embodiment.
In the several embodiment that provide in the application, should be understood that, disclosed device, can pass through itIts mode realizes. For example, device embodiment described above is only schematically, for example described listThe division of unit, is only that a kind of logic function is divided, and when actual realization, can have other dividing mode, exampleAs multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore,Or do not carry out. Another point, shown or discussed coupling each other or direct-coupling or communication connection canTo be by some interfaces, INDIRECT COUPLING or the communication connection of device or unit, can be electrical or otherForm.
The described unit as separating component explanation can or can not be also physically to separate, asThe parts that unit shows can be or can not be also physical locations, can be positioned at a place, orAlso can be distributed on multiple NEs. Can select according to the actual needs wherein some or all ofThe object of the present embodiment scheme is realized in unit.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit,Also can be that the independent physics of unit exists, also can be integrated in a unit in two or more unitIn. Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt SFU software functional unitForm realizes.
If described integrated unit using the form of SFU software functional unit realize and as production marketing independently orWhen use, can be stored in a computer read/write memory medium. Based on such understanding, the present inventionThe part that in other words prior art contributed in essence of technical scheme or this technical scheme whole orPart can embody with the form of software product, and this computer software product is stored in a storage mediumIn, comprise that some instructions are in order to make a computer equipment (can be personal computer, server or netNetwork equipment etc.) carry out all or part of step of method described in the present invention each embodiment. And aforesaid storageMedium comprises: USB flash disk, read-only storage (ROM, Read-OnlyMemory), random access memory (RAM,RandomAccessMemory), portable hard drive, magnetic disc or CD etc. are various can be program code storedMedium.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; To the greatest extentPipe has been described in detail the present invention with reference to previous embodiment, and those of ordinary skill in the art should manageSeparate: its technical scheme that still can record aforementioned each embodiment is modified, or to part whereinTechnical characterictic is equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution de-From the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a reminding method for terminal camera state, is characterized in that, described method comprises:
When in starting up of terminal or terminal, camera applications breaks down, the hardware device in driver sweep terminal alsoObtain the facility information of described hardware device, described facility information comprises the type of described hardware device;
According to the type of described hardware device, determine the quantity of the camera in normal operating conditions;
According to the quantity of the described camera in normal operating conditions, camera in terminal described in prompting userState.
2. method according to claim 1, is characterized in that, described in described basis in normal workThe quantity of the camera of state, camera state in terminal described in prompting user, comprising:
The quantity of the described camera in normal operating conditions is zero, hides the camera in described terminalApplication icon or described camera applications icon are set to the first preset icon, to point out described in user in terminalCamera all there is hardware fault.
3. method according to claim 1, described terminal comprises front-facing camera and post-positioned pick-up head,It is characterized in that, the quantity of the camera in normal operating conditions described in described basis, described in prompting userCamera state in terminal, comprising:
The quantity of the described camera in normal operating conditions is one, by camera applications in described terminalFront camera and rear camera switching push button be set to default color, with point out described in user front-facing camera or described afterPut camera and have hardware fault.
4. method according to claim 1, is characterized in that, described in described basis in normal workThe quantity of the camera of state, camera state in terminal described in prompting user, comprising:
The quantity of the described camera in normal operating conditions is two, should by the camera in described terminalAll normally show with the front camera and rear camera switching push button in icon and described camera applications, to point out described in userAll there is not hardware fault in the camera in terminal.
5. method according to claim 3, is characterized in that, described facility information comprises hardware deviceEquipment Serial Number;
The quantity of the described camera in normal operating conditions is one, by camera applications in described terminalFront camera and rear camera switching push button be set to default color, with point out described in user front-facing camera or described afterPut camera and have hardware fault, comprising:
If described equipment Serial Number mates with front-facing camera, front-facing camera switching push button is set toTwo preset icon, to point out front-facing camera described in user to have hardware fault;
If described equipment Serial Number mates with post-positioned pick-up head, described post-positioned pick-up head switching push button is arrangedBe the 3rd preset icon, to point out post-positioned pick-up head described in user to have hardware fault.
6. a terminal device, is characterized in that, described terminal device comprises:
Scanning element, in the time that starting up of terminal or terminal camera applications break down, driver sweep terminalIn hardware device and obtain the facility information of described hardware device, described facility information comprises that described hardware establishesStandby type;
Acquiring unit, for according to the type of described hardware device, determines the shooting in normal operating conditionsThe quantity of head;
Condition prompting unit, for according to the quantity of the described camera in normal operating conditions, points out and usesCamera state in terminal described in family.
7. terminal device according to claim 6, is characterized in that, described condition prompting unit comprises:
The first Tip element, is zero for the quantity of the described camera in normal operating conditions, hiddenCamera applications icon or the described camera applications icon hidden in described terminal are set to the first preset icon, withAll there is hardware fault in the camera described in prompting user in terminal.
8. terminal device according to claim 6, takes the photograph if described terminal comprises front-facing camera and postpositionPicture head, is characterized in that, described condition prompting unit also comprises:
The second Tip element, is one for the quantity of the described camera in normal operating conditions, willIn described terminal, the front camera and rear camera switching push button of camera applications is set to default color, to point out described in userThere is hardware fault in front-facing camera or described post-positioned pick-up head.
9. terminal device according to claim 6, is characterized in that, described condition prompting unit also wrapsDraw together:
The 3rd Tip element, is two for the quantity of the described camera in normal operating conditions, willFront camera and rear camera switching push button in camera applications icon and described camera applications in described terminal is all normally aobviousShow, to point out the camera in terminal described in user all not have hardware fault.
10. terminal device according to claim 8, is characterized in that, described facility information comprises firmlyThe equipment Serial Number of part equipment;
Described the second Tip element, for:
If described equipment Serial Number mates with front-facing camera, front-facing camera switching push button is set toTwo preset icon, to point out front-facing camera described in user to have hardware fault;
If described equipment Serial Number mates with post-positioned pick-up head, described post-positioned pick-up head switching push button is arrangedBe the 3rd preset icon, to point out post-positioned pick-up head described in user to have hardware fault.
CN201510979666.0A 2015-12-23 2015-12-23 A kind of reminding method and terminal device of terminal camera state Active CN105611282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510979666.0A CN105611282B (en) 2015-12-23 2015-12-23 A kind of reminding method and terminal device of terminal camera state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510979666.0A CN105611282B (en) 2015-12-23 2015-12-23 A kind of reminding method and terminal device of terminal camera state

Publications (2)

Publication Number Publication Date
CN105611282A true CN105611282A (en) 2016-05-25
CN105611282B CN105611282B (en) 2017-11-17

Family

ID=55990784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510979666.0A Active CN105611282B (en) 2015-12-23 2015-12-23 A kind of reminding method and terminal device of terminal camera state

Country Status (1)

Country Link
CN (1) CN105611282B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104288A (en) * 2019-12-20 2020-05-05 维沃移动通信有限公司 Information processing method and electronic equipment
CN112672145A (en) * 2020-12-31 2021-04-16 广州绿怡信息科技有限公司 Camera shooting function detection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009290542A (en) * 2008-05-29 2009-12-10 Hitachi Building Systems Co Ltd Remote monitoring system for monitor camera
CN203136069U (en) * 2012-12-31 2013-08-14 浙江元亨通信技术股份有限公司 Multi-layer architecture video monitoring equipment fault detecting device
CN104243972A (en) * 2014-08-20 2014-12-24 徐丽雅 Device and method for wireless intelligent early warning of camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009290542A (en) * 2008-05-29 2009-12-10 Hitachi Building Systems Co Ltd Remote monitoring system for monitor camera
CN203136069U (en) * 2012-12-31 2013-08-14 浙江元亨通信技术股份有限公司 Multi-layer architecture video monitoring equipment fault detecting device
CN104243972A (en) * 2014-08-20 2014-12-24 徐丽雅 Device and method for wireless intelligent early warning of camera

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三星公司: "《三星N9100使用说明书》", 31 December 2014 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104288A (en) * 2019-12-20 2020-05-05 维沃移动通信有限公司 Information processing method and electronic equipment
CN112672145A (en) * 2020-12-31 2021-04-16 广州绿怡信息科技有限公司 Camera shooting function detection method and device
CN112672145B (en) * 2020-12-31 2023-02-17 广州绿怡信息科技有限公司 Camera shooting function detection method and device

Also Published As

Publication number Publication date
CN105611282B (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN102263904B (en) Method and system for controlling double cameras and electronic equipment with double cameras
CN103246973B (en) Method and electronic apparatus for associating note and calendar event
CN102460361A (en) Apparatus and method for providing a user interface within a computing device
CN104969527A (en) Releasing notification data towards a device driver
CN109936481A (en) Principal and subordinate's server switching method, device, electronic equipment and storage medium
CN105554291A (en) User reminding method and system
CN104992096A (en) Data protection method and mobile terminal
US20110107228A1 (en) Method of simultaneously displaying status of a plurality of contacts in an address book and related communication device
CN104519126A (en) Method and system for sharing clock by multiple devices
CN111209032A (en) Gray scale publishing method, configuration center server, user terminal, system and medium
CN105929697A (en) Smart home maintenance method and device and terminal
KR20150021928A (en) Transmitting initiation details from a mobile device
CN105446858A (en) Replacement prompt method and apparatus for battery
CN112035087B (en) Information prompting method and device, electronic equipment and readable storage medium
CN103309834A (en) Control method, control device and electronic device
CN112947807A (en) Display method and device and electronic equipment
CN105611282A (en) Reminding method of terminal camera state and terminal device
CN103902011A (en) Electronic device controlling method and electronic device
CN117118023A (en) Multi-battery pack charge and discharge control system and scheduling method
CN106572234A (en) Method and device for establishing to-do list in terminal
CN114647531B (en) Failure solving method, failure solving system, electronic device, and storage medium
CN114339966B (en) Interface control method and device for data transmission, medium and electronic equipment
CN115562735A (en) External storage device mounting method and device, electronic device and storage medium
CN115348352A (en) Page access method and system
JP7338364B2 (en) Information processing device, information processing method, program, communication system and communication terminal

Legal Events

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

Effective date of registration: 20180428

Granted publication date: 20171117

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20210428

Granted publication date: 20171117

PD01 Discharge of preservation of patent
TR01 Transfer of patent right

Effective date of registration: 20210608

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

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

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

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

TR01 Transfer of patent right