CN109388978A - Terminal forgets detection method, equipment and computer readable storage medium - Google Patents

Terminal forgets detection method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109388978A
CN109388978A CN201710685092.5A CN201710685092A CN109388978A CN 109388978 A CN109388978 A CN 109388978A CN 201710685092 A CN201710685092 A CN 201710685092A CN 109388978 A CN109388978 A CN 109388978A
Authority
CN
China
Prior art keywords
terminal
message
vehicle
onboard system
silence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710685092.5A
Other languages
Chinese (zh)
Inventor
刘先
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710685092.5A priority Critical patent/CN109388978A/en
Publication of CN109388978A publication Critical patent/CN109388978A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/88Detecting or preventing theft or loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

The invention discloses a kind of terminals to forget detection method, equipment and computer readable storage medium, and the method comprising the steps of: when the vehicle for receiving onboard system transmission stops message, detecting whether the terminal remains static;If the terminal remains static, monitor whether to receive the car locking message that the onboard system is sent;If receiving the car locking message, send a warning message to the onboard system, so that onboard system terminal according to warning information prompt user passes into silence in the vehicle.The present invention can automatically identify whether terminal is forgotten in the car by user, and it is passed into silence in systems by outputting alarm information alert user terminal, terminal is avoided to be forgotten in the car by user, the case where to make troubles to user, and the accuracy whether detection terminal passes into silence inside the vehicle is improved, reduce the false alarm rate of warning information output.

Description

