Electronic equipment, violence prevention method and device and storage medium

By using sensor groups and controllers in electronic devices to detect multiple data, determine whether the device is in a state to be protected and perform protective operations, the problem of limited use scenarios of existing riot technology has been solved, and a wider riot adaptability and cost-effectiveness have been achieved.

CN119987497APending Publication Date: 2025-05-13HANGZHOU HIKROBOT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510068113.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The use scenarios of existing anti-violence technology are limited, and it is impossible to effectively deal with multiple types of violent operations, and structural improvements increase equipment size and cost.

Method used

An electronic device is designed, using a sensor group to detect temperature, pressure, power supply and gravity data. The controller determines whether the device is in a state to be protected based on these data and performs corresponding protection operations.

Benefits of technology

This solution reduces the cost of structural improvement, reduces the size of the equipment, can adapt to the needs of riot prevention in various scenarios, and effectively solves the problem of limited use scenarios of riot prevention technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987497A_ABST
    Figure CN119987497A_ABST
Patent Text Reader

Abstract

The invention discloses electronic equipment, an anti-violence method, an anti-violence device and a storage medium. The electronic equipment comprises a shell, a functional component and a sensor group, the sensor group comprises at least one type of sensor and is used for collecting target data for the electronic equipment, and the target data comprises at least one of temperature data of an environment where the functional component is located, pressure data borne by the shell, power data input by the functional component and gravity data of the electronic equipment; the functional assembly comprises a controller, and the controller is used for obtaining target data collected by the sensor group and determining whether the electronic equipment is in a to-be-protected state or not according to the target data; and if the electronic equipment is in the to-be-protected state, executing protection operation corresponding to the to-be-protected state. At least the problem that the use scene of the current anti-violence technology is limited can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of machine vision technology, and in particular to an electronic device, an anti-violence method, an apparatus and a storage medium. Background Art

[0002] With the development of sophisticated electronic equipment, the maintenance cost of electronic equipment is getting higher and higher. In addition, the phenomenon of electronic equipment being damaged by violent behaviors such as customer misoperation, violent operation, and violent operation is also increasing, which will lead to an increase in the maintenance cost of electronic equipment.

[0003] In response to the above phenomenon, anti-violence technology came into being. Anti-violence technology refers to the use of certain means to improve the structure of electronic equipment to a certain extent to deal with violent operations, violent transportation and other behaviors that are likely to cause damage to electronic equipment. However, the current anti-violence technology usually makes significant improvements to the structure of electronic equipment, which will increase the size of the electronic equipment, and can only be used to deal with certain specific violent operations, so the use scenarios are relatively limited. Summary of the invention

[0004] The present application provides an electronic device, an anti-violence method, an apparatus and a storage medium, which can at least solve the problem that the current anti-violence technology is limited in its usage scenarios.

[0005] In order to achieve the above technical objectives, this application adopts the following technical solutions:

[0006] In the first aspect, the embodiment of the present application provides an electronic device including: a housing, a functional component and a sensor group; the sensor group includes at least one type of sensor for collecting target data for the electronic device, the target data includes at least one of the temperature data of the environment in which the functional component is located, the pressure data on the housing, the power data input by the functional component, and the gravity data of the electronic device; the functional component includes a controller, the controller is used to obtain the target data collected by the sensor group, and determine whether the electronic device is in a state to be protected according to the target data; if the electronic device is in a state to be protected, the protection operation corresponding to the state to be protected is executed. At least the problem of limited use scenarios of current anti-violence technology can be solved.

[0007] An embodiment of the present application provides an electronic device, including a housing, a functional component and a sensor group. The sensor group is used to detect at least one of temperature data, pressure data, power data and gravity data, and the controller of the functional component is used to obtain the target data detected by the sensor group, determine whether the electronic device is in a state to be protected, and if it is in the state to be protected, perform the corresponding protection operation. The present application replaces the structural improvement solution in the traditional anti-violence technology with a hardware improvement solution, which can reduce the cost of structural improvement, and the hardware occupies less space and does not increase the volume of the electronic device. In addition, various types of target data can be detected, and corresponding protection operations can be performed in a protective state, so that it can adapt to the anti-violence needs in a variety of scenarios, thereby effectively solving the problem of limited use scenarios of anti-violence technology.

