WO2016131338A1 - Method for outputting alarm information on mobile terminal and mobile terminal - Google Patents

Method for outputting alarm information on mobile terminal and mobile terminal Download PDF

Info

Publication number
WO2016131338A1
WO2016131338A1 PCT/CN2015/098114 CN2015098114W WO2016131338A1 WO 2016131338 A1 WO2016131338 A1 WO 2016131338A1 CN 2015098114 W CN2015098114 W CN 2015098114W WO 2016131338 A1 WO2016131338 A1 WO 2016131338A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
acceleration sensors
axis acceleration
sensors
alarm
Prior art date
Application number
PCT/CN2015/098114
Other languages
French (fr)
Chinese (zh)
Inventor
丁雪华
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016131338A1 publication Critical patent/WO2016131338A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements

Definitions

  • This document relates to, but is not limited to, the field of communications, and in particular, to a method and a mobile terminal for outputting alarm information on a mobile terminal.
  • the thickness of mobile terminals is getting thinner and thinner. As the thickness of the mobile terminal becomes thinner, the mobile terminal is easily bent under the action of an external force, and the probability of damage to the mobile terminal is also increased.
  • a smart phone generally has a built-in three-axis acceleration sensor, which can sense that the mobile phone is in a gripping or placing state, but cannot detect whether the mobile phone is bent or not.
  • the embodiment of the invention provides a method for outputting alarm information on a mobile terminal and a mobile terminal, and solves the problem of how to detect whether the mobile terminal is bent.
  • a mobile terminal includes:
  • At least three triaxial acceleration sensors wherein a placement position of the at least three triaxial acceleration sensors is capable of determining a plane on the mobile terminal;
  • a processor connected to the at least three three-axis acceleration sensors, configured to acquire a detection result of the at least three three-axis acceleration sensors, and if a plane determined according to the detection result of the at least three three-axis acceleration sensors is deformed , the alarm information is output.
  • the placement position of the at least three triaxial acceleration sensors is on an edge or a corner of the mobile terminal.
  • the processor is configured to control only one of the sensors of the same model at the same time when the models of at least two of the at least three three-axis acceleration sensors are the same.
  • the processor is configured to sequentially acquire the detection results of the at least two three-axis acceleration sensors according to a preset time interval when accessing at least two three-axis acceleration sensors of the same model.
  • the processor is configured to output alarm information in any of the following manners:
  • a method for outputting alarm information on a mobile terminal comprising:
  • the alarm information is output.
  • the placement position of the at least three triaxial acceleration sensors is on an edge or a corner of the mobile terminal.
  • the obtaining the detection result of the at least three three-axis acceleration sensors on the mobile terminal includes:
  • the control only accesses one of the sensors of the same model at the same time.
  • controlling only accesses one of the sensors of the same model at the same time, including:
  • the alarm information is output by any of the following methods, including:
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • FIG. 2 is another schematic diagram of the mobile terminal shown in FIG. 1;
  • the embodiment of the invention provides a mobile terminal, including:
  • At least three triaxial acceleration sensors wherein a placement position of the at least three triaxial acceleration sensors is capable of determining a plane on the mobile terminal;
  • a processor connected to the at least three three-axis acceleration sensors, configured to acquire a detection result of the at least three three-axis acceleration sensors, and if a plane determined according to the detection result of the at least three three-axis acceleration sensors is deformed , the alarm information is output.
  • the detected data should be very close; when a certain part of the mobile terminal is subjected to When the external force causes deformation, the data detected by the triaxial acceleration sensor covering the area will be different from other sensors; when the plane is deformed, the user is reminded.
  • the placement position of the at least three triaxial acceleration sensors is on an edge or a corner of the mobile terminal.
  • the position of the sensor is placed on the edge or corner of the mobile terminal, so that the plane determined by the above sensor is relatively large, which provides convenience for subsequent detection.
  • the alarm prompt information is sent by the communication module, wherein the communication module can be a Bluetooth, wifi or GPRS communication module.
  • the mobile terminal provided by the present invention is described below with an application example:
  • Step 304 The processor reads data of the sensor through the communication bus.
  • FIG. 4 is a flowchart of a method for outputting alarm information on a mobile terminal according to an embodiment of the present invention.
  • the method shown in Figure 4 includes:
  • Step 403 If the judgment result is deformation, the mobile terminal outputs the alarm information.
  • the detection results of the at least two three-axis acceleration sensors are sequentially acquired according to a preset time interval.
  • the alarm information is output by any of the following methods, including:
  • the alarm prompt information is sent through a communication connection.
  • the method provided by the embodiment of the invention adopts three or more three-axis acceleration sensors, and uses the principle of a minimum of three-point confirmation surface to distribute the sensor at a suitable position of the mobile terminal.
  • an alarm message is sent to remind The user realizes the purpose of detecting the bending of the mobile terminal.
  • each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
  • the invention is not limited to any specific form of combination of hardware and software.
  • the above technical solution can achieve the purpose of detecting that the mobile terminal is bent.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for outputting alarm information on a mobile terminal and a mobile terminal. The method comprises: acquiring detection results of at least three tri-axial acceleration sensors on a mobile terminal, wherein the placement positions of the at least three tri-axial acceleration sensors can determine a plane on the mobile terminal; judging whether the plane determined by the positions of the at least three tri-axial acceleration sensors deforms according to the detection results of the at least three tri-axial acceleration sensors, and obtaining a judgement result; and if the judgement result indicates that deformation occurs, outputting alarm information.