Terminal forgets detection method, equipment and computer readable storage medium
Technical field
The present invention relates to technical field of data processing more particularly to a kind of terminal to forget detection method, equipment and computer Readable storage medium storing program for executing.
Background technique
Intelligent terminal, such as mobile phone have become the essential carry-on articles of contemporary people, go out band mobile phone and Band key band wallet of going out is equally important, but mobile phone also tends to become and loses product, and mobile phone is left at home, forgets in vehicle, forgets in meal The scene in shop it occur frequently that, and therefore bring various inconvenience.
There is a kind of prompting user terminal to pass into silence the method in vehicle at present, principle is built by terminal and interior module It is vertical to be wirelessly connected, judge that terminal is to be located at vehicle interior or outside by the feature of wireless signal.If lock under driver Men Shi, terminal are also located at vehicle interior then outputting alarm information.The drawbacks of this method, is to judge that terminal is by wireless signal The no accuracy rate positioned at vehicle interior is low, high so as to cause the warning information error rate of final output.
Summary of the invention
The main purpose of the present invention is to provide a kind of terminals to forget detection method, equipment and computer-readable storage medium Matter, it is intended to solve existing detection terminal and whether pass into silence the technical problem that error rate is high inside the vehicle.
To achieve the above object, the present invention provides a kind of terminal forgetting detection method, and the terminal forgets detection method packet Include step:
When the vehicle for receiving onboard system transmission stops message, detect whether the terminal remains static, In, the stopping message includes flame-out notification message and shutdown notification message;
If the terminal remains static, monitor whether to receive the car locking message that the onboard system is sent;
If receiving the car locking message, send a warning message to the onboard system, for the onboard system root It passes into silence in the vehicle according to terminal described in warning information prompt user.
Preferably, described when the vehicle for receiving onboard system transmission stops message, detect whether the terminal is in The step of stationary state includes:
When the vehicle for receiving onboard system transmission stops message, the monitor value of sensor in the terminal is obtained;
Judge whether the monitor value is less than or equal to preset threshold;
If the monitor value is less than or equal to the preset threshold, confirm that the terminal remains static;
If the monitor value is greater than the preset threshold, confirm that the terminal is kept in motion.
Preferably, when the sensor is acceleration transducer, the monitor value for obtaining sensor in the terminal The step of include:
Obtain the vector acceleration sequence that the acceleration transducer is monitored;
Acceleration change sequence vector is calculated according to the vector acceleration sequence;
The acceleration maximum value in the acceleration change sequence vector is determined, using the acceleration maximum value as described in Monitor value.
Preferably, when the sensor is gyroscope, in the acquisition terminal the step of sensor corresponding monitor value Include:
Obtain the angular velocity vector sequence that the gyroscope is monitored;
The angular speed maximum value in the angular velocity vector sequence is determined, using the angular speed maximum value as monitor value.
Preferably, the terminal forgets detection method further include:
The static monitor value that the terminal remains static is obtained, and obtains the fortune that the terminal is kept in motion Dynamic monitor value;
According to the static monitor value and the motion monitoring value, the preset threshold is calculated according to preset algorithm.
Preferably, it if described receive the car locking message, sends a warning message to the onboard system, for described Onboard system according to the warning information prompt user described in the terminal step in the vehicle that passes into silence include:
If receiving the car locking message, send a warning message to the onboard system, for the onboard system root According to the warning information, pass into silence in the vehicle according to terminal described in default warning strategies prompt user;
Wherein, the default warning strategies are to be prompted at once according to the warning information when receiving the warning information Terminal described in user passes into silence in the vehicle;
Or when receiving the warning information, user institute is prompted according to the warning information after being spaced preset duration Terminal is stated to pass into silence in the vehicle;
Or works as and receive the warning information, and induction car key corresponding with the onboard system and the vehicle-mounted system When the distance of system is greater than pre-determined distance, passed into silence in the vehicle according to terminal described in warning information prompt user.
Preferably, the terminal forgets detection method further include:
If receiving the car locking message, outputting alarm information, to prompt terminal described in user to pass into silence in the vehicle In.
Preferably, described when the vehicle for receiving onboard system transmission stops message, detect whether the terminal is in After the step of stationary state, further includes:
If the terminal is kept in motion, determine that the terminal does not pass into silence in the vehicle.
In addition, to achieve the above object, the present invention also provides a kind of terminals to forget detection device, the terminal forgets detection Equipment includes that the terminal that can run on the memory and on the processor of memory, processor and being stored in forgets detection Program, the terminal, which is forgotten when detection program is executed by the processor, realizes following steps:
When the vehicle for receiving onboard system transmission stops message, detect whether the terminal remains static, In, the stopping message includes flame-out notification message and shutdown notification message;
If the terminal remains static, monitor whether to receive the car locking message that the onboard system is sent;
If receiving the car locking message, send a warning message to the onboard system, for the onboard system root It passes into silence in the vehicle according to terminal described in warning information prompt user.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium It is stored with terminal on storage medium and forgets detection program, the terminal, which is forgotten when detection program is executed by processor, realizes following step It is rapid:
When the vehicle for receiving onboard system transmission stops message, detect whether the terminal remains static, In, the stopping message includes flame-out notification message and shutdown notification message;
If the terminal remains static, monitor whether to receive the car locking message that the onboard system is sent;
If receiving the car locking message, send a warning message to the onboard system, for the onboard system root It passes into silence in the vehicle according to terminal described in warning information prompt user.
The present invention is by detecting whether the terminal is in quiet when the vehicle for receiving onboard system transmission stops message Only state, wherein the stopping message includes flame-out notification message and shutdown notification message;If the terminal is in static shape State then monitors whether to receive the car locking message that the onboard system is sent;If receiving the car locking message, alarm is sent Information gives the onboard system, so that onboard system terminal according to warning information prompt user passes into silence in institute It states in vehicle.By the data interaction between terminal and onboard system, automatically identify whether terminal is forgotten by user in vehicle In, and passed into silence in systems by outputting alarm information alert user terminal, it avoids terminal and is forgotten in the car by user, The case where to make troubles to user;Outputting alarm is determined the need for by the current state of terminal and onboard system Information improves the accuracy whether detection terminal passes into silence inside the vehicle, reduces the false alarm rate of warning information output.
Detailed description of the invention
Fig. 1 is the network architecture diagram for the equipment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram that terminal of the present invention forgets detection method preferred embodiment;
Fig. 3 be the embodiment of the present invention in when receive onboard system transmission vehicle stop message when, detect the terminal A kind of flow diagram whether to remain static.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific 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.
The solution of the embodiment of the present invention is mainly: when the vehicle for receiving onboard system transmission stops message, inspection Survey whether the terminal remains static;If the terminal remains static, monitor whether to receive the vehicle-mounted system The car locking message that system is sent;If receiving the car locking message, send a warning message to the onboard system, for the vehicle Loading system terminal according to warning information prompt user passes into silence in the vehicle.It is to solve existing detection terminal The no high problem of error rate inside the vehicle that passes into silence.
As shown in Figure 1, Fig. 1 is the system structure diagram for the hardware running environment that the embodiment of the present invention is related to.
The terminal of that embodiment of the invention, which forgets detection device, can be PC, be also possible to the terminal of tablet computer, computer etc. Equipment.
As shown in Figure 1, it may include: processor 1001, such as CPU that the terminal, which forgets detection device, network interface 1004, Memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.Network Interface 1004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be height Fast RAM memory is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Optionally, terminal forget detection device can also include camera, RF (Radio Frequency, radio frequency) circuit, Sensor, voicefrequency circuit, WiFi module etc..
It will be understood by those skilled in the art that terminal shown in Fig. 1 forgets assay device structures not structure paired terminal Restriction, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include operating system and end in a kind of memory 1005 of computer storage medium Forget detection program in end.Wherein, operating system is to manage and control the program of customer service robot hardware and software resource, is supported eventually Forget the operation of detection program and other softwares and/or program in end.
Terminal shown in Fig. 1 is forgotten in detection device, and network interface 1004 is mainly used for establishing data with onboard system Link carries out data interaction with onboard system.And processor 1001 can be used for that the terminal stored in memory 1005 is called to lose Forget to detect program, and execute following steps: forgeing in detection device in terminal, processor, which can be used for calling in memory, to be stored Terminal forget detection program, and execute following steps:
When the vehicle for receiving onboard system transmission stops message, detect whether the terminal remains static, In, the stopping message includes flame-out notification message and shutdown notification message;
If the terminal remains static, monitor whether to receive the car locking message that the onboard system is sent;
If receiving the car locking message, send a warning message to the onboard system, for the onboard system root It passes into silence in the vehicle according to terminal described in warning information prompt user.
Further, described when the vehicle for receiving onboard system transmission stops message, detect whether the terminal is located Include: in the step of stationary state
When the vehicle for receiving onboard system transmission stops message, the monitor value of sensor in the terminal is obtained;
Judge whether the monitor value is less than or equal to preset threshold;
If the monitor value is less than or equal to the preset threshold, confirm that the terminal remains static;
If the monitor value is greater than the preset threshold, confirm that the terminal is kept in motion.
Further, when the sensor is acceleration transducer, the monitoring for obtaining sensor in the terminal The step of value includes:
Obtain the vector acceleration sequence that the acceleration transducer is monitored;
Acceleration change sequence vector is calculated according to the vector acceleration sequence;
The acceleration maximum value in the acceleration change sequence vector is determined, using the acceleration maximum value as described in Monitor value.
Further, when the sensor is gyroscope, the step for obtaining the corresponding monitor value of sensor in terminal Suddenly include:
Obtain the angular velocity vector sequence that the gyroscope is monitored;
The angular speed maximum value in the angular velocity vector sequence is determined, using the angular speed maximum value as monitor value.
Further, processor 1001 can be also used for that the terminal stored in memory 1005 is called to forget detection program, Execute following steps:
The static monitor value that the terminal remains static is obtained, and obtains the fortune that the terminal is kept in motion Dynamic monitor value;
According to the static monitor value and the motion monitoring value, the preset threshold is calculated according to preset algorithm.
Further, it if described receive the car locking message, sends a warning message to the onboard system, for institute State onboard system according to the warning information prompt user described in the terminal step in the vehicle that passes into silence include:
If receiving the car locking message, send a warning message to the onboard system, for the onboard system root According to the warning information, pass into silence in the vehicle according to terminal described in default warning strategies prompt user;
Wherein, the default warning strategies are to be prompted at once according to the warning information when receiving the warning information Terminal described in user passes into silence in the vehicle;
Or when receiving the warning information, user institute is prompted according to the warning information after being spaced preset duration Terminal is stated to pass into silence in the vehicle;
Or works as and receive the warning information, and induction car key corresponding with the onboard system and the vehicle-mounted system When the distance of system is greater than pre-determined distance, passed into silence in the vehicle according to terminal described in warning information prompt user.
Further, processor 1001 can be also used for that the terminal stored in memory 1005 is called to forget detection program, Execute following steps:
If receiving the car locking message, outputting alarm information, to prompt terminal described in user to pass into silence in the vehicle In.
Further, described when the vehicle for receiving onboard system transmission stops message, detect whether the terminal is located After in the stationary state the step of, processor 1001 can be also used for that the terminal stored in memory 1005 is called to forget detection journey Sequence executes following steps:
If the terminal is kept in motion, determine that the terminal does not pass into silence in the vehicle.
Based on above-mentioned structure, propose that terminal forgets each embodiment of detection method.
It is the flow diagram that terminal of the present invention forgets detection method preferred embodiment referring to Fig. 2, Fig. 2.
In the present embodiment, the embodiment that terminal forgets detection method is provided, it should be noted that although in flow chart In show logical order, but in some cases, shown or described step can be executed with the sequence for being different from herein Suddenly.
The terminal forgets detection method
Step S10 detects whether the terminal is in static when the vehicle for receiving onboard system transmission stops message State, wherein the stopping message includes flame-out notification message and shutdown notification message.
In embodiments of the present invention, data link is established between onboard system and terminal, carries out data interaction.Specifically Ground, onboard system can establish data link with terminal by Wi-Fi or bluetooth etc..When onboard system detects the stopping of vehicle When instruction, is generated according to the halt instruction and stop message, and be sent to terminal for message is stopped.When terminal receives vehicle-mounted system When the vehicle that system is sent stops message, terminal detects whether it remains static.
In the present embodiment, halt instruction includes flame-out instruction and instruction of closing the door, and corresponding stopping message is flame-out notice Message and shutdown notification message, i.e. stopping message include flame-out notification message and shutdown notification message.Specifically, onboard system can By the working condition of detection engine to determine whether detecting flame-out instruction, and pass through warning circuit or other monitorings Assembly monitor vehicle door status, by vehicle door status to determine whether detecting shutdown instruction.Terminal can detect it by sensor Whether remain static, which includes but is not limited to acceleration transducer and gyroscope.
Further, include: referring to Fig. 3, step S10
Step S11 obtains the prison of sensor in the terminal when the vehicle for receiving onboard system transmission stops message Measured value.
Step S12, judges whether the monitor value is less than or equal to preset threshold.
Step S13 confirms that the terminal is in static shape if the monitor value is less than or equal to the preset threshold State.
Step S14 confirms that the terminal is kept in motion if the monitor value is greater than the preset threshold.
When the vehicle that terminal receives onboard system transmission stops message, terminal obtains the monitor value of sensor, and sentences Whether the acquired monitor value that breaks is less than or equal to preset threshold.When detected value is less than or equal to preset threshold, terminal Confirm that it is currently at stationary state;When detected value be greater than preset threshold when, terminal check its be currently at motion state.It can be with Understand, when sensor is acceleration transducer, acquired monitor value is acceleration;When sensor is gyroscope, Acquired monitor value is angular speed.Preset threshold is arranged according to specific needs, or calculates institute according to specific formula ?.
Step S20 monitors whether to receive the car locking that the onboard system is sent if the terminal remains static Message.
When determining that terminal remains static, whether terminal monitoring receives the car locking message of onboard system transmission.Tool Body, whether onboard system can issue car locking instruction by the corresponding car key of detection to determine whether to send car locking message To terminal.After onboard system monitors the car locking instruction that car key issues, car locking message is sent to terminal;When onboard system not After monitoring the car locking instruction that car key issues, car locking message is not sent to terminal, and continues to monitor whether car key issues lock Vehicle instruction.
Step S30 sends a warning message to the onboard system, if receiving the car locking message for the vehicle Loading system terminal according to warning information prompt user passes into silence in the vehicle.
After terminal receives the car locking message of onboard system transmission, terminal sends a warning message to onboard system.Work as vehicle After loading system receives the warning information of terminal transmission, outputting alarm information, to prompt user terminal to pass into silence in the car.Tool Body, the form of expression of warning information includes but is not limited to ring vehicle horn, flashing car light and plays alarm by vehicle audio Music.
It is understood that in the present embodiment, terminal is to receive to come between flame-out notification message and car locking message Judge whether it remains static;Or judge whether it locates receiving between shutdown notification message and car locking message In motion state.
Further, terminal forgets detection method further include:
Step a determines that the terminal does not pass into silence in the vehicle if the terminal is kept in motion.
When terminal determines that it is kept in motion, terminal determines that it does not pass into silence in the car.
Further, terminal forgets detection method further include:
Step b, if receiving the car locking message, outputting alarm information, to prompt terminal described in user to pass into silence In the vehicle.
When terminal receives car locking message, the direct outputting alarm information of terminal is prompted according to the warning information exported User it passes into silence in the car.At this moment, be by terminal outputting alarm information, therefore, the form of expression and vehicle of warning information The corresponding warning information form of expression of loading system may be different, as terminal can be specific by broadcasting specific music, or output Prompt tone to prompt user, it passes into silence in the car.
It is understood that by the thinking of this method, it also can detecte whether terminal passes into silence at home or company Deng.
It should be noted that solving the problems, such as the present invention, to be solved can also be with the following method: when onboard system monitoring When halt instruction corresponding to vehicle stopping message, send a notification message to terminal;When terminal receives the notification message of terminal When, it monitors whether it remains static according to the notification message, obtains monitoring result, and monitoring result is returned into vehicle-mounted system System;When onboard system receives the monitoring result of terminal transmission, determine that terminal is in static shape according to the received monitoring result of institute State, and when monitoring the corresponding car locking instruction of car locking message, outputting alarm information, to prompt user terminal to pass into silence in vehicle In.
The present embodiment is by the way that when the vehicle for receiving onboard system transmission stops message, whether detection terminal is in static State;If terminal remains static, the car locking message for receiving onboard system transmission is monitored whether;If receiving car locking to disappear Breath then sends a warning message to onboard system, so that onboard system prompts user terminal to pass into silence in vehicle according to warning information In.It by the data interaction between terminal and onboard system, automatically identifies whether terminal is forgotten in the car by user, and leads to It crosses outputting alarm information alert user terminal to pass into silence in systems, avoids terminal and forgotten by user in the car, to give The case where user makes troubles;Outputting alarm information is determined the need for by the current state of terminal and onboard system, The accuracy whether detection terminal passes into silence inside the vehicle is improved, the false alarm rate of warning information output is reduced.
Further, propose that terminal of the present invention forgets detection method second embodiment.
The terminal forgets detection method second embodiment and the terminal forgets the difference of detection method preferred embodiment It is, when the sensor is acceleration transducer, described the step of obtaining the monitor value of sensor in the terminal includes:
Step c obtains the vector acceleration sequence that the acceleration transducer is monitored.
When sensor is acceleration transducer in terminal, during terminal obtains sensor monitor value, terminal is obtained The vector acceleration sequence for taking acceleration transducer to be monitored.Specifically, if stopping message and car locking and disappearing terminal receiving Time between breath is denoted as monitoring time, then vector acceleration sequence acquired in terminal is acquired in monitoring time Sequence composed by acceleration.For the convenience of calculating, may be configured as in terminal acceleration acquired in monitoring time with The acceleration that machine extracts preset quantity forms vector acceleration sequence, or is set as every after being spaced preset duration and obtains once Acquired acceleration is finally formed vector acceleration sequence, or selects some period in monitoring time by acceleration The acceleration monitored is as vector acceleration sequence etc..It is understood that terminal can also be obtained in monitoring time The whole acceleration taken are as vector acceleration sequence.It should be noted that preset quantity and preset duration can be according to need It wants and is arranged, if preset quantity may be configured as 10,20 or 40 etc., preset duration may be configured as 0.01s or 0.06s etc..
Acceleration change sequence vector is calculated according to the vector acceleration sequence in step d.
Step e determines the acceleration maximum value in the acceleration change sequence vector, and the acceleration maximum value is made For the monitor value.
When terminal gets vector acceleration sequence, acceleration change vector is calculated according to vector acceleration sequence Sequence, and determine the acceleration maximum value in acceleration change sequence vector, using identified acceleration maximum value as monitoring Value.It should be noted that acceleration maximum value is a numerical value, it is not vector.
Specifically, in the present embodiment, acquired vector acceleration sequence is expressed as:Wherein, WhereinResulting vector acceleration is sampled for n-th in vector acceleration sequence.Acceleration change sequence vector is expressed as C:Is defined as:It willIt is denoted as formula one.To in sequence C Each acceleration change vector modulus obtains the corresponding acceleration value of each acceleration change vector, if acceleration change to The acceleration maximum value measured in sequence is less than or equal to preset threshold, it is determined that terminal remains static.Work asThen think that acceleration is unchanged, terminal remains static, wherein CthresholdFor preset threshold,Indicate that modulus resulting value is sequence to n-th of acceleration change vector modulus in sequence C Arrange the corresponding acceleration value of n-th of acceleration change vector in C.
It should be noted that it is absolute rest that the environment as at the signal noise and terminal of acceleration transducer, which is not, , therefore will lead to terminal when under remaining static, acceleration transducer can also export faint acceleration.Thus may be used Know, terminal can avoid by preset threshold and remain static down, the interference of acceleration improves and judges whether terminal is in quiet The only accuracy of state.In the present embodiment, preset threshold can be according to factors such as the physical characteristics of acceleration transducer in terminal And be arranged, it can also be by being calculated.
Further, terminal forgets detection method further include:
Step f obtains the static monitor value that the terminal remains static, and obtains the terminal and be in movement shape The motion monitoring value of state.
Step g calculates the default threshold according to preset algorithm according to the static monitor value and the motion monitoring value Value.
When preset threshold is by being calculated, specific calculating process are as follows: terminal obtains it and remains static down Static monitor value, and obtain its motion monitoring value being kept in motion.When terminal gets static monitor value and movement When monitor value, terminal calculates preset threshold according to static monitor value and motion monitoring value, according to preset algorithm.
It should be noted that static monitor value is terminal by obtaining its lower vector acceleration sequence meter that remains static Gained is calculated, motion monitoring value is terminal as obtaining obtained by its acceleration change vector calculating under being kept in motion.It will be whole Acceleration change sequence vector under end remains static is denoted as A1, terminal be kept in motion under acceleration change vector Sequence is denoted as A2.The corresponding acceleration change sequence vector C1 of A1 is calculated by formula one, and calculates the corresponding acceleration of A2 Spend change vector sequence C 2.When obtaining sequence C 1 and sequence C 2, pass through formula three Calculate the acceleration maximum value C1 in sequence C 1max, and calculate the acceleration maximum value C2 in sequence C 2max
When obtaining C1maxAnd C2maxAfterwards, preset threshold is calculated according to preset algorithm.Wherein preset algorithm are as follows: Cthreshold =α C2max+(1-α)·C1max, wherein α is a coefficient between 0 to 1, i.e. 0≤α < 1.It is understood that When α is equal to 0, it is only necessary to obtain sequence A1.
In the present embodiment, preset threshold C is calculated by specific formulathreshold, improve and judge that terminal is currently The no accuracy to remain static, to reduce the error rate of outputting alarm information.
Further, propose that terminal of the present invention forgets detection method 3rd embodiment.When the sensor is gyroscope, The step of sensor corresponding monitor value, includes: in the acquisition terminal
Step h obtains the angular velocity vector sequence that the gyroscope is monitored.
Step i determines the angular speed maximum value in the angular velocity vector sequence, using the angular speed maximum value as prison Measured value.
When sensor is gyroscope, terminal obtains the angular velocity vector sequence that gyroscope is monitored, and determines angular speed Angular speed maximum value in sequence vector, using angular speed maximum value as monitor value.Terminal obtains the angle speed that gyroscope is monitored The detailed process of degree sequence is similar with the process of vector acceleration sequence that terminal acquisition acceleration transducer is monitored, This is repeated no more.
Specifically, angular velocity vector sequence is denoted as sequence W, i.e. sequence W are as follows:To every in sequence W A angular velocity vector modulus determines the corresponding magnitude of angular velocity of each angular speed in sequence W.When angular speed each in sequence W is corresponding Magnitude of angular velocity meetWhen, i.e. angular speed maximum value is less than in sequence W Or when being equal to preset threshold, it is determined that terminal remains static.Wherein WthresholdFor preset threshold.It should be noted that Preset threshold WthresholdIt can be determined according to factors such as the physical characteristics of gyroscope, it can also be as obtained by preset algorithm calculating.
W is calculated by preset algorithmthresholdDetailed process are as follows: terminal obtains the angle under it remains static by gyroscope Velocity vector sequence W1, and the angular velocity vector sequence W2 under it is kept in motion is obtained, determine the angle in sequence W1 and sequence W2 Speed maximum value.It is maximum according to the angular speed in sequence W1 and sequence W2 after determining the angular speed maximum value in sequence W1 and sequence W2 Value, can obtain according to preset algorithm Wherein, 0≤α < 1.
Whether remaining static for terminal monitored by gyroscope for the present embodiment, and is calculated by specific formula Preset threshold Wthreshold, the accuracy for judging whether terminal currently remains static is improved, the mistake of alarm mistake is reduced Accidentally rate.
Further, propose that terminal of the present invention forgets detection method fourth embodiment.
The terminal forgets detection method fourth embodiment and the terminal forgets detection method first and second and/or three in fact The difference for applying example is that step S30 includes:
Step j sends a warning message to the onboard system, if receiving the car locking message for described vehicle-mounted System passes into silence in the vehicle according to the warning information according to terminal described in default warning strategies prompt user;
Wherein, the default warning strategies are to be prompted at once according to the warning information when receiving the warning information Terminal described in user passes into silence in the vehicle;
Or when receiving the warning information, user institute is prompted according to the warning information after being spaced preset duration Terminal is stated to pass into silence in the vehicle;
Or works as and receive the warning information, and induction car key corresponding with the onboard system and the vehicle-mounted system When the distance of system is greater than pre-determined distance, passed into silence in the vehicle according to terminal described in warning information prompt user.
When terminal receives the car locking message of onboard system transmission, terminal sends a warning message to onboard system.Work as vehicle When loading system receives the warning information of terminal transmission, onboard system is according to the received warning information of institute, according to default alarm plan Slightly prompt user terminal passes into silence in the car.
In the present embodiment, default warning strategies can be for when onboard system receives warning information, onboard system be at once Outputting alarm information, to prompt user terminal to pass into silence in the car according to warning information.
Default warning strategies can also be when onboard system receives the warning information of terminal transmission, in interval preset duration Outputting alarm information afterwards, to prompt user terminal to pass into silence in the car.Wherein, the preset duration being spaced can be according to specific need It wants and is arranged, such as may be configured as 1 minute, 3 minutes or 4 minutes etc..By interval preset duration after ability outputting alarm information, To determine in user when forgeing in the car terminal, ability outputting alarm information avoids user after just locking a door, just remembers Terminal pass into silence in the car also outputting alarm information the case where appearance, reduce when terminal passes into silence in the car, alert The error rate of mistake.
Default warning strategies can also obtain and vehicle-mounted system for when onboard system receives the warning information that terminal is sent It unites corresponding induction the distance between car key and onboard system, judges whether acquired distance is greater than pre-determined distance.Work as institute When the distance of acquisition is greater than pre-determined distance, onboard system outputting alarm information, to prompt user terminal to pass into silence in the car;When When acquired distance is less than or equal to pre-determined distance, onboard system not outputting alarm information continues to test itself and induction vehicle The distance between key.Wherein, pre-determined distance is arranged according to specific needs, such as can be set to 1 meter, 1.5 meters or 3 Rice etc..It, can be by when induction car key and onboard system since user under normal conditions can be car key band at one's side The distance between determine the distance between user and vehicle, decided whether by the distance between user and vehicle defeated Warning information out reduces the error rate that mistake is alerted when terminal passes into silence in the car.
It is understood that warning strategies, which can be set to work as, receives car locking message when terminal outputting alarm information Afterwards, outputting alarm information, the preset time being spaced can be arranged interval preset time according to specific needs again, such as settable It is 1 minute, 3 minutes or 4 minutes etc..
It should be noted that default warning strategies include but is not limited to above-mentioned mentioned strategy.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with terminal and forget detection program, the terminal, which is forgotten when detection program is executed by processor, realizes following steps:
When the vehicle for receiving onboard system transmission stops message, detect whether the terminal remains static, In, the stopping message includes flame-out notification message and shutdown notification message;
If the terminal remains static, monitor whether to receive the car locking message that the onboard system is sent;
If receiving the car locking message, send a warning message to the onboard system, for the onboard system root It passes into silence in the vehicle according to terminal described in warning information prompt user.
Further, described when the vehicle for receiving onboard system transmission stops message, detect whether the terminal is located Include: in the step of stationary state
When the vehicle for receiving onboard system transmission stops message, the monitor value of sensor in the terminal is obtained;
Judge whether the monitor value is less than or equal to preset threshold;
If the monitor value is less than or equal to the preset threshold, confirm that the terminal remains static;
If the monitor value is greater than the preset threshold, confirm that the terminal is kept in motion.
Further, when the sensor is acceleration transducer, the monitoring for obtaining sensor in the terminal The step of value includes:
Obtain the vector acceleration sequence that the acceleration transducer is monitored;
Acceleration change sequence vector is calculated according to the vector acceleration sequence;
The acceleration maximum value in the acceleration change sequence vector is determined, using the acceleration maximum value as described in Monitor value.
Further, when the sensor is gyroscope, the step for obtaining the corresponding monitor value of sensor in terminal Suddenly include:
Obtain the angular velocity vector sequence that the gyroscope is monitored;
The angular speed maximum value in the angular velocity vector sequence is determined, using the angular speed maximum value as monitor value.
Further, the terminal, which is forgotten when detection program is executed by processor, realizes following steps:
The static monitor value that the terminal remains static is obtained, and obtains the fortune that the terminal is kept in motion Dynamic monitor value;
According to the static monitor value and the motion monitoring value, the preset threshold is calculated according to preset algorithm.
Further, it if described receive the car locking message, sends a warning message to the onboard system, for institute State onboard system according to the warning information prompt user described in the terminal step in the vehicle that passes into silence include:
If receiving the car locking message, send a warning message to the onboard system, for the onboard system root According to the warning information, pass into silence in the vehicle according to terminal described in default warning strategies prompt user;
Wherein, the default warning strategies are to be prompted at once according to the warning information when receiving the warning information Terminal described in user passes into silence in the vehicle;
Or when receiving the warning information, user institute is prompted according to the warning information after being spaced preset duration Terminal is stated to pass into silence in the vehicle;
Or works as and receive the warning information, and induction car key corresponding with the onboard system and the vehicle-mounted system When the distance of system is greater than pre-determined distance, passed into silence in the vehicle according to terminal described in warning information prompt user.
Further, the terminal, which is forgotten when detection program is executed by processor, realizes following steps:
If receiving the car locking message, outputting alarm information, to prompt terminal described in user to pass into silence in the vehicle In.
Further, described when the vehicle for receiving onboard system transmission stops message, detect whether the terminal is located After in the stationary state the step of, the terminal, which is forgotten when detection program is executed by processor, realizes following steps:
If the terminal is kept in motion, determine that the terminal does not pass into silence in the vehicle.
Computer readable storage medium specific embodiment of the present invention and above-mentioned terminal forget each embodiment base of detection method This is identical, and details are not described herein.
In addition, the embodiment of the present invention also proposes that a kind of terminal forgets detection device, which forgets detection device and is built in Terminal is forgotten in detection device, or forgets detection device with terminal and connect, and specifically, terminal forgets detection device and includes:
Detection module, for detecting whether the terminal is located when the vehicle for receiving onboard system transmission stops message In stationary state, wherein the stopping message includes flame-out notification message and shutdown notification message;
Monitoring modular monitors whether that receiving the onboard system sends if remaining static for the terminal Car locking message;
Sending module, if sending a warning message to the onboard system, for receiving the car locking message for institute Onboard system terminal according to warning information prompt user is stated to pass into silence in the vehicle.
Further, the detection module includes:
Acquiring unit, for obtaining and being sensed in the terminal when the vehicle for receiving onboard system transmission stops message The monitor value of device;
Judging unit, for judging whether the monitor value is less than or equal to preset threshold;
Confirmation unit confirms that the terminal is in if being less than or equal to the preset threshold for the monitor value Stationary state;If the monitor value is greater than the preset threshold, confirm that the terminal is kept in motion.
Further, when the sensor is acceleration transducer, the acquiring unit includes:
First obtains subelement, the vector acceleration sequence monitored for obtaining the acceleration transducer;
Computation subunit, for acceleration change sequence vector to be calculated according to the vector acceleration sequence;
First determines subelement, will be described for determining the acceleration maximum value in the acceleration change sequence vector Acceleration maximum value is as the monitor value.
Further, when the sensor is gyroscope, the acquiring unit further include:
Second obtains subelement, the angular velocity vector sequence monitored for obtaining the gyroscope;
Second determines subelement, for determining the angular speed maximum value in the angular velocity vector sequence, by the angle speed Maximum value is spent as monitor value.
Further, the terminal forgets detection device further include:
Module, the static monitor value to remain static for obtaining the terminal are obtained, and is obtained at the terminal In the motion monitoring value of motion state;
Computing module, for calculating institute according to preset algorithm according to the static monitor value and the motion monitoring value State preset threshold.
Further, it if the sending module is also used to receive the car locking message, sends a warning message to described Onboard system, so that the onboard system is according to the warning information, according to terminal quilt described in default warning strategies prompt user Forget in the vehicle;
Wherein, the default warning strategies are to be prompted at once according to the warning information when receiving the warning information Terminal described in user passes into silence in the vehicle;
Or when receiving the warning information, user institute is prompted according to the warning information after being spaced preset duration Terminal is stated to pass into silence in the vehicle;
Or works as and receive the warning information, and induction car key corresponding with the onboard system and the vehicle-mounted system When the distance of system is greater than pre-determined distance, passed into silence in the vehicle according to terminal described in warning information prompt user.
Further, the terminal forgets detection device further include:
Output module, if for receiving the car locking message, outputting alarm information, to prompt terminal quilt described in user Forget in the vehicle.
Further, the terminal forgets detection device further include:
Determination module determines that the terminal does not pass into silence in the vehicle if being kept in motion for the terminal In.
Terminal of the present invention forgets detection device specific embodiment and above-mentioned terminal forgetting each embodiment of detection method is basic Identical, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of terminal forgets detection method, which is characterized in that detection method includes the following steps for the terminal forgetting:
When the vehicle for receiving onboard system transmission stops message, detect whether the terminal remains static, wherein institute Stating stopping message includes flame-out notification message and shutdown notification message;
If the terminal remains static, monitor whether to receive the car locking message that the onboard system is sent;
If receiving the car locking message, send a warning message to the onboard system, so that the onboard system is according to institute Terminal described in warning information prompt user is stated to pass into silence in the vehicle.
2. terminal as described in claim 1 forgets detection method, which is characterized in that described to receive what onboard system was sent When vehicle stops message, detect that the step of whether terminal remains static includes:
When the vehicle for receiving onboard system transmission stops message, the monitor value of sensor in the terminal is obtained;
Judge whether the monitor value is less than or equal to preset threshold;
If the monitor value is less than or equal to the preset threshold, confirm that the terminal remains static;
If the monitor value is greater than the preset threshold, confirm that the terminal is kept in motion.
3. terminal as claimed in claim 2 forgets detection method, which is characterized in that when the sensor is acceleration transducer When, described the step of obtaining the monitor value of sensor in the terminal includes:
Obtain the vector acceleration sequence that the acceleration transducer is monitored;
Acceleration change sequence vector is calculated according to the vector acceleration sequence;
The acceleration maximum value in the acceleration change sequence vector is determined, using the acceleration maximum value as the monitoring Value.
4. terminal as claimed in claim 2 forgets detection method, which is characterized in that when the sensor is gyroscope, institute Stating the step of obtaining the corresponding monitor value of sensor in terminal includes:
Obtain the angular velocity vector sequence that the gyroscope is monitored;
The angular speed maximum value in the angular velocity vector sequence is determined, using the angular speed maximum value as monitor value.
5. terminal as claimed in claim 2 forgets detection method, which is characterized in that the terminal is forgotten detection method and also wrapped It includes:
The static monitor value that the terminal remains static is obtained, and obtains the movement prison that the terminal is kept in motion Measured value;
According to the static monitor value and the motion monitoring value, the preset threshold is calculated according to preset algorithm.
6. terminal as described in claim 1 forgets detection method, which is characterized in that if described receive the car locking message, It then sends a warning message to the onboard system, for onboard system terminal according to warning information prompt user The step to pass into silence in the vehicle includes:
If receiving the car locking message, send a warning message to the onboard system, so that the onboard system is according to institute Warning information is stated, is passed into silence in the vehicle according to terminal described in default warning strategies prompt user;
Wherein, the default warning strategies are to prompt user according to the warning information at once when receiving the warning information The terminal passes into silence in the vehicle;
Or when receiving the warning information, after being spaced preset duration according to warning information prompt user eventually End passes into silence in the vehicle;
Or works as and receive the warning information, and induction car key corresponding with the onboard system and the onboard system When distance is greater than pre-determined distance, passed into silence in the vehicle according to terminal described in warning information prompt user.
7. terminal as described in claim 1 forgets detection method, which is characterized in that the terminal is forgotten detection method and also wrapped It includes:
If receiving the car locking message, outputting alarm information, to prompt terminal described in user to pass into silence in the vehicle.
8. terminal as described in any one of claim 1 to 7 forgets detection method, which is characterized in that described vehicle-mounted when receiving When the vehicle that system is sent stops message, after detecting the step of whether terminal remains static, further includes:
If the terminal is kept in motion, determine that the terminal does not pass into silence in the vehicle.
9. a kind of terminal forgets detection device, which is characterized in that the terminal forget detection device include memory, processor and The terminal that being stored in can run on the memory and on the processor forgets detection program, and the terminal forgets detection journey Sequence realizes following steps when being executed by the processor:
When the vehicle for receiving onboard system transmission stops message, detect whether the terminal remains static, wherein institute Stating stopping message includes flame-out notification message and shutdown notification message;
If the terminal remains static, monitor whether to receive the car locking message that the onboard system is sent;
If receiving the car locking message, send a warning message to the onboard system, so that the onboard system is according to institute Terminal described in warning information prompt user is stated to pass into silence in the vehicle.
10. a kind of computer readable storage medium, which is characterized in that be stored with terminal something lost on the computer readable storage medium Forget to detect program, the terminal, which is forgotten when detection program is executed by processor, realizes following steps:
When the vehicle for receiving onboard system transmission stops message, the monitor value of sensor in the terminal is obtained, wherein institute Stating stopping message includes flame-out notification message and shutdown notification message;
Judge whether the monitor value is less than or equal to preset threshold;
If the monitor value is less than or equal to the preset threshold, confirm that the terminal remains static;
If the monitor value is greater than the preset threshold, confirm that the terminal is kept in motion.
CN201710685092.5A 2017-08-11 2017-08-11 Terminal forgets detection method, equipment and computer readable storage medium Pending CN109388978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710685092.5A CN109388978A (en) 2017-08-11 2017-08-11 Terminal forgets detection method, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710685092.5A CN109388978A (en) 2017-08-11 2017-08-11 Terminal forgets detection method, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109388978A true CN109388978A (en) 2019-02-26

Family

ID=65414808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710685092.5A Pending CN109388978A (en) 2017-08-11 2017-08-11 Terminal forgets detection method, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109388978A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110650246A (en) * 2019-09-26 2020-01-03 陈学礼 Mobile phone anti-lost system
CN112009423A (en) * 2019-05-30 2020-12-01 联合汽车电子有限公司 Vehicle control method and system
CN113114848A (en) * 2021-02-27 2021-07-13 惠州华阳通用电子有限公司 Mobile terminal autonomous reminding method
CN115214363A (en) * 2022-04-19 2022-10-21 广州汽车集团股份有限公司 Automobile key forgetting reminding method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004008181A1 (en) * 2004-02-19 2005-09-01 Volkswagen Ag Mobile device e.g. mobile phone, presence warning method for motor vehicle, involves automatically producing warning as horn/turn signal/headlights of vehicle, if device is left within vehicle and person is not present in vehicle
CN202053944U (en) * 2011-04-15 2011-11-30 上海博泰悦臻电子设备制造有限公司 Article prompting device
CN103763436A (en) * 2014-01-20 2014-04-30 惠州Tcl移动通信有限公司 Method for located position automatic reminding based on mobile terminal and mobile terminal
CN104750255A (en) * 2015-03-23 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment
CN106103194A (en) * 2014-11-03 2016-11-09 奥迪股份公司 For running the method for reception device, receiving device and there is the automobile of reception device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004008181A1 (en) * 2004-02-19 2005-09-01 Volkswagen Ag Mobile device e.g. mobile phone, presence warning method for motor vehicle, involves automatically producing warning as horn/turn signal/headlights of vehicle, if device is left within vehicle and person is not present in vehicle
CN202053944U (en) * 2011-04-15 2011-11-30 上海博泰悦臻电子设备制造有限公司 Article prompting device
CN103763436A (en) * 2014-01-20 2014-04-30 惠州Tcl移动通信有限公司 Method for located position automatic reminding based on mobile terminal and mobile terminal
CN106103194A (en) * 2014-11-03 2016-11-09 奥迪股份公司 For running the method for reception device, receiving device and there is the automobile of reception device
CN104750255A (en) * 2015-03-23 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112009423A (en) * 2019-05-30 2020-12-01 联合汽车电子有限公司 Vehicle control method and system
CN110650246A (en) * 2019-09-26 2020-01-03 陈学礼 Mobile phone anti-lost system
CN113114848A (en) * 2021-02-27 2021-07-13 惠州华阳通用电子有限公司 Mobile terminal autonomous reminding method
CN113114848B (en) * 2021-02-27 2022-09-16 惠州华阳通用电子有限公司 Mobile terminal autonomous reminding method
CN115214363A (en) * 2022-04-19 2022-10-21 广州汽车集团股份有限公司 Automobile key forgetting reminding method and system

Similar Documents

Publication Publication Date Title
CN109388978A (en) Terminal forgets detection method, equipment and computer readable storage medium
US10577850B2 (en) Methods, systems, and products for detection of environmental conditions
US10231110B1 (en) Crash detection and severity classification system implementing emergency assistance
US9796391B2 (en) Distracted driver prevention systems and methods
CN109955818A (en) Safe electronic device for the presence detection in vehicle
CN105667390B (en) Warning system
CN110009843B (en) Interactive warning system for commodity safety
US11064313B2 (en) In-vehicle wireless communication device and distance information detection method
TW201634320A (en) Driving safety detecting method, system, in-vehicle computer and intelligent wearable device
KR20180068146A (en) Monitoring device and method for management of getting on and getting off vehicle
JP2014152458A (en) Keyless system for vehicle
EP3219171B1 (en) Controlling devices based on collocation of the devices on a user
CN110040095A (en) A kind of anti-baby loses method, apparatus, storage medium and electronic equipment
CN109413377A (en) Method and apparatus for stopping distance selection
CN105279897A (en) Vehicle alarming method and device
CN114379566A (en) Vehicle control method and device and electronic equipment
CN113060095A (en) Vehicle locking state detection method and device and electronic equipment
KR20180091383A (en) Apparatus, control method thereof and recording media
US11157758B2 (en) System and method to restrict device access in vehicles
CN115063782A (en) Method, system, medium and terminal for monitoring use of mobile terminal by user in driving
CN107534706A (en) Anti-theft method for mobile terminal and mobile terminal
KR100600334B1 (en) Apparatus For Discriminating Smell Using The Mobile Communication Terminal
US9129507B2 (en) Portable electrical apparatus and method for detecting state of the same
CN112455330A (en) Method and device for preventing articles in vehicle trunk from being lost and vehicle
CN110009845B (en) Warning system for commodity safety

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