[0008] In one possible implementation, the sensor group includes a temperature sensor, which is used to collect temperature data of the environment in which the functional component is located; the controller is specifically used to: obtain temperature data; if it is determined that the functional component is in a low-temperature environment or an over-temperature environment based on the temperature data and the temperature threshold condition, then determine that the electronic device is in a state to be protected; the temperature threshold condition includes a low-temperature threshold condition and a high-temperature threshold condition; the protection operation corresponding to the state to be protected includes outputting a first alarm information for indicating a temperature abnormality, and / or heating or cooling the electronic device.

[0009] In one possible implementation, the sensor group includes a pressure sensor, which is used to collect pressure data on the shell; the controller is specifically used to: obtain pressure data; if it is determined based on the pressure data and the pressure threshold condition that the electronic device is subjected to a squeezing operation or a violent disassembly operation, then it is determined that the electronic device is in a state to be protected; the pressure threshold condition includes a first inward pressure threshold corresponding to the squeezing operation and a second outward pressure threshold corresponding to the violent disassembly operation; the protection operation corresponding to the state to be protected includes outputting a second alarm information for indicating a pressure abnormality.

[0010] In one possible implementation, the sensor group includes a power sensor, which is used to collect power data input by the functional component, and the power data includes voltage data and / or current data; the controller is specifically used to: obtain the power data; if it is determined that the voltage and / or current input of the electronic device is abnormal based on the power data and the power threshold conditions, then it is determined that the electronic device is in a state to be protected; the power threshold conditions include voltage threshold conditions and current threshold conditions; the protection operations corresponding to the state to be protected include outputting a third alarm information for indicating pressure abnormality, and / or powering off the electronic device.

[0011] In one possible implementation, the sensor group includes a gravity sensor, which is used to collect gravity data of the electronic device; the controller is specifically used to: obtain gravity data; if it is determined based on the gravity data and gravity threshold conditions that the electronic device has been subjected to a high-altitude fall operation or an abnormal vibration operation, then it is determined that the electronic device is in a waiting-for-protection state; the protection operation corresponding to the waiting-for-protection state includes outputting a fourth alarm information for indicating gravity abnormality.

[0012] In one possible implementation, the gravity threshold condition includes: when the gravity acceleration applied to the electronic device is greater than a first acceleration threshold, determining that the electronic device has been subjected to a high-altitude drop operation; when the frequency of the gravity acceleration applied to the electronic device is greater than a frequency threshold, determining that the electronic device has been subjected to an abnormal vibration operation.

[0013] In one possible implementation, the electronic device has a device self-test function, which is used to detect faults in functional components; the controller is also used to trigger the electronic device to start the self-test function if the electronic device is in a standby protection state; obtain the self-test result of the electronic device, and output a fifth alarm information indicating the fault location based on the self-test result.

[0014] In a possible implementation manner, the self-check function includes a pressure self-check function triggered by pressure data and / or a gravity self-check function triggered by gravity data.

[0015] In one possible implementation, the controller is also used to receive an input model of an electronic device; determine a corresponding threshold condition from a mapping relationship table according to the model; the mapping relationship table is used to indicate electronic devices of various models and their corresponding threshold conditions; the threshold condition is used to determine whether the electronic device is in a state to be protected; the threshold condition includes at least one of the following: a temperature threshold condition, a pressure threshold condition, a power supply threshold condition, and a gravity threshold condition; the controller is specifically used to determine whether the threshold condition is met according to the target data, and if met, determine that the electronic device is in a state to be protected.

[0016] In one possible implementation, the controller is also used to receive an input false alarm instruction; and to correct the threshold condition corresponding to the false alarm type according to the false alarm type indicated by the false alarm instruction; the false alarm type includes at least one of the following: temperature abnormality false alarm, pressure abnormality false alarm, power supply abnormality false alarm, and gravity abnormality false alarm.

[0017] In a second aspect, the present application provides an anti-violence method, which is applied to an electronic device, and the method comprises: collecting target data for the electronic device, the target data comprising at least one of temperature data of an environment in which a functional component in the electronic device is located, pressure data on a housing of the electronic device, power data input by the functional component, and gravity data of the electronic device;

[0018] Determine whether the electronic equipment is in a state to be protected according to the target data;

[0019] If the electronic device is in the waiting-for-protection state, a protection operation corresponding to the waiting-for-protection state is performed.

[0020] In a third aspect, the present application provides a computing device comprising: one or more processors; one or more memories; wherein the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the computing device executes any one of the anti-violence methods provided in the second aspect above.

[0021] In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer executes the anti-violence method provided in the second aspect above.

[0022] In a fifth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed on a computing device, the computing device executes the anti-violence method as described in the second aspect and any possible design thereof.