Description

一种移动终端上输出告警信息的方法和移动终端Method for outputting alarm information on mobile terminal and mobile terminal 技术领域Technical field
本文涉及但不限于通信领域,尤其涉及一种移动终端上输出告警信息的方法和移动终端。This document relates to, but is not limited to, the field of communications, and in particular, to a method and a mobile terminal for outputting alarm information on a mobile terminal.
背景技术Background technique
随着科技的发展,移动终端的厚度越做越薄。随着移动终端的厚度变薄,移动终端在外力作用下易弯曲,从而造成移动终端损坏的概率也增加了。With the development of technology, the thickness of mobile terminals is getting thinner and thinner. As the thickness of the mobile terminal becomes thinner, the mobile terminal is easily bent under the action of an external force, and the probability of damage to the mobile terminal is also increased.
相关技术中,智能手机一般都内置了一枚三轴加速度传感器,该传感器可感应到手机处于持握或放置状态,但不能检测到手机是否发生弯曲的情况。In the related art, a smart phone generally has a built-in three-axis acceleration sensor, which can sense that the mobile phone is in a gripping or placing state, but cannot detect whether the mobile phone is bent or not.
因此,如何检测出移动终端是否发生弯曲是亟待解决的问题。Therefore, how to detect whether the mobile terminal is bent is an urgent problem to be solved.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种移动终端上输出告警信息的方法和移动终端,要解决如何检测出移动终端是否发生弯曲的问题。The embodiment of the invention provides a method for outputting alarm information on a mobile terminal and a mobile terminal, and solves the problem of how to detect whether the mobile terminal is bent.
本发明实施例提供了如下技术方案:The embodiments of the present invention provide the following technical solutions:
一种移动终端,包括:A mobile terminal includes:
至少三枚三轴加速度传感器,其中所述至少三枚三轴加速度传感器的放置位置在所述移动终端上能够确定一个平面;At least three triaxial acceleration sensors, wherein a placement position of the at least three triaxial acceleration sensors is capable of determining a plane on the mobile terminal;
处理器,与所述至少三枚三轴加速度传感器相连,设置为获取所述至少三枚三轴加速度传感器的检测结果,如果根据所述至少三枚三轴加速度传感器的检测结果确定的平面发生形变,则输出告警信息。 a processor, connected to the at least three three-axis acceleration sensors, configured to acquire a detection result of the at least three three-axis acceleration sensors, and if a plane determined according to the detection result of the at least three three-axis acceleration sensors is deformed , the alarm information is output.
其中,所述至少三枚三轴加速度传感器的放置位置为所述移动终端的边缘上或者角上。The placement position of the at least three triaxial acceleration sensors is on an edge or a corner of the mobile terminal.
其中,所述处理器,是设置为当所述至少三枚三轴加速度传感器中有至少两个传感器的型号相同时,控制同一时刻仅访问相同型号的传感器中的一个。Wherein, the processor is configured to control only one of the sensors of the same model at the same time when the models of at least two of the at least three three-axis acceleration sensors are the same.
其中,所述处理器,是设置为当访问相同型号的至少两个三轴加速度传感器时,按照预先设置的时间间隔依次获取所述至少两个三轴加速度传感器的检测结果。The processor is configured to sequentially acquire the detection results of the at least two three-axis acceleration sensors according to a preset time interval when accessing at least two three-axis acceleration sensors of the same model.
其中,所述处理器,是设置为通过如下任一方式输出告警信息:The processor is configured to output alarm information in any of the following manners:
与声音播放单元相连,通过所述声音播放单元输出告警提示音;Connected to the sound playing unit, and output an alarm sounding sound through the sound playing unit;
与显示单元相连,通过所述显示单元输出告警提示信息;Connected to the display unit, and output alarm prompt information through the display unit;
与振动马达相连,控制振动马达进行振动操作;Connected to the vibration motor to control the vibration motor for vibration operation;
与通信模块相连,通过所述通信模块发送所述告警提示信息。Connected to the communication module, and the alarm prompt information is sent by the communication module.
一种移动终端上输出告警信息的方法,包括:A method for outputting alarm information on a mobile terminal, comprising:
获取移动终端上至少三枚三轴加速度传感器的检测结果,其中所述至少三枚三轴加速度传感器的放置位置在所述移动终端上能够确定一个平面;Obtaining a detection result of at least three three-axis acceleration sensors on the mobile terminal, wherein a placement position of the at least three three-axis acceleration sensors can determine a plane on the mobile terminal;
根据所述至少三枚三轴加速度传感器的检测结果,判断至少三枚三轴加速度传感器的位置确定的平面是否发生形变,得到判断结果;Determining, according to the detection result of the at least three three-axis acceleration sensors, whether a plane determined by the position of the at least three three-axis acceleration sensors is deformed, and obtaining a determination result;
如果所述判断结果为发生形变,则输出告警信息。If the judgment result is that deformation occurs, the alarm information is output.
其中,所述至少三枚三轴加速度传感器的放置位置为所述移动终端的边缘上或者角上。The placement position of the at least three triaxial acceleration sensors is on an edge or a corner of the mobile terminal.
其中,所述获取移动终端上至少三枚三轴加速度传感器的检测结果,包括:The obtaining the detection result of the at least three three-axis acceleration sensors on the mobile terminal includes:
当所述至少三枚三轴加速度传感器中有至少两个传感器的型号相同时,控制同一时刻仅访问相同型号的传感器中的一个。When at least two of the at least three three-axis acceleration sensors are of the same model, the control only accesses one of the sensors of the same model at the same time.
其中,所述控制同一时刻仅访问相同型号的传感器中的一个,包括:Wherein, the controlling only accesses one of the sensors of the same model at the same time, including:
当访问相同型号的至少两个三轴加速度传感器时,按照预先设置的时间 间隔依次获取所述至少两个三轴加速度传感器的检测结果。When accessing at least two triaxial accelerometers of the same model, according to the preset time The detection results of the at least two three-axis acceleration sensors are sequentially acquired at intervals.
其中,通过如下任一方式输出告警信息,包括:The alarm information is output by any of the following methods, including:
播放所述告警提示信息;Playing the alarm prompt information;
显示所述告警提示信息;Displaying the alarm prompt information;
控制振动马达进行振动操作;Control the vibration motor to perform vibration operation;
通过通信连接发送所述告警提示信息。The alarm prompt information is sent through a communication connection.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
本发明提供的实施例,采用三枚或以上三轴加速度传感器,并利用最少3点确认面的原理,将传感器分布在移动终端合适的位置,当传感器数据出现异常时,发出告警信息以提醒用户,实现检测出移动终端发生弯曲的目的。另外,通过控制同一时间仅访问同一型号的传感器,解决多枚相同传感器由于地址相同带来的访问冲突问题。The embodiment provided by the invention adopts three or more triaxial acceleration sensors, and uses the principle of at least three confirmation faces to distribute the sensors at suitable positions of the mobile terminal. When the sensor data is abnormal, an alarm message is sent to remind the user. , to achieve the purpose of detecting the bending of the mobile terminal. In addition, by controlling only the same type of sensor at the same time, the problem of access conflicts caused by the same address of multiple identical sensors is solved.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明应用实例提供的移动终端的示意图;1 is a schematic diagram of a mobile terminal provided by an application example of the present invention;
图2为图1所示移动终端的另一示意图;2 is another schematic diagram of the mobile terminal shown in FIG. 1;
图3为对图2所示移动终端上的四枚三轴加速度传感器进行采样的流程图;3 is a flow chart for sampling four three-axis acceleration sensors on the mobile terminal shown in FIG. 2;
图4为本发明实施例提供的移动终端上输出告警信息的方法的流程图。FIG. 4 is a flowchart of a method for outputting alarm information on a mobile terminal according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合附图及具体实施例对本发明作进一步的详细描述。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。 The invention will be further described in detail below with reference to the drawings and specific embodiments. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
本发明实施例提供一种移动终端,包括:The embodiment of the invention provides a mobile terminal, including:
至少三枚三轴加速度传感器,其中所述至少三枚三轴加速度传感器的放置位置在所述移动终端上能够确定一个平面;At least three triaxial acceleration sensors, wherein a placement position of the at least three triaxial acceleration sensors is capable of determining a plane on the mobile terminal;
处理器,与所述至少三枚三轴加速度传感器相连,设置为获取所述至少三枚三轴加速度传感器的检测结果,如果根据所述至少三枚三轴加速度传感器的检测结果确定的平面发生形变,则输出告警信息。a processor, connected to the at least three three-axis acceleration sensors, configured to acquire a detection result of the at least three three-axis acceleration sensors, and if a plane determined according to the detection result of the at least three three-axis acceleration sensors is deformed , the alarm information is output.
可选的,上述三轴加速度传感器在正常工作模式下,由于硬件摆放的位置决定了他们应当在同一个面上,所以检测到的数据应该都十分接近;当移动终端的某一个局部在受到外力作用下导致形变,那么覆盖该区域的三轴加速度传感器检测到的数据将会与其它传感器有差异;当平面发生形变时,提醒用户。Optionally, in the normal working mode, since the position of the hardware placement determines that they should be on the same surface, the detected data should be very close; when a certain part of the mobile terminal is subjected to When the external force causes deformation, the data detected by the triaxial acceleration sensor covering the area will be different from other sensors; when the plane is deformed, the user is reminded.
本发明实施例提供的移动终端,采用三枚或以上三轴加速度传感器,并利用最少3点确认面的原理,将传感器分布在移动终端合适的位置,当传感器数据出现异常时,发出告警信息以提醒用户,实现检测出移动终端发生弯曲的目的。The mobile terminal provided by the embodiment of the present invention uses three or more three-axis acceleration sensors, and uses the principle of a minimum of three-point confirmation surface to distribute the sensor at a suitable position of the mobile terminal. When the sensor data is abnormal, an alarm message is sent. Remind the user to realize the purpose of detecting the bending of the mobile terminal.
下面对本发明实施例提供的移动终端作进一步说明:The mobile terminal provided by the embodiment of the present invention is further described below:
其中,所述至少三枚三轴加速度传感器的放置位置为所述移动终端的边缘上或者角上。The placement position of the at least three triaxial acceleration sensors is on an edge or a corner of the mobile terminal.
可选的,传感器的摆放位置放置在移动终端的边缘或者角上,使得上述传感器确定的平面比较大,为后续检测提供了方便。Optionally, the position of the sensor is placed on the edge or corner of the mobile terminal, so that the plane determined by the above sensor is relatively large, which provides convenience for subsequent detection.
对于采用不同型号传感器,即传感器具有不同通讯地址,通过系统通讯总线可以直接对所有传感器进行数据读取,无需处理由于地址相同带来的访问冲突;For different types of sensors, that is, the sensors have different communication addresses, data can be directly read by all the sensors through the system communication bus, and there is no need to deal with access conflicts caused by the same address;
对于采用相同型号传感器,由于传感器的通信地址相同,会发生访问冲突的问题,因此提出如下解决方案:For the same type of sensor, since the sensor's communication address is the same, an access violation will occur. Therefore, the following solutions are proposed:
所述处理器,设置为当所述至少三枚三轴加速度传感器中有至少两个传感器的型号相同时,控制同一时刻仅访问相同型号的传感器中的一个。The processor is configured to control access to only one of the sensors of the same model at the same time when the models of at least two of the at least three three-axis acceleration sensors are the same.
可选的,所述处理器,设置为当访问相同型号的至少两个三轴加速度传 感器时,按照预先设置的时间间隔依次获取所述至少两个三轴加速度传感器的检测结果。Optionally, the processor is configured to access at least two three-axis acceleration transmissions of the same model In the case of the sensor, the detection results of the at least two three-axis acceleration sensors are sequentially acquired according to a preset time interval.
举例来说,通过切换电路,保证某一时刻只访问其中一枚传感器,再通过软件在毫秒级的时间切换到另一枚传感器,以解决访问冲突问题。For example, by switching the circuit, it is guaranteed that only one of the sensors is accessed at a certain time, and then the software is switched to another sensor in the millisecond time to solve the access conflict problem.
所述处理器,是设置为通过如下任一方式输出告警信息,包括:The processor is configured to output alarm information in any of the following manners, including:
与声音播放单元相连,通过所述声音播放单元输出告警提示音;其中,声音播放单元可以为扬声器;Connected to the sound playing unit, and outputting an alarm sounding sound through the sound playing unit; wherein the sound playing unit can be a speaker;
与显示单元相连,通过所述显示单元输出告警提示信息;其中,显示单元可以为显示屏;Connected to the display unit, and outputting alarm prompt information through the display unit; wherein the display unit may be a display screen;
与振动马达相连,控制振动马达进行振动操作;Connected to the vibration motor to control the vibration motor for vibration operation;
与通信模块相连,通过所述通信模块发送所述告警提示信息,其中所述通信模块可以为蓝牙、wifi或GPRS通信模块。Connected to the communication module, the alarm prompt information is sent by the communication module, wherein the communication module can be a Bluetooth, wifi or GPRS communication module.
通过上述方式将告警信息输出给用户,方便用户及时进行处理。The alarm information is output to the user in the above manner, so that the user can process in time.
下面以一应用实例对本发明提供的移动终端作以说明:The mobile terminal provided by the present invention is described below with an application example:
图1为本发明应用实例提供的移动终端的示意图。如图1所示,在相关的手机在硬件上从原本一枚三轴加速度传感器,增加到四枚三轴加速度传感器,这些传感器通过一条通讯总线以并联方式接入系统,这些传感器被分布在手机的四个角上,以便画出了一个尽可能大的矩形(平面)。FIG. 1 is a schematic diagram of a mobile terminal provided by an application example of the present invention. As shown in Figure 1, the related mobile phone is increased in hardware from the original three-axis acceleration sensor to four three-axis acceleration sensors. These sensors are connected in parallel through a communication bus. These sensors are distributed in the mobile phone. On the four corners, draw a rectangle (plane) as large as possible.
图2为图1所示移动终端的另一示意图。图2所示移动终端中,四枚三轴加速度传感器都是采用相同型号,通过增加一个传感器切换开关,这个开关与四个传感器连接,并连接到处理器。FIG. 2 is another schematic diagram of the mobile terminal shown in FIG. 1. In the mobile terminal shown in Figure 2, the four three-axis accelerometers are all of the same model. By adding a sensor switch, this switch is connected to four sensors and connected to the processor.
图3为对图2所示移动终端对其四枚三轴加速度传感器进行采样的流程图。包括:3 is a flow chart for sampling the four three-axis acceleration sensors of the mobile terminal shown in FIG. 2. include:
步骤301、系统开始对传感器进行数据采样;所述系统包括移动终端内的处理器、处理器外围连接电路、处理器与传感器之间的连接电路;Step 301: The system begins to perform data sampling on the sensor. The system includes a processor in the mobile terminal, a peripheral connection circuit of the processor, and a connection circuit between the processor and the sensor.
步骤302、处理器通知传感器切换开关将一枚传感器接入到通信总线; Step 302: The processor notifies the sensor switch to connect a sensor to the communication bus;
步骤303、传感器切换开关根据接收的通知,将一枚传感器接入到通信总线;Step 303: The sensor switching switch connects a sensor to the communication bus according to the received notification.
步骤304、处理器通过通信总线读取传感器的数据;Step 304: The processor reads data of the sensor through the communication bus.
步骤305、传感器切换开关在毫米级延时后切换另外一枚传感器接入总线,直到完成对四个传感器的数据采集。Step 305: The sensor switching switch switches another sensor to the bus after the millimeter delay, until data acquisition of the four sensors is completed.
当采样到数据后,比较四枚传感器的数据是否统一,如出现四枚传感器数据不统一时,进行报警,可以是音效、视效、震动或者远程通讯等操作,提醒用户手机有可能在发生形变的处境。After sampling the data, compare the data of the four sensors to be uniform. If there are four sensor data that are not uniform, the alarm can be performed, such as sound effect, visual effect, vibration or remote communication, to remind the user that the mobile phone may be deformed. Situation.
图4为本发明实施例提供的移动终端上输出告警信息的方法的流程图。图4所示方法包括:FIG. 4 is a flowchart of a method for outputting alarm information on a mobile terminal according to an embodiment of the present invention. The method shown in Figure 4 includes:
步骤401、移动终端获取其上至少三枚三轴加速度传感器的检测结果,其中所述至少三枚三轴加速度传感器的放置位置在所述移动终端上能够确定一个平面;Step 401: The mobile terminal acquires a detection result of at least three three-axis acceleration sensors thereon, wherein a placement position of the at least three three-axis acceleration sensors can determine a plane on the mobile terminal;
步骤402、移动终端根据所述至少三枚三轴加速度传感器的检测结果,判断至少三枚三轴加速度传感器的位置确定的平面是否发生形变,得到判断结果;Step 402: The mobile terminal determines, according to the detection result of the at least three three-axis acceleration sensors, whether a plane determined by the position of the at least three three-axis acceleration sensors is deformed, and obtains a determination result;
步骤403、如果所述判断结果为发生形变,移动终端则输出告警信息。Step 403: If the judgment result is deformation, the mobile terminal outputs the alarm information.
其中,所述至少三枚三轴加速度传感器的放置位置为所述移动终端的边缘上或者角上。The placement position of the at least three triaxial acceleration sensors is on an edge or a corner of the mobile terminal.
其中,所述获取移动终端上至少三枚三轴加速度传感器的检测结果,包括:The obtaining the detection result of the at least three three-axis acceleration sensors on the mobile terminal includes:
当所述至少三枚三轴加速度传感器中有至少两个传感器的型号相同时,控制同一时刻仅访问相同型号的传感器中的一个。When at least two of the at least three three-axis acceleration sensors are of the same model, the control only accesses one of the sensors of the same model at the same time.
其中,所述控制同一时刻仅访问相同型号的传感器中的一个,包括:Wherein, the controlling only accesses one of the sensors of the same model at the same time, including:
当访问相同型号的至少两个三轴加速度传感器时,按照预先设置的时间间隔依次获取所述至少两个三轴加速度传感器的检测结果。 When accessing at least two three-axis acceleration sensors of the same model, the detection results of the at least two three-axis acceleration sensors are sequentially acquired according to a preset time interval.
其中,通过如下任一方式输出告警信息,包括:The alarm information is output by any of the following methods, including:
播放所述告警提示信息;Playing the alarm prompt information;
显示所述告警提示信息;Displaying the alarm prompt information;
控制振动马达进行振动操作;Control the vibration motor to perform vibration operation;
通过通信连接发送所述告警提示信息。The alarm prompt information is sent through a communication connection.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述的方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
本发明实施例提供的方法,采用三枚或以上三轴加速度传感器,并利用最少3点确认面的原理,将传感器分布在移动终端合适的位置,当传感器数据出现异常时,发出告警信息以提醒用户,实现检测出移动终端发生弯曲的目的。The method provided by the embodiment of the invention adopts three or more three-axis acceleration sensors, and uses the principle of a minimum of three-point confirmation surface to distribute the sensor at a suitable position of the mobile terminal. When the sensor data is abnormal, an alarm message is sent to remind The user realizes the purpose of detecting the bending of the mobile terminal.
本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。It should be understood by those skilled in the art that the present invention may be modified or equivalently substituted without departing from the spirit and scope of the invention.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. The invention is not limited to any specific form of combination of hardware and software.
工业实用性Industrial applicability
上述技术方案可实现检测出移动终端发生弯曲的目的。 The above technical solution can achieve the purpose of detecting that the mobile terminal is bent.

