CN108600541B - Drop detection method and related device - Google Patents
Drop detection method and related device Download PDFInfo
- Publication number
- CN108600541B CN108600541B CN201810373046.6A CN201810373046A CN108600541B CN 108600541 B CN108600541 B CN 108600541B CN 201810373046 A CN201810373046 A CN 201810373046A CN 108600541 B CN108600541 B CN 108600541B
- Authority
- CN
- China
- Prior art keywords
- drop
- electronic device
- data
- server
- detection function
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 130
- 238000000034 method Methods 0.000 claims abstract description 51
- 230000006870 function Effects 0.000 claims description 98
- 238000004590 computer program Methods 0.000 claims description 12
- 238000004891 communication Methods 0.000 claims description 10
- 238000012216 screening Methods 0.000 claims description 9
- 230000009286 beneficial effect Effects 0.000 abstract description 14
- 230000002159 abnormal effect Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000012544 monitoring process Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 230000001133 acceleration Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Alarm Systems (AREA)
- Emergency Alarm Devices (AREA)
Abstract
本申请公开了一种跌落检测方法及相关装置,应用于电子装置,所述方法包括:电子装置首先检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据,其次,从多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,再次,检测到筛选出至少一组跌落数据的数量大于预设数量,向服务器发送至少一组跌落数据,然后,接收来自服务器的提示信息,提示消息是服务器根据至少一组跌落数据生成并发送的,最后,输出提示信息以通知用户及时关闭跌落检测功能。有利于提高跌落检测的全面性和准确性。
The present application discloses a drop detection method and a related device, which are applied to an electronic device. The method includes: the electronic device firstly detects the drop data of each drop event among multiple drop events occurring within a preset time period; At least one set of drop data is screened out from the multiple sets of drop data corresponding to the first drop event, and again, it is detected that the number of at least one set of drop data is greater than the preset number, and at least one set of drop data is sent to the server, and then received from the server. The prompt message is generated and sent by the server according to at least one set of drop data, and finally, the prompt message is output to notify the user to turn off the drop detection function in time. It is beneficial to improve the comprehensiveness and accuracy of drop detection.
Description
技术领域technical field
本申请涉及电子技术领域,尤其涉及一种跌落检测方法及相关装置。The present application relates to the field of electronic technology, and in particular, to a drop detection method and a related device.
背景技术Background technique
随着智能终端(如智能手机等)技术的迅速发展,以及越来越普及,现已成为用户日常生活中不可缺少的电子产品。在实际使用中,通常会出现智能终端从用户的手中跌落、从桌面跌落的情况,智能终端跌落后会与碰撞物进行碰撞,进而导致智能终端损伤。With the rapid development and popularization of the technology of smart terminals (such as smart phones, etc.), they have become indispensable electronic products in the daily life of users. In actual use, the smart terminal usually falls from the user's hand or from the desktop. After the smart terminal falls, it will collide with a colliding object, thereby causing damage to the smart terminal.
其中,在某些跌落场景中,实际上并未发生跌落事件,如口袋场景等,但手机跌落检测机制仍然会上报大量“跌落”数据的情况,此时就会使得手机功耗大、耗电量大等情况的发生。Among them, in some drop scenarios, no drop events actually occur, such as pocket scenarios, etc., but the mobile phone drop detection mechanism will still report a large amount of "drop" data, which will cause the mobile phone to consume a lot of power and power. The occurrence of large quantities, etc.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种跌落检测方法及相关装置,有利于电子装置提高跌落检测的全面性和准确性。Embodiments of the present application provide a drop detection method and a related device, which are beneficial for electronic devices to improve the comprehensiveness and accuracy of drop detection.
第一方面,本申请实施例提供一种跌落检测方法,应用于电子装置,所述方法包括:In a first aspect, an embodiment of the present application provides a drop detection method, which is applied to an electronic device, and the method includes:
检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据;Detect drop data for each drop event in multiple drop events that occur within a preset period;
从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据;Screen out at least one set of drop data from the multiple sets of drop data corresponding to the multiple drop events;
检测到筛选出所述至少一组跌落数据的数量大于预设数量,向服务器发送所述至少一组跌落数据;Detecting that the number of the at least one set of drop data filtered out is greater than a preset number, and sending the at least one set of drop data to the server;
接收来自所述服务器的提示信息,所述提示消息是所述服务器根据所述至少一组跌落数据生成并发送的;receiving prompt information from the server, where the prompt message is generated and sent by the server according to the at least one set of drop data;
输出所述提示信息以通知用户及时关闭跌落检测功能。The prompt information is output to notify the user to turn off the drop detection function in time.
第二方面,本申请实施例提供一种跌落检测方法,其特征在于,应用于服务器,所述方法包括:In a second aspect, an embodiment of the present application provides a drop detection method, which is characterized in that, applied to a server, the method includes:
接收来自电子装置的至少一组跌落数据,所述至少一组跌落数据是所述电子装置从多次跌落事件对应的多组跌落数据中筛选出的,所述多次跌落事件是所述电子装置在预设时段内检测到的;Receive at least one set of drop data from the electronic device, the at least one set of drop data is selected by the electronic device from multiple sets of drop data corresponding to multiple drop events, the multiple drop events are the electronic device detected within a preset time period;
根据所述至少一组跌落数据生成提示信息;generating prompt information according to the at least one set of drop data;
向所述电子装置发送所述提示信息,所述提示信息用于所述电子装置执行消息输出操作以通知用户及时关闭跌落检测功能。Sending the prompt information to the electronic device, where the prompt information is used for the electronic device to perform a message output operation to notify the user to turn off the drop detection function in time.
第三方面,本申请实施例提供一种跌落检测装置,其特征在于,应用于电子装置,所述跌落检测装置包括检测单元、筛选单元、第一发送单元、第一接收单元和输出单元,其中:In a third aspect, an embodiment of the present application provides a drop detection device, which is characterized in that, when applied to an electronic device, the drop detection device includes a detection unit, a screening unit, a first sending unit, a first receiving unit, and an output unit, wherein :
所述检测单元,用于检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据;The detection unit is used to detect the drop data of each drop event in the multiple drop events occurring within a preset time period;
所述筛选单元,用于从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据;The screening unit is used to screen out at least one group of drop data from multiple groups of drop data corresponding to the multiple drop events;
所述第一发送单元,用于向服务器发送所述至少一组跌落数据;the first sending unit, configured to send the at least one group of drop data to the server;
所述第一接收单元,用于接收来自所述服务器的提示信息,所述提示消息是所述服务器根据所述至少一组跌落数据生成并发送的;the first receiving unit, configured to receive prompt information from the server, where the prompt message is generated and sent by the server according to the at least one set of drop data;
所述输出单元,用于输出所述提示信息以通知用户及时关闭跌落检测功能。The output unit is configured to output the prompt information to notify the user to turn off the drop detection function in time.
第四方面,本申请实施例提供一种跌落检测装置,其特征在于,应用于服务器,所述跌落检测装置包括第二接收单元、生成单元和第二发送单元,其中:In a fourth aspect, an embodiment of the present application provides a drop detection device, which is characterized in that, when applied to a server, the drop detection device includes a second receiving unit, a generating unit, and a second sending unit, wherein:
所述第二接收单元,用于接收来自电子装置的至少一组跌落数据;the second receiving unit, configured to receive at least one set of drop data from the electronic device;
所述生成单元,用于根据所述至少一组跌落数据生成提示信息;the generating unit, configured to generate prompt information according to the at least one set of drop data;
所述第二发送单元,用于向所述电子装置发送所述提示信息。The second sending unit is configured to send the prompt information to the electronic device.
第五方面,本申请实施例提供一种电子装置,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a fifth aspect, an embodiment of the present application provides an electronic device, 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 sixth aspect, embodiments of the present application provide an application server, including a processor, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the processor The program includes instructions for executing steps in any method in the second aspect of the embodiments of the present application.
第七方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面或第二方面任一方法中所描述的部分或全部步骤。In a seventh 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. Some or all of the steps described in any of the methods of the one or second aspect.
可以看出,在本申请实施例中,电子装置首先检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据,其次,从多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,再次,检测到筛选出至少一组跌落数据的数量大于预设数量,向服务器发送至少一组跌落数据,然后,接收来自服务器的提示信息,提示消息是服务器根据至少一组跌落数据生成并发送的,最后,输出提示信息。由于跌落数据是由电子装置在预设时间段内检测到的,大于预设数量的情况往往对应电子装置非正常情况的高频数据上报场景,如处于用户跑步时的口袋中场景等,如此可以使得服务器及时根据该上报的数据及时定位出异常数据上报场景,并通知电子装置提示用户及时关闭,从而避免电子装置因持续高频上报数据而耗电的情况发生,有利于提高电子装置的续航能力。It can be seen that, in the embodiment of the present application, the electronic device firstly detects the drop data of each drop event among the multiple drop events occurring within the preset time period, and secondly, selects the drop data from the multiple sets of drop data corresponding to the multiple drop events. At least one set of drop data, and again, it is detected that the number of at least one set of drop data is greater than the preset number, and at least one set of drop data is sent to the server, and then a prompt message from the server is received, and the prompt message is the server according to the at least one set. The drop data is generated and sent, and finally, the prompt information is output. Since the drop data is detected by the electronic device within a preset time period, the case of more than the preset number often corresponds to the abnormal high-frequency data reporting scene of the electronic device, such as the scene in the user's pocket while running, etc. This enables the server to locate the abnormal data reporting scenario in time according to the reported data, and notify the electronic device to prompt the user to shut down in time, so as to avoid the occurrence of power consumption by the electronic device due to continuous high-frequency data reporting, which is beneficial to improve the battery life of the electronic device. .
附图说明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.
图1A是一种智能手机的程序运行空间的示意图;1A is a schematic diagram of a program running space of a smart phone;
图1B是一种安卓系统的系统架构图;1B is a system architecture diagram of an Android system;
图2是本申请实施例提供的一种跌落检测方法的流程示意图;2 is a schematic flowchart of a drop detection method provided by an embodiment of the present application;
图3是本申请实施例公开的另一种跌落检测方法的流程示意图;3 is a schematic flowchart of another drop detection method disclosed in an embodiment of the present application;
图4是本申请实施例公开的另一种跌落检测方法的流程示意图;4 is a schematic flowchart of another drop detection method disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种电子装置的结构示意图;FIG. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
图6是本申请实施例公开的一种应用服务器的结构示意图;6 is a schematic structural diagram of an application server disclosed in an embodiment of the present application;
图7是本申请实施例公开的一种电子装置的功能单元组成框图;FIG. 7 is a block diagram of functional units of an electronic device disclosed in an embodiment of the present application;
图8是本申请实施例公开的一种应用服务器的功能单元组成框图;FIG. 8 is a block diagram of functional units of an application server disclosed in an embodiment of the present application;
图9是本申请实施例公开的一种智能手机的结构示意图;9 is a schematic structural diagram of a smart phone disclosed in an embodiment of the present application;
图10是本申请实施例公开的一种跌落检测系统的系统架构示意图。FIG. 10 is a schematic diagram of a system architecture of a drop detection system disclosed in 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.
如图1A所示,目前智能手机等电子装置一般设置有程序运行空间,该程序运行空间包括用户空间和操作系统空间,其中,用户空间运行有一个或多个应用程序,该一个或多个应用程序为电子装置安装的第三方应用程序,跌落检测算法就运行在用户空间,操作系统空间运行有电子装置的操作系统。As shown in FIG. 1A , at present, electronic devices such as smart phones are generally provided with a program execution space, and the program execution space includes a user space and an operating system space, wherein the user space runs one or more application programs, and the one or more application programs are run in the user space. The program is a third-party application program installed on the electronic device, the drop detection algorithm runs in the user space, and the operating system space runs the operating system of the electronic device.
该电子装置具体可以运行安卓Android系统、苹果公司开发的移动操作系统iOS等,此处不做唯一限定。如图1B所示,以所述电子装置运行有Android系统为例,对应的用户空间包括该Android系统中的应用层(Applications),操作系统空间可以包括该Android系统中的应用程序框架层(Application Framework)、系统运行库层(包括系统运行库层Libraries和Android运行时Android Runtime)、Linux内核层(Linux Kernel)。其中,应用层上包括各类与用户直接交互的应用程序,或由Java语言编写的运行于后台的服务程序。例如,智能手机上实现的常见基本功能的程序,诸如短消息业务(Short MessagingService,SMS)短信,电话拨号,图片浏览器,日历,游戏,地图,万维网(World Wide Web,Web)浏览器等程序,以及开发人员开发的其他应用程序。应用程序框架层提供开发Android应用程序所需的一系列类库,能够用于重用组件,也可以通过继承实现个性化的扩展。系统运行库层是应用程序框架的支撑,为Android系统中的各个组件提供服务。系统运行库层由系统类库和Android运行时构成。Android运行时包含核心库和Dalvik虚拟机两部分。Linux内核层用于实现硬件设备驱动,进程和内存管理,网络协议栈,电源管理,无线通信等核心功能。Specifically, the electronic device can run the Android system, the mobile operating system iOS developed by Apple, etc., which is not limited here. As shown in FIG. 1B , taking the electronic device running the Android system as an example, the corresponding user space includes the application layer (Applications) in the Android system, and the operating system space may include the application program framework layer (Applications) in the Android system. Framework), system runtime layer (including system runtime layer Libraries and Android Runtime Android Runtime), Linux kernel layer (Linux Kernel). Among them, the application layer includes various application programs that directly interact with users, or service programs that are written in the Java language and run in the background. For example, programs with common basic functions implemented on smart phones, such as Short Messaging Service (Short Messaging Service, SMS) text messages, phone dialing, picture browsers, calendars, games, maps, World Wide Web (Web) browsers and other programs , and other applications developed by developers. The application framework layer provides a series of class libraries required for developing Android applications, which can be used to reuse components, and can also achieve personalized extensions through inheritance. The system runtime layer is the support of the application framework and provides services for various components in the Android system. The system runtime layer consists of the system class library and the Android runtime. The Android runtime includes two parts, the core library and the Dalvik virtual machine. The Linux kernel layer is used to implement core functions such as hardware device drivers, process and memory management, network protocol stacks, power management, and wireless communication.
电子装置可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备(例如智能手表、智能手环、计步器等)、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子装置。Electronic devices may include various handheld devices with wireless communication capabilities, in-vehicle devices, wearable devices (eg, smart watches, smart bracelets, pedometers, etc.), computing devices, or other processing devices connected to wireless modems, and various In the form of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) and so on. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
下面对本申请实施例进行详细介绍。The embodiments of the present application will be described in detail below.
请参阅图2,图2是本申请实施例提供了一种跌落检测方法的流程示意图,应用于电子装置,本跌落检测方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a drop detection method provided by an embodiment of the present application, which is applied to an electronic device. The drop detection method includes:
S201,电子装置检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据。S201 , the electronic device detects drop data of each drop event among multiple drop events occurring within a preset time period.
其中,预设时段可以包括但不限于一天、两天等,此处不做唯一限定。The preset time period may include, but is not limited to, one day, two days, etc., which is not limited here.
S202,所述电子装置从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据。S202, the electronic device selects at least one set of drop data from multiple sets of drop data corresponding to the multiple drop events.
其中,跌落数据可以包括但不限于高度数据、跌落次数、加速度和跌落时间等,此处不做唯一限定。Wherein, the drop data may include, but not limited to, height data, the number of drops, acceleration, and drop time, etc., which are not uniquely limited here.
S203,所述电子装置检测到筛选出所述至少一组跌落数据的数量大于预设数量,向服务器发送所述至少一组跌落数据。S203, the electronic device detects that the number of the at least one set of drop data filtered out is greater than a preset number, and sends the at least one set of drop data to the server.
其中,预设数量可以包括但不限于10次、50次、100次等,此处不做唯一限定。The preset number may include, but is not limited to, 10 times, 50 times, 100 times, etc., which is not limited here.
S204,所述电子装置接收来自所述服务器的提示信息,所述提示消息是所述服务器根据所述至少一组跌落数据生成并发送的。S204: The electronic device receives prompt information from the server, where the prompt message is generated and sent by the server according to the at least one set of drop data.
其中,提示信息可以包括但不限于邮件信息、短信、闹钟等,此处不做唯一限定。The prompt information may include, but is not limited to, email information, short messages, alarm clocks, etc., which is not limited here.
S205,所述电子装置输出所述提示信息以通知用户及时关闭跌落检测功能。S205, the electronic device outputs the prompt information to notify the user to turn off the drop detection function in time.
可以看出,本申请实施例中,电子装置首先检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据,其次,从多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,再次,检测到筛选出至少一组跌落数据的数量大于预设数量,向服务器发送至少一组跌落数据,然后,接收来自服务器的提示信息,提示消息是服务器根据至少一组跌落数据生成并发送的,最后,输出提示信息。由于跌落数据是由电子装置在预设时间段内检测到的,大于预设数量的情况往往对应电子装置非正常情况的高频数据上报场景,如处于用户跑步时的口袋中场景等,如此可以使得服务器及时根据该上报的数据及时定位出异常数据上报场景,并通知电子装置提示用户及时关闭,从而避免电子装置因持续高频上报数据而耗电的情况发生,有利于提高电子装置的续航能力。It can be seen that, in the embodiment of the present application, the electronic device firstly detects the drop data of each drop event among the multiple drop events occurring within the preset time period, and secondly, selects at least one drop data from the multiple sets of drop data corresponding to the multiple drop events. A set of drop data, and again, it is detected that the number of at least one set of drop data is greater than the preset number, and at least one set of drop data is sent to the server, and then a prompt message from the server is received. The data is generated and sent, and finally, the prompt information is output. Since the drop data is detected by the electronic device within a preset time period, the case of more than the preset number often corresponds to the abnormal high-frequency data reporting scene of the electronic device, such as the scene in the user's pocket while running, etc. This enables the server to locate the abnormal data reporting scenario in time according to the reported data, and notify the electronic device to prompt the user to shut down in time, so as to avoid the occurrence of power consumption by the electronic device due to continuous high-frequency data reporting, which is beneficial to improve the battery life of the electronic device. .
在一个可能的示例中,所述跌落数据包括高度数据;所述电子装置从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,包括:根据所述多次跌落事件对应的多组跌落数据中每组跌落数据确定对应的跌落事件中所述电子装置的跌落高度;从所述多组跌落数据中筛选出跌落高度大于预设跌落高度的至少一组跌落数据。In a possible example, the drop data includes height data; the electronic device selects at least one set of drop data from multiple sets of drop data corresponding to the multiple drop events, including: according to the multiple drop events Each set of drop data in the corresponding sets of drop data determines the drop height of the electronic device in the corresponding drop event; at least one set of drop data whose drop height is greater than the preset drop height is selected from the sets of drop data.
其中,预设跌落高度为出厂时厂家自定或是用户自定,此处不做唯一限定。Among them, the preset drop height is set by the manufacturer or the user at the factory, and there is no unique limitation here.
举例来说,用户A在一天内,电子装置发生了5次跌落,其中,第一次跌落的高度为一米、第二次跌落的高度为0.8米、第三次跌落的高度为0.5米、第四次跌落的高度为0.2米、第五次跌落的高度为0.3米,根据电子装置出厂设定,预设跌落高度为0.6米,因此从五组跌落数据中,筛选出第一组跌落数据和第二组跌落数据进行上报。For example, user A has 5 drops of the electronic device in one day, the height of the first drop is 1 meter, the height of the second drop is 0.8 meters, the height of the third drop is 0.5 meters, The height of the fourth drop is 0.2 meters, and the height of the fifth drop is 0.3 meters. According to the factory settings of the electronic device, the default drop height is 0.6 meters. Therefore, the first set of drop data is selected from the five sets of drop data. and the second set of drop data for reporting.
可见,本示例中,电子装置由检测到的多组跌落数据,得到多组跌落高度,进而能够根据预设的高度在多组跌落高度中选取超过高度的跌落数据,避免了电子装置在筛选数据的过程中,发生误判的情况,有利于电子装置进行跌落监测时数据筛选的准确性。It can be seen that in this example, the electronic device obtains multiple sets of drop heights from the detected multiple sets of drop data, and then can select the drop data exceeding the height from the multiple sets of drop heights according to the preset height, avoiding the electronic device. In the process of drop detection, misjudgment occurs, which is beneficial to the accuracy of data screening when the electronic device performs drop monitoring.
在一个可能的示例中,所述电子装置输出所述提示信息以通知用户及时关闭跌落检测功能之后,所述方法还包括:检测到用户主动关闭跌落检测功能的请求,关闭所述跌落检测功能;并向所述服务器发送关闭通知消息;接收来自所述服务器的版本更新资源;根据所述版本更新资源更新所述跌落检测功能;输出用于指示所述跌落检测功能已完成的版本更新通知信息。In a possible example, after the electronic device outputs the prompt information to notify the user to turn off the drop detection function in time, the method further includes: detecting a user's request to actively turn off the drop detection function, and turning off the drop detection function; and send a shutdown notification message to the server; receive version update resources from the server; update the drop detection function according to the version update resources; output version update notification information indicating that the drop detection function has been completed.
其中,版本更新资源为跌落检测功能中跌落算法的预设阈值参数更新,如原本大于0.15米上报,后面修改成大于0.20米上报。Among them, the version update resource is the update of the preset threshold parameters of the drop algorithm in the drop detection function.
其中,跌落检测功能为在运动时三个方向的加速度值,来实现对物体或人体跌落的检测,并及时通过附带的通信模块上报,达到物体或人体跌落早期检测上报的目的。本申请还使用到加速度传感器,是ー种能够测量加速力的电子设备。加速力就是当物体在加速过程中作用在物体上的力,就好比地球引力,也就是重力。加速力可以是个常量,比如g,也可以是变量。加速度计有两种一种是角加速度计,是由陀螺仪(角速度传感器)的改进的。另ー种就是线加速度计。Among them, the drop detection function is the acceleration value of the three directions during movement to realize the detection of the fall of the object or the human body, and report it in time through the attached communication module to achieve the purpose of early detection and reporting of the fall of the object or the human body. The present application also uses an acceleration sensor, which is an electronic device capable of measuring acceleration force. The acceleration force is the force acting on the object when the object is accelerating, just like the gravitational force of the earth, which is gravity. The acceleration force can be a constant, such as g, or it can be a variable. There are two types of accelerometers. One is the angular accelerometer, which is an improvement from a gyroscope (angular velocity sensor). The other is the linear accelerometer.
可见,本示例中,由于用户根据提示信息,手动关闭跌落检测功能,能够有效地降低电子设备的功耗,节省电量,进一步的通过接收服务器的版本更新资源进行跌落数据中预设阈值参数的更新,得到最新的预设阈值参数,进而能够灵活的根据用户不同的情况进行监测,规避掉误识别场景,降低了误报的情况,有利于电子装置灵活的更改预设阈值参数进行监测的灵活性和准确性。It can be seen that in this example, since the user manually turns off the drop detection function according to the prompt information, the power consumption of the electronic device can be effectively reduced and the power consumption can be saved, and the preset threshold parameters in the drop data can be further updated by receiving the version update resources of the server. , obtain the latest preset threshold parameters, and then flexibly monitor according to different situations of users, avoid misidentification scenarios, reduce false alarms, and facilitate the flexibility of electronic devices to flexibly change preset threshold parameters for monitoring. and accuracy.
在一个可能的示例中,所述电子装置输出所述提示信息以通知用户及时关闭跌落检测功能之后,所述方法还包括:在预设时段内未检测到用户主动关闭跌落检测功能的请求,向所述服务器发送未关闭通知消息;接收来自所述服务器的关闭通知消息;根据所述关闭通知消息关闭所述跌落检测功能。In a possible example, after the electronic device outputs the prompt information to notify the user to turn off the drop detection function in time, the method further includes: within a preset period of time, a request from the user to actively turn off the drop detection function is not detected, and send the notification to the user. The server sends an unclosed notification message; receives a shutdown notification message from the server; and disables the drop detection function according to the shutdown notification message.
可选的,电子设备在预设时段内未检测到用户主动关闭跌落检测功能的请求,向所述服务器发送未关闭通知消息;接收来自所述服务器的关闭通知消息;根据所述关闭通知消息关闭所述跌落检测功能后,根据所述版本更新资源更新所述跌落检测功能;输出用于指示所述跌落检测功能已完成的版本更新通知信息。Optionally, the electronic device does not detect a user's request to actively turn off the drop detection function within a preset time period, and sends a notification message of not turning off the drop detection function to the server; receives a shutdown notification message from the server; and shuts down according to the shutdown notification message. After the drop detection function is activated, the drop detection function is updated according to the version update resource; and version update notification information indicating that the drop detection function has been completed is output.
可见,本示例中,由于电子装置输出提示信息后,用户可能因为各种原因未看到提示信息,进一步的向服务器发送通知消息,这时由于服务器在前期接收到跌落数据,进而能够根据当前数据对跌落检测功能及时进行关闭,避免了在用户未主动关闭的情况下,电子设备持续运行跌落检测功能而造成的功耗大、电池用量大的情况,有利于电子装置进行跌落检测的准确性和全面性。It can be seen that in this example, after the electronic device outputs the prompt information, the user may not see the prompt information due to various reasons, and further sends a notification message to the server. At this time, since the server receives the drop data in the early stage, it can be based on the current data. The drop detection function is turned off in time to avoid the situation of high power consumption and large battery consumption caused by the continuous operation of the drop detection function of the electronic device when the user does not actively turn it off, which is conducive to the accuracy and comprehensiveness.
与所述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种跌落检测方法的流程示意图,应用于服务器。如图所示,本跌落检测方法包括:Consistent with the embodiment shown in FIG. 2 , please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a drop detection method provided by an embodiment of the present application, which is applied to a server. As shown in the figure, the drop detection method includes:
S301,服务器接收来自电子装置的至少一组跌落数据,所述至少一组跌落数据是所述电子装置从多次跌落事件对应的多组跌落数据中筛选出的,所述多次跌落事件是所述电子装置在预设时段内检测到的。S301, the server receives at least one set of drop data from an electronic device, the at least one set of drop data is selected by the electronic device from multiple sets of drop data corresponding to multiple drop events, and the multiple drop events are all detected by the electronic device within a preset period of time.
S302,所述服务器根据所述至少一组跌落数据生成提示信息。S302, the server generates prompt information according to the at least one set of drop data.
S303,所述服务器向所述电子装置发送所述提示信息,所述提示信息用于所述电子装置执行消息输出操作以通知用户及时关闭跌落检测功能。S303, the server sends the prompt information to the electronic device, where the prompt information is used for the electronic device to perform a message output operation to notify the user to turn off the drop detection function in time.
可以看出,本申请实施例中,应用服务器首先接收来自电子装置的至少一组跌落数据,所述至少一组跌落数据是所述电子装置从多次跌落事件对应的多组跌落数据中筛选出的,所述多次跌落事件是所述电子装置在预设时段内检测到的,其次,根据所述至少一组跌落数据生成提示信息,最后,向所述电子装置发送所述提示信息,所述提示信息用于所述电子装置执行消息输出操作以通知用户及时关闭跌落检测功能。由于提示信息是应用服务器根据跌落数据分析后生成的,能够准确的根据跌落数据进行不同的跌落判断,进而对电子装置发送提示信息,有利于服务器进行跌落监测的灵活性和准确性。It can be seen that, in this embodiment of the present application, the application server first receives at least one set of drop data from the electronic device, and the at least one set of drop data is selected by the electronic device from multiple sets of drop data corresponding to multiple drop events. The multiple drop events are detected by the electronic device within a preset period of time, secondly, prompt information is generated according to the at least one set of drop data, and finally, the prompt information is sent to the electronic device, so The prompt information is used for the electronic device to perform a message output operation to notify the user to turn off the drop detection function in time. Since the prompt information is generated by the application server according to the analysis of the drop data, different drop judgments can be made accurately according to the drop data, and then the prompt information is sent to the electronic device, which is beneficial to the flexibility and accuracy of the server's drop monitoring.
在一个可能的示例中,所述应用服务器向所述电子装置发送所述提示信息之后,所述方法还包括:接收来自所述电子装置的关闭通知信息,所述关闭通知信息是所述电子装置在检测到用户主动关闭跌落检测功能的请求,关闭所述跌落检测功能后而发送的;向所述电子装置发送版本更新资源,所述版本更新资源用于所述电子装置更新所述跌落检测功能,以及输出用于指示所述跌落检测功能已完成的版本更新通知信息。In a possible example, after the application server sends the prompt information to the electronic device, the method further includes: receiving shutdown notification information from the electronic device, where the shutdown notification information is the electronic device Sent after detecting a user's request to actively turn off the drop detection function and turning off the drop detection function; send a version update resource to the electronic device, where the version update resource is used by the electronic device to update the drop detection function , and output version update notification information indicating that the drop detection function has been completed.
可见,本示例中,应用服务器接收到由用户主动关闭的通知信息,并实时根据关闭通知消息,调整版本更新资源中的数据,进一步的更新版本更新资源,进而将更新后的版本更新资源输出至电子装置进行更新,提高了应用服务器正在进行跌落检测时的灵活性和准确性。It can be seen that in this example, the application server receives the notification information actively closed by the user, and adjusts the data in the version update resource in real time according to the shutdown notification message, further updates the version update resource, and then outputs the updated version update resource to the The electronics are updated to improve flexibility and accuracy when the application server is performing drop detection.
在一个可能的示例中,所述应用服务器向所述电子装置发送所述提示信息之后,所述方法还包括:接收来自所述电子装置的未关闭通知消息,所述未通知消息是所述电子装置在预设时段内未检测到用户主动关闭跌落检测功能的请求时而发送的;向所述电子装置发送关闭通知消息,所述关闭通知消息用于所述电子装置关闭所述跌落检测功能。In a possible example, after the application server sends the prompt information to the electronic device, the method further includes: receiving an unclosed notification message from the electronic device, where the unnotified message is the electronic device Sent when the device does not detect a user's request to actively disable the drop detection function within a preset period; and sends a shutdown notification message to the electronic device, where the shutdown notification message is used for the electronic device to disable the drop detection function.
可见,本示例中,由于应用服务器未接收到用户的关闭通知消息,进而根据之前在电子装置接收到的跌落数据进行判断,自动的发起关闭跌落检测功能的通知,避免了在用户未主动关闭的情况下,电子设备持续运行跌落检测功能而造成的功耗大、电池用量大的情况,有利于应用服务器进行跌落检测的准确性和全面性。It can be seen that, in this example, since the application server did not receive the user's shutdown notification message, and then judged according to the drop data received in the electronic device before, and automatically initiated a notification to turn off the drop detection function, avoiding the situation where the user did not actively close the function. Under such circumstance, the high power consumption and large battery consumption caused by the continuous operation of the drop detection function of the electronic device are beneficial to the accuracy and comprehensiveness of the drop detection performed by the application server.
与所述图2所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种跌落检测方法的流程示意图,应用于电子装置和应用服务器。如图所示,本跌落检测方法包括:Consistent with the embodiment shown in FIG. 2 , please refer to FIG. 4 . FIG. 4 is a schematic flowchart of a drop detection method provided by an embodiment of the present application, which is applied to an electronic device and an application server. As shown in the figure, the drop detection method includes:
S401,所述电子装置检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据。S401, the electronic device detects drop data of each drop event among multiple drop events occurring within a preset time period.
S402,所述电子装置从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据。S402, the electronic device selects at least one set of drop data from multiple sets of drop data corresponding to the multiple drop events.
S403,所述电子装置检测到筛选出所述至少一组跌落数据的数量大于预设数量,向服务器发送所述至少一组跌落数据。S403, the electronic device detects that the number of the at least one set of drop data filtered out is greater than a preset number, and sends the at least one set of drop data to the server.
S404,所述服务器接收来自电子装置的至少一组跌落数据。S404, the server receives at least one set of drop data from the electronic device.
S405,所述服务器根据所述至少一组跌落数据生成提示信息。S405, the server generates prompt information according to the at least one set of drop data.
S406,所述服务器向所述电子装置发送所述提示信息。S406, the server sends the prompt information to the electronic device.
S407,所述电子装置接收来自所述服务器的提示信息。S407, the electronic device receives prompt information from the server.
S408,所述电子装置输出所述提示信息以通知用户及时关闭跌落检测功能。S408, the electronic device outputs the prompt information to notify the user to turn off the drop detection function in time.
可以看出,本申请实施例,电子装置首先检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据,其次,从多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,再次,检测到筛选出至少一组跌落数据的数量大于预设数量,向服务器发送至少一组跌落数据,然后,接收来自服务器的提示信息,提示消息是服务器根据至少一组跌落数据生成并发送的,最后,输出提示信息。由于跌落监测是通过电子装置和应用服务器的交互同时进行,在电子装置检测到跌落事件发生后,将数据上报至应用服务器,进一步的由应用服务器进行消息推送,一方面由于跌落数据是由电子装置在预设时间段内检测到的,大于预设数量的情况往往对应电子装置非正常情况的高频数据上报场景,如处于用户跑步时的口袋中场景等,如此可以使得服务器及时根据该上报的数据及时定位出异常数据上报场景,并通知电子装置提示用户及时关闭,从而避免电子装置因持续高频上报数据而耗电的情况发生,有利于提高电子装置的续航能力;另一方面,服务器能够准确的根据跌落数据进行不同的跌落判断,进而对电子装置发送提示信息,有利于服务器进行跌落监测的灵活性和准确性。It can be seen that, in the embodiment of the present application, the electronic device firstly detects the drop data of each drop event among the multiple drop events occurring within the preset time period, and secondly, selects at least one drop data from the multiple sets of drop data corresponding to the multiple drop events. group drop data, and again, it is detected that the number of at least one group of drop data is greater than the preset number, and at least one group of drop data is sent to the server, and then, a prompt message from the server is received, and the prompt message is that the server is based on the at least one group of drop data. Generated and sent, and finally, output prompt information. Since the drop monitoring is performed simultaneously through the interaction between the electronic device and the application server, after the electronic device detects the occurrence of a drop event, the data is reported to the application server, and the application server further pushes the message. Detected within a preset time period, the situation that is larger than the preset number often corresponds to the high-frequency data reporting scene of the abnormal situation of the electronic device, such as the scene in the user's pocket when running, etc., so that the server can timely according to the reported data The data locates the abnormal data reporting scene in time, and informs the electronic device to prompt the user to shut down in time, so as to avoid the power consumption of the electronic device due to continuous high-frequency data reporting, which is beneficial to improve the battery life of the electronic device; on the other hand, the server can Different drop judgments are accurately performed according to the drop data, and then prompt information is sent to the electronic device, which is beneficial to the flexibility and accuracy of the drop monitoring performed by the server.
与所述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子装置的结构示意图,该电子装置运行有一个或多个应用程序和操作系统,如图所示,该电子装置包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序不同于所述一个或多个应用程序,且所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIG. 2 , FIG. 3 , and FIG. 4 , please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device operates with one or more an application program and an operating system, as shown, the electronic device includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are different from the one or more application programs, and The one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of;
检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据;Detect drop data for each drop event in multiple drop events that occur within a preset period;
从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据;Screen out at least one set of drop data from the multiple sets of drop data corresponding to the multiple drop events;
检测到筛选出所述至少一组跌落数据的数量大于预设数量,向服务器发送所述至少一组跌落数据;Detecting that the number of the at least one set of drop data filtered out is greater than a preset number, and sending the at least one set of drop data to the server;
接收来自所述服务器的提示信息,所述提示消息是所述服务器根据所述至少一组跌落数据生成并发送的;receiving prompt information from the server, where the prompt message is generated and sent by the server according to the at least one set of drop data;
输出所述提示信息以通知用户及时关闭跌落检测功能。The prompt information is output to notify the user to turn off the drop detection function in time.
可以看出,本申请实施例中,电子装置首先检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据,其次,从多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,再次,检测到筛选出至少一组跌落数据的数量大于预设数量,向服务器发送至少一组跌落数据,然后,接收来自服务器的提示信息,提示消息是服务器根据至少一组跌落数据生成并发送的,最后,输出提示信息。由于跌落数据是由电子装置在预设时间段内检测到的,大于预设数量的情况往往对应电子装置非正常情况的高频数据上报场景,如处于用户跑步时的口袋中场景等,如此可以使得服务器及时根据该上报的数据及时定位出异常数据上报场景,并通知电子装置提示用户及时关闭,从而避免电子装置因持续高频上报数据而耗电的情况发生,有利于提高电子装置的续航能力。It can be seen that, in the embodiment of the present application, the electronic device firstly detects the drop data of each drop event among the multiple drop events occurring within the preset time period, and secondly, selects at least one drop data from the multiple sets of drop data corresponding to the multiple drop events. A set of drop data, and again, it is detected that the number of at least one set of drop data is greater than the preset number, and at least one set of drop data is sent to the server, and then a prompt message from the server is received. The data is generated and sent, and finally, the prompt information is output. Since the drop data is detected by the electronic device within a preset time period, the case of more than the preset number often corresponds to the abnormal high-frequency data reporting scene of the electronic device, such as the scene in the user's pocket while running, etc. This enables the server to locate the abnormal data reporting scenario in time according to the reported data, and notify the electronic device to prompt the user to shut down in time, so as to avoid the occurrence of power consumption by the electronic device due to continuous high-frequency data reporting, which is beneficial to improve the battery life of the electronic device. .
在一个可能的示例中,所述跌落数据包括高度数据;在所述从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据方面,所述程序中的指令具体用于执行以下操作:根据所述多次跌落事件对应的多组跌落数据中每组跌落数据确定对应的跌落事件中所述电子装置的跌落高度;从所述多组跌落数据中筛选出跌落高度大于预设跌落高度的至少一组跌落数据。In a possible example, the drop data includes height data; in terms of filtering out at least one set of drop data from multiple sets of drop data corresponding to the multiple drop events, the instructions in the program are specifically used to Perform the following operations: determine the drop height of the electronic device in the corresponding drop event according to each group of drop data in the multiple sets of drop data corresponding to the multiple drop events; screen out the drop height from the multiple sets of drop data. Set at least one set of drop data for drop height.
在一个可能的示例中,所述程序还包括用于执行以下操作的指令:在所述输出所述提示信息以通知用户及时关闭跌落检测功能之后,检测到用户主动关闭跌落检测功能的请求,关闭所述跌落检测功能;并向所述服务器发送关闭通知消息;接收来自所述服务器的版本更新资源;根据所述版本更新资源更新所述跌落检测功能;输出用于指示所述跌落检测功能已完成的版本更新通知信息。In a possible example, the program further includes an instruction for performing the following operations: after the prompt information is output to notify the user to turn off the drop detection function in time, a request from the user to actively turn off the drop detection function is detected, and the drop detection function is turned off. the drop detection function; send a shutdown notification message to the server; receive a version update resource from the server; update the drop detection function according to the version update resource; output is used to indicate that the drop detection function has been completed version update notification information.
在一个可能的示例中,所述程序还包括用于执行以下操作的指令:在所述输出所述提示信息以通知用户及时关闭跌落检测功能之后,在预设时段内未检测到用户主动关闭跌落检测功能的请求,向所述服务器发送未关闭通知消息;接收来自所述服务器的关闭通知消息;根据所述关闭通知消息关闭所述跌落检测功能。In a possible example, the program further includes an instruction for performing the following operations: after the prompt information is output to notify the user to turn off the drop detection function in time, it is not detected that the user actively turns off the drop within a preset period of time For the request of the detection function, send an unclosed notification message to the server; receive a shutdown notification message from the server; and disable the drop detection function according to the shutdown notification message.
与所述图2、图3、图4所示的实施例一致的,请参阅图6,图6是本申请实施例提供的一种电子装置的结构示意图,该应用服务器运行有一个或多个应用程序和操作系统,如图所示,该应用服务器包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序不同于所述一个或多个应用程序,且所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIG. 2 , FIG. 3 , and FIG. 4 , please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The application server runs one or more an application program and an operating system, as shown, the application server includes a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are different from the one or more application programs, and The one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing the steps of;
接收来自电子装置的至少一组跌落数据,所述至少一组跌落数据是所述电子装置从多次跌落事件对应的多组跌落数据中筛选出的,所述多次跌落事件是所述电子装置在预设时段内检测到的;Receive at least one set of drop data from the electronic device, the at least one set of drop data is selected by the electronic device from multiple sets of drop data corresponding to multiple drop events, the multiple drop events are the electronic device detected within a preset time period;
根据所述至少一组跌落数据生成提示信息;generating prompt information according to the at least one set of drop data;
向所述电子装置发送所述提示信息,所述提示信息用于所述电子装置执行消息输出操作以通知用户及时关闭跌落检测功能。Sending the prompt information to the electronic device, where the prompt information is used for the electronic device to perform a message output operation to notify the user to turn off the drop detection function in time.
在一个可能的示例中,所述程序还包括用于执行以下操作的指令:在所述向所述电子装置发送所述提示信息之后,接收来自所述电子装置的关闭通知信息,所述关闭通知信息是所述电子装置在检测到用户主动关闭跌落检测功能的请求,关闭所述跌落检测功能后而发送的;向所述电子装置发送版本更新资源,所述版本更新资源用于所述电子装置更新所述跌落检测功能,以及输出用于指示所述跌落检测功能已完成的版本更新通知信息。In a possible example, the program further includes an instruction for performing the following operations: after the prompt information is sent to the electronic device, receiving shutdown notification information from the electronic device, the shutdown notification The information is sent by the electronic device after detecting a user's request to actively disable the drop detection function and turning off the drop detection function; send a version update resource to the electronic device, and the version update resource is used for the electronic device The drop detection function is updated, and version update notification information indicating that the drop detection function has been completed is output.
在一个可能的示例中,所述程序还包括用于执行以下操作的指令:在所述向所述电子装置发送所述提示信息之后,接收来自所述电子装置的未关闭通知消息,所述未通知消息是所述电子装置在预设时段内未检测到用户主动关闭跌落检测功能的请求时而发送的;向所述电子装置发送关闭通知消息,所述关闭通知消息用于所述电子装置关闭所述跌落检测功能。In a possible example, the program further includes instructions for performing the following operations: after the sending of the prompt information to the electronic device, receiving a notification message of not being closed from the electronic device, the The notification message is sent when the electronic device does not detect a user's request to actively turn off the drop detection function within a preset period of time; a shutdown notification message is sent to the electronic device, and the shutdown notification message is used for the electronic device to turn off all The drop detection function is described.
上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing embodiments mainly introduce 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 realize the above-mentioned functions, the electronic device 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 electronic device may be divided into functional units according to the 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 integrated unit 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.
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例所实现的方法。如图7所示,该电子装置可以包括检测单元701、筛选单元702、第一发送单元703、第一接收单元704和输出单元705,其中:The following are apparatus embodiments of the present invention, and the apparatus embodiments of the present invention are used to execute the methods implemented by the method embodiments of the present invention. As shown in FIG. 7 , the electronic device may include a
所述检测单元701,用于检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据;The
所述筛选单元702,用于从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据;The
所述第一发送单元703,用于向服务器发送所述至少一组跌落数据;The
所述第一接收单元704,用于接收来自所述服务器的提示信息,所述提示消息是所述服务器根据所述至少一组跌落数据生成并发送的;The
所述输出单元705,用于输出所述提示信息以通知用户及时关闭跌落检测功能。The
可以看出,本申请实施例中,电子装置首先检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据,其次,从多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,再次,检测到筛选出至少一组跌落数据的数量大于预设数量,向服务器发送至少一组跌落数据,然后,接收来自服务器的提示信息,提示消息是服务器根据至少一组跌落数据生成并发送的,最后,输出提示信息。由于跌落数据是由电子装置在预设时间段内检测到的,大于预设数量的情况往往对应电子装置非正常情况的高频数据上报场景,如处于用户跑步时的口袋中场景等,如此可以使得服务器及时根据该上报的数据及时定位出异常数据上报场景,并通知电子装置提示用户及时关闭,从而避免电子装置因持续高频上报数据而耗电的情况发生,有利于提高电子装置的续航能力。It can be seen that, in the embodiment of the present application, the electronic device firstly detects the drop data of each drop event among the multiple drop events occurring within the preset time period, and secondly, selects at least one drop data from the multiple sets of drop data corresponding to the multiple drop events. A set of drop data, and again, it is detected that the number of at least one set of drop data is greater than the preset number, and at least one set of drop data is sent to the server, and then a prompt message from the server is received. The data is generated and sent, and finally, the prompt information is output. Since the drop data is detected by the electronic device within a preset time period, the case of more than the preset number often corresponds to the abnormal high-frequency data reporting scene of the electronic device, such as the scene in the user's pocket while running, etc. This enables the server to locate the abnormal data reporting scenario in time according to the reported data, and notify the electronic device to prompt the user to shut down in time, so as to avoid the occurrence of power consumption by the electronic device due to continuous high-frequency data reporting, which is beneficial to improve the battery life of the electronic device. .
在一个可能的示例中,所述跌落数据包括高度数据;在所述从所述多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据方面,所述筛选单元702具体用于:根据所述多次跌落事件对应的多组跌落数据中每组跌落数据确定对应的跌落事件中所述电子装置的跌落高度;从所述多组跌落数据中筛选出跌落高度大于预设跌落高度的至少一组跌落数据。In a possible example, the drop data includes height data; in terms of filtering out at least one set of drop data from multiple sets of drop data corresponding to the multiple drop events, the
在一个可能的示例中,所述电子装置还包括关闭单元、更新单元,In a possible example, the electronic device further includes a closing unit and an updating unit,
在所述输出所述提示信息以通知用户及时关闭跌落检测功能之后,所述检测单元701,还用于检测到用户主动关闭跌落检测功能的请求,关闭所述跌落检测功能;所述关闭单元706,用于并向所述服务器发送关闭通知消息;所述第一接收单元704,用于接收来自所述服务器的版本更新资源;所述更新单元707,用于根据所述版本更新资源更新所述跌落检测功能;所述输出单元705,用于输出用于指示所述跌落检测功能已完成的版本更新通知信息。After the prompt information is output to notify the user to turn off the drop detection function in time, the
在一个可能的示例中,所述输出所述提示信息以通知用户及时关闭跌落检测功能之后,所述第一发送单元703,用于在预设时段内未检测到用户主动关闭跌落检测功能的请求,向所述服务器发送未关闭通知消息;所述第一接收单元704,用于接收来自所述服务器的关闭通知消息;所述关闭单元706,用于根据所述关闭通知消息关闭所述跌落检测功能。In a possible example, after the prompt information is output to notify the user to turn off the drop detection function in time, the first sending
下面为本发明装置实施例,本发明装置实施例用于执行本发明方法实施例所实现的方法。如图8所示,该应用服务器可以包括第二接收单元801、生成单元802和第二发送单元803,其中:The following are apparatus embodiments of the present invention, and the apparatus embodiments of the present invention are used to execute the methods implemented by the method embodiments of the present invention. As shown in FIG. 8, the application server may include a
所述第二接收单元801,用于接收来自电子装置的至少一组跌落数据;The
所述生成单元802,用于根据所述至少一组跌落数据生成提示信息;The generating
所述第二发送单元803,用于向所述电子装置发送所述提示信息。The
可以看出,本发明实施例,应用服务器首先接收来自电子装置的至少一组跌落数据,所述至少一组跌落数据是所述电子装置从多次跌落事件对应的多组跌落数据中筛选出的,所述多次跌落事件是所述电子装置在预设时段内检测到的其次,根据所述至少一组跌落数据生成提示信息,最后,向所述电子装置发送所述提示信息,所述提示信息用于所述电子装置执行消息输出操作以通知用户及时关闭跌落检测功能。由于提示信息是应用服务器根据跌落数据分析后生成的,能够准确的根据跌落数据进行不同的跌落判断,进而对电子装置发送提示信息,有利于服务器进行跌落监测的灵活性和准确性。It can be seen that, in this embodiment of the present invention, the application server first receives at least one set of drop data from an electronic device, and the at least one set of drop data is selected by the electronic device from multiple sets of drop data corresponding to multiple drop events. , the multiple drop events are detected by the electronic device within a preset period of time. Next, prompt information is generated according to the at least one set of drop data. Finally, the prompt information is sent to the electronic device, and the prompt information is sent to the electronic device. The information is used for the electronic device to perform a message output operation to notify the user to turn off the drop detection function in time. Since the prompt information is generated by the application server according to the analysis of the drop data, different drop judgments can be made accurately according to the drop data, and then the prompt information is sent to the electronic device, which is beneficial to the flexibility and accuracy of the server's drop monitoring.
在一个可能的示例中,在所述向所述电子装置发送所述提示信息之后,所述第二接收单元801,用于接收来自所述电子装置的关闭通知信息,所述关闭通知信息是所述电子装置在检测到用户主动关闭跌落检测功能的请求,关闭所述跌落检测功能后而发送的;所述第二发送单元803,用于向所述电子装置发送版本更新资源,所述版本更新资源用于所述电子装置更新所述跌落检测功能,以及输出用于指示所述跌落检测功能已完成的版本更新通知信息。In a possible example, after the prompt information is sent to the electronic device, the
在一个可能的示例中,在所述向所述电子装置发送所述提示信息之后,所述第二接收单元801,用于接收来自所述电子装置的未关闭通知消息,所述未通知消息是所述电子装置在预设时段内未检测到用户主动关闭跌落检测功能的请求时而发送的;所述所述第二发送单元803,用于向所述电子装置发送关闭通知消息,所述关闭通知消息用于所述电子装置关闭所述跌落检测功能。In a possible example, after the prompt information is sent to the electronic device, the
请参阅图9,图9是本申请提供的一种电子装置的结构示意图,电子装置900包括:壳体910、电路板920、电池930、盖板940、跌落传感器950、收发器960、显示屏970、以及控制跌落传感器950、收发器960和显示屏970的控制器980;盖板940设置在壳体910上,跌落传感器950、收发器960和控制器980设置在电路板920上,显示屏970与控制器980连接,其中,跌落传感器950包括加速度传感器、陀螺仪、计时器等等。Please refer to FIG. 9 . FIG. 9 is a schematic structural diagram of an electronic device provided by the present application. The
其中,电子装置首先检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据,其次,从多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,再次,检测到筛选出至少一组跌落数据的数量大于预设数量,向服务器发送至少一组跌落数据,然后,接收来自服务器的提示信息,提示消息是服务器根据至少一组跌落数据生成并发送的,最后,输出提示信息以通知用户及时关闭跌落检测功能。Wherein, the electronic device firstly detects the drop data of each drop event among the multiple drop events occurring within the preset time period, and secondly, selects at least one set of drop data from the multiple sets of drop data corresponding to the multiple drop events, and again, detects When the number of at least one set of drop data is greater than the preset number, send at least one set of drop data to the server, and then receive prompt information from the server, the prompt message is generated and sent by the server according to the at least one set of drop data, and finally, Output a prompt message to notify the user to turn off the drop detection function in time.
其中,显示屏970包括触控屏和显示屏,显示屏包括有机发光二极管显示屏OLED。The
其中,控制器980可以包括处理器和存储器,该处理器是电子装置的控制中心,利用各种接口和线路连接整个电子装置的各个部分,通过运行或执行存储在存储器内的软件程序和/或模块,以及调用存储在存储器内的数据,执行电子装置的各种功能和处理数据,从而对电子装置进行整体监测。可选的,处理器可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,所述调制解调处理器也可以不集成到处理器中。Wherein, the
其中,存储器可用于存储软件程序以及模块,处理器通过运行存储在存储器的软件程序以及模块,从而执行电子装置的各种功能应用以及数据处理。存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据电子装置的使用所创建的数据等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can be used to store software programs and modules, and the processor executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the electronic device, 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.
参见图10,本申请实施例还提供一种跌落检测系统1000,可包括:应用服务器1010和电子装置1020,其中,Referring to FIG. 10, an embodiment of the present application further provides a drop detection system 1000, which may include: an
所述电子装置1020,电子装置首先检测预设时段内发生的多次跌落事件中每个跌落事件的跌落数据,其次,从多次跌落事件对应的多组跌落数据中筛选出至少一组跌落数据,再次,检测到筛选出至少一组跌落数据的数量大于预设数量,向服务器发送至少一组跌落数据,然后,接收来自服务器的提示信息,提示消息是服务器根据至少一组跌落数据生成并发送的,最后,输出提示信息以通知用户及时关闭跌落检测功能。In the
所述应用服务器1010,应用服务器首先接收来自电子装置的至少一组跌落数据,至少一组跌落数据是电子装置从多次跌落事件对应的多组跌落数据中筛选出的,多次跌落事件是电子装置在预设时段内检测到的其次,根据至少一组跌落数据生成提示信息,最后,向电子装置发送提示信息,提示信息用于电子装置执行消息输出操作以通知用户及时关闭跌落检测功能。In the
可以看出,本申请实施例中,由于跌落监测是通过电子装置和应用服务器的交互同时进行,在电子装置检测到跌落事件发生后,将数据上报至应用服务器,进一步的由应用服务器进行消息推送,一方面由于跌落数据是由电子装置在预设时间段内检测到的,大于预设数量的情况往往对应电子装置非正常情况的高频数据上报场景,如处于用户跑步时的口袋中场景等,如此可以使得服务器及时根据该上报的数据及时定位出异常数据上报场景,并通知电子装置提示用户及时关闭,从而避免电子装置因持续高频上报数据而耗电的情况发生,有利于提高电子装置的续航能力;另一方面,服务器能够准确的根据跌落数据进行不同的跌落判断,进而对电子装置发送提示信息,有利于服务器进行跌落监测的灵活性和准确性。It can be seen that, in the embodiment of the present application, since the drop monitoring is performed simultaneously through the interaction between the electronic device and the application server, after the electronic device detects the occurrence of a drop event, the data is reported to the application server, and the application server further pushes the message. , on the one hand, since the drop data is detected by the electronic device within a preset time period, the situation greater than the preset number often corresponds to the abnormal high-frequency data reporting scene of the electronic device, such as the scene in the user's pocket when running, etc. In this way, the server can timely locate the abnormal data reporting scene according to the reported data, and notify the electronic device to prompt the user to shut down in time, so as to avoid the occurrence of power consumption of the electronic device due to continuous high-frequency reporting of data, which is beneficial to improve the electronic device. On the other hand, the server can accurately make different drop judgments according to the drop data, and then send prompt information to the electronic device, which is beneficial to the flexibility and accuracy of the server's drop monitoring.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子装置。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-mentioned computer includes an electronic device.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子装置。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 computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。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 specific examples are used to illustrate the principles and implementations of the present application. 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, according to the idea of the present application, will have changes in the specific implementation manner and application scope. In conclusion, the contents of this specification should not be construed as a limitation on the present application.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810373046.6A CN108600541B (en) | 2018-04-24 | 2018-04-24 | Drop detection method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810373046.6A CN108600541B (en) | 2018-04-24 | 2018-04-24 | Drop detection method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108600541A CN108600541A (en) | 2018-09-28 |
CN108600541B true CN108600541B (en) | 2020-10-16 |
Family
ID=63614935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810373046.6A Expired - Fee Related CN108600541B (en) | 2018-04-24 | 2018-04-24 | Drop detection method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108600541B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113533990A (en) * | 2021-07-09 | 2021-10-22 | 东莞新能安科技有限公司 | Battery, battery posture detection method and power utilization device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635490A (en) * | 2016-03-25 | 2016-06-01 | 惠州Tcl移动通信有限公司 | Mobile terminal-based proximity detection control method and system |
CN106254673A (en) * | 2016-09-06 | 2016-12-21 | 广东欧珀移动通信有限公司 | Terminal fall detection method and device |
CN106385493A (en) * | 2016-09-06 | 2017-02-08 | 广东欧珀移动通信有限公司 | Gravity sensor registration method and device, and mobile terminal |
CN106412250A (en) * | 2016-09-06 | 2017-02-15 | 广东欧珀移动通信有限公司 | A drop statistics method and device |
CN106453829A (en) * | 2016-09-06 | 2017-02-22 | 广东欧珀移动通信有限公司 | Method and device for detecting drop height |
CN106488046A (en) * | 2015-08-25 | 2017-03-08 | 中兴通讯股份有限公司 | GPS function method for closing, device and terminal |
CN107333328A (en) * | 2017-06-06 | 2017-11-07 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and its WIFI power consumption control method and storage device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103907301B (en) * | 2011-11-04 | 2017-09-12 | 英特尔公司 | Search space is determined |
-
2018
- 2018-04-24 CN CN201810373046.6A patent/CN108600541B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106488046A (en) * | 2015-08-25 | 2017-03-08 | 中兴通讯股份有限公司 | GPS function method for closing, device and terminal |
CN105635490A (en) * | 2016-03-25 | 2016-06-01 | 惠州Tcl移动通信有限公司 | Mobile terminal-based proximity detection control method and system |
CN106254673A (en) * | 2016-09-06 | 2016-12-21 | 广东欧珀移动通信有限公司 | Terminal fall detection method and device |
CN106385493A (en) * | 2016-09-06 | 2017-02-08 | 广东欧珀移动通信有限公司 | Gravity sensor registration method and device, and mobile terminal |
CN106412250A (en) * | 2016-09-06 | 2017-02-15 | 广东欧珀移动通信有限公司 | A drop statistics method and device |
CN106453829A (en) * | 2016-09-06 | 2017-02-22 | 广东欧珀移动通信有限公司 | Method and device for detecting drop height |
CN107333328A (en) * | 2017-06-06 | 2017-11-07 | Tcl移动通信科技(宁波)有限公司 | A kind of mobile terminal and its WIFI power consumption control method and storage device |
Also Published As
Publication number | Publication date |
---|---|
CN108600541A (en) | 2018-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3373383B1 (en) | Method of detecting swelling of battery using pressure sensor and electronic device using the method | |
US12089125B2 (en) | Modular hardware and software integration for environmental sensor devices | |
CN109857403B (en) | Page updating method and device, page processing method and device | |
CN110046497B (en) | Function hook realization method, device and storage medium | |
CN103455407A (en) | Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal | |
CN106502703B (en) | Function calling method and device | |
CN104615453A (en) | Map data processing method, device and system | |
CN103455348A (en) | Subarea adjustment method, device, terminal, server and system | |
CN109240902B (en) | Method and device for acquiring firmware code of electronic equipment | |
CN106775828A (en) | Application program installation method and device, computer equipment | |
WO2015030916A1 (en) | Application resource utilizaton management | |
CN105260655A (en) | Application program starting protection method, device and system | |
CN105847325A (en) | Method and device for debugging application client side | |
EP2869604B1 (en) | Method, apparatus and device for processing a mobile terminal resource | |
CN106155717A (en) | A kind of method and apparatus that SDK is integrated into third party APK | |
CN108121560A (en) | Difference bag upgrade method, device, terminal and computer readable storage medium | |
CN105988841A (en) | Method for updating application program and mobile terminal | |
CN104253870A (en) | Method and device for controlling data access period | |
CN109061611B (en) | Proximity sensor calibration method and related device | |
CN108139899B (en) | Terminal device and method for controlling charging | |
CN108600541B (en) | Drop detection method and related device | |
CN112035311B (en) | Program logic monitoring method and device | |
CN108737655B (en) | Picture processing method and related device | |
CN108833670B (en) | Backlight adjusting method and related device | |
CN108197006B (en) | Electronic equipment, falling prompting method and related product |
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: 20201016 |