[0023] For the specific description of the second to fifth aspects and their various implementations in the present application, reference may be made to the detailed description in the first aspect and its various implementations; and for the beneficial effects of the second to fifth aspects and their various implementations, reference may be made to the beneficial effects analysis in the first aspect and its various implementations, which will not be repeated here.

[0024] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 A schematic diagram of the composition of an electronic device provided in an embodiment of the present application;

[0026] Figure 2 A schematic diagram of another electronic device provided in an embodiment of the present application;

[0027] Figure 3 A schematic diagram of the composition of another electronic device provided in an embodiment of the present application;

[0028] Figure 4 A schematic diagram of a flow chart of an anti-violence method provided in an embodiment of the present application;

[0029] Figure 5 A schematic diagram of the composition of another computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0031] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. The terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, "multiple" means two or more.

[0032] To facilitate understanding, the basic concepts of some terms or technologies involved in the embodiments of the present application are first briefly introduced and explained.

[0033] 1. Pressure sensor: A device or apparatus that can sense pressure signals and convert them into usable output electrical signals according to certain rules.

[0034] 2. Gyroscope: It is a device for detecting the angular velocity of a high-speed rotating body around one or two axes orthogonal to the rotation axis, using the angular velocity moment of the sensitive shell relative to the inertial space. Angular velocity detection devices made using other principles and having the same function are also called gyroscopes.

[0035] 3. Temperature sensor: A device or apparatus that can sense temperature signals and convert them into usable output electrical signals according to certain rules.

[0036] 4. Power supply detection: monitor the high voltage, high current and other abnormal voltage and current actions of the power supply interface.

[0037] The above is an introduction to some concepts involved in the embodiments of the present application, which will not be repeated below.

[0038] In order to deal with violent operations, violent transportation and other behaviors that are likely to cause damage to electronic equipment to a certain extent. The current anti-violence technology usually improves the structure of electronic equipment. This structural improvement not only requires a large structural cost, but also inevitably increases the size of the electronic equipment, thus placing certain restrictions on the use scenarios of the electronic equipment. In addition, structural improvements can only protect against certain specific violent operations, but there are many types of violent operations, such as violent disassembly, falling from a high altitude, and placing in a high temperature environment. These are all violent operations, so the current anti-violence technology is relatively limited in its use scenarios.

[0039] In this regard, an embodiment of the present application provides an electronic device, including a housing, a functional component and a sensor group. The sensor group is used to detect at least one of temperature data, pressure data, power data and gravity data, and the controller of the functional component is used to obtain the target data detected by the sensor group, determine whether the electronic device is in a state to be protected, and if it is in a state to be protected, perform the corresponding protection operation. The present application replaces the structural improvement scheme in the traditional anti-violence technology with a hardware improvement scheme, which can reduce the cost of structural improvement, and the hardware occupies less space and will not increase the volume of the electronic device. In addition, various types of target data can be detected, and corresponding protection operations can be performed in a protective state, so that it can adapt to the anti-violence needs in a variety of scenarios, thereby effectively solving the problem of limited use scenarios of anti-violence technology.

[0040] Please refer to Figure 1 , Figure 1 The following is a schematic diagram of the composition of an electronic device provided in an embodiment of the present application. Figure 1 As shown, it includes a housing, functional components and a sensor group. The embodiment of the present application does not limit the specific type of electronic equipment, such as a 3D profiler.

[0041] The functional components and sensors may be built into the housing, or may have no requirement for the internal or external position relationship with the housing. The functional components may be processors, logic controllers, etc. inside the electronic device.

[0042] The sensor group includes at least one type of sensor for collecting target data for the electronic device, and the target data includes at least one of temperature data of the environment in which the functional component is located, pressure data on the shell, power data input by the functional component, and gravity data of the electronic device;

[0043] The functional component includes a controller, which is used to obtain target data collected by the sensor group and determine whether the electronic device is in a state to be protected according to the target data; if the electronic device is in the state to be protected, the protection operation corresponding to the state to be protected is executed.

[0044] The controller may be a circuit board, a single chip microcomputer, or a hardware board, etc. The controller and the sensor assembly are provided with independent power supplies, so as to detect whether the electronic device is subjected to violent operation when the electronic device is not powered on.

[0045] It should be understood that if an electronic device is in an environment with abnormal temperature, it means that there is a problem with the environment selected by the user for using the electronic device, which is a violent operation. If you want to determine whether the electronic device is subjected to violent operations such as being squeezed by heavy objects, it is necessary to determine based on pressure data. If you want to determine whether the electronic device is running under abnormal power supply, it is necessary to determine based on power supply data. If you want to determine whether the electronic device is subjected to violent operations such as falling from a high altitude, it is necessary to determine based on gravity data. Therefore, the sensor group in the electronic device can collect one or more of the above target data and send it to the controller for analysis to determine whether the electronic device is subjected to violent operations.

[0046] The solutions of the embodiments of the present application are described below with respect to different target data.

[0047] In some embodiments, the sensor group includes a temperature sensor, which is used to collect temperature data of the environment in which the functional component is located. Figure 2 As shown, the controller in the electronic device is electrically connected to the temperature sensor.

[0048] The controller is specifically used to: obtain temperature data; if it is determined that the functional component is in a low temperature environment or an over-temperature environment according to the temperature data and the temperature threshold condition, then determine that the electronic device is in a state to be protected; the temperature threshold condition includes a low temperature threshold condition and a high temperature threshold condition;

[0049] The protection operation corresponding to the waiting protection state includes outputting first alarm information indicating temperature abnormality, and / or heating or cooling the electronic device.

[0050] Exemplarily, when the temperature data indicates that the ambient temperature is greater than the high temperature threshold, it is determined that the electronic device is in an over-temperature environment; when the temperature data indicates that the ambient temperature is less than the low temperature threshold, it is determined that the electronic device is in a low temperature environment; the second temperature threshold is less than the first temperature threshold. The high temperature threshold is used to indicate the upper limit of the rated operating temperature of the electronic device, and the low temperature threshold is used to indicate the lower limit of the rated operating temperature of the electronic device.

[0051] It should be noted that there can be multiple temperature sensors, which are respectively arranged at different positions inside the electronic device to ensure that the internal ambient temperature can be fully detected to avoid the situation where local temperature anomalies are not detected. The embodiment of the present application does not limit the number and specific arrangement positions of the temperature sensors, which can be determined according to the size and specific specifications of the electronic device.

[0052] In some embodiments, Figure 2 As shown, the electronic device may further include a temperature protection module. The temperature protection module may be an independent module or may be integrated with the temperature sensor.

[0053] The temperature protection module is used to heat or cool the electronic device based on the temperature data when the operating temperature of the electronic device exceeds a preset temperature range.

[0054] Exemplarily, the temperature protection module can obtain temperature data and autonomously analyze whether it exceeds the preset temperature range, or receive instructions from the controller to control the temperature regulation system to heat the electronic device when the maximum rated temperature is exceeded. When the temperature is lower than the minimum rated temperature, the temperature regulation system is controlled to cool the electronic device. In the above manner, the electronic device can work within the preset temperature range to ensure operational stability.

[0055] In some embodiments, after the electronic device is heated or cooled for a preset period of time, if the internal ambient temperature of the electronic device is still not within the preset temperature range, it means that the current environmental abnormality is serious and exceeds the temperature adjustment range of the electronic device itself. The temperature protection module can cut off the power supply and prompt the user of the risk through the controller.

[0056] In some embodiments, the sensor group includes a pressure sensor, and the pressure sensor is used to collect pressure data on the housing. Figure 2 As shown, the controller in the electronic device is electrically connected to the pressure sensor.

[0057] The controller is specifically used to: obtain pressure data; if it is determined according to the pressure data and the pressure threshold condition that the electronic device is subjected to a squeezing operation or a violent disassembly operation, then determine that the electronic device is in a state to be protected; the pressure threshold condition includes a first inward pressure threshold corresponding to the squeezing operation and a second outward pressure threshold corresponding to the violent disassembly operation;

[0058] The protection operation corresponding to the waiting protection state includes outputting a second warning message indicating abnormal pressure, so as to inform the user that the electronic device is subjected to a heavy object squeezing operation or a violent disassembly operation, so as to prompt the user to terminate the current violent operation in time.

[0059] It should be noted that there can be multiple pressure sensors, which are respectively arranged at different positions of the housing of the electronic device to ensure that the pressure on the housing in all directions can be detected in an all-round manner to avoid the situation where local pressure anomalies are not detected. The embodiment of the present application does not limit the number of pressure sensors and the specific arrangement positions on the housing, which can be determined according to the size and specific specifications of the electronic device.

[0060] In some embodiments, the sensor group includes a power sensor, which is used to collect power data input by the functional component, and the power data includes voltage data and / or current data. Figure 2 As shown, the controller in the electronic device is electrically connected to the power supply sensor.

[0061] The power sensor is used to detect the input voltage and / or input current of the electronic device when it is running, and send the power data to the controller;

[0062] The controller is specifically used to: obtain power data; if it is determined that the voltage and / or current input to the electronic device is abnormal according to the power data and the power threshold condition, then determine that the electronic device is in a state to be protected; the power threshold condition includes a voltage threshold condition and a current threshold condition;

[0063] The protection operation corresponding to the waiting protection state includes outputting third alarm information for indicating power supply abnormality, and / or powering off the electronic device.

[0064] In some embodiments, Figure 2 As shown, the electronic device also includes a power protection module. The power protection module can be an independent module or integrated with the power sensor. The power protection module is used to power off the electronic device based on the power data when the input voltage / input power of the electronic device exceeds the preset power range.

[0065] Exemplarily, the power protection module can obtain power data, autonomously analyze whether it exceeds the preset power range, and if so, power off the electronic device to enter a self-protection state, and record the power abnormality to output a first alarm message.

[0066] As another example, the controller can analyze whether the preset power range is exceeded based on the power data. If exceeded, it will send instructions to the power protection module to instruct the power protection module to power off the electronic device to enter a self-protection state, and record the power abnormality and output an alarm.

[0067] In some embodiments, the sensor group includes a gravity sensor, and the gravity sensor is used to collect gravity data of the electronic device. Figure 2 As shown, the controller in the electronic device is electrically connected to the gravity sensor.

[0068] The controller is specifically used to: obtain the gravity data; if it is determined according to the gravity data and the gravity threshold condition that the electronic device is subjected to a high-altitude drop operation or an abnormal vibration operation, determine that the electronic device is in the waiting-for-protection state;

[0069] The protection operation corresponding to the waiting protection state includes outputting fourth warning information for indicating gravity anomaly.

[0070] The gravity data mentioned here specifically refers to the gravitational acceleration to which the electronic device is subjected.

[0071] Exemplarily, the gravity threshold conditions include: when the gravity acceleration to which the electronic device is subjected is greater than a first acceleration threshold, determining that the electronic device has been subjected to a high-altitude drop operation; when the frequency of the gravity acceleration to which the electronic device is subjected is greater than a frequency threshold, determining that the electronic device has been subjected to an abnormal vibration operation.

[0072] It can be seen that by setting up a gravity sensor, if it is detected that the electronic device is subjected to a gravity acceleration exceeding the first acceleration threshold, it means that the electronic device has been subjected to a high-altitude drop operation, which may cause damage to the electronic device. If it is detected that the electronic device is subjected to a large number of gravity accelerations in a certain period of time (for example, gravity acceleration exceeding a certain value), it means that the electronic device is subjected to abnormal vibration, which may also cause damage to the electronic device.

[0073] In some embodiments, the controller may output risk warnings in the following manner. For example, the electronic device further includes a communication module, and the electronic device sends risk warning information to a terminal such as a user's mobile phone through the communication module. For another example, the controller may control a speaker or the like to output voice to prompt the user that there is a risk. For another example, the controller is configured with a display screen, and the risk warning information is displayed on the display screen to prompt the user. The specific implementation of outputting risk warnings is not limited in the embodiments of the present application.

[0074] In some embodiments, the electronic device has a device self-checking function, and the self-checking function is used to detect fault conditions of functional components.

[0075] The controller is also used to, if the electronic device is in a waiting-for-protection state, trigger the electronic device to start a self-test function; obtain the self-test result of the electronic device, and output fifth alarm information for indicating a fault location according to the self-test result.

[0076] In addition, when the self-test result indicates that there are no damaged parts, the controller may also output a prompt message to remind the user that the electronic device has undergone a self-test operation and that the electronic device may be at risk of being subjected to violent operation.

[0077] In some embodiments, the controller may also trigger the electronic device to start a self-test function when a fault detection condition is met. The fault detection condition includes at least one of the following:

[0078] detecting that the electronic device is subjected to a pressure greater than a third pressure threshold;

[0079] Detecting that the gravity acceleration received by the electronic device is greater than a second acceleration threshold;

[0080] Receive the command sent by the controller.

[0081] The above self-check function includes a pressure self-check function triggered by pressure data and / or a gravity self-check function triggered by gravity data.

[0082] In one possible implementation, the electronic device includes a pressure damage detection module (such as Figure 2 As shown), it is used to send pressure-related fault detection instructions to the electronic device so that the electronic device can perform self-checks to detect whether there are any internal devices damaged by pressure. If so, it reports relevant information to the controller, and the controller then prompts the user to replace the device in time.

[0083] In another possible implementation, the electronic device may include a gravity damage detection module (eg, Figure 2 As shown), it is used to send gravity-related fault detection instructions to the electronic device, so that the electronic device can perform self-checks to detect whether the internal components are damaged due to gravity. If so, it reports relevant information to the controller, and the controller then prompts the user.

[0084] It should be noted that the pressure-related fault detection instruction and the gravity-related fault detection instruction may be different instructions, which respectively instruct the electronic device to focus on different components for detection.

[0085] In some embodiments, the functionality of the pressure damage detection module may be integrated into the pressure sensor, or the controller.

[0086] In some embodiments, the functionality of the gravity damage detection module may be integrated into a gravity sensor or a controller.

[0087] In some embodiments, the controller is further used to receive an input electronic device model; and determine a corresponding threshold condition from a mapping relationship table according to the model. The mapping relationship table is used to indicate electronic devices of various models and their corresponding threshold conditions, and the threshold conditions are used to determine whether the electronic device is in a state to be protected, and the threshold conditions include at least one of the following: temperature threshold conditions, pressure threshold conditions, power threshold conditions, and gravity threshold conditions.

[0088] The controller is specifically used to determine whether a threshold condition is met according to the target data, and if so, determine that the electronic device is in a state to be protected.

[0089] It should be understood that different electronic devices have different working environment requirements. For example, electronic device 1 generally operates at a lower temperature, and electronic device 2 generally operates at a higher temperature. In order to make the controller adaptable to various electronic devices, developers can collect the models of each electronic device and its corresponding threshold conditions (such as the rated maximum operating temperature, the rated maximum pressure, etc.) in advance, record the corresponding relationship in a mapping relationship table, and store the mapping relationship table in the storage space of the controller. When the controller is used in a certain model of electronic equipment, the user can input the model of the electronic device into the controller, so that the controller determines the corresponding threshold conditions according to the model, and then accurately judges whether the electronic device is subjected to violent operation and whether it is in a state to be protected according to the threshold conditions.

[0090] In some embodiments, the controller is further configured to receive an input false alarm instruction, and to modify a threshold condition corresponding to the false alarm type according to the false alarm type indicated by the false alarm instruction, wherein the false alarm type includes at least one of the following: temperature abnormality false alarm, pressure abnormality false alarm, power abnormality false alarm, and gravity abnormality false alarm.

[0091] As mentioned above, since the threshold conditions are defined in advance, they may not be accurate enough in actual use scenarios. Therefore, the controller of the embodiment of the present application can adjust the threshold conditions according to actual use conditions. Specifically, when the controller determines that the electronic device is in a state to be protected, it will output an alarm message to prompt the user that the electronic device has been subjected to violent operation. If the user checks and determines that the electronic device has not been subjected to violent operation, a false alarm instruction can be input to the controller. The false alarm type of the false alarm instruction can be determined based on the alarm information, which may be a temperature abnormality false alarm, a pressure abnormality false alarm, a power abnormality false alarm, or a gravity abnormality false alarm.

[0092] Furthermore, after receiving the false alarm instruction, the controller can modify the threshold condition corresponding to the false alarm type. For example, when the electronic device determines that the high temperature threshold is exceeded and issues an alarm, and the user indicates a false alarm, it means that the high temperature threshold is set too low, and the controller can increase the high temperature threshold to avoid the probability of a false alarm. For example, when the electronic device determines that the low temperature threshold is below the low temperature threshold and issues an alarm, and the user indicates a false alarm, it means that the low temperature threshold is set too high, and the controller can lower the low temperature threshold to avoid the probability of a false alarm.

[0093] The temperature correction amplitude may be an increase or decrease of a preset correction value, and the correction value may be proportional to the operating temperature range supported by the electronic device. If the electronic device supports a smaller temperature operating range, it means that the electronic device is more sensitive to temperature requirements, and the controller may set a smaller correction value to avoid over-adjustment.

[0094] Similarly, for other gravity threshold conditions, power threshold conditions or pressure threshold conditions, the correction principle of the above-mentioned temperature threshold condition can be referred to, and will not be repeated here.

[0095] It should be understood that the threshold condition is re-corrected according to the false alarm instruction input by the user to cope with various uncertainties existing in actual usage scenarios and ensure the accuracy of the controller detection.

[0096] Figure 3 A schematic diagram of the composition of another electronic device provided in an embodiment of the present application.

[0097] like Figure 3 As shown, the pressure damage detection module and the pressure sensor can be integrated together, and the gravity damage detection module and the gravity sensor can be integrated together.

[0098] The controller includes a sensor information input submodule, a data analysis submodule and a protection control output submodule.

[0099] The sensor signal input submodule is used to obtain the target data of various sensor inputs.

[0100] The data analysis submodule determines whether the electronic device is subjected to violent operation based on analyzing the target data.

[0101] The protection control output module is used to send heating or cooling instructions to the temperature protection module and send power cut-off instructions to the power protection module when the target data meets the conditions.

[0102] It should be noted that the above embodiments are described by taking the target data including temperature, pressure, gravity, power supply, etc. In some scenarios, the target data may also include humidity, radiation, etc., and the types of sensors may be increased according to the actual scenarios to make the application scenarios of the technical solution provided by the present application more extensive, and the embodiments of the present application do not specifically limit this.

[0103] The anti-violence method of an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0104] like Figure 4 As shown, the embodiment of the present application provides an anti-violence method, which includes the following steps:

[0105] S401, collecting target data from electronic devices.

[0106] The target data includes at least one of temperature data of the environment in which the functional components in the electronic device are located, pressure data on the housing of the electronic device, power data input by the functional components, and gravity data of the electronic device.

[0107] S402: Determine whether the electronic device is in a state to be protected according to the target data.

[0108] S403: If the electronic device is in a waiting-for-protection state, a protection operation corresponding to the waiting-for-protection state is performed.

[0109] For the related description of S401-S403 above, please refer to the description of the aforementioned system side, which will not be repeated here.

[0110] An embodiment of the present application provides an electronic device, including a housing, a functional component and a sensor group. The sensor group is used to detect at least one of temperature data, pressure data, power data and gravity data, and the controller of the functional component is used to obtain the target data detected by the sensor group, determine whether the electronic device is in a state to be protected, and if it is in the state to be protected, perform the corresponding protection operation. The present application replaces the structural improvement solution in the traditional anti-violence technology with a hardware improvement solution, which can reduce the cost of structural improvement, and the hardware occupies less space and does not increase the volume of the electronic device. In addition, various types of target data can be detected, and corresponding protection operations can be performed in a protective state, so that it can adapt to the anti-violence needs in a variety of scenarios, thereby effectively solving the problem of limited use scenarios of anti-violence technology.

[0111] In addition, the anti-violence system of the embodiment of the present application also includes a fault detection module and a protection module, so that when the electronic device is subjected to violent operation, rapid self-checking and adjustment of the operating status can be achieved, so as to timely discover fault problems and ensure the stable operation of the electronic device.

[0112] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. It should be easy to realize that the technical goals in this field are combined with the units and algorithm steps of each example described in the embodiments disclosed in this article, and the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical goals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0113] Another embodiment of the present application further provides a computing device, such as Figure 5As shown, the computing device 500 includes a memory 501 and a processor 502; the memory 501 and the processor 502 are coupled; the memory 501 is used to store computer program codes, and the computer program codes include computer instructions. When the processor 502 executes the computer instructions, the computing device 500 executes each step executed by the computing device in the method flow shown in the above method embodiment.

[0114] Another embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a computing device, the computing device executes each step executed by the computing device in the method flow shown in the above method embodiment.

[0115] In another embodiment of the present application, a computer program product is also provided. The computer program product includes computer instructions. When the computer instructions are executed on a computing device, the computing device executes each step executed by the computing device in the method flow shown in the above method embodiment.

[0116] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer execution instruction is loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instruction can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by the computer or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), etc.

[0117] The above is only a specific implementation of the present application. Those skilled in the art may conceive of changes or substitutions based on the specific implementation provided by the present application, which should all be included in the protection scope of the present application.

Claims

1. An electronic device, characterized in that: It includes a housing, a functional component and a sensor group; wherein, The sensor group includes at least one type of sensor, which is used to collect target data for the electronic device, and the target data includes at least one of temperature data of the environment where the functional component is located, pressure data on the shell, power data input by the functional component, and gravity data of the electronic device; The functional component includes a controller, which is used to obtain the target data collected by the sensor group, and determine whether the electronic device is in a state to be protected according to the target data; if the electronic device is in the state to be protected, perform a protection operation corresponding to the state to be protected.

2. The electronic device according to claim 1, characterized in that: The sensor group includes a temperature sensor, and the temperature sensor is used to collect temperature data of the environment in which the functional component is located; The controller is specifically used to: obtain the temperature data; if it is determined that the functional component is in a low temperature environment or an over-temperature environment according to the temperature data and the temperature threshold condition, determine that the electronic device is in the protection state; the temperature threshold condition includes a low temperature threshold condition and a high temperature threshold condition; The protection operation corresponding to the waiting protection state includes outputting first alarm information indicating temperature abnormality, and / or heating or cooling the electronic device.

3. The electronic device according to claim 1, characterized in that: The sensor group includes a pressure sensor, and the pressure sensor is used to collect pressure data on the shell; The controller is specifically used to: obtain the pressure data; if it is determined according to the pressure data and the pressure threshold condition that the electronic device is subjected to a squeezing operation or a violent disassembly operation, determine that the electronic device is in the protection state; the pressure threshold condition includes a first inward pressure threshold corresponding to the squeezing operation and a second outward pressure threshold corresponding to the violent disassembly operation; The protection operation corresponding to the waiting protection state includes outputting second alarm information for indicating pressure abnormality.

4. The electronic device according to claim 1, characterized in that: The sensor group includes a power sensor, and the power sensor is used to collect power data input by the functional component, and the power data includes voltage data and / or current data; The controller is specifically used to: obtain the power data; if it is determined that the voltage and / or current input to the electronic device is abnormal according to the power data and the power threshold condition, then determine that the electronic device is in the protection state; the power threshold condition includes a voltage threshold condition and a current threshold condition; The protection operation corresponding to the waiting protection state includes outputting third alarm information for indicating power supply abnormality, and / or powering off the electronic device.

5. The electronic device according to claim 1, characterized in that: The sensor group includes a gravity sensor, and the gravity sensor is used to collect gravity data of the electronic device; The controller is specifically used to: obtain the gravity data; if it is determined according to the gravity data and the gravity threshold condition that the electronic device is subjected to a high-altitude drop operation or an abnormal vibration operation, determine that the electronic device is in the waiting-for-protection state; The protection operation corresponding to the waiting protection state includes outputting fourth warning information for indicating gravity anomaly.

6. The electronic device according to claim 5, characterized in that: The gravity threshold conditions include: When the gravitational acceleration applied to the electronic device is greater than a first acceleration threshold, determining that the electronic device is subjected to a high-altitude drop operation; When the frequency of gravity acceleration applied to the electronic device is greater than a frequency threshold, it is determined that the electronic device is subjected to an abnormal vibration operation.

7. The electronic device according to any one of claims 1 to 6, characterized in that: The electronic device has a device self-test function, and the self-test function is used to detect the fault condition of the functional component; the controller is also used to trigger the electronic device to start the self-test function if the electronic device is in the waiting protection state; obtain the self-test result of the electronic device, and output the fifth alarm information for indicating the fault location according to the self-test result.

8. The electronic device according to claim 7, characterized in that: The self-check function includes a pressure self-check function triggered by pressure data and / or a gravity self-check function triggered by gravity data.

9. The electronic device according to claim 1, characterized in that: The controller is further used to receive an input model of the electronic device; determine a corresponding threshold condition from a mapping relationship table according to the model; the mapping relationship table is used to indicate each model of electronic devices and their corresponding threshold conditions; the threshold condition is used to determine whether the electronic device is in the state to be protected; the threshold condition includes at least one of the following: a temperature threshold condition, a pressure threshold condition, a power threshold condition, and a gravity threshold condition; The controller is specifically configured to determine whether the threshold condition is met according to the target data, and if so, determine that the electronic device is in a state to be protected.

10. The electronic device according to claim 9, characterized in that: The controller is also used to receive an input false alarm instruction; According to the false alarm type indicated by the false alarm instruction, the threshold condition corresponding to the false alarm type is corrected; the false alarm type includes at least one of the following: temperature abnormality false alarm, pressure abnormality false alarm, power supply abnormality false alarm, gravity abnormality false alarm.

11. A method for preventing violence, characterized in that: Applied to electronic equipment, the method further comprises: collecting target data for the electronic device, the target data including at least one of temperature data of an environment in which a functional component in the electronic device is located, pressure data on a housing of the electronic device, power data input by the functional component, and gravity data of the electronic device; Determine whether the electronic device is in a state to be protected according to the target data; If the electronic device is in the waiting-for-protection state, a protection operation corresponding to the waiting-for-protection state is performed.

12. An anti-violence device, characterized in that: The anti-violence device comprises: a processor and a memory; The memory stores instructions executable by the processor; When the processor is configured to execute the instructions, the anti-violence device implements the anti-violence method as claimed in claim 11.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer is caused to execute the anti-violence method according to claim 11.