Claims (11)

  1. 一种移动终端,包括:A mobile terminal includes:
    至少三枚三轴加速度传感器,其中所述至少三枚三轴加速度传感器的放置位置在所述移动终端上能够确定一个平面;At least three triaxial acceleration sensors, wherein a placement position of the at least three triaxial acceleration sensors is capable of determining a plane on the mobile terminal;
    处理器,与所述至少三枚三轴加速度传感器相连,设置为获取所述至少三枚三轴加速度传感器的检测结果,如果根据所述至少三枚三轴加速度传感器的检测结果确定的平面发生形变,则输出告警信息。a processor, connected to the at least three three-axis acceleration sensors, configured to acquire a detection result of the at least three three-axis acceleration sensors, and if a plane determined according to the detection result of the at least three three-axis acceleration sensors is deformed , the alarm information is output.
  2. 根据权利要求1所述的移动终端,其中,所述至少三枚三轴加速度传感器的放置位置为所述移动终端的边缘上或者角上。The mobile terminal of claim 1, wherein the at least three three-axis acceleration sensors are placed at an edge or on an edge of the mobile terminal.
  3. 根据权利要求1所述的移动终端,其中:The mobile terminal of claim 1 wherein:
    所述处理器,是设置为当所述至少三枚三轴加速度传感器中有至少两个传感器的型号相同时,控制同一时刻仅访问相同型号的传感器中的一个。The processor is configured to control access to only one of the sensors of the same model at the same time when the models of at least two of the at least three three-axis acceleration sensors are the same.
  4. 根据权利要求3所述的移动终端,其中:The mobile terminal of claim 3 wherein:
    所述处理器,是设置为当访问相同型号的至少两个三轴加速度传感器时,按照预先设置的时间间隔依次获取所述至少两个三轴加速度传感器的检测结果。The processor is configured to sequentially acquire detection results of the at least two three-axis acceleration sensors according to a preset time interval when accessing at least two three-axis acceleration sensors of the same model.
  5. 根据权利要求1所述的移动终端,其中:The mobile terminal of claim 1 wherein:
    所述处理器,是设置为通过如下任一方式输出告警信息:The processor is configured to output alarm information in any of the following manners:
    与声音播放单元相连,通过所述声音播放单元输出告警提示音;Connected to the sound playing unit, and output an alarm sounding sound through the sound playing unit;
    与显示单元相连,通过所述显示单元输出告警提示信息;Connected to the display unit, and output alarm prompt information through the display unit;
    与振动马达相连,控制振动马达进行振动操作;Connected to the vibration motor to control the vibration motor for vibration operation;
    与通信模块相连,通过所述通信模块发送所述告警提示信息。Connected to the communication module, and the alarm prompt information is sent by the communication module.
  6. 一种移动终端上输出告警信息的方法,包括:A method for outputting alarm information on a mobile terminal, comprising:
    获取移动终端上至少三枚三轴加速度传感器的检测结果,其中所述至少三枚三轴加速度传感器的放置位置在所述移动终端上能够确定一个平面; Obtaining a detection result of at least three three-axis acceleration sensors on the mobile terminal, wherein a placement position of the at least three three-axis acceleration sensors can determine a plane on the mobile terminal;
    根据所述至少三枚三轴加速度传感器的检测结果,判断至少三枚三轴加速度传感器的位置确定的平面是否发生形变,得到判断结果;Determining, according to the detection result of the at least three three-axis acceleration sensors, whether a plane determined by the position of the at least three three-axis acceleration sensors is deformed, and obtaining a determination result;
    如果所述判断结果为发生形变,则输出告警信息。If the judgment result is that deformation occurs, the alarm information is output.
  7. 根据权利要求6所述的方法,其中,所述至少三枚三轴加速度传感器的放置位置为所述移动终端的边缘上或者角上。The method according to claim 6, wherein the at least three triaxial acceleration sensors are placed at an edge or at an angle of the mobile terminal.
  8. 根据权利要求6所述的方法,其中,所述获取移动终端上至少三枚三轴加速度传感器的检测结果,包括:The method according to claim 6, wherein the obtaining the detection result of at least three three-axis acceleration sensors on the mobile terminal comprises:
    当所述至少三枚三轴加速度传感器中有至少两个传感器的型号相同时,控制同一时刻仅访问相同型号的传感器中的一个。When at least two of the at least three three-axis acceleration sensors are of the same model, the control only accesses one of the sensors of the same model at the same time.
  9. 根据权利要求8所述的方法,其中,所述控制同一时刻仅访问相同型号的传感器中的一个,包括:The method of claim 8 wherein said controlling access to only one of the sensors of the same model at the same time comprises:
    当访问相同型号的至少两个三轴加速度传感器时,按照预先设置的时间间隔依次获取所述至少两个三轴加速度传感器的检测结果。When accessing at least two three-axis acceleration sensors of the same model, the detection results of the at least two three-axis acceleration sensors are sequentially acquired according to a preset time interval.
  10. 根据权利要求6所述的方法,其中,通过如下任一方式输出告警信息,包括:The method according to claim 6, wherein the outputting the alarm information by any of the following methods comprises:
    播放所述告警提示信息;Playing the alarm prompt information;
    显示所述告警提示信息;Displaying the alarm prompt information;
    控制振动马达进行振动操作;Control the vibration motor to perform vibration operation;
    通过通信连接发送所述告警提示信息。The alarm prompt information is sent through a communication connection.
  11. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求6~10中任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 6-10.
