CN109040648A - A kind of the antistatic process method and wearable device of wearable device - Google Patents

A kind of the antistatic process method and wearable device of wearable device Download PDF

Info

Publication number
CN109040648A
CN109040648A CN201811028359.4A CN201811028359A CN109040648A CN 109040648 A CN109040648 A CN 109040648A CN 201811028359 A CN201811028359 A CN 201811028359A CN 109040648 A CN109040648 A CN 109040648A
Authority
CN
China
Prior art keywords
video image
camera
display screen
wearable device
history
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
CN201811028359.4A
Other languages
Chinese (zh)
Other versions
CN109040648B (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201811028359.4A priority Critical patent/CN109040648B/en
Publication of CN109040648A publication Critical patent/CN109040648A/en
Application granted granted Critical
Publication of CN109040648B publication Critical patent/CN109040648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present embodiments relate to technical field of electronic equipment, the antistatic process method and wearable device of a kind of wearable device are disclosed, this method comprises: wearable device judges whether monitor the interrupt signal that camera mobile industry processor interface is issued when camera acquires current video image in specified duration;If not monitoring interrupt signal in specified duration, the history extracting target from video image video image that wearable device is acquired and stored from camera, target video image is exported to display screen, displaying target video image is kept on a display screen, camera is restarted simultaneously, wherein, target video image is a certain history video image of the storage time closest to current time.Implement the embodiment of the present invention, can be improved the fluency and stability that video image show on display screen when camera is by electrostatic interference, thus reduce Caton, blank screen, image interruption and so on.

Description

A kind of the antistatic process method and wearable device of wearable device
Technical field
The present invention relates to technical field of electronic equipment, and in particular to a kind of antistatic process method of wearable device and can Wearable device.
Background technique
The movement of human body itself or contact with other objects, the electrostatic that factors generate such as to separate, rub or incude be electricity Harm in sub- industry often results in electronic equipment fluctuation of service, or even damage.Wherein, it is worn with what human body was in close contact Equipment is worn, the interference by electrostatic is more easier.
Currently, most of wearable devices all have the function of video calling, however, found in video call process, When interference of the camera by electrostatic, current common practice is directly to restart camera after mistake occurs for application layer to open The dynamic protection to camera, but the display screen that will lead to wearable device when restarting camera occur Caton overlong time, The problems such as blank screen, image interrupt, significantly reduces user experience.
Summary of the invention
The embodiment of the invention discloses the antistatic process methods and wearable device of a kind of wearable device, can be improved The fluency and stability that video image is shown on display screen when camera is by electrostatic interference, to reduce Caton, blank screen, figure As interruption.
First aspect of the embodiment of the present invention discloses a kind of antistatic process method of wearable device, which comprises
Judge whether monitor that camera mobile industry processor interface acquires current video in camera in specified duration The interrupt signal issued when image;
If not monitoring the interrupt signal in the specified duration, what is acquired and store from the camera is gone through History extracting target from video image video image exports the target video image to the display screen, in the display screen Upper holding shows the target video image, while restarting the camera, wherein the target video image is storage time Closest to a certain history video image of current time.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method also includes:
If monitoring the interrupt signal in the specified duration, stores the described of camera acquisition and work as forward sight Frequency image and as history video image, and the current video image is exported to the display screen and is shown.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to restart the camera, packet It includes:
The data flow for being transmitted to the display screen from the camera is closed, the power supply of the camera shooting overhead pass sensor is closed With the power supply for closing the camera;
Restart the controller of the camera mobile industry processor interface;
The power supply for connecting the camera connects the power supply of the sensor, and by twin wire universal serial bus, will be used for The initiation parameter for opening video image acquisition function is written in the sensor, restarts the sensor described in acquisition Video image;
Open the data flow.
As an alternative embodiment, opening the data flow described in first aspect of the embodiment of the present invention Later, the method also includes:
Add up the opening times that the data flow is turned on, and judges whether the opening times that the data flow is turned on surpass Specified threshold is crossed, if so, closing the camera and showing the prompt for indicating the camera exception on the display screen Information;Whether monitor camera mobile industry processor interface in camera if not, executing in the specified duration of the judgement The step of interrupt signal issued when acquiring current video image.
As an alternative embodiment, judging when described specified in first aspect of the embodiment of the present invention After not monitoring the interrupt signal in long, the method also includes:
Judge whether there is the history video image that the camera is acquired and stored;
If there is no the history video image, the prompt letter for indicating obtaining image is shown on the display screen Breath, while restarting the camera;
If there is the history video image, the history video image for acquiring and storing from the camera is executed The target video image is exported to the display screen, keeps display on the display screen by middle extraction target video image The target video image, while the step of restarting the camera.
Second aspect of the embodiment of the present invention discloses a kind of wearable device, and the wearable device includes:
First judging unit, for judging whether monitor that camera mobile industry processor interface is being taken the photograph in specified duration The interrupt signal issued when acquiring current video image as head;
Restore display unit, does not monitor institute in the specified duration for judging in first judging unit When stating interrupt signal, the history extracting target from video image video image for acquiring and storing from the camera, by the mesh Mark video image is exported to the display screen, keeps showing the target video image on the display screen, wherein the mesh Marking video image is a certain history video image of the storage time closest to current time;
Unit is restarted, for keeping the display target video image on the display screen in the recovery display unit While restart the camera.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the wearable device further include:
Normal display unit, for judging to monitor in described in the specified duration in first judging unit When break signal, store the current video image of camera acquisition and as history video image, and will it is described currently Video image is exported to the display screen and is shown.
As an alternative embodiment, in second aspect of the embodiment of the present invention, it is described to restart unit, comprising:
It closes subelement and closes the camera shooting for closing the data flow for being transmitted to the display screen from the camera The power supply of overhead pass sensor and the power supply for closing the camera;
Subelement is restarted, for restarting the controller of the camera mobile industry processor interface;
It opens subelement and connects the power supply of the sensor, and pass through twin wire for connecting the power supply of the camera The initiation parameter for being used to open video image acquisition function is written in the sensor, makes the sensor by universal serial bus Restart to acquire the video image, and opens the data flow.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the wearable device further include:
Second judgment unit, for adding up the data flow quilt after the unlatching subelement opens the data flow The opening times of unlatching, and judge whether the opening times that the data flow is turned on are more than specified threshold;
First prompt unit, for the second judgment unit judge the opening times be more than specified threshold when, It closes the camera and shows the prompt information for indicating the camera exception on the display screen;
First judging unit, specifically for judging that the opening times are not above in the second judgment unit When specified threshold, judge whether monitor that camera mobile industry processor interface works as forward sight in camera acquisition in specified duration The interrupt signal issued when frequency image.
As an alternative embodiment, in second aspect of the embodiment of the present invention, the wearable device further include:
Third judging unit does not monitor institute in the specified duration for judging in first judging unit After stating interrupt signal, the history video image that the camera is acquired and stored is judged whether there is;
Second prompt unit, for when the third judging unit is judged there is no the history video image, The display screen display indicates obtaining the prompt information of image;
The recovery display unit, specifically for judging do not have in the specified duration in first judging unit It monitors the interrupt signal and judges to take the photograph there are when the history video image from described in the third judging unit As the history extracting target from video image video image that head is acquired and stored, the target video image is exported to described aobvious Display screen keeps showing the target video image on the display screen, wherein the target video image be storage time most Close to a certain history video image of current time;
It is described to restart unit, it is specifically used for keeping the display target on the display screen in the recovery display unit The camera is restarted while video image;And expression is being shown on the display screen just in second prompt unit Camera is restarted while obtaining the prompt information of image.
The third aspect of the embodiment of the present invention discloses a kind of wearable device, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes the embodiment of the present invention the A kind of part steps of the antistatic process method of wearable device disclosed in one side.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein The computer program makes computer execute a kind of antistatic of wearable device disclosed in first aspect of the embodiment of the present invention The all or part of the steps of processing method.
Compared with prior art, the embodiment of the present invention has the advantages that
In the embodiment of the present invention, wearable device is adopted by monitoring camera mobile industry processor interface in camera When collecting current video image, if monitoring that camera mobile industry processor interface is all interrupted without issuing in specified duration Signal then illustrates the camera of wearable device by electrostatic interference, at this time, it may be necessary to the history view for acquiring and storing from camera Frequency extracting target from images video image, i.e., last collected normal video image export target video image to can Then the display screen of wearable device keeps displaying target video image on the display screen, while needing to restart camera to protect Shield camera and ensure video image continuous collecting and continuously display.As it can be seen that implementing the embodiment of the present invention, in wearable device It, can be by the history extracting target from video image video figure that acquires and store from camera when camera encounters electrostatic interference As (last collected normal video image), displaying target video image is kept on a display screen, and restart take the photograph simultaneously As head avoids causing to damage to camera so as to carry out antistatic protection by restarting camera when electrostatic interference occurs Wound, while avoiding display screen from phenomena such as Caton or display of break of video image occur, and will make after restarting camera Camera reenters normal Image Acquisition and display screen and can be connected to lasting video image and be shown, greatly promotes User experience.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of flow diagram of the antistatic process method of wearable device disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of the antistatic process method of another wearable device disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of the antistatic process method of another wearable device disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
It should be noted that term " first ", " second ", " third " in description and claims of this specification " 4th " etc. is not use to describe a particular order for distinguishing different objects.The term " includes " of the embodiment of the present invention " having " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or list The process, method, system, product or equipment of member those of are not necessarily limited to be clearly listed step or unit, but may include not having There are other step or units being clearly listed or intrinsic for these process, methods, product or equipment.
The embodiment of the invention discloses the antistatic process methods and wearable device of a kind of wearable device, can be improved The fluency and stability that video image is shown on display screen when camera is by electrostatic interference, to reduce Caton, blank screen, figure As interruption.It is described in detail below in conjunction with attached drawing.
Embodiment one
Referring to Fig. 1, Fig. 1 is a kind of process of the antistatic process method of wearable device disclosed by the embodiments of the present invention Schematic diagram.As shown in Figure 1, the antistatic process method may comprise steps of.
101, wearable device judges whether monitor that camera mobile industry processor interface is imaging in specified duration The interrupt signal issued when head acquisition current video image, if so, terminating this process, if not, executing step 102.
In the embodiment of the present invention, wearable device may include smartwatch, Intelligent bracelet, intelligent glasses etc., the present invention Embodiment is without limitation.Mobile industry processor interface (Mobile Industry Processor Interface, MIPI) mentions The utilizing camera interface standard inside wearable device is supplied, including the time sequence definition to camera video image collected.
In the embodiment of the present invention, interrupt signal can be camera and collect the interruption sent when current video image every time Signal, the rising edge triggering that can choose interrupt signal are interrupted, and the failing edge triggering that also can choose interrupt signal is interrupted, this hair Bright embodiment is not construed as limiting.
In the embodiment of the present invention, specified duration can be configured according to the rate of camera acquisition video image, and one As be two seconds, the embodiment of the present invention is not construed as limiting.
As an alternative embodiment, wearable device monitoring interrupt signal in specified duration can be driven by bottom A timer is arranged to realize in dynamic software, i.e., timer monitors an interrupt signal every specified duration, if be more than specified Length all fails to monitor interrupt signal, illustrates time-out occur because of timing error when thecamera head video image.
102, the history extracting target from video image video image that wearable device is acquired and stored from camera, by mesh Mark video image is exported to display screen, keeps displaying target video image on a display screen, while restarting camera, wherein mesh Marking video image is a certain history video image of the storage time closest to current time.
As an alternative embodiment, wearable device can go through above-mentioned history video image storage to one In history caching, wherein the video image stored in history buffer can be acquired and be stored closest to current time for camera 5 frames or 6 frame video images.
Further, as an alternative embodiment, the target video that camera is extracted from history video image Image can refer to that camera after collecting a frame video image closest to current time, can be monitored through wearable device judgement To mobile industry processor interface interrupt signal when, store video image into history buffer.For example, history buffer It is equivalent to a storehouse, only each wearable device is judged just to store forward one frame camera after can monitoring interrupt signal The video image of acquisition, according to the principle that storehouse is first-in last-out, last in, first out, and being stored in uppermost video image is camera Target video image in the history video image of acquisition.
As an alternative embodiment, wearable device keeps displaying target video image that can lead on a display screen Circulate operation is crossed to realize.The history extracting target from video image video figure that wearable device is first acquired and stored from camera Picture, then the target video image is given on display screen, further, is extracted by certain frequency cycle and above send target video figure The operation of picture can keep displaying target video image, wherein the frequency of circulate operation can be according to display on a display screen Depending on the frame per second of screen display video.
As an alternative embodiment, wearable device is mentioned from the history video image that camera acquires and stores Target video image is taken, target video image is exported to display screen, keeps displaying target video image to use on a display screen One thread, meanwhile, camera is restarted using another thread, and two threads are mutually indepedent.
In the embodiment of the present invention, implement above-mentioned steps 102, can thecamera head video image when the error occurs, Displaying target video image is kept on display screen and restarts camera while carrying out, and not only ensure that user experience, but also right in time Counter-measure is made that by the camera of electrostatic interference.
As it can be seen that implement Fig. 1 described in method, when wearable device camera encounters electrostatic interference, can by from The history extracting target from video image video image (last collected normal video image) that camera is acquired and stored, Displaying target video image is kept on a display screen, and restarts camera simultaneously, so as to lead to when electrostatic interference occurs Cross restart camera carry out antistatic protection, avoid that camera is caused to damage, at the same avoid display screen occur Caton or in Phenomena such as disconnected video image display, and restart will make after camera camera reenter normal Image Acquisition and Display screen can be connected to lasting video image and be shown, greatly promote user experience.
Embodiment two
Referring to Fig. 2, Fig. 2 is the stream of the antistatic process method of another wearable device disclosed by the embodiments of the present invention Journey schematic diagram.As shown in Fig. 2, the antistatic process method may comprise steps of.
201, wearable device judges whether that detecting that camera is mobile in specified duration produces in video call process The interrupting information that industry processor interface is sent when camera collects current video image, if so, executing step 202;Such as Fruit is no, executes step 203.
202, wearable device stores the current video image of camera acquisition and as history video image, and will be current Video image is exported to display screen and is shown.
203, the history extracting target from video image video image that wearable device is acquired and stored from camera, by mesh Mark video image is exported to display screen, keeps displaying target video image on a display screen, wherein target video image is storage A certain history video image of the time closest to current time.
204, wearable device closes the data flow that display screen is transmitted to from camera, closes the electricity of camera shooting overhead pass sensor Source and the power supply for closing camera.
205, wearable device restarts the controller of camera mobile industry processor interface.
206, wearable device connects the power supply of camera, connects the power supply of sensor, and pass through twin wire universal serial bus It will be used to open in the initiation parameter write-in sensor of video image acquisition function, sensor is made to restart to acquire video figure Picture, and turn-on data stream.
Implement above-mentioned step 204~step 206, camera can be restarted.
In the embodiment of the present invention, twin wire universal serial bus (Inter-Integrated Circuit, I2C) is bidirectional two-line Synchronous serial bus processed, the device that can be connected in bus mutually transmit data.Wearable device is equivalent to main device, then Sensor on camera is the slave device being addressed to, and wearable device starting bus simultaneously transmits initiation parameter to sensing Device is also responsible for terminating the transmission of data.
As an alternative embodiment, wearable device is mentioned from the history video image that camera acquires and stores Target video image is taken, target video image is exported to display screen, keeps displaying target video image to use on a display screen One thread, meanwhile, camera is restarted using another thread, and two threads are mutually indepedent.That is, at this In inventive embodiments, wearable device can execute step 204~step 206 while executing step 203, so that showing Keep displaying target video image that can carry out simultaneously on screen with the operation for restarting camera.
In addition, implementing 201~step 206 of above-mentioned steps, it can be ensured that camera is acquired and stored in the embodiment of the present invention History video image be all the correct video image of the collected data time sequence of camera, further, in thecamera head Video image when the error occurs, is also ensured that the of short duration video image for keeping display is correct video figure on a display screen Picture, to improve accuracy and stability that video image on display screen is shown.
207, the opening times that wearable device cumulative traffic is turned on, and judge the opening times that data flow is turned on It whether is more than specified threshold, if so, executing step 208;If not, executing step 201.
In the embodiment of the present invention, above-mentioned specified threshold can be used for limiting that camera can be allowed to restarts number, Specific value can be taking human as specified.For example, specified threshold may be set to 3 times, and the embodiment of the present invention is not construed as limiting.
As an alternative embodiment, wearable device can carry out cumulative traffic by the way that a counter is arranged Opening times.For example, the opening times specified threshold of data flow is 3 times, and when timer counts to 3, wearable device prison The signal for measuring timer output then judges that the opening times of data flow are more than specified threshold, and wearable device is into one at this time Step executes the step of closing camera and showing the prompt information for indicating camera exception on a display screen, and counting is thought highly of New zero.
208, wearable device closes camera and shows the prompt information for indicating camera exception on a display screen.
In the embodiment of the present invention, implement 207~step 208 of above-mentioned steps, number can be restarted by restriction camera, To prevent wearable device from falling into the endless loop for restarting the camera damaged always;Also, after restarting camera, from Dynamic execute judges the step of can wearable device detect interrupting information after camera collects video image, for camera Restart rear video image transmitting not wrong situation, the video image of display screen display can be updated, be made entire Mechanism is flexible and is swift in response.
In the embodiment of the present invention, the antistatic process method of above-mentioned wearable device can be applied to the mistake of video calling Journey.Specifically, when the open command of user's input video call, wearable device opens camera according to open command to adopt Collect video image, and shows the reference object of camera alignment on a display screen.It is established with the equipment end of video calling object After connection, video content captured by the equipment end of the video calling object can also be shown on a display screen.Implement Fig. 2 to be retouched The method stated, when the camera of wearable device is by interim electrostatic interference, picture meeting that user sees on a display screen A certain frame video image is briefly rested on, then promptly restores the video of display camera normal photographing in wearable device Afterwards, continue that video call function is normally used.
As it can be seen that implement Fig. 2 described in method, when wearable device camera encounters electrostatic interference, can by from The history extracting target from video image video image (last collected normal video image) that camera is acquired and stored, Displaying target video image is kept on a display screen, and restarts camera simultaneously, so as to lead to when electrostatic interference occurs Cross restart camera carry out antistatic protection, avoid that camera is caused to damage, at the same avoid display screen occur Caton or in Phenomena such as disconnected video image display, and restart will make after camera camera reenter normal Image Acquisition and Display screen can be connected to lasting video image and be shown, greatly promote user experience.In addition, implementing side described in Fig. 2 Method can prevent wearable device from falling into the endless loop for restarting the camera damaged always, keep entire mechanism flexibly and anti- It should be rapid.
Embodiment three
Referring to Fig. 3, Fig. 3 is the stream of the antistatic process method of another wearable device disclosed by the embodiments of the present invention Journey schematic diagram.As shown in figure 3, the antistatic process method may comprise steps of.
301, wearable device judges whether monitor that camera mobile industry processor interface is imaging in specified duration The interrupt signal issued when head acquisition current video image, if so, executing step 302;If not, executing step 303.
302, wearable device stores the current video image of camera acquisition and as history video image, and will be current Video image is exported to display screen and is shown.
303, wearable device judges whether there is the history video image that camera is acquired and stored, if so, executing Step 304;If not, executing step 305.
304, the history extracting target from video image video image that wearable device is acquired and stored from camera, by mesh Mark video image is exported to display screen, keeps displaying target video image on a display screen, and directly execute step 306, wherein Target video image is a certain history video image of the storage time closest to current time.
305, wearable device shows the prompt information for indicating to obtain image on a display screen, and executes step 306.
As an alternative embodiment, wearable device can by call the animation of one section of interest, voice or Person's music, as indicating obtaining the prompt information of image loop play on a display screen, wherein animation, the language of broadcasting Sound or music can sets itselfs in systems.
In the embodiment of the present invention, implement 301~step 305 of above-mentioned steps, can cope with and just open camera and just meet and take the photograph As head transmission of video images mistake, and acquire and store there is no camera history video image the case where, with necessary Prompt information come make up on display screen without display picture blank, improve user experience.
306, wearable device closes the data flow that display screen is transmitted to from camera, closes the electricity of camera shooting overhead pass sensor Source and the power supply for closing camera.
307, wearable device restarts the controller of camera mobile industry processor interface.
308, wearable device connects the power supply of camera, connects the power supply of sensor, and pass through twin wire universal serial bus It will be used to open in the initiation parameter write-in sensor of video image acquisition function, sensor is made to restart to acquire video figure Picture, and turn-on data stream.
Implement above-mentioned step 306~step 308, camera can be restarted.
As an alternative embodiment, wearable device shows the prompt for indicating to obtain image on a display screen Information uses a thread, meanwhile, camera is restarted using another thread, and two threads are mutually indepedent.
As an alternative embodiment, wearable device is mentioned from the history video image that camera acquires and stores Target video image is taken, target video image is exported to display screen, keeps displaying target video image to use on a display screen One thread, meanwhile, camera is restarted using another thread, and two threads are mutually indepedent.
That is, wearable device can show that expression is obtaining image on a display screen in the embodiment of the present invention Prompt information while restart camera;Alternatively, keeping restarting camera shooting while displaying target video image on a display screen Head.
309, the opening times that wearable device cumulative traffic is turned on, and judge the opening times that data flow is turned on Whether it is more than specified threshold, if opening times are more than specified threshold, executes step 310;If opening times are not above finger Determine threshold value, executes step 301.
310, wearable device closes camera and shows the prompt information for indicating camera exception on a display screen.
As it can be seen that method described in implementing Fig. 3, when wearable device camera encounters electrostatic interference, can by from The history extracting target from video image video image (last collected normal video image) that camera is acquired and stored, Displaying target video image is kept on a display screen, and restarts camera simultaneously, so as to lead to when electrostatic interference occurs Cross restart camera carry out antistatic protection, avoid that camera is caused to damage, at the same avoid display screen occur Caton or in Phenomena such as disconnected video image display, and restart will make after camera camera reenter normal Image Acquisition and Display screen can be connected to lasting video image and be shown, greatly promote user experience.In addition, side described in implementing Fig. 3 Method, wearable device can just meet camera video image transmission mistake with necessary prompt information to cope with just unlatching camera Accidentally, the case where history video image for and acquiring and storing there is no camera, makes up the sky without display picture on display screen It is white, greatly promote user experience.
Example IV
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of wearable device disclosed by the embodiments of the present invention.Such as Fig. 4 institute Show, which may include:
First judging unit 401, for judging whether monitor camera mobile industry processor interface in specified duration The interrupt signal issued when camera acquires current video image;
Restore display unit 402, for judging not monitor to interrupt in specified duration in the first judging unit 401 When signal, the history extracting target from video image video image for acquiring and storing from camera exports target video image To display screen, displaying target video image is kept on a display screen, wherein target video image is storage time closest to currently The a certain history video image of time;
Unit 403 is restarted, for while recovery display unit 402 keeps displaying target video image on a display screen Restart camera.
As an alternative embodiment, wearable device monitoring interrupt signal in specified duration can be driven by bottom A timer is arranged to realize in dynamic software, i.e., timer monitors an interrupt signal every specified duration, if be more than specified Length all fails to monitor interrupt signal, illustrates time-out occur because of timing error when thecamera head video image.
As an alternative embodiment, wearable device can go through above-mentioned history video image storage to one In history caching, wherein the video image stored in history buffer can be acquired and be stored closest to current time for camera 5 frames or 6 frame video images.
Further, the target video image that camera is extracted from history video image can refer to camera closest After current time collects a frame video image, it can be monitored in mobile industry processor interface through wearable device judgement When break signal, the video image into history buffer is stored.For example, history buffer is equivalent to a storehouse, only every time Wearable device is judged just to store the video image that forward one frame camera acquires after can monitoring interrupt signal, according to storehouse First-in last-out, the principle that last in, first out is stored in the history video image that uppermost video image is camera acquisition Target video image.
As an alternative embodiment, wearable device keeps displaying target video image that can lead on a display screen Circulate operation is crossed to realize.The history extracting target from video image video figure that wearable device is first acquired and stored from camera Picture, then the target video image is given on display screen, further, is extracted by certain frequency cycle and above send target video figure The operation of picture can keep displaying target video image, wherein the frequency of circulate operation can be according to display on a display screen Depending on the frame per second of screen display video.
As an alternative embodiment, wearable device is mentioned from the history video image that camera acquires and stores Target video image is taken, target video image is exported to display screen, keeps displaying target video image to use on a display screen One thread, meanwhile, camera is restarted using another thread, and two threads are mutually indepedent.
As it can be seen that implement Fig. 1 described in method, when wearable device camera encounters electrostatic interference, can by from The history extracting target from video image video image (last collected normal video image) that camera is acquired and stored, Displaying target video image is kept on a display screen, and restarts camera simultaneously, so as to lead to when electrostatic interference occurs Cross restart camera carry out antistatic protection, avoid that camera is caused to damage, at the same avoid display screen occur Caton or in Phenomena such as disconnected video image display, and restart will make after camera camera reenter normal Image Acquisition and Display screen can be connected to lasting video image and be shown, greatly promote user experience.
Embodiment five
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Wherein, scheme Wearable device shown in 5 is that wearable device as shown in Figure 4 optimizes.With wearable device shown in Fig. 4 It compares, wearable device shown in fig. 5 can also include:
Normal display unit 404 monitors interrupt signal in specified duration for judging in the first judging unit 401 When, the current video image of storage camera acquisition is simultaneously exported as history video image, and by current video image to display Screen display;
Restart unit 403, comprising:
Subelement 4031 is closed, for closing the data flow for being transmitted to display screen from camera, closes camera shooting overhead pass sense The power supply of device and the power supply for closing camera;
Subelement 4032 is restarted, for restarting the controller of camera mobile industry processor interface;
Subelement 4033 is opened, for connecting the power supply of camera, connects the power supply of sensor, and serial by twin wire Bus will be used to open in the initiation parameter write-in sensor of video image acquisition function, sensor is made to restart to acquire Video image and turn-on data stream;
Second judgment unit 405 is used for after opening 4033 turn-on data stream of subelement, what cumulative traffic was turned on Opening times, and judge whether the opening times that data flow is turned on are more than specified threshold;
First prompt unit 406, for closing when second judgment unit 405 judges that opening times are more than specified threshold It closes camera and shows the prompt information for indicating camera exception on a display screen;
Correspondingly, the first judging unit 401, specifically for judging that opening times do not surpass in second judgment unit 405 When crossing specified threshold, judge whether monitor that camera mobile industry processor interface is current in camera acquisition in specified duration The interrupt signal issued when video image.
As an alternative embodiment, second judgment unit 405 can carry out accumulative total by the way that a counter is arranged According to the opening times of stream.For example, the opening times specified threshold of data flow is 3 times, and when timer counts to 3, the second judgement Unit 405 detects the signal of timer output, judges that the opening times of data flow are more than specified threshold, further enables the One prompt unit 406, and counter is zeroed again.
It can when wearable device camera encounters electrostatic interference as it can be seen that implementing wearable device described in Fig. 5 Pass through history extracting target from video image video image (the last collected normal video for acquiring and storing from camera Image), displaying target video image is kept on a display screen, and restart camera simultaneously, so as to go out in electrostatic interference Antistatic protection is carried out by restarting camera now, avoids that camera is caused to damage, while display screen being avoided Caton occur Or break of video image phenomena such as showing, and restart and camera will to reenter normal image after camera to adopt Collection and display screen can be connected to lasting video image and be shown, greatly promote user experience.It is retouched in addition, implementing Fig. 2 The method stated can prevent wearable device from falling into the endless loop for restarting the camera damaged always, make entire mechanism spirit It lives and is swift in response.
Embodiment six
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Wherein, scheme Wearable device shown in 6 is that wearable device as shown in Figure 5 optimizes.With wearable device shown in fig. 5 It compares, wearable device shown in fig. 6 can also include:
Third judging unit 407, for judging not monitor to interrupt in specified duration in the first judging unit 401 When signal, the history video image that camera is acquired and stored is judged whether there is;
Second prompt unit 408, for judging showing there is no when history video image in third judging unit 407 Show that screen display indicates obtaining the prompt information of image;
Correspondingly, restore display unit 402, specifically for judging do not have in specified duration in the first judging unit 401 It monitors interrupt signal and judges to acquire simultaneously there are when history video image from camera in third judging unit 407 The history extracting target from video image video image of storage, target video image is exported to display screen, is protected on a display screen Hold displaying target video image, wherein target video image is a certain history video figure of the storage time closest to current time Picture;
Correspondingly, restart unit 403, be specifically used for keeping displaying target to regard on a display screen in recovery display unit 402 Camera is restarted while frequency image;And show that expression is obtaining image on a display screen in the second prompt unit 408 Camera is restarted while prompt information.
As an alternative embodiment, the second prompt unit 408 shows that expression is obtaining image on a display screen Prompt information use a thread, meanwhile, restart unit 403 and restart camera using another thread, and two Thread is mutually indepedent.
As an alternative embodiment, wearable device is mentioned from the history video image that camera acquires and stores Target video image is taken, target video image is exported to display screen, keeps displaying target video image to use on a display screen One thread, meanwhile, camera is restarted using another thread, and two threads are mutually indepedent.
As an alternative embodiment, the second prompt unit 408 can by call a bit of interest animation, Voice or music, as indicating obtaining the prompt information of image loop play on a display screen, wherein broadcasting it is dynamic Draw, voice or music can sets itself in systems.
As it can be seen that method described in implementing Fig. 3, when wearable device camera encounters electrostatic interference, can by from The history extracting target from video image video image (last collected normal video image) that camera is acquired and stored, Displaying target video image is kept on a display screen, and restarts camera simultaneously, so as to lead to when electrostatic interference occurs Cross restart camera carry out antistatic protection, avoid that camera is caused to damage, at the same avoid display screen occur Caton or in Phenomena such as disconnected video image display, and restart will make after camera camera reenter normal Image Acquisition and Display screen can be connected to lasting video image and be shown, greatly promote user experience.In addition, side described in implementing Fig. 3 Method, wearable device can just meet camera video image transmission mistake with necessary prompt information to cope with just unlatching camera Accidentally, the case where history video image for and acquiring and storing there is no camera, makes up the sky without display picture on display screen It is white, greatly promote user experience.
Embodiment seven
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of another wearable device disclosed by the embodiments of the present invention.Such as Fig. 7 institute Show, which may include:
It is stored with the memory 701 of executable program code;
The processor 702 coupled with memory 701;
Wherein, processor 702 calls the executable program code stored in memory 701, executes shown in FIG. 1 to FIG. 3 The part steps of the antistatic process method of any one wearable device.
The embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein the computer Program makes whole or the portion of the antistatic process method of any one wearable device shown in computer execution FIG. 1 to FIG. 3 Step by step.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium include read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read-only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact Disc Read-Only Memory, CD-ROM) or other disc memories, magnetic disk storage, magnetic tape storage or can For carrying or any other computer-readable medium of storing data.
Above the antistatic process method to a kind of wearable device disclosed by the embodiments of the present invention and wearable device into It has gone and has been discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, the above implementation The explanation of example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology people of this field Member, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as limiting the invention.

Claims (10)

1. a kind of antistatic process method of wearable device, which is characterized in that the described method includes:
Judge whether monitor that camera mobile industry processor interface acquires current video image in camera in specified duration When the interrupt signal that issues;
If not monitoring the interrupt signal in the specified duration, the history for acquiring and storing from the camera is regarded Frequency extracting target from images video image, the target video image is exported to the display screen, is protected on the display screen The display target video image is held, while restarting the camera, wherein the target video image is that storage time most connects The a certain history video image of nearly current time.
2. the method according to claim 1, wherein the method also includes:
If monitoring the interrupt signal in the specified duration, the current video figure of the camera acquisition is stored As and as history video image, and the current video image is exported to the display screen and is shown.
3. method according to claim 1 or 2, which is characterized in that described to restart the camera, comprising:
The data flow for being transmitted to the display screen from the camera is closed, power supply and the pass of the camera shooting overhead pass sensor are closed Close the power supply of the camera;
Restart the controller of the camera mobile industry processor interface;
The power supply for connecting the camera connects the power supply of the sensor, and by twin wire universal serial bus, will be used to open The initiation parameter of video image acquisition function is written in the sensor, and the sensor is made to restart to acquire the video Image;
Open the data flow.
4. according to the method described in claim 3, it is characterized in that, the method is also after the unlatching data flow Include:
Add up the opening times that the data flow is turned on, and judges whether the opening times that the data flow is turned on are more than to refer to Threshold value is determined, if so, closing the camera and showing the prompt information for indicating the camera exception on the display screen; If not, executing in the specified duration of the judgement whether monitor that camera mobile industry processor interface is worked as in camera acquisition The step of interrupt signal issued when preceding video image.
5. according to the method described in claim 4, it is characterized in that, judging not monitoring institute in the specified duration After stating interrupt signal, the method also includes:
Judge whether there is the history video image that the camera is acquired and stored;
If there is no the history video image, the prompt information for indicating to obtain image is shown on the display screen, The camera is restarted simultaneously;
If there is the history video image, execution is described to be mentioned from the history video image that the camera acquires and stores Target video image is taken, the target video image is exported to the display screen, is kept described in display on the display screen Target video image, while the step of restarting the camera.
6. a kind of wearable device, which is characterized in that the wearable device includes:
First judging unit, for judging whether monitor camera mobile industry processor interface in camera in specified duration The interrupt signal issued when acquiring current video image;
Restore display unit, for judging not monitor in described in the specified duration in first judging unit When break signal, the history extracting target from video image video image for acquiring and storing from the camera regards the target Frequency image is exported to the display screen, keeps showing the target video image on the display screen, wherein the target view Frequency image is a certain history video image of the storage time closest to current time;
Unit is restarted, for keeping the same of the display target video image on the display screen in the recovery display unit Camera described in Shi Chongqi.
7. wearable device according to claim 6, which is characterized in that the wearable device further include:
Normal display unit monitors the interruption letter for judging in first judging unit in the specified duration Number when, store the current video image of camera acquisition and as history video image, and by the current video Image is exported to the display screen and is shown.
8. wearable device according to claim 6 or 7, which is characterized in that described to restart unit, comprising:
Subelement is closed to close on the camera for closing the data flow for being transmitted to the display screen from the camera The power supply of sensor and the power supply for closing the camera;
Subelement is restarted, for restarting the controller of the camera mobile industry processor interface;
Subelement is opened, for connecting the power supply of the camera, connects the power supply of the sensor, and serial by twin wire The initiation parameter for being used to open video image acquisition function is written in the sensor, makes the sensor again by bus Start to acquire the video image, and opens the data flow.
9. wearable device according to claim 8, which is characterized in that the wearable device further include:
Second judgment unit, for adding up the data flow and being turned on after the unlatching subelement opens the data flow Opening times, and judge whether the opening times that the data flow is turned on are more than specified threshold;
First prompt unit, for closing when the second judgment unit judges that the opening times are more than specified threshold The camera simultaneously shows the prompt information for indicating the camera exception on the display screen;
First judging unit, it is specified specifically for judging that the opening times are not above in the second judgment unit When threshold value, judge whether monitor that camera mobile industry processor interface acquires current video figure in camera in specified duration As when the interrupt signal that issues.
10. wearable device according to claim 9, which is characterized in that the wearable device further include:
Third judging unit, for judging not monitor in described in the specified duration in first judging unit After break signal, the history video image that the camera is acquired and stored is judged whether there is;
Second prompt unit, for when the third judging unit is judged there is no the history video image, described Display screen display indicates obtaining the prompt information of image;
The recovery display unit, specifically for judging not monitor in the specified duration in first judging unit Judge to the interrupt signal and in the third judging unit there are when the history video image, from the camera The history extracting target from video image video image for acquiring and storing, the target video image is exported to the display Screen keeps showing the target video image on the display screen, wherein the target video image is that storage time most connects The a certain history video image of nearly current time;
It is described to restart unit, it is specifically used for keeping the display target video on the display screen in the recovery display unit The camera is restarted while image;And show that expression is obtaining on the display screen in second prompt unit Camera is restarted while taking the prompt information of image.
CN201811028359.4A 2018-09-04 2018-09-04 Anti-static processing method of wearable device and wearable device Active CN109040648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811028359.4A CN109040648B (en) 2018-09-04 2018-09-04 Anti-static processing method of wearable device and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811028359.4A CN109040648B (en) 2018-09-04 2018-09-04 Anti-static processing method of wearable device and wearable device

Publications (2)

Publication Number Publication Date
CN109040648A true CN109040648A (en) 2018-12-18
CN109040648B CN109040648B (en) 2021-01-26

Family

ID=64623983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811028359.4A Active CN109040648B (en) 2018-09-04 2018-09-04 Anti-static processing method of wearable device and wearable device

Country Status (1)

Country Link
CN (1) CN109040648B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023035426A1 (en) * 2021-09-07 2023-03-16 苏州浪潮智能科技有限公司 Electrostatic interference processing method and apparatus, device, and readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040150717A1 (en) * 2003-01-21 2004-08-05 Page Warren S. Digital in-car video surveillance system
CN1929647A (en) * 2005-09-08 2007-03-14 三星电子株式会社 Method for performing video communication service and mobile communication terminal employing the same
US20140002313A1 (en) * 2012-06-28 2014-01-02 Songnan Yang Thin chassis near field communication (nfc) antenna integration
CN103745705A (en) * 2013-12-31 2014-04-23 广东明创软件科技有限公司 Mobile terminal display screen electro-static resetting method and mobile terminal
CN103905654A (en) * 2012-12-28 2014-07-02 联芯科技有限公司 Method and system for processing ESD interference in display screen of MIPI
CN104427383A (en) * 2013-08-19 2015-03-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104427229A (en) * 2013-08-26 2015-03-18 上海斐讯数据通信技术有限公司 Method for eliminating camera module ESD automatically
CN106303227A (en) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 The photographic method of a kind of intelligent terminal and device
CN107396198A (en) * 2017-07-24 2017-11-24 维沃移动通信有限公司 A kind of video call method and mobile terminal
CN107678876A (en) * 2017-09-28 2018-02-09 努比亚技术有限公司 Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium
CN207099171U (en) * 2017-07-14 2018-03-13 建荣集成电路科技(珠海)有限公司 A kind of camera anti-clutter circuit and camera

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040150717A1 (en) * 2003-01-21 2004-08-05 Page Warren S. Digital in-car video surveillance system
CN1929647A (en) * 2005-09-08 2007-03-14 三星电子株式会社 Method for performing video communication service and mobile communication terminal employing the same
US20140002313A1 (en) * 2012-06-28 2014-01-02 Songnan Yang Thin chassis near field communication (nfc) antenna integration
CN103905654A (en) * 2012-12-28 2014-07-02 联芯科技有限公司 Method and system for processing ESD interference in display screen of MIPI
CN104427383A (en) * 2013-08-19 2015-03-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104427229A (en) * 2013-08-26 2015-03-18 上海斐讯数据通信技术有限公司 Method for eliminating camera module ESD automatically
CN103745705A (en) * 2013-12-31 2014-04-23 广东明创软件科技有限公司 Mobile terminal display screen electro-static resetting method and mobile terminal
CN106303227A (en) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 The photographic method of a kind of intelligent terminal and device
CN207099171U (en) * 2017-07-14 2018-03-13 建荣集成电路科技(珠海)有限公司 A kind of camera anti-clutter circuit and camera
CN107396198A (en) * 2017-07-24 2017-11-24 维沃移动通信有限公司 A kind of video call method and mobile terminal
CN107678876A (en) * 2017-09-28 2018-02-09 努比亚技术有限公司 Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023035426A1 (en) * 2021-09-07 2023-03-16 苏州浪潮智能科技有限公司 Electrostatic interference processing method and apparatus, device, and readable storage medium
US12013744B2 (en) 2021-09-07 2024-06-18 Inspur Suzhou Intelligent Technology Co., Ltd. Electrostatic interference processing method, apparatus, and device, and readable storage medium

Also Published As

Publication number Publication date
CN109040648B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN105513030B (en) A kind of information processing method, device and electronic equipment
CN108875837A (en) Device and method for test target identification equipment
JP2017507400A5 (en)
CN111063079B (en) Binocular living body face detection method and device based on access control system
CN111726689B (en) Video playing control method and device
CN106456433A (en) Rehabilitation assistance system
US20160041614A1 (en) System and method of inducing user eye blink
CN104731314B (en) Last known browsing position indicating is provided using the biometric data towards movement
CN108566534A (en) Alarm method, device, terminal based on video monitoring and storage medium
JP2007265125A (en) Content display
CN111966224A (en) Eye protection mode prompting method and device, electronic equipment and storage medium
CN104023208A (en) Device and method of automatic monitoring and autonomic response
CN104361724B (en) Device and method for detecting peeing of baby
CN109040648A (en) A kind of the antistatic process method and wearable device of wearable device
CN110852196B (en) Face recognition information display method and device
CN112101288A (en) Method, device and equipment for detecting wearing of safety helmet and storage medium
JP6334484B2 (en) Glasses-type wearable device, control method thereof, and information management server
CN114926759A (en) Intelligent protective clothing data monitoring and wearing and taking-off guiding monitoring system
CN112565888A (en) Monitoring and broadcasting photographing method and device and computer equipment
CN103019381A (en) Method for controlling automatic backlight of display screen
US10380966B2 (en) Power and processor management for a personal imaging system
CN111695445A (en) Face recognition method, device, equipment and computer readable storage medium
CN107291571B (en) Debugging method and device of VR (virtual reality) all-in-one machine
US6445293B1 (en) Versatile camera system for secure document transactions
CN107005668A (en) Information processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant