CN107730830A - A kind of roadblock alarm method, mobile terminal and computer-readable recording medium - Google Patents

A kind of roadblock alarm method, mobile terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107730830A
CN107730830A CN201710860707.3A CN201710860707A CN107730830A CN 107730830 A CN107730830 A CN 107730830A CN 201710860707 A CN201710860707 A CN 201710860707A CN 107730830 A CN107730830 A CN 107730830A
Authority
CN
China
Prior art keywords
roadblock
mobile terminal
alarm
produced
traffic information
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
CN201710860707.3A
Other languages
Chinese (zh)
Other versions
CN107730830B (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.)
Jiangsu Xinli Technology Service Co., Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710860707.3A priority Critical patent/CN107730830B/en
Publication of CN107730830A publication Critical patent/CN107730830A/en
Application granted granted Critical
Publication of CN107730830B publication Critical patent/CN107730830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons

Landscapes

  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a kind of roadblock alarm method, in the case where mobile terminal is in the roadblock pattern pre-set, starts rear camera timing acquiring image, wherein, described image includes traffic information;Judge to whether there is roadblock in the mobile terminal preset range by the traffic information of collection;In the case where the judgment result is yes, roadblock alarm is produced.The invention also discloses a kind of mobile terminal and computer-readable recording medium, user is solved in correlation technique in walking process using road conditions can not be seen during mobile terminal clearly, the problem of potential safety hazard be present when causing to run into roadblock, alarm prompt user is produced when running into roadblock, potential safety hazard is effectively reduced, improves Consumer's Experience.

Description