PCT/CN2015/098114 2015-07-17 2015-12-21 Method for outputting alarm information on mobile terminal and mobile terminal WO2016131338A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510424655.6 2015-07-17
CN201510424655.6A CN106357842A (en) 2015-07-17 2015-07-17 Mobile terminal and method for outputting warning messages on mobile terminal

Publications (1)

Publication Number Publication Date
WO2016131338A1 true WO2016131338A1 (en) 2016-08-25

Family

ID=56688712

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/098114 WO2016131338A1 (en) 2015-07-17 2015-12-21 Method for outputting alarm information on mobile terminal and mobile terminal

Country Status (2)

Country Link
CN (1) CN106357842A (en)
WO (1) WO2016131338A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108646932B (en) * 2018-04-20 2021-11-26 歌尔股份有限公司 Vibration detection method and device for electronic equipment and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130154914A1 (en) * 2011-12-16 2013-06-20 Nokia Corporation Casing
CN103401974A (en) * 2013-08-09 2013-11-20 深圳市金立通信设备有限公司 Method for detecting curvature of terminal and terminal
CN104094186A (en) * 2012-01-31 2014-10-08 诺基亚公司 A deformable apparatus, method and computer program
CN104122992A (en) * 2013-04-26 2014-10-29 意美森公司 Haptic feedback for interactions with foldable-bendable displays

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102079348B1 (en) * 2012-07-30 2020-04-07 삼성전자주식회사 Flexible device and methods for controlling operation thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130154914A1 (en) * 2011-12-16 2013-06-20 Nokia Corporation Casing
CN104094186A (en) * 2012-01-31 2014-10-08 诺基亚公司 A deformable apparatus, method and computer program
CN104122992A (en) * 2013-04-26 2014-10-29 意美森公司 Haptic feedback for interactions with foldable-bendable displays
CN103401974A (en) * 2013-08-09 2013-11-20 深圳市金立通信设备有限公司 Method for detecting curvature of terminal and terminal

