+

CN108769379B - Drop data reporting method, related device, mobile terminal and storage medium - Google Patents

Drop data reporting method, related device, mobile terminal and storage medium Download PDF

Info

Publication number
CN108769379B
CN108769379B CN201810395880.5A CN201810395880A CN108769379B CN 108769379 B CN108769379 B CN 108769379B CN 201810395880 A CN201810395880 A CN 201810395880A CN 108769379 B CN108769379 B CN 108769379B
Authority
CN
China
Prior art keywords
mobile terminal
speed
speed values
value
values
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.)
Expired - Fee Related
Application number
CN201810395880.5A
Other languages
Chinese (zh)
Other versions
CN108769379A (en
Inventor
郑灿杰
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810395880.5A priority Critical patent/CN108769379B/en
Publication of CN108769379A publication Critical patent/CN108769379A/en
Application granted granted Critical
Publication of CN108769379B publication Critical patent/CN108769379B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a drop data reporting method and a related device, wherein the method comprises the following steps: acquiring a plurality of speed values of the mobile terminal at a plurality of moments through a speed sensor, wherein each moment corresponds to one speed value; under the condition that the falling event of the mobile terminal is determined according to the plurality of speed values, selecting at least two speed values from the plurality of speed values; and reporting the at least two speed values and the time corresponding to the at least two speed values, wherein the at least two speed values are used for the receiving terminal equipment to determine the falling condition of the mobile terminal. By adopting the embodiment of the application, the transmission resource of the mobile terminal can be saved.

Description

跌落数据上报方法、相关装置、移动终端及存储介质Drop data reporting method, related device, mobile terminal and storage medium

技术领域technical field

本申请涉及电子技术领域,尤其涉及一种跌落数据上报方法及相关装置。The present application relates to the field of electronic technologies, and in particular, to a drop data reporting method and related devices.

背景技术Background technique

当前随着智能手机等移动终端的日益普及,智能手机已成为智能手机用户生活中密不可分的一部分。在实际使用中,通常会出现智能手机从用户的手中跌落、从桌面跌落的情况,智能手机跌落后会与碰撞物进行碰撞,进而导致智能手机损伤。At present, with the increasing popularity of mobile terminals such as smart phones, smart phones have become an inseparable part of the lives of smart phone users. In actual use, the smartphone usually falls from the user's hand or from the desktop. After the smartphone falls, it will collide with a colliding object, thereby causing damage to the smartphone.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种跌落数据上报方法及相关装置,用于节省传输资源。Embodiments of the present application provide a drop data reporting method and a related device, which are used to save transmission resources.

第一方面,本申请实施例提供一种跌落数据上报方法,应用于包括速度传感器的移动终端,所述方法包括:In a first aspect, an embodiment of the present application provides a method for reporting drop data, which is applied to a mobile terminal including a speed sensor, and the method includes:

通过所述速度传感器获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值;Acquire multiple speed values of the mobile terminal at multiple times through the speed sensor, and each time corresponds to a speed value;

在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,从所述多个速度值中选取至少两个速度值;Selecting at least two speed values from the plurality of speed values when it is determined according to the plurality of speed values that a drop event occurs in the mobile terminal;

上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。The at least two speed values and the time corresponding to the at least two speed values are reported, and the at least two speed values are used for the receiving end device to determine the falling situation of the mobile terminal.

第二方面,本申请实施例提供一种跌落数据上报装置,应用于包括速度传感器、加速度传感器、距离传感器和手持传感器的移动终端,所述跌落数据上报装置包括:In a second aspect, an embodiment of the present application provides a drop data reporting device, which is applied to a mobile terminal including a speed sensor, an acceleration sensor, a distance sensor, and a handheld sensor, and the drop data reporting device includes:

获取单元,用于获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值;an acquisition unit, configured to acquire multiple speed values of the mobile terminal at multiple times, and each time corresponds to a speed value;

选取单元,用于在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,从所述多个速度值中选取至少两个速度值;a selection unit, configured to select at least two speed values from the plurality of speed values when it is determined that a drop event occurs in the mobile terminal according to the plurality of speed values;

上报单元,用于上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。A reporting unit, configured to report the at least two speed values and the time corresponding to the at least two speed values, where the at least two speed values are used for the receiving end device to determine the drop situation of the mobile terminal.

第三方面,本申请实施例提供一种移动终端,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, embodiments of the present application provide a mobile terminal, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory, and are configured to be processed by the above The above program includes instructions for executing steps in any method of the first aspect of the embodiments of the present application.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. In one aspect some or all of the steps described in any method.

第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in any method of the first aspect. The computer program product may be a software installation package.

可以看出,在本申请实施例中,通过速度传感器获取在多个时刻的多个速度值,如果基于这多个速度值确定移动终端发生跌落事件,上报用于接收端设备确定移动终端的跌落情况的至少两个速度值。相较于上报各种跌落数据,本申请仅上报几个速度值,节省了传输资源,另外接收端设备仅基于几个速度值确定移动终端的跌落情况,降低了数据处理量。It can be seen that, in the embodiment of the present application, multiple speed values at multiple times are obtained by the speed sensor, and if it is determined that a drop event occurs on the mobile terminal based on the multiple speed values, the report is used for the receiving end device to determine the drop of the mobile terminal. At least two velocity values for the situation. Compared with reporting various drop data, the present application only reports several speed values, which saves transmission resources, and the receiving end device only determines the drop situation of the mobile terminal based on several speed values, which reduces the amount of data processing.

本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more clearly understood in the description of the following embodiments.

附图说明Description of drawings

为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the accompanying drawings required in the embodiments or the background technology of the present application will be described below.

图1是本申请实施例提供的一种跌落数据上报方法的流程示意图;1 is a schematic flowchart of a method for reporting drop data provided by an embodiment of the present application;

图2是本申请实施例提供的一种速度值与时刻的曲线图的示意图;2 is a schematic diagram of a graph of a speed value and time provided by an embodiment of the present application;

图3是本申请实施例提供的另一种速度值与时刻的曲线图的示意图;3 is a schematic diagram of another speed value and time curve diagram provided by an embodiment of the present application;

图4是本申请实施例提供的另一种跌落数据上报方法的流程示意图;4 is a schematic flowchart of another method for reporting drop data provided by an embodiment of the present application;

图5是本申请实施例提供的一种移动终端的结构示意图;FIG. 5 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application;

图6是本申请实施例提供的一种跌落数据上报装置的结构示意图;6 is a schematic structural diagram of a drop data reporting device provided by an embodiment of the present application;

图7是本申请实施例提供的另一种移动终端的结构示意图。FIG. 7 is a schematic structural diagram of another mobile terminal provided by an embodiment of the present application.

具体实现方式specific implementation

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the scope of protection of the present application.

以下分别进行详细说明。Each of them will be described in detail below.

本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(UserEquipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。Mobile terminals may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to wireless modems with wireless communication functions, as well as various forms of user equipment (UserEquipment, UE), mobile stations (Mobile Station, MS), terminal device (terminal device) and so on.

下面对本申请实施例进行详细介绍。The embodiments of the present application will be described in detail below.

请参阅图1,图是本申请实施例提供的一种跌落数据上报方法的流程示意图,该方法包括:Please refer to FIG. 1, which is a schematic flowchart of a method for reporting drop data provided by an embodiment of the present application. The method includes:

步骤101:移动终端通过所述速度传感器获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值。Step 101: The mobile terminal acquires, through the speed sensor, multiple speed values of the mobile terminal at multiple times, and each time corresponds to a speed value.

其中,多个时刻中任意两个相邻的时刻是连续的。Wherein, any two adjacent moments among the multiple moments are consecutive.

其中,时刻i对应的速度值和时刻j对应的速度值可以是相等的,可以是不相等的,时刻i和时刻j均为多个时刻中的其中一个。Wherein, the speed value corresponding to time i and the speed value corresponding to time j may be equal or unequal, and both time i and time j are one of multiple time points.

步骤102:在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,移动终端从所述多个速度值中选取至少两个速度值。Step 102: In the case where it is determined according to the plurality of speed values that a drop event occurs in the mobile terminal, the mobile terminal selects at least two speed values from the plurality of speed values.

其中,在每次跌落事件中移动终端的跌落次数可以是一次、两次,也可以是多次。The number of drops of the mobile terminal in each drop event may be one, two, or multiple times.

具体地,移动终端根据多个速度值确定移动终端发生跌落事件的具体实施方式有:移动终端确定多个速度值中的最大速度值对应的时刻为第一目标时刻;移动终端确定时刻i对应的速度值是否小于时刻j对应的速度值,时刻j晚于时刻i,时刻i和时刻j均为早于第一目标时刻的多个时刻中的其中一个;若是,移动终端确定晚于第一目标时刻的多个时刻对应的多个速度值是否按照时间顺序逐渐减小到零;若是,移动终端确定在该跌落事件中移动终端发生一次跌落。Specifically, the specific implementation of the mobile terminal determining the drop event of the mobile terminal according to the multiple speed values is as follows: the mobile terminal determines the time corresponding to the maximum speed value among the multiple speed values as the first target time; the mobile terminal determines the time corresponding to time i Whether the speed value is less than the speed value corresponding to time j, time j is later than time i, and time i and time j are one of multiple times earlier than the first target time; if so, the mobile terminal determines that it is later than the first target time Whether the multiple speed values corresponding to multiple moments of time gradually decrease to zero in time sequence; if so, the mobile terminal determines that the mobile terminal has dropped once during the drop event.

具体地,移动终端根据多个速度值确定移动终端发生跌落事件的具体实施方式有:移动终端根据多个速度值和该多个速度值对应的多个时刻生成速度值与时刻的曲线图;移动终端确定是否存在第一目标值、第二目标值和第三目标值,第一目标值为第一波峰对应的速度值,第一波峰为该曲线图中的最大的波峰,第二目标值为第二波峰对应的速度值,第二波峰与第一波峰的差值最小,第三目标值为第三波峰对应的速度值,第三波峰与第二波峰的差值最小且第三波峰与第一波峰不同,第二目标值对应的时刻晚于第一目标值对应的时刻,第三目标值对应的时刻晚于第二目标值对应的时刻,第三目标值小于第二目标值,第二目标值小于第一目标值;若是,移动终端确定时刻k对应的速度值是否小于时刻m对应的速度值,时刻m晚于时刻k,时刻k和时刻m均为早于第一目标值对应的时刻的多个时刻中的其中一个;若是,移动终端确定第一目标值与第二目标值之间的多个速度值是否按照时间顺序先减小至零后增大;若是,移动终端确定第二目标值与第三目标值之间的多个速度值是否按照时间顺序先减小至零后增大;若是,移动终端确定晚于第三目标值对应的时刻的多个时刻对应的多个速度值是否按照时间顺序逐渐减小为零;若是,移动终端确定在该跌落事件中移动终端跌落两次。Specifically, the specific implementations for the mobile terminal to determine the drop event of the mobile terminal according to the multiple speed values are as follows: the mobile terminal generates a graph of the speed value and the time according to the multiple speed values and the multiple times corresponding to the multiple speed values; The terminal determines whether there is a first target value, a second target value and a third target value, the first target value is the speed value corresponding to the first wave crest, the first wave crest is the largest wave crest in the graph, and the second target value is The velocity value corresponding to the second wave crest, the difference between the second wave crest and the first wave crest is the smallest, the third target value is the velocity value corresponding to the third wave crest, the difference between the third wave crest and the second wave crest is the smallest, and the third wave crest and the first wave crest are the smallest. A wave peak is different, the time corresponding to the second target value is later than the time corresponding to the first target value, the time corresponding to the third target value is later than the time corresponding to the second target value, the third target value is smaller than the second target value, the second The target value is less than the first target value; if so, the mobile terminal determines whether the speed value corresponding to time k is less than the speed value corresponding to time m, time m is later than time k, and time k and time m are both earlier than the first target value corresponding to one of the multiple moments at the time; if so, the mobile terminal determines whether the multiple speed values between the first target value and the second target value first decrease to zero and then increase in chronological order; if so, the mobile terminal determines the first Whether the multiple speed values between the second target value and the third target value first decrease to zero and then increase in chronological order; Whether the speed value gradually decreases to zero in time sequence; if so, the mobile terminal determines that the mobile terminal falls twice in the fall event.

其中,移动终端根据多个速度值确定在一次跌落事件中移动终端跌落大于两次的具体实施方式可参见上述相关描述,在此不再叙述。The specific implementation of the mobile terminal determining that the mobile terminal has dropped more than twice in one drop event according to multiple speed values may refer to the above-mentioned related descriptions, which will not be described here.

步骤103:移动终端上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。Step 103: The mobile terminal reports the at least two speed values and the time corresponding to the at least two speed values, and the at least two speed values are used for the receiving end device to determine the drop situation of the mobile terminal.

其中,接收端设备可以是服务器。Wherein, the receiving end device may be a server.

其中,若在一次跌落事件中移动终端跌落一次,则至少两个速度值的个数为两个;由于移动终端的跌落损伤是由一次跌落造成的,因此将与这一次跌落相关的两个速度值上报,使得接收端设备基于移动终端上报的两个速度值与其存储的速度值与跌落损伤的映射关系可以基本确定移动终端在此次跌落事件中的损伤程度。Among them, if the mobile terminal falls once in a fall event, the number of at least two velocity values is two; since the fall damage of the mobile terminal is caused by a fall, the two velocity values related to this fall will be Reporting, so that the receiving end device can basically determine the damage degree of the mobile terminal in this drop event based on the mapping relationship between the two speed values reported by the mobile terminal and the stored speed value and the drop damage.

其中,若在一次跌落事件中移动终端跌落至少两次,则至少两个速度值的个数为六个;由于移动终端的跌落损伤主要是由此次跌落事件中的第一次跌落和第二次跌落造成的,因此将该第一次跌落和该第二次跌落相关的六个速度值上报,使得接收端设备基于移动终端上报的六个速度值与其存储的速度值与跌落损伤的映射关系可以大致确定移动终端在此次跌落事件中的跌落损伤程度。Among them, if the mobile terminal is dropped at least twice in a drop event, the number of at least two speed values is six; since the drop damage of the mobile terminal is mainly caused by the first drop and the second drop in this drop event It is caused by the drop, so the six speed values related to the first drop and the second drop are reported, so that the receiving end device can be based on the mapping relationship between the six speed values reported by the mobile terminal and their stored speed values and the drop damage. Roughly determine the degree of fall damage of the mobile terminal in this fall event.

目前,用户通常会对移动终端采取一定的保护措施,比如使用手机保护壳保护智能手机的后壳和侧面、使用钢化膜或水凝膜保护智能手机的屏幕,当移动终端发生跌落事件时,通常移动终端的屏幕会受到较大的损伤,而移动终端的后壳和侧面损伤程度较小;经过跌落测试实验可知:移动终端与碰撞物表面接触时速度值越大,移动终端的损伤程度越大,因此接收端设备根据移动终端上报的速度值可以基本确定移动终端的跌落损伤程度。At present, users usually take certain protective measures for mobile terminals, such as using a mobile phone protective case to protect the rear case and sides of the smartphone, and using a tempered film or a hydrogel film to protect the screen of the smartphone. When the mobile terminal is dropped, usually The screen of the mobile terminal will be greatly damaged, while the damage to the rear shell and side of the mobile terminal is relatively small; after the drop test experiment, it can be seen that the greater the speed value when the mobile terminal is in contact with the surface of the collision object, the greater the damage to the mobile terminal. , so the receiving end device can basically determine the degree of fall damage of the mobile terminal according to the speed value reported by the mobile terminal.

可以看出,在本申请实施例中,通过速度传感器获取在多个时刻的多个速度值,如果基于这多个速度值确定移动终端发生跌落事件,上报用于接收端设备确定移动终端跌落情况的至少两个速度值。相较于上报各种跌落数据,本申请仅上报几个速度值,节省了移动终端的传输资源,另外接收端设备仅基于几个速度值确定移动终端的跌落情况,降低了数据处理量。It can be seen that in the embodiment of the present application, multiple speed values at multiple times are obtained by the speed sensor, and if it is determined that the mobile terminal has fallen based on the multiple speed values, the report is used for the receiving end device to determine the falling situation of the mobile terminal. of at least two velocity values. Compared with reporting various drop data, the present application reports only a few speed values, which saves the transmission resources of the mobile terminal. In addition, the receiving end device only determines the drop situation of the mobile terminal based on several speed values, which reduces the amount of data processing.

在本申请的一实施例中,所述移动终端包括加速度传感器、距离传感器和手持传感器,移动终端通过所述速度传感器获取所述移动终端在多个时刻的多个速度值之前,所述方法还包括:In an embodiment of the present application, the mobile terminal includes an acceleration sensor, a distance sensor and a handheld sensor, and before the mobile terminal acquires multiple speed values of the mobile terminal at multiple times through the speed sensor, the method further include:

移动终端确定所述移动终端满足设定条件,所述设定条件包括以下至少一种:通过所述加速度传感器检测到所述移动终端在重力方向上的加速度大于或等于第一阈值;通过所述距离传感器检测到所述移动终端在目标时段内的垂直高度变化值大于或等于第二阈值;通过手持传感器检测到所述移动终端的手持压力值小于第三阈值。The mobile terminal determines that the mobile terminal satisfies a set condition, and the set condition includes at least one of the following: detecting, by the acceleration sensor, that the acceleration of the mobile terminal in the direction of gravity is greater than or equal to a first threshold; The distance sensor detects that the vertical height change value of the mobile terminal in the target period is greater than or equal to the second threshold; the handheld sensor detects that the holding pressure value of the mobile terminal is less than the third threshold.

其中,第一阈值、第二阈值和第三阈值均可以是用户自定义的,也可以是移动终端自定义的。Wherein, the first threshold, the second threshold and the third threshold may all be user-defined, or may be user-defined by the mobile terminal.

具体地,在用户正常使用移动终端的过程中,移动终端在重力方向上也存在一定的加速度,此时加速度比较小,可以认为小于第一阈值;但是,当移动终端在重力方向上的加速度大于或等于第一阈值时,表示移动终端可能没有东西(比如人手,桌面)支撑,此时移动终端处于跌落过程中的可能性很大。Specifically, during the normal use of the mobile terminal by the user, the mobile terminal also has a certain acceleration in the direction of gravity. At this time, the acceleration is relatively small and can be considered to be less than the first threshold; however, when the acceleration of the mobile terminal in the direction of gravity is greater than When the value is equal to or equal to the first threshold, it indicates that the mobile terminal may not be supported by something (such as a human hand, a desktop), and at this time, the mobile terminal is likely to be in the process of falling.

其中,目标时段的终止时间节点为当前系统时刻,在移动终端发生跌落开始至跌落完成的时长很短,通常小于0.6s,因此目标时段的时长比0.6s更小。The termination time node of the target period is the current system time, and the period from the start of the drop to the completion of the drop of the mobile terminal is very short, usually less than 0.6s, so the duration of the target period is shorter than 0.6s.

具体的,在用户正常使用移动终端的过程中,移动终端在垂直高度上存在一定的位移,此时的位移远远小于在移动终端发生跌落时目标时段内的垂直高度变化值,因此当检测到移动终端在目标时段内的垂直高度变化值大于或等于第二阈值时,表示移动终端很可能处于跌落过程中。Specifically, during the normal use of the mobile terminal by the user, the mobile terminal has a certain displacement in the vertical height, and the displacement at this time is far smaller than the vertical height change value in the target period when the mobile terminal falls. When the vertical height change value of the mobile terminal within the target period is greater than or equal to the second threshold, it indicates that the mobile terminal is likely to be in the process of falling.

其中,手持传感器包括置于移动终端的后壳上的多个第一手持传感器和置于移动终端的侧面的多个第二手持传感器,移动终端的侧面包括左侧面和右侧面,手持传感器用于获取手持压力值。该手持压力值为多个第一手持传感器对应的多个第一手持压力值和多个第二手持传感器对应的多个第二手持压力值的平均值。Wherein, the hand-held sensor includes a plurality of first hand-held sensors placed on the back shell of the mobile terminal and a plurality of second hand-held sensors placed on the side of the mobile terminal. The side of the mobile terminal includes a left side and a right side. The sensor is used to obtain the handheld pressure value. The holding pressure value is an average of a plurality of first holding pressure values corresponding to a plurality of first holding sensors and a plurality of second holding pressure values corresponding to a plurality of second holding sensors.

具体地,当移动终端的手持压力值小于第三阈值时,表示用户手握移动终端的压力过小,此时移动终端很可能从用户的手中滑落,导致移动终端处于跌落过程中。Specifically, when the holding pressure value of the mobile terminal is less than the third threshold, it means that the pressure of the user holding the mobile terminal is too small, and the mobile terminal is likely to slip from the user's hand, causing the mobile terminal to fall.

在本申请的一实施例中,在所述跌落事件中所述移动终端跌落一次,移动终端从所述多个速度值中选取至少两个速度值,包括:In an embodiment of the present application, in the drop event, the mobile terminal falls once, and the mobile terminal selects at least two speed values from the plurality of speed values, including:

移动终端从所述多个速度值中选取第一速度值和第二速度值,所述第一速度值对应的时刻为所述多个时刻中的最早时刻,所述第二速度值为所述多个速度值中最大的速度值。The mobile terminal selects a first speed value and a second speed value from the plurality of speed values, the time corresponding to the first speed value is the earliest time among the plurality of times, and the second speed value is the The largest speed value among multiple speed values.

举例来说,如图2所示,在一次跌落事件中移动终端跌落一次,移动终端从多个速度值中选取两个速度值,该两个速度值分别为第一速度值v1和第二速度值v2,第一速度值v1对应的时刻为t1,第二速度值v2对应的时刻为t2For example, as shown in FIG. 2, in a drop event, the mobile terminal falls once, and the mobile terminal selects two speed values from a plurality of speed values, and the two speed values are the first speed value v1 and the second speed respectively. value v 2 , the time corresponding to the first speed value v 1 is t 1 , and the time corresponding to the second speed value v 2 is t 2 .

在本申请的一实施例中,在所述跌落事件中所述移动终端跌落至少两次,移动终端从所述多个速度值中选取至少两个速度值,包括:In an embodiment of the present application, in the drop event, the mobile terminal falls at least twice, and the mobile terminal selects at least two speed values from the plurality of speed values, including:

移动终端根据所述多个速度值和所述多个速度值对应的所述多个时刻生成速度值与时刻的曲线图;The mobile terminal generates a graph of speed values and times according to the multiple speed values and the multiple times corresponding to the multiple speed values;

移动终端从所述曲线图中选取第三速度值、至少三个第四速度值和至少两个第五速度值,所述第三速度值对应的时刻为所述多个时刻中的最早时刻,所述第四速度值为所述曲线图中的波峰对应的速度值,所述第五速度值为所述曲线图中的任意两个相邻波峰之间的最小速度值。The mobile terminal selects a third speed value, at least three fourth speed values, and at least two fifth speed values from the graph, and the time corresponding to the third speed value is the earliest time in the plurality of times, The fourth velocity value is a velocity value corresponding to a wave peak in the graph, and the fifth velocity value is a minimum velocity value between any two adjacent wave crests in the graph.

其中,移动终端根据多个速度值和多个速度值对应的多个时刻生成速度值与时刻的曲线图属于现有技术,在此不再叙述。The generation of the graph of the speed value and the time by the mobile terminal according to the multiple speed values and the multiple times corresponding to the multiple speed values belongs to the prior art and will not be described here.

其中,若在一次跌落事件中移动终端跌落两次,移动终端从该曲线图中选取第三速度值、三个第四速度值和两个第五速度值,第1个第四速度值为第一波峰对应的速度值,第一波峰为该曲线图中的最大波峰,第2个第四速度值为第二波峰对应的速度值,第二波峰与第一波峰的差值最小,第3个第四速度值为第三波峰对应的速度值,第三波峰与第二波峰的差值最小且第三波峰与第一波峰不同,第2个第四速度值对应的时刻晚于第1个第四速度值对应的时刻,第3个第四速度值对应的时刻晚于第2个第四速度值对应的时刻,第1个第五速度值为第一波峰与第二波峰之间的最小速度值,第2个第五速度值为第二波峰与第三波峰之间的最小速度值。Wherein, if the mobile terminal falls twice in a fall event, the mobile terminal selects the third speed value, three fourth speed values and two fifth speed values from the graph, and the first fourth speed value is the first The velocity value corresponding to the wave crest, the first wave crest is the largest wave crest in the graph, the second and fourth velocity value is the velocity value corresponding to the second wave crest, the difference between the second wave crest and the first wave crest is the smallest, and the third wave crest is the velocity value corresponding to the second wave crest. The fourth speed value is the speed value corresponding to the third wave peak. The difference between the third wave peak and the second wave peak is the smallest and the third wave peak is different from the first wave peak. The time corresponding to the speed value, the time corresponding to the third fourth speed value is later than the time corresponding to the second fourth speed value, and the first fifth speed value is the minimum speed value between the first wave crest and the second wave crest , the second fifth velocity value is the minimum velocity value between the second wave crest and the third wave crest.

举例来说,如图3所示,在一次跌落事件中移动终端跌落两次,移动终端从多个速度值中选取六个速度值,该六个速度值分别为第三速度值为v3、第1 个第四速度值为v4、第2个第四速度值v5、第3个第四速度值v6、第1个第五速度值v7和第2个第五速度值v8,,第三速度值v3对应的时刻为t3,第1个第四速度值v4对应的时刻为t4,第2个第四速度值v5对应的时刻为t6,第3个第四速度值v6对应的时刻为t8,第1个第五速度值v7对应的时刻为t5,第2个第五速度值v8对应的时刻为t7For example, as shown in FIG. 3 , in a drop event, the mobile terminal falls twice, and the mobile terminal selects six speed values from a plurality of speed values, and the six speed values are the third speed value v 3 , the third speed value 1 fourth speed value v 4 , second fourth speed value v 5 , third fourth speed value v 6 , first fifth speed value v 7 and second fifth speed value v 8 , , the time corresponding to the third speed value v 3 is t 3 , the time corresponding to the first and fourth speed value v 4 is t 4 , the time corresponding to the second and fourth speed value v 5 is t 6 , and the time corresponding to the third speed value v 5 is t 6 . The time corresponding to the fourth speed value v 6 is t 8 , the time corresponding to the first fifth speed value v 7 is t 5 , and the time corresponding to the second fifth speed value v 8 is t 7 .

在本申请的一实施例中,所述方法还包括:In an embodiment of the present application, the method further includes:

移动终端根据所述至少两个速度值确定所述移动终端与碰撞物表面的距离;The mobile terminal determines the distance between the mobile terminal and the surface of the collision object according to the at least two velocity values;

在所述距离大于或等于第四阈值的情况下,移动终端对所述移动终端的触控显示屏进行故障检测,以确定所述触控显示屏是否出现故障;In the case that the distance is greater than or equal to the fourth threshold, the mobile terminal performs fault detection on the touch display screen of the mobile terminal to determine whether the touch display screen is faulty;

在所述触控显示屏出现故障的情况下,移动终端确定所述触控显示屏的故障区域的位置,以及上报所述位置。In the case that the touch display screen is faulty, the mobile terminal determines the location of the faulty area of the touch display screen, and reports the location.

具体地,在跌落事件中移动终端跌落一次,移动终端根据至少两个速度值确定移动终端与碰撞物表面的距离的具体实施方式有:移动终端根据第二速度值和速度公式V=gt确定跌落时间t;移动终端根据跌落时间t和自由落体公式 H=0.5gt2确定跌落距离,该跌落距离为移动终端与碰撞物表面的距离。Specifically, in the drop event, the mobile terminal falls once, and the mobile terminal determines the distance between the mobile terminal and the surface of the collision object according to at least two speed values. t; the mobile terminal determines the drop distance according to the drop time t and the free fall formula H=0.5gt 2 , where the drop distance is the distance between the mobile terminal and the surface of the collision object.

具体地,在跌落事件中移动终端跌落至少两次,移动终端根据至少两个速度值确定移动终端与碰撞物表面的距离的具体实施方式有:移动终端确定三个第四速度值中最大的第四速度值;在第1个第四速度值大于第2个第四速度值且第1个第四速度值大于第3个第四速度值的情况下,移动终端根据第1个第四速度值和速度公式V=gt确定跌落时间t;移动终端根据跌落时间t和自由落体公式H=0.5gt2确定跌落距离,该跌落距离为移动终端与碰撞物表面的距离。Specifically, in the drop event, the mobile terminal falls at least twice, and the mobile terminal determines the distance between the mobile terminal and the surface of the collision object according to at least two speed values. speed value; in the case where the first fourth speed value is greater than the second fourth speed value and the first fourth speed value is greater than the third fourth speed value, the mobile terminal will The speed formula V=gt determines the drop time t; the mobile terminal determines the drop distance according to the drop time t and the free fall formula H=0.5gt 2 , which is the distance between the mobile terminal and the surface of the collision object.

其中,第四阈值可以是用户自定义的,也可以是移动终端自定义的。The fourth threshold may be user-defined, or may be user-defined by the mobile terminal.

其中,当移动终端从较高的高度跌落到碰撞物表面时,移动终端的跌落损伤程度比较大,有可能导致移动终端的触控显示屏出现故障,使得触控显示屏部分显示区域无法正常显示。因此,当移动终端与碰撞物表面的距离大于或等于某一个值时,有必要对移动终端的触控显示屏进行故障检测。Among them, when the mobile terminal falls from a high height to the surface of the collision object, the drop damage of the mobile terminal is relatively large, which may cause the touch screen of the mobile terminal to malfunction, so that part of the display area of the touch screen cannot be displayed normally. . Therefore, when the distance between the mobile terminal and the surface of the collision object is greater than or equal to a certain value, it is necessary to perform fault detection on the touch screen of the mobile terminal.

具体地,触控显示屏包括多个子显示区域,每个子显示区域对应一个互电容模块,每个互电容模块包括两组电极;移动终端对移动终端的触控显示屏进行故障检测,以确定触控显示屏的故障区域的具体实施方式有:移动终端通过移动终端的激励信号发射器向每个互电容模块中的其中一组电极发送激励信号;若互电容模块i的另一组电极中存在至少一个电极没有接收到激励信号,则确定互电容模块i对应的子显示区域为触控显示屏的故障区域,互电容模块i为多个互电容模块中的其中一个;互电容模块i对应的子显示区域即为触控显示屏的故障区域的位置。Specifically, the touch display screen includes a plurality of sub-display areas, each sub-display area corresponds to a mutual capacitance module, and each mutual capacitance module includes two sets of electrodes; the mobile terminal performs fault detection on the touch display screen of the mobile terminal to determine the touch screen. The specific implementation of controlling the fault area of the display screen is as follows: the mobile terminal sends an excitation signal to one group of electrodes in each mutual capacitance module through the excitation signal transmitter of the mobile terminal; At least one electrode does not receive the excitation signal, then it is determined that the sub-display area corresponding to the mutual capacitance module i is the fault area of the touch display screen, and the mutual capacitance module i is one of the multiple mutual capacitance modules; The sub-display area is the location of the faulty area of the touch screen.

在本申请的一实施例中,所述方法还包括:In an embodiment of the present application, the method further includes:

在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,移动终端将所述多个速度值和所述多个速度值对应的时刻上报,所述多个速度值用于接收端设备确定所述移动终端的跌落情况。In the case where it is determined according to the multiple speed values that a fall event occurs in the mobile terminal, the mobile terminal reports the multiple speed values and the time corresponding to the multiple speed values, and the multiple speed values are used for receiving The terminal device determines the drop situation of the mobile terminal.

可以看出,在本申请实施例中,移动终端上报通过速度传感器获取的多个速度值和该多个速度值对应的时刻,以便于接收端设备基于该多个速度值和多个速度值对应的时刻以及其他移动终端上报的加速度值和/或距离值对移动终端的跌落情况进行全面的分析,进而使得接收端设备的分析结果更精确。It can be seen that in the embodiment of the present application, the mobile terminal reports multiple speed values obtained by the speed sensor and the corresponding times of the multiple speed values, so that the receiving end device can correspond to the multiple speed values based on the multiple speed values. The time of the mobile terminal and the acceleration value and/or distance value reported by other mobile terminals can comprehensively analyze the falling situation of the mobile terminal, thereby making the analysis result of the receiving end device more accurate.

本申请实施例还提供了另一更为详细的方法流程,如图4所示,该方法包括:The embodiment of the present application also provides another more detailed method flow, as shown in FIG. 4 , the method includes:

步骤401:移动终端确定所述移动终端满足设定条件,所述设定条件包括以下至少一种:通过所述加速度传感器检测到所述移动终端在重力方向上的加速度大于或等于第一阈值;通过所述距离传感器检测到所述移动终端在目标时段内的垂直高度变化值大于或等于第二阈值;通过手持传感器检测到所述移动终端的手持压力值小于第三阈值。Step 401: The mobile terminal determines that the mobile terminal satisfies a set condition, and the set condition includes at least one of the following: it is detected by the acceleration sensor that the acceleration of the mobile terminal in the direction of gravity is greater than or equal to a first threshold; It is detected by the distance sensor that the vertical height change value of the mobile terminal in the target period is greater than or equal to the second threshold value; the handheld pressure value of the mobile terminal detected by the handheld sensor is less than the third threshold value.

步骤402:移动终端通过所述速度传感器获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值。Step 402: The mobile terminal obtains, through the speed sensor, multiple speed values of the mobile terminal at multiple times, and each time corresponds to a speed value.

步骤403:移动终端根据所述多个速度值判断所述移动终端是否发生跌落事件;Step 403: the mobile terminal determines whether a drop event occurs for the mobile terminal according to the multiple speed values;

若是,则执行步骤404。If yes, step 404 is executed.

若否,则执行步骤402。If not, step 402 is executed.

步骤404:移动终端确定在所述跌落事件中所述移动终端的跌落次数是否小于两次;Step 404: the mobile terminal determines whether the number of times the mobile terminal is dropped in the drop event is less than twice;

若是,则执行步骤405。If yes, step 405 is executed.

若否,则执行步骤406-步骤407。If not, go to step 406-step 407.

步骤405:移动终端从所述多个速度值中选取第一速度值和第二速度值,所述第一速度值对应的时刻为所述多个时刻中的最早时刻,所述第二速度值为所述多个速度值中最大的速度值。Step 405: The mobile terminal selects a first speed value and a second speed value from the plurality of speed values, the time corresponding to the first speed value is the earliest time among the plurality of times, and the second speed value is the largest speed value among the plurality of speed values.

步骤406:移动终端根据所述多个速度值和所述多个速度值对应的所述多个时刻生成速度值与时刻的曲线图。Step 406: The mobile terminal generates a graph of speed values and times according to the multiple speed values and the multiple times corresponding to the multiple speed values.

步骤407:移动终端从所述曲线图中选取第三速度值、至少三个第四速度值和至少两个第五速度值,所述第三速度值对应的时刻为所述多个时刻中的最早时刻,所述第四速度值为所述曲线图中的波峰对应的速度值,所述第五速度值为所述曲线图中的任意两个相邻波峰之间的最小速度值。Step 407: The mobile terminal selects a third speed value, at least three fourth speed values, and at least two fifth speed values from the graph, and the time corresponding to the third speed value is one of the multiple times. At the earliest moment, the fourth velocity value is the velocity value corresponding to the wave peak in the graph, and the fifth velocity value is the minimum velocity value between any two adjacent wave crests in the graph.

步骤408:移动终端上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。Step 408 : the mobile terminal reports the at least two speed values and the time corresponding to the at least two speed values, and the at least two speed values are used for the receiving end device to determine the falling situation of the mobile terminal.

步骤409:移动终端根据所述至少两个速度值确定所述移动终端与碰撞物表面的距离。Step 409: The mobile terminal determines the distance between the mobile terminal and the surface of the collision object according to the at least two velocity values.

步骤410:移动终端判断所述距离是否大于或等于第四阈值;Step 410: the mobile terminal determines whether the distance is greater than or equal to a fourth threshold;

若是,则执行步骤411。If yes, step 411 is executed.

若否,则执行步骤409。If not, step 409 is executed.

步骤411:移动终端对所述移动终端的触控显示屏进行故障检测。Step 411: The mobile terminal performs fault detection on the touch screen of the mobile terminal.

步骤412:移动终端判断所述触控显示屏是否出现故障;Step 412: the mobile terminal determines whether the touch screen is faulty;

若是,则执行步骤413。If yes, step 413 is executed.

若否,则执行步骤411。If not, step 411 is executed.

步骤413:移动终端确定所述触控显示屏的故障区域的位置。Step 413: The mobile terminal determines the location of the faulty area of the touch display screen.

步骤414:移动终端上报所述故障区域的位置。Step 414: The mobile terminal reports the location of the faulty area.

需要说明的是,图4所示的方法的各个步骤的具体实现过程可参见所述方法所述的具体实现过程,在此不再叙述。It should be noted that, for the specific implementation process of each step of the method shown in FIG. 4 , reference may be made to the specific implementation process described in the method, which will not be described here.

与上述图2和图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种移动终端的结构示意图,该移动终端包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令:Consistent with the embodiments shown in FIG. 2 and FIG. 4, please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application. The mobile terminal includes a processor, a memory, a communication interface, and a or more programs, wherein said one or more programs are stored in said memory and configured to be executed by said processor, said program comprising instructions for performing the following steps:

获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值;Acquiring multiple speed values of the mobile terminal at multiple times, and each time corresponds to a speed value;

在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,从所述多个速度值中选取至少两个速度值;Selecting at least two speed values from the plurality of speed values when it is determined according to the plurality of speed values that a drop event occurs in the mobile terminal;

上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。The at least two speed values and the time corresponding to the at least two speed values are reported, and the at least two speed values are used for the receiving end device to determine the falling situation of the mobile terminal.

在本申请的一实施例中,上述程序还包括用于执行以下步骤的指令:In an embodiment of the present application, the above program further includes instructions for performing the following steps:

确定所述移动终端满足设定条件,所述设定条件包括以下至少一种:检测到所述移动终端在重力方向上的加速度大于或等于第一阈值;检测到所述移动终端在目标时段内的垂直高度变化值大于或等于第二阈值;检测到所述移动终端的手持压力值小于第三阈值。It is determined that the mobile terminal satisfies a set condition, and the set condition includes at least one of the following: detecting that the acceleration of the mobile terminal in the direction of gravity is greater than or equal to a first threshold; detecting that the mobile terminal is within a target time period The vertical height change value of the mobile terminal is greater than or equal to the second threshold value; it is detected that the holding pressure value of the mobile terminal is less than the third threshold value.

在本申请的一实施例中,在所述跌落事件中所述移动终端跌落一次,在从所述多个速度值中选取至少两个速度值方面,上述程序包括具体用于执行以下步骤的指令:In an embodiment of the present application, in the drop event, the mobile terminal falls once, and in terms of selecting at least two speed values from the plurality of speed values, the above program includes instructions specifically for executing the following steps :

从所述多个速度值中选取第一速度值和第二速度值,所述第一速度值对应的时刻为所述多个时刻中的最早时刻,所述第二速度值为所述多个速度值中最大的速度值。A first speed value and a second speed value are selected from the plurality of speed values, the time corresponding to the first speed value is the earliest time among the plurality of times, and the second speed value The largest speed value among the speed values.

在本申请的一实施例中,在所述跌落事件中所述移动终端跌落至少两次,在从所述多个速度值中选取至少两个速度值方面,上述程序包括具体用于执行以下步骤的指令:In an embodiment of the present application, in the drop event, the mobile terminal falls at least twice, and in terms of selecting at least two speed values from the plurality of speed values, the above program includes the following steps specifically for executing command:

根据所述多个速度值和所述多个速度值对应的所述多个时刻生成速度值与时刻的曲线图;generating a graph of speed values and times according to the plurality of speed values and the plurality of times corresponding to the plurality of speed values;

从所述曲线图中选取第三速度值、至少三个第四速度值和至少两个第五速度值,所述第三速度值对应的时刻为所述多个时刻中的最早时刻,所述第四速度值为所述曲线图中的波峰对应的速度值,所述第五速度值为所述曲线图中的任意两个相邻波峰之间的最小速度值。A third speed value, at least three fourth speed values and at least two fifth speed values are selected from the graph, and the time corresponding to the third speed value is the earliest time among the plurality of times, and the The fourth speed value is the speed value corresponding to the peak in the graph, and the fifth speed value is the minimum speed value between any two adjacent peaks in the graph.

在本申请的一实施例中,上述程序还包括用于执行以下步骤的指令:In an embodiment of the present application, the above program further includes instructions for performing the following steps:

根据所述至少两个速度值确定所述移动终端与碰撞物表面的距离;determining the distance between the mobile terminal and the surface of the collision object according to the at least two velocity values;

在所述距离大于或等于第四阈值的情况下,对所述移动终端的触控显示屏进行故障检测,以确定所述触控显示屏是否出现故障;When the distance is greater than or equal to a fourth threshold, perform fault detection on the touch display screen of the mobile terminal to determine whether the touch display screen is faulty;

在所述触控显示屏出现故障的情况下,确定所述触控显示屏的故障区域的位置,以及上报所述位置。In the case that the touch display screen is faulty, the position of the fault area of the touch screen display screen is determined, and the position is reported.

需要说明的是,本实施例的具体实现过程可参见上述方法实施例所述的具体实现过程,在此不再叙述。It should be noted that, for the specific implementation process of this embodiment, reference may be made to the specific implementation process described in the foregoing method embodiment, which is not described herein again.

上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,移动终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of the method-side execution process. It can be understood that, in order to implement the above-mentioned functions, the mobile terminal includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

本申请实施例可以根据上述方法示例对传输速率调整装置进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the transmission rate adjustment apparatus may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.

在采用集成的单元的情况下,图6示出了上述实施例中所涉及的跌落数据上报装置的一种可能的功能单元组成框图。该跌落数据上报装置600包括处理单元601、存储单元602和通信单元603,处理单元601包括获取单元、选取单元和上报单元,其中:In the case of using an integrated unit, FIG. 6 shows a block diagram of a possible functional unit of the device for reporting drop data involved in the above embodiment. The drop data reporting device 600 includes a processing unit 601, a storage unit 602 and a communication unit 603, and the processing unit 601 includes an acquisition unit, a selection unit and a reporting unit, wherein:

获取单元,用于获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值;an acquisition unit, configured to acquire multiple speed values of the mobile terminal at multiple times, and each time corresponds to a speed value;

选取单元,用于在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,从所述多个速度值中选取至少两个速度值;a selection unit, configured to select at least two speed values from the plurality of speed values when it is determined that a drop event occurs in the mobile terminal according to the plurality of speed values;

上报单元,用于上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。A reporting unit, configured to report the at least two speed values and the time corresponding to the at least two speed values, where the at least two speed values are used for the receiving end device to determine the drop situation of the mobile terminal.

在本申请的一实施例中,所述处理单元601还包括:In an embodiment of the present application, the processing unit 601 further includes:

第一确定单元,用于确定所述移动终端满足设定条件,所述设定条件包括以下至少一种:通过所述加速度传感器检测到所述移动终端在重力方向上的加速度大于或等于第一阈值;通过所述距离传感器检测到所述移动终端在目标时段内的垂直高度变化值大于或等于第二阈值;通过手持传感器检测到所述移动终端的手持压力值小于第三阈值。a first determining unit, configured to determine that the mobile terminal satisfies a set condition, and the set condition includes at least one of the following: it is detected by the acceleration sensor that the acceleration of the mobile terminal in the direction of gravity is greater than or equal to a first Threshold; it is detected by the distance sensor that the vertical height change value of the mobile terminal within the target period is greater than or equal to the second threshold value; the handheld pressure value of the mobile terminal detected by the handheld sensor is less than the third threshold value.

在本申请的一实施例中,在所述跌落事件中所述移动终端跌落一次,在从所述多个速度值中选取至少两个速度值方面,上述选取单元具体用于:In an embodiment of the present application, in the drop event, the mobile terminal is dropped once, and in terms of selecting at least two speed values from the plurality of speed values, the above selecting unit is specifically used for:

从所述多个速度值中选取第一速度值和第二速度值,所述第一速度值对应的时刻为所述多个时刻中的最早时刻,所述第二速度值为所述多个速度值中最大的速度值。A first speed value and a second speed value are selected from the plurality of speed values, the time corresponding to the first speed value is the earliest time among the plurality of times, and the second speed value The largest speed value among the speed values.

在本申请的一实施例中,在所述跌落事件中所述移动终端跌落至少两次,在从所述多个速度值中选取至少两个速度值方面,上述选取单元具体用于:In an embodiment of the present application, in the drop event, the mobile terminal falls at least twice, and in terms of selecting at least two speed values from the plurality of speed values, the above selecting unit is specifically used for:

根据所述多个速度值和所述多个速度值对应的所述多个时刻生成速度值与时刻的曲线图;generating a graph of speed values and times according to the plurality of speed values and the plurality of times corresponding to the plurality of speed values;

从所述曲线图中选取第三速度值、至少三个第四速度值和至少两个第五速度值,所述第三速度值对应的时刻为所述多个时刻中的最早时刻,所述第四速度值为所述曲线图中的波峰对应的速度值,所述第五速度值为所述曲线图中的任意两个相邻波峰之间的最小速度值。A third speed value, at least three fourth speed values and at least two fifth speed values are selected from the graph, and the time corresponding to the third speed value is the earliest time among the plurality of times, and the The fourth speed value is the speed value corresponding to the peak in the graph, and the fifth speed value is the minimum speed value between any two adjacent peaks in the graph.

在本申请的一实施例中,所述处理单元601还包括:In an embodiment of the present application, the processing unit 601 further includes:

第二确定单元,用于根据所述至少两个速度值确定所述移动终端与碰撞物表面的距离;在所述距离大于或等于第四阈值的情况下,对所述移动终端的触控显示屏进行故障检测,以确定所述触控显示屏是否出现故障;在所述触控显示屏出现故障的情况下,确定所述触控显示屏的故障区域的位置;a second determining unit, configured to determine the distance between the mobile terminal and the surface of the collision object according to the at least two speed values; when the distance is greater than or equal to a fourth threshold, touch display on the mobile terminal performing fault detection on the touch screen to determine whether the touch screen is faulty; in the case of a fault on the touch screen, determining the location of the faulty area of the touch screen;

上述上报单元,还用于上报所述故障区域的位置。The above-mentioned reporting unit is further configured to report the location of the fault area.

其中,处理单元601可以是处理器或控制器,(例如可以是中央处理器 (CentralProcessing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成控制器(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。存储单元602可以是存储器,通信单元603可以是收发器、收发控制器、射频芯片、通信接口等。The processing unit 601 may be a processor or a controller, (for example, a central processing unit (Central Processing Unit, CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), a dedicated integrated controller (Application- Specific Integrated Circuit, ASIC), Field Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The storage unit 602 may be a memory, and the communication unit 603 may be Transceivers, transceiver controllers, radio frequency chips, communication interfaces, etc.

当处理单元601为处理器,存储单元602为存储器,通信单元603为通信接口时,本申请实施例所涉及的跌落数据上报装置可以为图5所示的移动终端。When the processing unit 601 is a processor, the storage unit 602 is a memory, and the communication unit 603 is a communication interface, the drop data reporting device involved in this embodiment of the present application may be the mobile terminal shown in FIG. 5 .

本申请实施例还提供了一种移动终端的结构示意图,如图7所示,该移动终端700包括:壳体10、电路板20、速度传感器30、加速度传感器40、距离传感器50、手持传感器60、显示屏70、收发器75、控制速度传感器30、加速度传感器40、距离传感器50、手持传感器60、显示屏70和收发器75的控制器 80;速度传感器30、加速度传感器40、距离传感器50、收发器75和控制器80 设置在电路板20上,显示屏70与控制器80连接,其中:An embodiment of the present application also provides a schematic structural diagram of a mobile terminal. As shown in FIG. 7 , the mobile terminal 700 includes: a casing 10 , a circuit board 20 , a speed sensor 30 , an acceleration sensor 40 , a distance sensor 50 , and a handheld sensor 60 , display screen 70, transceiver 75, controller 80 controlling speed sensor 30, acceleration sensor 40, distance sensor 50, handheld sensor 60, display screen 70 and transceiver 75; speed sensor 30, acceleration sensor 40, distance sensor 50, The transceiver 75 and the controller 80 are arranged on the circuit board 20, and the display screen 70 is connected with the controller 80, wherein:

速度传感器30,用于获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值;a speed sensor 30, configured to acquire multiple speed values of the mobile terminal at multiple times, and each time corresponds to a speed value;

控制器80,用于在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,从所述多个速度值中选取至少两个速度值;a controller 80, configured to select at least two speed values from the plurality of speed values when it is determined according to the plurality of speed values that a drop event occurs in the mobile terminal;

收发器75,用于上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。The transceiver 75 is configured to report the at least two speed values and the time corresponding to the at least two speed values, and the at least two speed values are used for the receiving end device to determine the falling situation of the mobile terminal.

其中,移动终端700还包括至少一个功能组件90,控制器80与至少一个功能组件90连接,至少一个功能组件90包括以下至少一种:扬声器、麦克风、人脸识别装置、接近传感器、环境光传感器。The mobile terminal 700 further includes at least one functional component 90, the controller 80 is connected to the at least one functional component 90, and the at least one functional component 90 includes at least one of the following: a speaker, a microphone, a face recognition device, a proximity sensor, and an ambient light sensor .

其中,显示屏70包括触控屏和显示屏,显示屏包括有机发光二极管显示屏 OLED。The display screen 70 includes a touch screen and a display screen, and the display screen includes an organic light emitting diode display screen OLED.

其中,控制器80可以包括处理器和存储器,该处理器是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。可选的,处理器可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,所述调制解调处理器也可以不集成到处理器中。The controller 80 may include a processor and a memory, the processor is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs stored in the memory and/or module, and call the data stored in the memory, perform various functions of the mobile terminal and process data, so as to carry out overall monitoring of the mobile terminal. Optionally, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that the modulation and demodulation processor may not be integrated into the processor.

其中,存储器可用于存储软件程序以及模块,处理器通过运行存储在存储器的软件程序以及模块,从而执行移动终端的各种功能应用以及数据处理。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据移动终端的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can be used to store software programs and modules, and the processor executes various functional applications and data processing of the mobile terminal by running the software programs and modules stored in the memory. The memory may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function, and the like; the stored data area may store data created according to the use of the mobile terminal, and the like. Additionally, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

在本申请的一实施例中,控制器80,还用于确定所述移动终端满足设定条件,所述设定条件包括以下至少一种:通过所述加速度传感器检测到所述移动终端在重力方向上的加速度大于或等于第一阈值;通过所述距离传感器检测到所述移动终端在目标时段内的垂直高度变化值大于或等于第二阈值;通过手持传感器检测到所述移动终端的手持压力值小于第三阈值。In an embodiment of the present application, the controller 80 is further configured to determine that the mobile terminal satisfies a set condition, and the set condition includes at least one of the following: it is detected by the acceleration sensor that the mobile terminal is under gravity The acceleration in the direction is greater than or equal to the first threshold; the vertical height change value of the mobile terminal within the target period is detected by the distance sensor is greater than or equal to the second threshold; the handheld pressure of the mobile terminal is detected by the handheld sensor The value is less than the third threshold.

在本申请的一实施例中,在所述跌落事件中所述移动终端跌落一次,在从所述多个速度值中选取至少两个速度值方面,控制器80具体用于:In an embodiment of the present application, in the drop event, the mobile terminal falls once, and in terms of selecting at least two speed values from the plurality of speed values, the controller 80 is specifically configured to:

从所述多个速度值中选取第一速度值和第二速度值,所述第一速度值对应的时刻为所述多个时刻中的最早时刻,所述第二速度值为所述多个速度值中最大的速度值。A first speed value and a second speed value are selected from the plurality of speed values, the time corresponding to the first speed value is the earliest time among the plurality of times, and the second speed value The largest speed value among the speed values.

在本申请的一实施例中,在所述跌落事件中所述移动终端跌落至少两次,在从所述多个速度值中选取至少两个速度值方面,控制器80具体用于:In an embodiment of the present application, in the drop event, the mobile terminal falls at least twice, and in terms of selecting at least two speed values from the plurality of speed values, the controller 80 is specifically configured to:

根据所述多个速度值和所述多个速度值对应的所述多个时刻生成速度值与时刻的曲线图;generating a graph of speed values and times according to the plurality of speed values and the plurality of times corresponding to the plurality of speed values;

从所述曲线图中选取第三速度值、至少三个第四速度值和至少两个第五速度值,所述第三速度值对应的时刻为所述多个时刻中的最早时刻,所述第四速度值为所述曲线图中的波峰对应的速度值,所述第五速度值为所述曲线图中的任意两个相邻波峰之间的最小速度值。A third speed value, at least three fourth speed values and at least two fifth speed values are selected from the graph, and the time corresponding to the third speed value is the earliest time among the plurality of times, and the The fourth speed value is the speed value corresponding to the peak in the graph, and the fifth speed value is the minimum speed value between any two adjacent peaks in the graph.

在本申请的一实施例中,In an embodiment of the present application,

控制器60,还用于根据所述至少两个速度值确定所述移动终端与碰撞物表面的距离;在所述距离大于或等于第四阈值的情况下,对所述移动终端的触控显示屏进行故障检测,以确定所述触控显示屏是否出现故障;在所述触控显示屏出现故障的情况下,确定所述触控显示屏的故障区域的位置;The controller 60 is further configured to determine the distance between the mobile terminal and the surface of the collision object according to the at least two speed values; when the distance is greater than or equal to a fourth threshold, touch display on the mobile terminal performing fault detection on the touch screen to determine whether the touch screen is faulty; in the case of a fault on the touch screen, determining the location of the faulty area of the touch screen;

收发器75,还用于上报所述故障区域的位置。The transceiver 75 is further configured to report the location of the faulty area.

需要说明的是,本实施例的具体实现过程可参见上述方法所述的具体实现过程,在此不再叙述。It should be noted that, for the specific implementation process of this embodiment, reference may be made to the specific implementation process described in the above method, which is not described herein again.

本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括移动终端。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes a mobile terminal.

本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括移动终端。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes a mobile terminal.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM, Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.

以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实现方式及应用范围上均会有改变之处,综上上述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, may have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.

Claims (10)

1.一种跌落数据上报方法,其特征在于,应用于包括速度传感器的移动终端,所述方法包括:1. a drop data reporting method, is characterized in that, is applied to the mobile terminal that comprises speed sensor, and described method comprises: 通过所述速度传感器获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值;所述多个时刻中任意两个相邻时刻对应的速度相等或者不等;Acquire multiple speed values of the mobile terminal at multiple times through the speed sensor, and each time corresponds to a speed value; the speeds corresponding to any two adjacent times in the multiple times are equal or unequal; 在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,从所述多个速度值中选取至少两个速度值;所述跌落事件为一次跌落或一次以上跌落;When it is determined that a drop event occurs in the mobile terminal according to the plurality of speed values, at least two speed values are selected from the plurality of speed values; the drop event is one drop or more than one drop; 上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。The at least two speed values and the time corresponding to the at least two speed values are reported, and the at least two speed values are used for the receiving end device to determine the falling situation of the mobile terminal. 2.根据权利要求1所述的方法,其特征在于,所述移动终端包括加速度传感器、距离传感器和手持传感器,所述通过所述速度传感器获取所述移动终端在多个时刻的多个速度值之前,所述方法还包括:2 . The method according to claim 1 , wherein the mobile terminal comprises an acceleration sensor, a distance sensor and a hand-held sensor, and the plurality of speed values of the mobile terminal at a plurality of times are acquired through the speed sensor. 3 . Before, the method further includes: 确定所述移动终端满足设定条件,所述设定条件包括以下至少一种:通过所述加速度传感器检测到所述移动终端在重力方向上的加速度大于或等于第一阈值;通过所述距离传感器检测到所述移动终端在目标时段内的垂直高度变化值大于或等于第二阈值;通过手持传感器检测到所述移动终端的手持压力值小于第三阈值。It is determined that the mobile terminal satisfies a set condition, and the set condition includes at least one of the following: detecting that the acceleration of the mobile terminal in the direction of gravity is greater than or equal to a first threshold through the acceleration sensor; It is detected that the vertical height change value of the mobile terminal in the target period is greater than or equal to the second threshold value; the handheld pressure value of the mobile terminal is detected to be smaller than the third threshold value through the handheld sensor. 3.根据权利要求1或2所述的方法,其特征在于,在所述跌落事件中所述移动终端跌落一次,所述从所述多个速度值中选取至少两个速度值,包括:3. The method according to claim 1 or 2, wherein in the drop event, the mobile terminal is dropped once, and the selection of at least two speed values from the plurality of speed values comprises: 从所述多个速度值中选取第一速度值和第二速度值,所述第一速度值对应的时刻为所述多个时刻中的最早时刻,所述第二速度值为所述多个速度值中最大的速度值。A first speed value and a second speed value are selected from the plurality of speed values, the time corresponding to the first speed value is the earliest time among the plurality of times, and the second speed value The largest speed value among the speed values. 4.根据权利要求1或2所述的方法,其特征在于,在所述跌落事件中所述移动终端跌落至少两次,所述从所述多个速度值中选取至少两个速度值,包括:4. The method according to claim 1 or 2, wherein in the drop event, the mobile terminal falls at least twice, and the selection of at least two speed values from the plurality of speed values includes : 根据所述多个速度值和所述多个速度值对应的所述多个时刻生成速度值与时刻的曲线图;generating a graph of speed values and times according to the plurality of speed values and the plurality of times corresponding to the plurality of speed values; 从所述曲线图中选取第三速度值、至少三个第四速度值和至少两个第五速度值,所述第三速度值对应的时刻为所述多个时刻中的最早时刻,所述第四速度值为所述曲线图中的波峰对应的速度值,所述第五速度值为所述曲线图中的任意两个相邻波峰之间的最小速度值。A third speed value, at least three fourth speed values and at least two fifth speed values are selected from the graph, and the time corresponding to the third speed value is the earliest time among the plurality of times, and the The fourth speed value is the speed value corresponding to the peak in the graph, and the fifth speed value is the minimum speed value between any two adjacent peaks in the graph. 5.根据权利要求1-2任一项所述的方法,其特征在于,所述方法还包括:5. The method according to any one of claims 1-2, wherein the method further comprises: 根据所述至少两个速度值确定所述移动终端与碰撞物表面的距离;determining the distance between the mobile terminal and the surface of the collision object according to the at least two velocity values; 在所述距离大于或等于第四阈值的情况下,对所述移动终端的触控显示屏进行故障检测,以确定所述触控显示屏是否出现故障;When the distance is greater than or equal to a fourth threshold, perform fault detection on the touch display screen of the mobile terminal to determine whether the touch display screen is faulty; 在所述触控显示屏出现故障的情况下,确定所述触控显示屏的故障区域的位置,以及上报所述位置。In the case that the touch display screen is faulty, the position of the fault area of the touch screen display screen is determined, and the position is reported. 6.一种跌落数据上报装置,其特征在于,应用于包括速度传感器、加速度传感器、距离传感器和手持传感器的移动终端,所述跌落数据上报装置包括:6. A drop data reporting device, characterized in that, applied to a mobile terminal comprising a speed sensor, an acceleration sensor, a distance sensor and a handheld sensor, the drop data reporting device comprising: 获取单元,用于获取所述移动终端在多个时刻的多个速度值,每个时刻对应一个速度值;所述多个时刻中任意两个相邻时刻对应的速度相等或者不等;an acquisition unit, configured to acquire multiple speed values of the mobile terminal at multiple times, each time corresponding to one speed value; the speeds corresponding to any two adjacent times in the multiple times are equal or unequal; 选取单元,用于在根据所述多个速度值确定所述移动终端发生跌落事件的情况下,从所述多个速度值中选取至少两个速度值;所述跌落事件为一次跌落或一次以上跌落;A selection unit, configured to select at least two speed values from the plurality of speed values when it is determined that a drop event occurs in the mobile terminal according to the plurality of speed values; the drop event is one drop or more than one drop fall; 上报单元,用于上报所述至少两个速度值和所述至少两个速度值对应的时刻,所述至少两个速度值用于接收端设备确定所述移动终端的跌落情况。A reporting unit, configured to report the at least two speed values and the time corresponding to the at least two speed values, where the at least two speed values are used for the receiving end device to determine the drop situation of the mobile terminal. 7.根据权利要求6所述的装置,其特征在于,在所述跌落事件中所述移动终端跌落一次,在从所述多个速度值中选取至少两个速度值方面,所述选取单元具体用于:7 . The device according to claim 6 , wherein in the drop event, the mobile terminal is dropped once, and the selection unit specifically selects at least two speed values from the plurality of speed values. 8 . Used for: 从所述多个速度值中选取第一速度值和第二速度值,所述第一速度值对应的时刻为所述多个时刻中的最早时刻,所述第二速度值为所述多个速度值中最大的速度值。A first speed value and a second speed value are selected from the plurality of speed values, the time corresponding to the first speed value is the earliest time among the plurality of times, and the second speed value The largest speed value among the speed values. 8.根据权利要求6所述的装置,其特征在于,在所述跌落事件中所述移动终端跌落至少两次,在从所述多个速度值中选取至少两个速度值方面,所述选取单元具体用于:8 . The device according to claim 6 , wherein the mobile terminal is dropped at least twice in the drop event, and in terms of selecting at least two speed values from the plurality of speed values, the selecting Units are specifically used to: 根据所述多个速度值和所述多个速度值对应的所述多个时刻生成速度值与时刻的曲线图;generating a graph of speed values and times according to the plurality of speed values and the plurality of times corresponding to the plurality of speed values; 从所述曲线图中选取第三速度值、至少三个第四速度值和至少两个第五速度值,所述第三速度值对应的时刻为所述多个时刻中的最早时刻,所述第四速度值为所述曲线图中的波峰对应的速度值,所述第五速度值为所述曲线图中的任意两个相邻波峰之间的最小速度值。A third speed value, at least three fourth speed values and at least two fifth speed values are selected from the graph, and the time corresponding to the third speed value is the earliest time among the plurality of times, and the The fourth speed value is the speed value corresponding to the peak in the graph, and the fifth speed value is the minimum speed value between any two adjacent peaks in the graph. 9.一种移动终端,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-5任一项所述的方法中的步骤的指令。9. A mobile terminal, comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured by the processor Executing, the program includes instructions for performing the steps in the method of any of claims 1-5. 10.一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-5任一项所述的方法。10. A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN201810395880.5A 2018-04-27 2018-04-27 Drop data reporting method, related device, mobile terminal and storage medium Expired - Fee Related CN108769379B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810395880.5A CN108769379B (en) 2018-04-27 2018-04-27 Drop data reporting method, related device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810395880.5A CN108769379B (en) 2018-04-27 2018-04-27 Drop data reporting method, related device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN108769379A CN108769379A (en) 2018-11-06
CN108769379B true CN108769379B (en) 2020-09-22

Family

ID=64012478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810395880.5A Expired - Fee Related CN108769379B (en) 2018-04-27 2018-04-27 Drop data reporting method, related device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN108769379B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112380181A (en) * 2020-11-10 2021-02-19 北京小米移动软件有限公司 Terminal drop detection method, device and system, electronic terminal and storage medium
CN115112329A (en) * 2021-03-19 2022-09-27 华为技术有限公司 Fall detection method and device, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412249A (en) * 2016-09-06 2017-02-15 广东欧珀移动通信有限公司 Detection method and device of drop information
CN106453829A (en) * 2016-09-06 2017-02-22 广东欧珀移动通信有限公司 Method and device for detecting drop height
US20170263105A1 (en) * 2016-03-08 2017-09-14 Arian Shoari Apparatus and Methods to Promote Sustainable Behavior Among Smartphone Users
CN107239166A (en) * 2017-05-31 2017-10-10 厦门美图移动科技有限公司 It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170263105A1 (en) * 2016-03-08 2017-09-14 Arian Shoari Apparatus and Methods to Promote Sustainable Behavior Among Smartphone Users
CN106412249A (en) * 2016-09-06 2017-02-15 广东欧珀移动通信有限公司 Detection method and device of drop information
CN106453829A (en) * 2016-09-06 2017-02-22 广东欧珀移动通信有限公司 Method and device for detecting drop height
CN107239166A (en) * 2017-05-31 2017-10-10 厦门美图移动科技有限公司 It is a kind of to adjust method and the mobile terminal that interface of mobile terminal is shown

Also Published As

Publication number Publication date
CN108769379A (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN106412249B (en) Drop information detection method and device
CN106357897B (en) Method and device for acquiring falling information
CN106453829B (en) Method and device for detecting drop height
CN106203290B (en) A kind of fingerprint image acquisition method and terminal
CN110324124A (en) The transmission method and terminal device of aperiodic sounding reference signal SRS
CN108769350A (en) Fall detection method and relevant apparatus
WO2020098388A1 (en) Adjustment method for preventing electromagnetic interference and related product
CN106131345A (en) The control method of a kind of proximity transducer, device and mobile terminal
CN106951850B (en) A kind of method and mobile terminal controlling fingerprint recognition mould group
EP3823310A1 (en) Microphone hole clogging detection method and related products
CN109274833A (en) Electromagnetic interference adjustment method and related products
CN108021306A (en) Application interface display methods and relevant device
CN108418973A (en) Fall detection method and related device
CN109669566B (en) Method and device for controlling report point output
CN105138239A (en) Application operation method, device and terminal equipment
CN108769379B (en) Drop data reporting method, related device, mobile terminal and storage medium
CN108307383A (en) Data reporting method and related product
CN106648460B (en) Step-counting data filtering method and intelligent terminal
CN108307063B (en) Fall prompting method and related device and medium
CN106385486A (en) A control method, device and mobile terminal of a proximity sensor
CN108307065A (en) Fall reminding method and relevant device
CN108966290B (en) Network connection method and related products
CN108810246B (en) Drop data reporting method and related device
CN109991507A (en) A smart card contact detection circuit, method and device
CN106547400B (en) Method, device and terminal for reporting information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200922

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载