CN110750420A - Method, apparatus, electronic device and medium for preventing device from sliding - Google Patents

Method, apparatus, electronic device and medium for preventing device from sliding Download PDF

Info

Publication number
CN110750420A
CN110750420A CN201910947936.8A CN201910947936A CN110750420A CN 110750420 A CN110750420 A CN 110750420A CN 201910947936 A CN201910947936 A CN 201910947936A CN 110750420 A CN110750420 A CN 110750420A
Authority
CN
China
Prior art keywords
skid
target
equipment
target device
state information
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.)
Granted
Application number
CN201910947936.8A
Other languages
Chinese (zh)
Other versions
CN110750420B (en
Inventor
郑毅成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910947936.8A priority Critical patent/CN110750420B/en
Publication of CN110750420A publication Critical patent/CN110750420A/en
Application granted granted Critical
Publication of CN110750420B publication Critical patent/CN110750420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3044Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is the mechanical casing of the computing system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a method and a device for preventing equipment from sliding, electronic equipment and a medium. According to the method and the device, after state information of the target equipment, which is used for reflecting the placement state, is obtained, when the state information is determined to meet the preset condition, the displacement parameter of the target equipment is monitored, and when the displacement parameter of the target equipment is detected to be larger than the preset threshold value, the anti-skid function generated based on the anti-skid device is started. Through applying the technical scheme of this application, can be through detecting the placement of target device and the position variation degree in the preset time quantum, when confirming that equipment has the slip risk, through antiskid, realize the antiskid function of equipment. And further, the risk of damage to the device due to sliding of the device, which is likely to occur when the mobile device is placed on an inclined surface, as in the related art, can be avoided.

Description

Method, apparatus, electronic device and medium for preventing device from sliding
Technical Field
The present application relates to smart device technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for preventing device from sliding
Background
Due to the rise of the communications era and society, smart devices have been continuously developed with the use of more and more users.
With the development of device technology, intelligent devices have become important tools for people to live and work. Further, taking a mobile phone as an example, the user may take a picture, take a video, browse a web page, pay for goods, etc. by using the mobile phone. However, in daily use of a user, the problem that the mobile phone accidentally slips off the desktop to cause screen cracking, rear cover cracking, middle frame damage and the like sometimes occurs, and user loss is caused.
Disclosure of Invention
The embodiment of the application provides a method and a device for preventing equipment from sliding, electronic equipment and a medium.
According to an aspect of an embodiment of the present application, there is provided a method for preventing a device from sliding, including:
acquiring state information of target equipment, wherein the state information is used for reflecting the placement state of the target equipment;
when the state information is determined to meet a preset condition, monitoring a displacement parameter of the target equipment, wherein the displacement parameter is used for reflecting the position change degree of the target equipment in a preset time period;
and when detecting that the displacement parameter of the target equipment is greater than a preset threshold value, starting an anti-skid function, wherein the anti-skid function is generated based on an anti-skid device.
According to another aspect of the embodiments of the present application, there is provided an apparatus for preventing a device from sliding, including:
the anti-skid device is arranged in a first area of the target equipment, the anti-skid device comprises an anti-skid surface and a non-skid surface, and the first area is an area on a rear shell of the target equipment;
when an anti-skid command is received, the anti-skid surface is adjusted to a first direction, and the non-anti-skid surface is adjusted to a second direction, wherein the first direction is a direction facing the outside of the rear shell of the target equipment, and the second direction is a direction facing the inside of the rear shell of the target equipment;
when a closing instruction is received, the non-skid surface is adjusted to the first direction, and the skid surface is adjusted to the second direction.
According to another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
a display for displaying with the memory to execute the executable instructions to perform the operations of any of the above-described methods of preventing device slippage.
According to a further aspect of the embodiments of the present application, there is provided a computer-readable storage medium for storing computer-readable instructions, which when executed, perform the operations of any one of the above-mentioned methods for preventing device sliding.
According to the method and the device, after the state information of the target equipment, which is used for reflecting the placement state, is obtained, when the state information is determined to meet the preset condition, the displacement parameter of the target equipment is monitored, and when the displacement parameter of the target equipment is detected to be larger than the preset threshold value, the anti-skid function generated based on the anti-skid device is started. Through applying the technical scheme of this application, can be through detecting the placement of target device and the position variation degree in the preset time quantum, when confirming that equipment has the slip risk, through antiskid, realize the antiskid function of equipment. And further, the risk of damage to the device due to sliding of the device, which is likely to occur when the mobile device is placed on an inclined surface, as in the related art, can be avoided.
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of the system architecture for preventing equipment slippage according to the present application;
FIG. 2 is a schematic diagram of a method for preventing equipment from slipping proposed by the present application;
FIG. 3 is a schematic diagram of an angle between a target device and a horizontal plane according to the present application;
FIGS. 4 a-4 d are display views of a rear housing of a target apparatus;
FIG. 5 is a schematic structural diagram of the device for preventing equipment from sliding according to the present application;
fig. 6 is a schematic view of an electronic device according to the present application.
Detailed Description
Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
It should be noted that all the directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
A method for performing device slippage prevention according to an exemplary embodiment of the present application is described below in conjunction with fig. 1-4. It should be noted that the following application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
Fig. 1 shows a schematic diagram of an exemplary system architecture 100 to which a video processing method or a video processing apparatus of an embodiment of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, portable computers, desktop computers, and the like.
The terminal apparatuses 101, 102, 103 in the present application may be terminal apparatuses that provide various services. For example, the user via terminal 103 (which may also be terminal 101 or 102): acquiring state information of target equipment, wherein the state information is used for reflecting the placement state of the target equipment; when the state information is determined to meet a preset condition, monitoring a displacement parameter of the target equipment, wherein the displacement parameter is used for reflecting the position change degree of the target equipment in a preset time period; and when detecting that the displacement parameter of the target equipment is greater than a preset threshold value, starting an anti-skid function, wherein the anti-skid function is generated based on an anti-skid device.
It should be noted that the video processing method provided in the embodiments of the present application may be executed by one or more of the terminal devices 101, 102, and 103, and/or the server 105, and accordingly, the video processing apparatus provided in the embodiments of the present application is generally disposed in the corresponding terminal device, and/or the server 105, but the present application is not limited thereto.
The application also provides a method, a device, a target terminal and a medium for preventing equipment from sliding.
Fig. 2 schematically shows a flow chart of a method for preventing equipment from sliding according to an embodiment of the application. As shown in fig. 2, the method includes:
s101, acquiring state information of target equipment, wherein the state information is used for reflecting the placement state of the target equipment.
It should be noted that, in the present application, the target device is not specifically limited, and may be, for example, an intelligent device or a server. The smart device may be a Personal Computer (PC), a smart phone, a tablet Computer, an electronic book reader, or an MP3(Moving Picture Experts Group audio layer III) device for preventing the device from sliding. MP4(Moving Picture expert group audio Layer IV), a device for preventing equipment from sliding, a portable terminal device such as a portable computer having a display function, and the like.
In the example of the target device as a mobile phone, after a user uses the mobile phone to complete an operation, the mobile phone is usually placed on a desktop, a table top, or the like. To await the next use. However, since some planes are not horizontal, and friction force due to the smoothness of the table top may be small, the mobile phone may slide from the table top to the ground, and the mobile phone may be damaged.
In order to avoid the above disadvantages, the present application may first obtain, in real time, status information of a target device for reflecting a placement state of the target device. The state information may be characterized as whether the current placement state of the target device is on the horizontal plane. It can be understood that when the current placement state of the target device is determined to be in the horizontal plane according to the state information, it can be determined that the current target device does not have the risk of device sliding. Further, when it is determined that the current placement state of the target device is not a horizontal plane based on the state information, it may be determined that the current target device has a risk of device slippage, and the following step S102 may be performed.
In addition, the present application does not specifically limit the timing for acquiring the status information of the target device, and for example, the status information of the target device may be acquired in real time, or the status information of the target device may be acquired every predetermined time period.
And S102, when the state information is determined to meet the preset condition, monitoring the displacement parameter of the target equipment, wherein the displacement parameter is used for reflecting the position change degree of the target equipment in a preset time period.
The preset condition is not specifically limited, for example, the preset condition may be that the placement state of the target device is horizontal placement, and the preset condition may also be that the placement state of the target device is placement at a preset angle with the horizontal plane.
Further, when it is determined that the state information of the target device satisfies the preset condition, a displacement parameter for reflecting the degree of change in the position of the target device within a preset time period may be further monitored. It can be understood that when the current placement state of the current target device is determined to have the sliding risk, whether the target device slowly slides or not is continuously monitored. Wherein, the slow sliding condition can be represented by the displacement parameter of the target device. For example, when the target device is detected to have a position change of, for example, 3cm within a period of 2 seconds, the displacement parameter of the target device may be determined to be 1.5 cm/s.
The preset time period is not specifically limited in the present application, and may be, for example, 1 second or 5 seconds.
Optionally, when determining that the current placement state of the current target device has a sliding risk based on the displacement parameter of the target device, the method and the device can prompt the user in various modes such as ring tone/screen display/vibration, so that the user can actively place the device at a safe position after receiving the reminding mode, and the user loss caused by falling is avoided.
S103, when the displacement parameter of the target equipment is detected to be larger than a preset threshold value, starting an anti-skid function, wherein the anti-skid function is generated based on an anti-skid device.
Further, when the displacement parameter of the target device is detected to be larger than the preset threshold value, the anti-skid function generated based on the anti-skid device can be started. It is understood that the preset threshold is not specifically limited in this application, and may be, for example, 1.5cm/s, or 5 cm/s.
Further, the anti-slip device is not specifically limited in this application, for example, the anti-slip device may be a device made of any material, and the anti-slip device may be disposed on any area of the target device.
According to the method and the device, after the state information of the target equipment, which is used for reflecting the placement state, is obtained, when the state information is determined to meet the preset condition, the displacement parameter of the target equipment is monitored, and when the displacement parameter of the target equipment is detected to be larger than the preset threshold value, the anti-skid function generated based on the anti-skid device is started. Through applying the technical scheme of this application, can be through detecting the placement of target device and the position variation degree in the preset time quantum, when confirming that equipment has the slip risk, through antiskid, realize the antiskid function of equipment. And further, the risk of damage to the device due to sliding of the device, which is likely to occur when the mobile device is placed on an inclined surface, as in the related art, can be avoided.
In one possible implementation manner of the present application, before the application S101 (acquiring the state information of the target device), the following steps may be further implemented:
detecting a first use state of the target device, wherein the use state is used for reflecting whether the target device is used by a user or not;
when it is determined that the target device is not used by the user based on the first use state of the target device, state information of the target device is acquired.
Further, before obtaining the state information of the target device, the present application may first detect whether the target device is currently used by the user. It will be appreciated that there is no risk of the device slipping off when it is being used by a user. Therefore, the embodiment of the application further acquires the state information of the target device only when the target device is determined not to be used by the user.
The application does not specifically limit the use state, and for example, whether user operation generated by a user exists in the current target device may be detected. For example, clicking a screen, turning on and off a computer, adjusting the volume, adjusting the brightness of the screen, and the like. And if not, determining that the target equipment is not used by the user currently. Or, the method and the device for determining whether the target device is currently used by the user can also be used for determining whether the target device is currently used by the user in a manner of detecting whether the target device has the biological characteristic information currently according to the camera shooting and collecting device of the target device. For example, the biometric information may include facial feature information, iris feature information, fingerprint feature information, and the like. Or, the present application may also determine whether the target device is currently in the pick-up state through a device such as a gyroscope inside the target device, and thereby determine whether the target device is used by the user.
In another possible embodiment of the present application, after the application S101 (acquiring the status information of the target device), the following steps may be further implemented:
determining an included angle between the target equipment and the horizontal plane based on the state information;
and when the included angle is detected to exceed the preset angle threshold value, determining that the state information meets the preset condition.
In the present application, the preset angle threshold is not specifically limited, and may be, for example, 30 degrees or 60 degrees. It can be understood that when the angle between the target device and the horizontal plane is detected to exceed a certain threshold, it can be determined that the target device currently has a slip risk. And further determining that the state information of the target device meets the preset condition.
For example, as shown in fig. 3, 1011 is a mobile phone, 1012 is a table on which the mobile phone is placed, 1013 is a horizontal plane, and 1014 is an angle between the mobile phone and the horizontal plane. First, the present application can obtain the placement angle of the mobile phone 1011 based on the current placement state of the mobile phone. Further, the angle 1014 is calculated by comparing the angle with a horizontal plane 1013, and then the angle 1014 is compared with a preset angle threshold, so that it is determined that the state information of the mobile phone 1011 satisfies a preset condition.
In another possible embodiment of the present application, after the present application S103 (when the displacement parameter of the target device is detected to be greater than the preset threshold, the anti-skid function is turned on), the following steps may also be implemented:
detecting a second use state of the target device;
and when the target device is determined to be used by the user based on the second use state of the target device, turning off the anti-skid function.
Further, this application is after opening anti-skidding function, in order to avoid anti-skidding device to open the condition that the anti-skidding device that leads to is worn and torn all the time, this application can be closed this anti-skidding function after detecting that the user takes up equipment. It will be appreciated that there is no risk of the device slipping off when it is being used by a user. Therefore, the anti-skid function can be turned off only when the target device is determined to be used by the user again.
The second use state is not specifically limited, and for example, whether a user operation generated by a user exists in the current target device may be detected. For example, clicking a screen, turning on and off a computer, adjusting the volume, adjusting the brightness of the screen, and the like. And if not, determining that the target equipment is not used by the user currently. Or, the method and the device for determining whether the target device is currently used by the user can also be used for determining whether the target device is currently used by the user in a manner of detecting whether the target device has the biological characteristic information currently according to the camera shooting and collecting device of the target device. For example, the biometric information may include facial feature information, iris feature information, fingerprint feature information, and the like. Or, the present application may also determine whether the target device is currently in the pick-up state through a device such as a gyroscope inside the target device, and thereby determine whether the target device is used by the user.
In another embodiment of the present application, the present application further provides an apparatus for preventing a device from sliding.
Wherein, the device includes:
the anti-skid device is arranged in a first area of the target equipment, the anti-skid device comprises an anti-skid surface and a non-anti-skid surface, and the first area is an area on a rear shell of the target equipment;
when an anti-skid instruction is received, the anti-skid surface is adjusted to a first direction, and the non-anti-skid surface is adjusted to a second direction, wherein the first direction is a direction facing the outside of the rear shell of the target equipment, and the second direction is a direction facing the inside of the rear shell of the target equipment;
when a closing instruction is received, the non-skid surface is adjusted to the first direction, and the skid surface is adjusted to the second direction.
Taking the target device as a mobile phone 2011 as an example, as shown in fig. 4a, a back case display diagram of the mobile phone 2011 is shown, which includes the mobile phone 2011, the mobile phone back case 2014, the camera 2012 and the anti-skid device 2013. As can be seen in fig. 4a, the anti-slip device 2013 may be disposed in a first area of the handset back 2014. It should be noted that, in the present application, the first area is not specifically limited, that is, the first area may be any area on the back shell 2014 of the mobile phone.
Further, as shown in fig. 4b, it is a display diagram of the antiskid device 2013. It can be seen that antiskid 2013 includes a non-slip surface 2015 and a non-slip surface 2016. Further, as shown in fig. 4c, when receiving the anti-slip instruction, the mobile phone 2011 may adjust the anti-slip surface 2015 of the anti-slip device 2013 to face a first direction outside the rear case of the target device, and adjust the non-slip surface 2016 of the anti-slip device 2013 to face a second direction inside the rear case of the target device. Further still, as shown in fig. 4d, when receiving the closing instruction, the mobile phone 2011 may adjust the non-slip surface 2016 of the anti-slip device 2013 to face a first direction outside the rear housing of the target device, and adjust the slip-proof surface 2015 of the anti-slip device 2013 to face a second direction inside the rear housing of the target device.
The antiskid devices 2013 are not particularly limited in the present application, and may be, for example, the antiskid devices 2013 having any shape. Such as circular, square, oval, etc. Alternatively, the anti-slip device 2013 may be made of any material, such as ceramic or plastic.
The target device is taken as a mobile phone for illustration, at present, the mainstream material of a mobile phone battery cover (i.e. a rear cover) is smooth glass and plastic, and the edge is also designed to be a smooth and transitional arc surface, so that a user is given smooth and exquisite material touch feeling and comfortable holding hand feeling. However, the mobile phone is very easy to slide when placed on a desk or the like where the desk may have a slight inclination but a smooth surface, and the mobile phone may be damaged in appearance or function after falling down from the desk, which may cause a loss to the user.
Further, the present application proposes an improvement: the convex ball (namely, an anti-skid device) with one surface being smooth and hard material and the other surface being anti-skid surface can be embedded into the mobile phone battery cover, and the smooth and hard material surface faces outwards in normal use, so that the battery cover can be prevented from being worn; the antiskid surface faces the inside of the machine body at the moment, and the effect of the antiskid surface is prevented from being deteriorated due to the fact that dust is stained with the antiskid surface. The process of triggering protection is as follows: when the situation that the user does not operate and the mobile phone detects that the mobile phone is in the inclined state is confirmed, when the situation that the mobile phone continuously moves in a slight table top direction is detected through a sensor and the like, the situation that the sliding falling machine risk exists is judged. The anti-skid surface is rotated out by driving the ball to rotate through the circuit, so that the mobile phone can be stopped quickly and prevented from sliding and falling. When the user is detected to pick up the anti-skid surface, the convex ball is driven to rotate, the anti-skid surface is rotated back to the inside of the machine body, and the surface is prevented from being stained with dust.
Furthermore, the problem that intelligent equipment is prone to have a slipping risk in the related art is solved. This application is through the state discernment of current equipment, sensor detection relevant signal, judge that the slip is fallen the quick-witted risk, remind the user, the antiskid face of back-out ball these steps, finally realize protect function, reduce the user loss, promote the use experience of product. And when the user picks up the equipment, the anti-skid surface can be automatically folded.
In addition, the anti-skid device 2013 in the present application may be connected with a driving member. Wherein:
when an anti-skid command is received, the driving part drives the anti-skid surface 2015 to rotate to a first direction, and the driving part drives the non-anti-skid surface 2016 to adjust to a second direction;
when a close command is received, the driver drives non-slip surface 2016 to rotate to a first direction and the driver drives slip surface 2015 to adjust to a second direction.
As shown in fig. 4b, antiskid device 2013 includes antiskid surface 2015 and non-antiskid surface 2016. The antiskid unit 2013 may be connected to the driving unit. And when receiving the anti-skid command, the driving part is electrically connected and communicated with the anti-skid device 2013, and the anti-skid surface 2015 of the anti-skid device 2013 is rotated to the outer side of the mobile phone rear shell 2014 by the driving part. So that the anti-slip surface 2015 is in contact with the tabletop to increase the friction of the target device. Similarly, when receiving the closing command, the driving element is electrically connected to the antiskid device 2013, and the driving element is used to rotate the non-skid surface 2016 of the antiskid device 2013 to the outside of the mobile phone rear shell 2014. So that the non-slip surface 2015 is not in contact with the outside, thereby reducing wear of the non-slip surface 2015.
Furthermore, the anti-slip device 2013 of the present application may be a convex device. However, the present application is not limited thereto. That is, the antiskid devices 2013 may be other shapes such as square and oval. In addition, the end surface of the anti-slip surface 2015 is provided with saw teeth extending upwards, and the saw teeth are made of anti-slip materials. Further, the present application also does not specifically limit the anti-slip material, and for example, the anti-slip material may be made of rubber.
In another embodiment of the present application, as shown in fig. 5, the present application further provides a device for preventing the device from slipping. The device comprises an obtaining module 301, a determining module 302 and a starting module 303, wherein:
an obtaining module 301, configured to obtain status information of a target device, where the status information is used to reflect a placement status of the target device;
a determining module 302, configured to monitor a displacement parameter of the target device when it is determined that the state information satisfies a preset condition, where the displacement parameter is used to reflect a degree of change in a position of the target device within a preset time period;
the starting module 303 is configured to start an anti-skid function when detecting that the displacement parameter of the target device is greater than a preset threshold, where the anti-skid function is a function generated based on an anti-skid device.
According to the method and the device, after the state information of the target equipment, which is used for reflecting the placement state, is obtained, when the state information is determined to meet the preset condition, the displacement parameter of the target equipment is monitored, and when the displacement parameter of the target equipment is detected to be larger than the preset threshold value, the anti-skid function generated based on the anti-skid device is started. Through applying the technical scheme of this application, can be through detecting the placement of target device and the position variation degree in the preset time quantum, when confirming that equipment has the slip risk, through antiskid, realize the antiskid function of equipment. And further, the risk of damage to the device due to sliding of the device, which is likely to occur when the mobile device is placed on an inclined surface, as in the related art, can be avoided.
In another embodiment of the present application, the detecting module 304 further includes:
a detection module 304 configured to detect a first usage state of the target device, the usage state reflecting whether the target device is used by a user;
a detection module 304 configured to obtain status information of the target device when it is determined that the target device is not used by the user based on the first usage status of the target device.
In another embodiment of the present application, the determining module 302 further includes:
a configuration module 302 configured to determine an angle of the target device with respect to a horizontal plane based on the status information;
and when the included angle is detected to exceed a preset angle threshold value, determining that the state information meets the preset condition.
In another embodiment of the present application, the starting module 303 further includes:
an initiating module 303 configured to detect a second said use state of said target device;
an initiating module 303 configured to turn off the anti-skid function when it is determined that the target device is used by a user based on the second usage state of the target device.
FIG. 6 is a block diagram illustrating a logical structure of an electronic device in accordance with an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, electronic device 400 may include one or more of the following components: a processor 401 and a memory 402.
Processor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 401 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 401 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 402 is configured to store at least one instruction for execution by the processor 401 to implement the interactive special effect calibration method provided by the method embodiments of the present application.
In some embodiments, the electronic device 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402 and peripheral interface 403 may be connected by bus or signal lines. Each peripheral may be connected to the peripheral interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 404, touch screen display 405, camera 406, audio circuitry 407, positioning components 408, and power supply 409.
The peripheral interface 403 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 401 and the memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 401, the memory 402 and the peripheral interface 403 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 405 is a touch display screen, the display screen 405 also has the ability to capture touch signals on or over the surface of the display screen 405. The touch signal may be input to the processor 401 as a control signal for processing. At this point, the display screen 405 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 405 may be one, providing the front panel of the electronic device 400; in other embodiments, the display screen 405 may be at least two, respectively disposed on different surfaces of the electronic device 400 or in a folded design; in still other embodiments, the display screen 405 may be a flexible display screen disposed on a curved surface or a folded surface of the electronic device 400. Even further, the display screen 405 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 406 is used to capture images or video. Optionally, camera assembly 406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 406 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 401 for processing, or inputting the electric signals to the radio frequency circuit 404 for realizing voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and disposed at different locations of the electronic device 400. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 401 or the radio frequency circuit 404 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 407 may also include a headphone jack.
The positioning component 408 is used to locate a current geographic location of the electronic device 400 to implement navigation or LBS (location based Service). The positioning component 408 may be a positioning component based on the GPS (global positioning System) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
The power supply 409 is used to supply power to the various components in the electronic device 400. The power source 409 may be alternating current, direct current, disposable or rechargeable. When power source 409 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 400 also includes one or more sensors 410. The one or more sensors 410 include, but are not limited to: acceleration sensor 411, gyro sensor 412, pressure sensor 413, fingerprint sensor 414, optical sensor 415, and proximity sensor 416.
The acceleration sensor 411 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the electronic apparatus 400. For example, the acceleration sensor 411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 401 may control the touch display screen 405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 411. The acceleration sensor 411 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 412 may detect a body direction and a rotation angle of the electronic device 400, and the gyro sensor 412 may cooperate with the acceleration sensor 411 to acquire a 3D motion of the user on the electronic device 400. From the data collected by the gyro sensor 412, the processor 401 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensors 413 may be disposed on a side bezel of the electronic device 400 and/or on a lower layer of the touch display screen 405. When the pressure sensor 413 is arranged on the side frame of the electronic device 400, a holding signal of the user to the electronic device 400 can be detected, and the processor 401 performs left-right hand identification or shortcut operation according to the holding signal collected by the pressure sensor 413. When the pressure sensor 413 is disposed at the lower layer of the touch display screen 405, the processor 401 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 414 is used for collecting a fingerprint of the user, and the processor 401 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, preventing equipment from slipping, changing settings, and the like. The fingerprint sensor 414 may be disposed on the front, back, or side of the electronic device 400. When a physical button or vendor Logo is provided on the electronic device 400, the fingerprint sensor 414 may be integrated with the physical button or vendor Logo.
The optical sensor 415 is used to collect the ambient light intensity. In one embodiment, the processor 401 may control the display brightness of the touch display screen 405 based on the ambient light intensity collected by the optical sensor 415. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 405 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 405 is turned down. In another embodiment, the processor 401 may also dynamically adjust the shooting parameters of the camera assembly 406 according to the ambient light intensity collected by the optical sensor 415.
Proximity sensor 416, also known as a distance sensor, is typically disposed on the front panel of electronic device 400. The proximity sensor 416 is used to capture the distance between the user and the front of the electronic device 400. In one embodiment, the processor 401 controls the touch display screen 405 to switch from the bright screen state to the dark screen state when the proximity sensor 416 detects that the distance between the user and the front surface of the electronic device 400 gradually decreases; when the proximity sensor 416 detects that the distance between the user and the front of the electronic device 400 is gradually increased, the processor 401 controls the touch display screen 405 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 6 does not constitute a limitation of the electronic device 400, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, such as the memory 404, comprising instructions executable by the processor 420 of the electronic device 400 to perform the above-described method of preventing device slippage, the method comprising: acquiring state information of target equipment, wherein the state information is used for reflecting the placement state of the target equipment; when the state information is determined to meet a preset condition, monitoring a displacement parameter of the target equipment, wherein the displacement parameter is used for reflecting the position change degree of the target equipment in a preset time period; and when detecting that the displacement parameter of the target equipment is greater than a preset threshold value, starting an anti-skid function, wherein the anti-skid function is generated based on an anti-skid device. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application/computer program product comprising one or more instructions executable by the processor 420 of the electronic device 400 to perform the above-described method of preventing device slippage, the method comprising: acquiring state information of target equipment, wherein the state information is used for reflecting the placement state of the target equipment; when the state information is determined to meet a preset condition, monitoring a displacement parameter of the target equipment, wherein the displacement parameter is used for reflecting the position change degree of the target equipment in a preset time period; and when detecting that the displacement parameter of the target equipment is greater than a preset threshold value, starting an anti-skid function, wherein the anti-skid function is generated based on an anti-skid device. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method of preventing equipment slippage, comprising:
acquiring state information of target equipment, wherein the state information is used for reflecting the placement state of the target equipment;
when the state information is determined to meet a preset condition, monitoring a displacement parameter of the target equipment, wherein the displacement parameter is used for reflecting the position change degree of the target equipment in a preset time period;
and when detecting that the displacement parameter of the target equipment is greater than a preset threshold value, starting an anti-skid function, wherein the anti-skid function is generated based on an anti-skid device.
2. The method of claim 1, prior to said obtaining the state information of the target device, further comprising:
detecting a first use state of the target device, wherein the use state is used for reflecting whether the target device is used by a user or not;
when it is determined that the target device is not used by the user based on the first use state of the target device, state information of the target device is acquired.
3. The method of claim 1, wherein after the obtaining the status information of the target device, further comprising:
determining an included angle between the target equipment and a horizontal plane based on the state information;
and when the included angle is detected to exceed a preset angle threshold value, determining that the state information meets the preset condition.
4. The method of claim 2, further comprising, after the turning on an anti-skid function when the displacement parameter of the target device is detected to be greater than a preset threshold value:
detecting a second said use state of said target device;
turning off the anti-skid function when it is determined that the target device is used by a user based on the second use state of the target device.
5. An apparatus for preventing equipment from slipping, comprising:
the anti-skid device is arranged in a first area of the target equipment, the anti-skid device comprises an anti-skid surface and a non-skid surface, and the first area is an area on a rear shell of the target equipment;
when an anti-skid command is received, the anti-skid surface is adjusted to a first direction, and the non-anti-skid surface is adjusted to a second direction, wherein the first direction is a direction facing the outside of the rear shell of the target equipment, and the second direction is a direction facing the inside of the rear shell of the target equipment;
when a closing instruction is received, the non-skid surface is adjusted to the first direction, and the skid surface is adjusted to the second direction.
6. The method of claim 1, wherein the anti-skid device is coupled to a drive member;
when the anti-skid instruction is received, the driving piece drives the anti-skid surface to rotate to the first direction, and the driving piece drives the non-anti-skid surface to adjust to the second direction;
when the closing instruction is received, the driving piece drives the non-skid surface to rotate to the first direction, and the driving piece drives the skid surface to adjust to the second direction.
7. A method according to claim 5, wherein the anti-slip means is a raised means in the shape of a circular arc.
8. The method of claim 7 wherein the non-slip surface is provided with upwardly extending serrations on the end surface, the serrations being of non-slip material.
9. An electronic device, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for display with the memory to execute the executable instructions to perform the operations of the method of preventing device slippage as recited in any one of claims 1-7.
10. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the method of preventing device slippage of any of claims 1-7.
CN201910947936.8A 2019-10-08 2019-10-08 Method and device for preventing equipment from sliding, electronic equipment and medium Active CN110750420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910947936.8A CN110750420B (en) 2019-10-08 2019-10-08 Method and device for preventing equipment from sliding, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910947936.8A CN110750420B (en) 2019-10-08 2019-10-08 Method and device for preventing equipment from sliding, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN110750420A true CN110750420A (en) 2020-02-04
CN110750420B CN110750420B (en) 2023-07-21

Family

ID=69277718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910947936.8A Active CN110750420B (en) 2019-10-08 2019-10-08 Method and device for preventing equipment from sliding, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN110750420B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7059182B1 (en) * 2004-03-03 2006-06-13 Gary Dean Ragner Active impact protection system
CN101382559A (en) * 2008-09-04 2009-03-11 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and drop alarm method and device for objects
CN106716979A (en) * 2014-09-25 2017-05-24 瑞典爱立信有限公司 Mobile communications device with adaptive friction of the housing
CN106895880A (en) * 2017-03-29 2017-06-27 联想(北京)有限公司 Electronic equipment and the precarious position detection method for the electronic equipment
WO2018032707A1 (en) * 2016-08-16 2018-02-22 中兴通讯股份有限公司 Fall protection method for mobile terminal, fall protection device, and computer storage medium
CN107908311A (en) * 2017-11-15 2018-04-13 深圳天珑无线科技有限公司 Mobile terminal anti-slip method, mobile terminal and computer-readable recording medium
CN108174016A (en) * 2017-11-29 2018-06-15 努比亚技术有限公司 A kind of terminal shatter-resistant control method, terminal and computer readable storage medium
CN108983674A (en) * 2018-08-14 2018-12-11 珠海格力电器股份有限公司 control method and device of electric appliance
CN109428959A (en) * 2017-09-05 2019-03-05 中兴通讯股份有限公司 Mobile phone anti-skidding method and mobile phone shell

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7059182B1 (en) * 2004-03-03 2006-06-13 Gary Dean Ragner Active impact protection system
CN101382559A (en) * 2008-09-04 2009-03-11 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and drop alarm method and device for objects
CN106716979A (en) * 2014-09-25 2017-05-24 瑞典爱立信有限公司 Mobile communications device with adaptive friction of the housing
WO2018032707A1 (en) * 2016-08-16 2018-02-22 中兴通讯股份有限公司 Fall protection method for mobile terminal, fall protection device, and computer storage medium
CN106895880A (en) * 2017-03-29 2017-06-27 联想(北京)有限公司 Electronic equipment and the precarious position detection method for the electronic equipment
CN109428959A (en) * 2017-09-05 2019-03-05 中兴通讯股份有限公司 Mobile phone anti-skidding method and mobile phone shell
CN107908311A (en) * 2017-11-15 2018-04-13 深圳天珑无线科技有限公司 Mobile terminal anti-slip method, mobile terminal and computer-readable recording medium
CN108174016A (en) * 2017-11-29 2018-06-15 努比亚技术有限公司 A kind of terminal shatter-resistant control method, terminal and computer readable storage medium
CN108983674A (en) * 2018-08-14 2018-12-11 珠海格力电器股份有限公司 control method and device of electric appliance

Also Published As

Publication number Publication date
CN110750420B (en) 2023-07-21

Similar Documents

Publication Publication Date Title
CN110308956B (en) Application interface display method and device and mobile terminal
CN108803896B (en) Method, device, terminal and storage medium for controlling screen
CN108737897B (en) Video playing method, device, equipment and storage medium
CN109324739B (en) Virtual object control method, device, terminal and storage medium
CN110933452B (en) Method and device for displaying lovely face gift and storage medium
CN112965683A (en) Volume adjusting method and device, electronic equipment and medium
CN110956580B (en) Method, device, computer equipment and storage medium for changing face of image
CN110708630A (en) Method, device and equipment for controlling earphone and storage medium
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN110275655B (en) Lyric display method, device, equipment and storage medium
CN110152309B (en) Voice communication method, device, electronic equipment and storage medium
CN111158575B (en) Method, device and equipment for terminal to execute processing and storage medium
CN111881423B (en) Method, device and system for authorizing restricted function use
CN112015612B (en) Method and device for acquiring stuck information
CN111857938A (en) Management method and device of popup view, terminal and storage medium
CN110750420B (en) Method and device for preventing equipment from sliding, electronic equipment and medium
CN110764808B (en) Client upgrade detection method, device and computer readable storage medium
CN110941458B (en) Method, device, equipment and storage medium for starting application program
CN109561215B (en) Method, device, terminal and storage medium for controlling beautifying function
CN111158780B (en) Method, device, electronic equipment and medium for storing application data
CN114779920A (en) Whole vehicle window gesture control system based on biological recognition and control method thereof
CN108519913B (en) Application program running state management method and device, storage medium and terminal
CN112202966B (en) Communication information notification method and device and computer readable storage medium
CN108090438B (en) Fingerprint acquisition method and device
CN112732133A (en) Message processing method and device, electronic equipment and storage medium

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