Also Published As

Publication number Publication date
CN106357842A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
US20200125144A1 (en) Foldable electronic device for controlling user interface and operating method thereof
US9407756B2 (en) Notification acknowledgement in electronic devices
US9426567B2 (en) Electronic device for microphone operation
EP2743795A2 (en) Electronic device and method for driving camera module in sleep mode
US9952661B2 (en) Method for providing screen magnification and electronic device thereof
KR102496410B1 (en) Electronic apparatus and method for outputting sound thereof
US20140132531A1 (en) Electronic device and method for changing setting value
KR102386309B1 (en) Electronic device and method of controlling input or output in the electronic device
KR102252448B1 (en) Method for controlling and an electronic device thereof
US10097761B2 (en) Method of managing data and electronic device for processing the same
WO2015131590A1 (en) Method for controlling blank screen gesture processing and terminal
US11656894B2 (en) Electronic device and method for providing in-vehicle infotainment service
CN111742543A (en) Electronic device and recording method thereof
CN113269877B (en) Method and electronic equipment for acquiring room layout plan
EP3696987A1 (en) Information processing method for radio frequency device, and mobile terminal
KR102527896B1 (en) Method for controlling notification and electronic device thereof
KR102305114B1 (en) Method for processing data and an electronic device thereof
WO2016131338A1 (en) Method for outputting alarm information on mobile terminal and mobile terminal
US20150325207A1 (en) Mobile terminal device, and display control method
US9417667B2 (en) Methods and devices for touchscreen eavesdropping prevention
CN106604091B (en) Homepage interface display method and device and smart television
KR102512840B1 (en) Method for recording a screen and an electronic device thereof
KR102478952B1 (en) Method for storing image and electronic device thereof
US9607136B2 (en) Secure attention for mobile devices
WO2015085745A1 (en) Liquid crystal display backlight management method, device and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15882477

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15882477

Country of ref document: EP

Kind code of ref document: A1