A kind of roadblock alarm method, mobile terminal and computer-readable recording medium
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of roadblock alarm method, mobile terminal and calculating Machine readable storage medium storing program for executing.
Background technology
With the development of internet and the popularization of terminal, the customer group of terminal is increasing, while also software is proposed More intelligence, the demand of hommization.
With the development of mobile terminal technology, mobile terminal is increasingly popular, and the function of mobile terminal is also increasingly Powerful, people take pictures, beyond sending short messages except can be made a phone call with terminal, moreover it is possible to browse webpage, see e-book, chat, play Game.But many people browse webpage during walking, see e-book now, chat, and play game, often can't see front Road conditions, for example there are car, barrier, puddle, red light etc. in front, just very dangerous.
How to allow pedestrian you can during walking, can identify front road conditions, existing technology substantially also It is blank out.Only Samsung has carried one during e-book is seen at present, opens camera, background is road surface Patent, but this Technical comparing is rough, and also it is less practical.He needs user actively to go to check road conditions first, does not accomplish to warn Show that user there is currently danger.It has made the background of e-book transparent, and user observes current road conditions by camera, so And when user be relatively absorbed in see e-book either the content of webpage or be absorbed in object for appreciation game when, notice would not Concentrate in the road conditions that background is shown, still can not prevent the generation of tragedy;Secondly, this mode causes current interface background It is transparent, causes the contrast of current page very low, influence to read, Consumer's Experience is also very bad.
Therefore, webpage browsed during walking for present user, see e-book, chatted, played game, can not see The road conditions (for example there are car, barrier, puddle, red light etc. in front, just very dangerous) in front, the safe prestige brought to user The side of body, it would be highly desirable to there is a kind of technology or terminal to solve this problem.
For user in walking process in correlation technique using road conditions can not be seen during mobile terminal clearly, when causing to run into roadblock The problem of potential safety hazard be present, not yet propose solution at present.
The content of the invention
It is a primary object of the present invention to propose a kind of roadblock alarm method, mobile terminal and computer-readable storage medium Matter, it is intended to solve in correlation technique in walking process user using road conditions can not be seen during mobile terminal clearly, when causing to run into roadblock The problem of potential safety hazard be present.
To achieve the above object, the embodiment of the present invention proposes a kind of roadblock alarm method, including:
In the case where mobile terminal is in the roadblock pattern pre-set, start rear camera timing acquiring image, Wherein, described image includes traffic information;
Judge to whether there is roadblock in the mobile terminal preset range by the traffic information of collection;
In the case where the judgment result is yes, roadblock alarm is produced.
Optionally, before putting camera timing acquiring image upon actuation, methods described also includes:
Judge whether mobile terminal is in mobile status by acceleration transducer;
In the case where the judgment result is yes, the roadblock pattern is started.
Optionally, before roadblock alarm is produced, methods described also includes:
The object or traffic information of the image that the rear camera is gathered and neutral net storehouse device are carried out to score Analysis;
Determine that the roadblock constitutes a threat to the mobile terminal according to the result of comparative analysis.
Optionally, enter by the object or traffic information of the image that the rear camera gathers and neutral net storehouse device After row comparative analysis, methods described also includes:
The type of the roadblock is determined according to the result of comparative analysis.
Optionally, the generation roadblock alarm includes:
The type and the mode of the corresponding relation determination alarm by way of alarm of the roadblock pre-set;
Roadblock alarm is produced according to the mode of the alarm of determination.
Optionally, the generation roadblock alarm includes one below:
Roadblock is produced by way of ceasing and shielding to alert;
Roadblock is produced by way of vibrations and flashing light to alert;
Roadblock is produced by way of jingle bell and flashing light to alert.
Another aspect according to embodiments of the present invention, additionally provides a kind of mobile terminal, and the mobile terminal includes processing Device, memory and communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the roadblock alarm program stored in memory, to realize following steps:
In the case where mobile terminal is in the roadblock pattern pre-set, start rear camera timing acquiring image, Wherein, described image includes traffic information;
Judge to whether there is roadblock in the mobile terminal preset range by the traffic information of collection;
In the case where the judgment result is yes, roadblock alarm is produced.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize following steps:
Before putting camera timing acquiring image upon actuation, judge whether mobile terminal is in by acceleration transducer Mobile status;
In the case where the judgment result is yes, the roadblock pattern is started.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize following steps:
Before roadblock alarm is produced, the object of image that the rear camera is gathered and neutral net storehouse device or Traffic information is analyzed;
Determine that the roadblock constitutes a threat to the mobile terminal according to the result of comparative analysis.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize following steps:
Contrasted by the object or traffic information of the image that the rear camera gathers and neutral net storehouse device After analysis, the type of the roadblock is determined according to the result of comparative analysis.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize following steps:
The type and the mode of the corresponding relation determination alarm by way of alarm of the roadblock pre-set;
Roadblock alarm is produced according to the mode of the alarm of determination.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize one of following steps:
Roadblock is produced by way of ceasing and shielding to alert;
Roadblock is produced by way of vibrations and flashing light to alert;
Roadblock is produced by way of jingle bell and flashing light to alert.
Another aspect according to embodiments of the present invention, additionally provide a kind of computer-readable recording medium, the computer Readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be by one or more processor Perform, the step of to realize above-mentioned roadblock alarm method.
By the present invention, in the case where mobile terminal is in the roadblock pattern pre-set, starts rear camera and determine When gather image, wherein, described image includes traffic information;The mobile terminal is judged by the traffic information of collection It whether there is roadblock in preset range;In the case where the judgment result is yes, roadblock alarm is produced, solves row in correlation technique During walking there is the problem of potential safety hazard when causing to run into roadblock, run into user using that can not see road conditions during mobile terminal clearly Alarm prompt user is produced during roadblock, potential safety hazard is effectively reduced, improves Consumer's Experience.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow chart of roadblock alarm method according to embodiments of the present invention;
Fig. 4 is a kind of schematic diagram of roadblock identification according to embodiments of the present invention;
Fig. 5 is the flow chart of roadblock recognition methods according to embodiments of the present invention;
Fig. 6 is the schematic diagram that mobile terminal is used in walking process according to embodiments of the present invention;
Fig. 7 is the schematic diagram that barrier auto-alarming is run into walking process according to embodiments of the present invention;
Fig. 8 is the schematic diagram of mobile terminal according to embodiments of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System ofMobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out whole monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Embodiment 1
Based on above-mentioned mobile terminal, the embodiments of the invention provide a kind of roadblock alarm method, Fig. 3 is according to the present invention The flow chart of the roadblock alarm method of embodiment, as shown in figure 3, this method comprises the following steps:
Step S301, in the case where mobile terminal is in the roadblock pattern pre-set, start rear camera timing Image is gathered, wherein, described image includes traffic information;
Step S302, judge to whether there is road in the mobile terminal preset range by the traffic information of collection Barrier;
Step S303, in the case where the judgment result is yes, produce roadblock alarm.
By above-mentioned steps, in the case where mobile terminal is in the roadblock pattern pre-set, start rear camera Timing acquiring image, wherein, described image includes traffic information;Judged by the traffic information of collection described mobile whole It whether there is roadblock in the preset range of end;In the case where the judgment result is yes, roadblock alarm is produced, is solved in correlation technique In walking process there is the problem of potential safety hazard in user using that can not see road conditions during mobile terminal clearly when causing to run into roadblock, meet To alarm prompt user is produced during roadblock, potential safety hazard is effectively reduced, improves Consumer's Experience.
Optionally, before putting camera timing acquiring image upon actuation, methods described also includes:Pass through acceleration sensing Device judges whether mobile terminal is in mobile status;In the case where the judgment result is yes, the roadblock pattern is started.
Optionally, before roadblock alarm is produced, methods described also includes:Image that the rear camera is gathered with The object or traffic information of neutral net storehouse device are analyzed;Determine the roadblock to institute according to the result of comparative analysis Mobile terminal is stated to constitute a threat to.
Optionally, enter by the object or traffic information of the image that the rear camera gathers and neutral net storehouse device After row comparative analysis, methods described also includes:The type of the roadblock is determined according to the result of comparative analysis.
Optionally, the generation roadblock alarm includes:The type of roadblock that pre-sets with it is corresponding by way of alarm Relation determines the mode of alarm;Roadblock alarm is produced according to the mode of the alarm of determination.
In the embodiment of the present invention, the barrier around detected target object, destination object refers to people, and specifically audio plays The user of equipment, for example, audio-frequence player device is earphone, destination object is the user for having on earphone.Barrier refers to around people Other objects for colliding of possibility and people, for example, vehicle, pedestrian, electric pole etc..
Barrier around detected target object, specifically can include detection effective detection distance in all barriers, Detect the one or more obstacles nearest from all barriers in destination object setpoint distance, detecting distance destination object Thing.The mode of detection can find barrier with the method for radio and determine their locus, can also be visited with sound The method of survey finds the barrier as sound source, and the barrier of surrounding, this hair can be specifically detected by the way of any suitable Bright embodiment is not restricted to this.For example, the sensing of the objects such as radar, infrared induction equipment, sound sensing apparatus can be called to set Barrier around standby detection.During specific implementation, object sensing apparatus can integrate with earphone, when user has on earphone When, user can be started working with open detection peripheral obstacle and the function of prompting, object sensing apparatus, be detected close to user Barrier, send prompt tone so that earphone is directed to the barrier that detects.
In embodiments of the present invention, the operating frequency of barrier is detected when in relatively broad place to be turned down, The operating frequency of barrier is detected when in relatively intensive place to be heightened, specifically can be according to detecting for a period of time The frequency of barrier determine that destination object is in broad or intensive place or can determine mesh according to modes such as positioning It is to be in broad or intensive place to mark object, such as destination object is in drive, it is determined that in close quarters, target Object is in park or countryside, it is determined that in broad area.In practical application, have on earphone and listen the pedestrian of music going across the road When, there is automobile to be sailed on the left of pedestrian and come, pedestrian is possible to not hear that automobile sails the sound come due to having on earphone, at this moment detects There is automobile on the left of to pedestrian, it is possible to prompt tone is sent by earphone and warns pedestrian.
Orientation residing for identifying the barrier, when detecting the barrier around destination object, corresponding nothing can be received The signal such as line electricity or sound, according to the direction for receiving the signal such as radio or sound source, can identify that barrier is relative Orientation residing for destination object.The mode in specific identification orientation is related to the object sensing apparatus used.For example, connect using radar The orientation of the reflection radio wave cognitive disorders thing received, or the voice recognition sound source received using sound sensing apparatus Orientation, specifically can be by the way of being arbitrarily applicable with object sensing apparatus, and the embodiment of the present invention is not restricted to this.
During specific implementation, when there is a barrier, identify the front of a barrier relative target object in level With the angle of vertical both direction, when there are multiple barriers, the front of the respective relative target object of multiple barriers is identified In the angle of horizontal and vertical directions.In another embodiment, those skilled in the art can also adjusted design scheme, only Only judge and identify multiple barriers each relative target object front in the horizontal direction or vertical direction angle, this hair Bright embodiment is not restricted to this.
Webpage is browsed during walking for present user, sees e-book, is chatted, plays game, front can not be seen Road conditions (for example there are car, barrier, puddle, red light etc. in front, just very dangerous), the security threat brought to user, this Text proposes a kind of system and terminal of roadblock identification.First, tested the speed first by acceleration transducer herein, judgement is currently It is not during walking, when judging then to enter roadblock pattern during walking, otherwise stops walking, then close roadblock Pattern;Secondly, into after roadblock pattern, system can open GPS, and camera carrys out timing acquiring;Traffic information.Furthermore pass through GPS The position for positioning pedestrian is at red light crossing, by the image of camera timing acquiring, whether is existed instantly to analyze Barrier or red light, if it is, the size of barrier, carrying out initial analysis close to the speed of terminal for barrier;Most Afterwards, use object in neutral net, and neutral net storehouse or road conditions to be compared in the picture of collection, and finally determine Plan can or can not constitute a threat to user, if there is threat, then warn user.Warning user in above-mentioned is by warning mould Block is completed.According to it is above-mentioned analyze come dangerous rank, to make warning to user, for example there are small puddle, wall in front Wall, big tree etc. will not form dangerous barrier to life, then vibration prompting, and there is a red light in front, pool, the automobile to go at express speed, then Close screen, vibrations and dodge red light warning.
This method intelligent, user do not have to take sb's mind off sth in road conditions, and terminal meeting automatically prompting user there is currently Danger, the ease for use of system can be so improved, can also improve Consumer's Experience well.
Fig. 4 is a kind of schematic diagram of roadblock identification according to embodiments of the present invention, as shown in figure 4, including:
A, tested the speed by acceleration transducer, judge it is current whether during walking, when judging the mistake in walking Then enter roadblock pattern in journey, otherwise stop walking, then close roadblock pattern.
B, into after roadblock pattern, system can automatically open up GPS, camera, gather the information (ordinary circumstance of road conditions in real time Under, collection per second is once).
C, for whether being expert to red light crossing by GPS location information, positioning active user in step B, if it is, Into step E.
D, for the pictorial information collected in step B by camera, analyze what object in picture took in screen Area carrys out the size of object analysis, and compares picture several times, analyzes the close speed of object, preliminary to current dangerous progress Analysis, subsequently into step E.
E, the picture of collection is used into neutral net, and neutral net storehouse (be before mobile phone dispatches from the factory it is preset in systems, this It is individual be by gathering various barriers, and largely trained, finally give a storehouse) in object or road conditions carry out Compare analysis
F, system is by the classification of the barrier obtained in step D and F, the movement velocity of barrier, size of barrier etc. Information go to table look-up as parameter (terminal dispatch from the factory before can a preset table in systems, barrier is divided into two classes:Fatal and danger Danger) classification, and final decision can or can not form danger, and dangerous rank to user.It is other according to barrier danger line Difference, different warnings is made to user.
G, the warning user in above-mentioned is completed by alarm module.According to it is above-mentioned analyze come dangerous level Not, warning is made to user, for example there are small puddle, wall in front, big tree etc. will not form dangerous barrier to life, then There is red light in vibration prompting, front, pool, the automobile to go at express speed, then closes screen, vibrations and dodge red light warning.
Fig. 5 is the flow chart of roadblock recognition methods according to embodiments of the present invention, as shown in figure 5, including:
Step S501, is tested the speed by acceleration transducer;
Step S502, the speed of walking is judged whether in the range of the speed of travel pre-set, if user currently transports Dynamic speed is in the velocity interval of walking, then it is assumed that is to walk, if it is determined that current user is during walking Then enter roadblock pattern, otherwise stop walking, then close roadblock pattern.
Step S503, into after roadblock pattern, system can automatically open up GPS, and camera carrys out timing acquiring traffic information (one As in the case of, it is per second collection once).
Step S504, every the position of collection in one second successively user, and road conditions are taken pictures;
Step S505, for the location information by GPS location, judge whether active user is expert to red light crossing, In the case where the judgment result is yes, into step S506.
Step S506, accounting of the barrier in screen in photo is analyzed, believed for the picture collected by camera Breath, the size that the area that object takes in screen in picture carrys out object analysis is analyzed, and compare picture several times, analyze object Close speed, dangerous carry out initial analysis to current.
Whether step S507, accounting of the disturbance in judgement thing in screen become larger and more than the 1/2 of screen, are judging to tie In the case that fruit is is, step S508 is performed;
Step S508, start neutral net and current photo is analyzed, the picture of collection is used into neutral net, and Neutral net storehouse (be before mobile phone dispatches from the factory it is preset in systems, this is by gathering various barriers, and is largely instructed Practice, the storehouse finally given) in object or road conditions be compared.
Step S509, judgement currently whether there is barrier, in the case where the judgment result is yes, perform step S510;
Step S510, the rank for top barrier of being tabled look-up according to the result of identification, it is above-mentioned in warning user all pass through Alarm module is completed.According to it is above-mentioned analyze come dangerous rank, to make warning to user, for example there is small water in front Hole, wall, big tree etc. will not form dangerous barrier to life, then there are red light, pool, the vapour to go at express speed in vibration prompting, front Car, then close screen, vibrations and dodge red light warning.
Whether step S511, disturbance in judgement thing are the safe barrier of life-threatening, are gone out according to analysis of neural network decision-making The species of the barrier come, and the speed of service of barrier, and residing for user whether red light crossing etc. is tabled look-up (terminal dispatch from the factory before can a preset table in systems, barrier is divided into two classes:Fatal and dangerous) decision-making, and finally determine Plan goes out the rank of current barrier, and warns user according to the rank of danger.In the case where the judgment result is yes, step is performed S512, in the case where the judgment result is yes, perform step S513;
Step S512, close screen, vibrations and dodge red light alarm;
Step S513, prompts user by way of vibrations.
Optionally, the generation roadblock alarm includes one below:Roadblock is produced by way of ceasing and shielding to alert;Pass through shake Dynamic and flashing light mode produces roadblock alarm;Roadblock is produced by way of jingle bell and flashing light to alert.
Fig. 6 is the schematic diagram that mobile terminal is used in walking process according to embodiments of the present invention, as shown in fig. 6, user Using mobile terminal viewing video during walking, because the energy for watching video compares concentration, user is likely to not have The road conditions in front are noticed, so as to there is potential safety hazard.Fig. 7 is to run into barrier in walking process according to embodiments of the present invention The schematic diagram of auto-alarming, if as shown in fig. 7, detect front 1 meter at barrier be present, due to not being particularly urgent, this When suspend the video that is playing, front is prompted the user with by way of short message and certain threat be present, on eliminating State potential safety hazard.
User two can wholeheartedly be used during walking for the embodiment of the present invention, and terminal is imaged first-class module and entered by GPS Row real-time perception, and analyzed on backstage with neutral net.Analyze and currently whether there is barrier, and barrier Rank, and to user with different warnings.Program intelligent, user do not have to take sb's mind off sth in road conditions, and terminal can be led It is dynamic to remind user to there is currently danger, the ease for use of system can be so improved, it is intelligent, user's body can be also improved well Test, improve viscosity of the product to user.
Embodiment 2
Another aspect according to embodiments of the present invention, additionally provides a kind of mobile terminal, and Fig. 8 is according to embodiments of the present invention Mobile terminal schematic diagram, as shown in figure 8, the mobile terminal includes processor, memory and communication bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the roadblock alarm program stored in memory, to realize following steps:
In the case where mobile terminal is in the roadblock pattern pre-set, start rear camera timing acquiring image, Wherein, described image includes traffic information;
Judge to whether there is roadblock in the mobile terminal preset range by the traffic information of collection;
In the case where the judgment result is yes, roadblock alarm is produced.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize following steps:
Before putting camera timing acquiring image upon actuation, judge whether mobile terminal is in by acceleration transducer Mobile status;
In the case where the judgment result is yes, the roadblock pattern is started.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize following steps:
Before roadblock alarm is produced, the object of image that the rear camera is gathered and neutral net storehouse device or Traffic information is analyzed;
Determine that the roadblock constitutes a threat to the mobile terminal according to the result of comparative analysis.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize following steps:
Contrasted by the object or traffic information of the image that the rear camera gathers and neutral net storehouse device After analysis, the type of the roadblock is determined according to the result of comparative analysis.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize following steps:
The type and the mode of the corresponding relation determination alarm by way of alarm of the roadblock pre-set;
Roadblock alarm is produced according to the mode of the alarm of determination.
Optionally, the processor is additionally operable to perform roadblock alarm program, to realize one of following steps:
Roadblock is produced by way of ceasing and shielding to alert;
Roadblock is produced by way of vibrations and flashing light to alert;
Roadblock is produced by way of jingle bell and flashing light to alert.
Embodiment 3
Another aspect according to embodiments of the present invention, additionally provide a kind of computer-readable recording medium, the computer Readable storage medium storing program for executing is stored with one or more program, and one or more of programs can be by one or more processor Perform, to realize the following steps of above-mentioned roadblock alarm method:
S11, in the case where mobile terminal is in the roadblock pattern pre-set, start rear camera timing acquiring figure Picture, wherein, described image includes traffic information;
S12, judge to whether there is roadblock in the mobile terminal preset range by the traffic information of collection;
S13, in the case where the judgment result is yes, produce roadblock alarm.
Alternatively, the specific example in the present embodiment may be referred to described in above-described embodiment and optional embodiment Example, the present embodiment will not be repeated here.
The embodiment of the present invention, in the case where mobile terminal is in the roadblock pattern pre-set, start rear camera Timing acquiring image, wherein, described image includes traffic information;Judged by the traffic information of collection described mobile whole It whether there is roadblock in the preset range of end;In the case where the judgment result is yes, roadblock alarm is produced, is solved in correlation technique In walking process there is the problem of potential safety hazard in user using that can not see road conditions during mobile terminal clearly when causing to run into roadblock, meet To alarm prompt user is produced during roadblock, potential safety hazard is effectively reduced, improves Consumer's Experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

  1. A kind of 1. roadblock alarm method, it is characterised in that including:
    In the case where mobile terminal is in the roadblock pattern pre-set, start rear camera timing acquiring image, wherein, Described image includes traffic information;
    Judge to whether there is roadblock in the mobile terminal preset range by the traffic information of collection;
    In the case where the judgment result is yes, roadblock alarm is produced.
  2. 2. according to the method for claim 1, it is characterised in that before putting camera timing acquiring image upon actuation, institute Stating method also includes:
    Judge whether mobile terminal is in mobile status by acceleration transducer;
    In the case where the judgment result is yes, the roadblock pattern is started.
  3. 3. according to the method for claim 1, it is characterised in that before roadblock alarm is produced, methods described also includes:
    The object or traffic information of the image that the rear camera gathers and neutral net storehouse device are analyzed;
    Determine that the roadblock constitutes a threat to the mobile terminal according to the result of comparative analysis.
  4. 4. according to the method for claim 1, it is characterised in that in the image and nerve net for gathering the rear camera After the object or traffic information of network storehouse device are analyzed, methods described also includes:
    The type of the roadblock is determined according to the result of comparative analysis.
  5. 5. according to the method for claim 4, it is characterised in that the generation roadblock alarm includes:
    The type and the mode of the corresponding relation determination alarm by way of alarm of the roadblock pre-set;
    Roadblock alarm is produced according to the mode of the alarm of determination.
  6. 6. method according to any one of claim 1 to 5, it is characterised in that the generation roadblock alarm includes following One of:
    Roadblock is produced by way of ceasing and shielding to alert;
    Roadblock is produced by way of vibrations and flashing light to alert;
    Roadblock is produced by way of jingle bell and flashing light to alert.
  7. 7. a kind of mobile terminal, it is characterised in that the mobile terminal includes processor, memory and communication bus;
    The communication bus is used to realize the connection communication between processor and memory;
    The processor is used to perform the roadblock alarm program stored in memory, to realize following steps:
    In the case where mobile terminal is in the roadblock pattern pre-set, start rear camera timing acquiring image, wherein, Described image includes traffic information;
    Judge to whether there is roadblock in the mobile terminal preset range by the traffic information of collection;
    In the case where the judgment result is yes, roadblock alarm is produced.
  8. 8. mobile terminal according to claim 7, it is characterised in that the processor is additionally operable to perform roadblock alarm journey Sequence, to realize following steps:
    Before putting camera timing acquiring image upon actuation, judge mobile terminal whether in movement by acceleration transducer State;
    In the case where the judgment result is yes, the roadblock pattern is started.
  9. 9. mobile terminal according to claim 7, it is characterised in that the processor is additionally operable to perform roadblock alarm journey Sequence, to realize following steps:
    Before roadblock alarm is produced, the object or road conditions of image and neutral net storehouse device that the rear camera is gathered Information is analyzed;
    Determine that the roadblock constitutes a threat to the mobile terminal according to the result of comparative analysis.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be appointed by one or more computing device with realizing in claim 1-6 The step of one roadblock alarm method.
CN201710860707.3A 2017-09-21 2017-09-21 Roadblock warning method, mobile terminal and computer readable storage medium Active CN107730830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710860707.3A CN107730830B (en) 2017-09-21 2017-09-21 Roadblock warning method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710860707.3A CN107730830B (en) 2017-09-21 2017-09-21 Roadblock warning method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107730830A true CN107730830A (en) 2018-02-23
CN107730830B CN107730830B (en) 2020-08-07

Family

ID=61207777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710860707.3A Active CN107730830B (en) 2017-09-21 2017-09-21 Roadblock warning method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107730830B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109584632A (en) * 2018-12-14 2019-04-05 深圳壹账通智能科技有限公司 Road conditions method for early warning, device, computer equipment and storage medium
CN110874910A (en) * 2018-08-31 2020-03-10 杭州海康威视数字技术股份有限公司 Road surface alarm method, device, electronic equipment and readable storage medium
CN113687810A (en) * 2021-05-25 2021-11-23 青岛海尔科技有限公司 Voice navigation method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881949A (en) * 2015-04-24 2015-09-02 深圳市欧珀通信软件有限公司 Road condition monitoring method based on mobile terminal and road condition monitoring device based on mobile terminal
CN105139576A (en) * 2015-07-09 2015-12-09 小米科技有限责任公司 Road condition prompting method and device
CN106297183A (en) * 2016-08-25 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method for safety monitoring and equipment
CN106899766A (en) * 2017-03-13 2017-06-27 宇龙计算机通信科技(深圳)有限公司 A kind of safety instruction method and its device and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881949A (en) * 2015-04-24 2015-09-02 深圳市欧珀通信软件有限公司 Road condition monitoring method based on mobile terminal and road condition monitoring device based on mobile terminal
CN105139576A (en) * 2015-07-09 2015-12-09 小米科技有限责任公司 Road condition prompting method and device
CN106297183A (en) * 2016-08-25 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of method for safety monitoring and equipment
CN106899766A (en) * 2017-03-13 2017-06-27 宇龙计算机通信科技(深圳)有限公司 A kind of safety instruction method and its device and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑明达: "《课本上学不到de信息技术》", 30 June 2016, 上海科技教育出版 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874910A (en) * 2018-08-31 2020-03-10 杭州海康威视数字技术股份有限公司 Road surface alarm method, device, electronic equipment and readable storage medium
CN110874910B (en) * 2018-08-31 2021-03-23 杭州海康威视数字技术股份有限公司 Road surface alarm method, device, electronic equipment and readable storage medium
CN109584632A (en) * 2018-12-14 2019-04-05 深圳壹账通智能科技有限公司 Road conditions method for early warning, device, computer equipment and storage medium
CN113687810A (en) * 2021-05-25 2021-11-23 青岛海尔科技有限公司 Voice navigation method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107730830B (en) 2020-08-07

Similar Documents

Publication Publication Date Title
CN107705550A (en) Traffic security early warning method of traffic control, mobile terminal and computer-readable recording medium
CN107562336A (en) A kind of method, equipment and computer-readable recording medium for controlling suspension ball
CN107133092A (en) Multi-thread synchronization processing method, terminal and computer-readable recording medium
CN107508994A (en) Touch-screen report point rate processing method, terminal and computer-readable recording medium
CN106961706A (en) Method, mobile terminal and the computer-readable recording medium of communication pattern switching
CN109376705A (en) Dance training methods of marking, device and computer readable storage medium
CN107807857A (en) Method, equipment and the computer for clearing up running memory can storage mediums
CN109634542A (en) A kind of switching display control method, terminal and computer readable storage medium
CN107657583A (en) A kind of screenshot method, terminal and computer-readable recording medium
CN108551520A (en) A kind of phonetic search response method, equipment and computer readable storage medium
CN107846503A (en) A kind of display methods of application icon, device, terminal and computer-readable recording medium
CN109726871A (en) Net about truck position recommended method, device, mobile terminal and storage medium
CN107104886A (en) A kind of information indicating method, equipment and computer-readable recording medium
CN107682542A (en) A kind of barrier alarm method, mobile terminal and computer-readable recording medium
CN107422940A (en) A kind of icon display method, mobile terminal and computer-readable recording medium
CN107730830A (en) A kind of roadblock alarm method, mobile terminal and computer-readable recording medium
CN107547741A (en) A kind of information processing method, device and computer-readable recording medium
CN109908578A (en) A kind of game seismaesthesia control method, terminal and computer readable storage medium
CN107608613A (en) A kind of method and terminal for preventing maloperation
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN107360558A (en) Emergency call control method, communication terminal and computer-readable recording medium
CN107730801A (en) A kind of monitoring method, terminal and computer-readable recording medium
CN108226880A (en) Ultrasonic distance detects anti-tampering method, apparatus and storage medium
CN107450796A (en) A kind of image processing method, mobile terminal and computer-readable recording medium
CN107666538A (en) A kind of connection method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200706

Address after: 210036, 301 Hanzhoung Avenue, Gulou District, Jiangsu, Nanjing

Applicant after: Jiangsu Xinli Technology Service Co., Ltd

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant