CN112527145A - Request method, terminal device, request device and readable storage medium - Google Patents

Request method, terminal device, request device and readable storage medium Download PDF

Info

Publication number
CN112527145A
CN112527145A CN202011408759.5A CN202011408759A CN112527145A CN 112527145 A CN112527145 A CN 112527145A CN 202011408759 A CN202011408759 A CN 202011408759A CN 112527145 A CN112527145 A CN 112527145A
Authority
CN
China
Prior art keywords
request
pressure value
pressure
processor
terminal equipment
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.)
Pending
Application number
CN202011408759.5A
Other languages
Chinese (zh)
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.)
Chengdu Yanchuang Qixin Information Technology Co ltd
Original Assignee
Chengdu Yanchuang Qixin Information 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 Chengdu Yanchuang Qixin Information Technology Co ltd filed Critical Chengdu Yanchuang Qixin Information Technology Co ltd
Priority to CN202011408759.5A priority Critical patent/CN112527145A/en
Publication of CN112527145A publication Critical patent/CN112527145A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a request method, terminal equipment, a request device and a readable storage medium, and relates to the technical field of intelligent terminals. The pressure sensor is arranged in the frame of the shell of the terminal equipment, and the pressure value acquired by the pressure sensor is acquired in real time. And then judging whether the pressure value is in a preset pressure range, if so, initiating a request to a prestored object, and when a dangerous condition is met, initiating the request without taking out a terminal equipment observation screen to perform request operation on the terminal equipment, so that the convenience of using the terminal equipment is improved, and the personal safety of a user is guaranteed.

Description

Request method, terminal device, request device and readable storage medium
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a request method, terminal equipment, a request device and a readable storage medium.
Background
With the rapid development of the mobile internet, smart phones have gradually evolved more comprehensive functions, and nowadays, smart phones are embedded with more accurate sensors, which generally include an acceleration sensor, a gyroscope, a gravity sensor, a light sensor and the like, and various functions can be realized by using a multifunctional sensor in combination with a deep learning technology.
As smart phones have been developed, the development of touch screen technology and camera recognition technology has become more and more sophisticated, and the physical buttons on the smart phones have been changed from tedious operations to physical buttons without physical buttons or only a few key physical buttons are reserved. At present, when a user encounters a dangerous condition, the user needs to take out the mobile phone observation screen and perform alarm operation or call for help operation on the screen, but when the user encounters a condition that the mobile phone observation screen is inconvenient to take out, the problem that the call for help operation cannot be performed exists, so that the personal safety of the user cannot be guaranteed.
Disclosure of Invention
In view of the above, the present application provides a requesting method, a terminal device, a requesting apparatus and a readable storage medium to improve the above problems.
In a first aspect, the present application provides a request method, which is applied to a terminal device, where a pressure sensor is disposed in a frame of a housing of the terminal device, and the method includes:
acquiring a pressure value acquired by the pressure sensor in real time;
and judging whether the pressure value is in a preset pressure range, and if the pressure value is in the preset pressure range, initiating a request to a prestored object.
In an alternative embodiment, the method further comprises the step of obtaining a preset pressure range, the step comprising:
displaying a setting interface;
responding to an operation request sent by a user based on the setting interface, and entering a setting mode;
responding to at least one operation of a user on the pressure sensor in the setting mode, and obtaining at least one pressure value applied to the pressure sensor by the user;
and determining a preset pressure range according to all the pressure values, and storing the preset pressure range.
In an optional embodiment, the terminal device further includes a controller and a processor, and the controller is connected to the processor;
the step of judging whether the pressure value is in a preset pressure range, and if the pressure value is in the preset pressure range, initiating a request to a pre-stored object includes:
the controller judges whether the pressure value is in a preset pressure range or not, and if the pressure value is in the preset pressure range, the pressure value is sent to the processor;
the processor acquires a pre-stored object and initiates a request to the pre-stored object.
In an alternative embodiment, the step of the processor obtaining a pre-stored object and initiating a request to the pre-stored object includes:
the processor acquires geographic information of the position where the terminal equipment is located and prestored request information, wherein the request information comprises name, gender, blood type and age;
generating request text information based on the geographic information and the request information;
and sending the request text information to the pre-stored object to initiate a distress call request.
In an alternative embodiment, the step of the processor obtaining a pre-stored object and initiating a request to the pre-stored object includes:
the processor acquires geographic information of the position where the terminal equipment is located and prestored distress information, wherein the distress information comprises name, gender, blood type and age;
generating request voice information based on the geographic information and the distress information;
and initiating a communication request to the pre-stored object, and playing the request voice information to initiate the request.
In a second aspect, the present application provides a terminal device, where a pressure sensor is disposed in a frame of a housing of the terminal device;
the pressure sensor is used for collecting a pressure value and sending the pressure value to the terminal equipment;
the terminal equipment is used for acquiring the pressure value acquired by the pressure sensor in real time, judging whether the pressure value is in a preset pressure range or not, and if the pressure value is in the preset pressure range, initiating a request to a prestored object.
In an optional implementation manner, the terminal device is further configured to:
displaying a setting interface;
responding to an operation request sent by a user based on the setting interface, and entering a setting mode;
responding to at least one operation of a user on the pressure sensor in the setting mode, and obtaining at least one pressure value applied to the pressure sensor by the user;
and determining a preset pressure range according to all the pressure values, and storing the preset pressure range.
In an optional embodiment, the terminal device further includes a controller and a processor, and the controller is connected to the processor;
the controller is used for judging whether the pressure value is in a preset pressure range or not, and if the pressure value is in the preset pressure range, sending the pressure value to the processor;
the processor is used for acquiring a pre-stored object and initiating a request to the pre-stored object.
In a third aspect, the present application provides a request apparatus, which is applied to a terminal device, where a pressure sensor is disposed in a frame of a housing of the terminal device, and the apparatus includes:
the acquisition module is used for acquiring the pressure value acquired by the pressure sensor in real time;
and the distress calling module is used for judging whether the pressure value is in a preset pressure range or not, and if the pressure value is in the preset pressure range, initiating a request to a prestored object.
In a fourth aspect, the present application provides a readable storage medium storing a computer program which, when executed, implements the steps of the method of requesting as set forth in any one of the preceding embodiments.
The embodiment of the application provides a request method, terminal equipment, a request device and a readable storage medium. And then judging whether the pressure value is in a preset pressure range, if so, initiating a request to a prestored object, and when a dangerous condition is met, requesting operation is carried out on the terminal equipment without taking out a terminal equipment observation screen, so that the request can be initiated, the use convenience is improved, and the personal safety of a user is guaranteed.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, several embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a block diagram of a terminal device according to an embodiment of the present disclosure.
Fig. 2 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a request method according to an embodiment of the present application.
Fig. 4 is a functional block diagram of a requesting device according to an embodiment of the present disclosure.
Icon: 100-an electronic device; 110-a memory; 120-a processor; 130-a requesting device; 131-an acquisition module; 132-a distress module; 140-a communication unit; 150-housing bezel; 160-pressure sensor.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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, it need not be further defined and explained in subsequent figures.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
As introduced in the background art, with the rapid development of the mobile internet, smart phones have evolved more comprehensive functions, and nowadays, smart phones have embedded more accurate sensors, which generally include an acceleration sensor, a gyroscope, a gravity sensor, a light sensor, and the like, and various functions can be realized by using a multifunctional sensor in combination with a deep learning technology.
In consideration of complex environmental problems, the hardware configuration of the military mobile phone or the outdoor smart phone is more strict than that of the popular mobile phone (such as advanced sensing equipment, ultra-long standby mode and professional three-prevention function) and the traditional physical keys are still reserved instead of the touch screen.
However, as the smart phone is developed to the present, the touch screen technology and the camera recognition technology are developed more and more perfectly, the physical buttons on the smart phone are changed from complicated operations to physical buttons without physical keys or only a few key physical buttons are reserved. At present, when a user encounters a dangerous condition, the user needs to take out the mobile phone observation screen and perform alarm operation or call for help operation on the screen, but when the user encounters a condition that the mobile phone observation screen is inconvenient to take out, the problem that the call for help operation cannot be performed exists.
In view of this, embodiments of the present application provide a requesting method, a terminal device, a requesting apparatus, and a readable storage medium, in which a pressure sensor is disposed on a frame of a housing of a terminal device, for example, a mobile phone, so that when a user encounters an emergency situation, the user can call for help by directly pressing the pressure sensor without opening a screen of the mobile phone to perform a touch operation, thereby improving convenience in use and safety of the user.
It should be noted that the above prior art solutions have drawbacks that are the results of practical and careful study by the applicant, and therefore, the discovery process of the above problems and the solutions proposed by the following embodiments of the present application for the above problems should be the contributions of the applicant to the present application in the course of the present application.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the keys in the embodiments can be combined with each other without conflict.
Referring to fig. 1, in the present embodiment, a terminal device is provided, in which a pressure sensor 160 is disposed in a housing frame 150 of the terminal device.
The pressure sensor 160 is used for collecting a pressure value and sending the pressure value to the terminal equipment.
The terminal device is configured to obtain a pressure value acquired by the pressure sensor 160 in real time, determine whether the pressure value is within a preset pressure range, and initiate a request to a pre-stored object if the pressure value is within the preset pressure range.
The terminal device can be a smart phone, a smart watch, a tablet computer and other devices with processing functions. The preset objects can be telephone numbers, rescue platforms and the like.
For example, the terminal device may be a smart phone, and when the preset object is a phone number of a specific person, the pressure sensors 160 may be disposed on left and right sides of the housing frame 150 of the smart phone (only one side is shown in the figure, and the pressure sensor 160 is also disposed at a corresponding position on the other side), when the user needs assistance in an emergency situation, the left and right frames of the smart phone may be directly pressed without opening a screen, and when the pressure value is within a preset pressure range, the terminal device may directly initiate a request to the preset object to notify the specific person that the user is in the emergency situation.
At present, the pressure sensor is mainly applied to the fields of pressure cylinders, superchargers, gas-liquid pressure cylinders, gas-liquid superchargers, presses, compressors, air-conditioning refrigeration equipment and the like. If the pressure sensor is placed under a mattress, due to the high sensitivity of the pressure sensor, when a person turns over, beats, breaths and other related actions occur, the pressure sensor can collect a series of information, so that the processor can deduce what state the sleeping person sleeps in according to the information collected by the pressure sensor, analyze and obtain data of the sleeping such as the beat, the breathing rhythm and the like, finally process all the data into a first song, and compress the sleeping of the user into a first few minutes of music.
In the embodiment of the application, the pressure sensor 160 is arranged in the frame 150 of the shell of the terminal device, the pressure value applied by the user is acquired through the pressure sensor 160, when the pressure value is within the preset pressure range, the request is initiated to the pre-stored object without opening the screen of the terminal device, the relevant request operation performed by the user is responded, the request is directly initiated to the preset telephone number, the request operation is simplified, the efficiency of initiating the request is improved, and therefore the safety of the user is guaranteed.
Before obtaining the pressure value that pressure sensor 160 gathered, can also set for predetermined pressure range in advance, compare the pressure value of gathering in real time with predetermined pressure range, can effectively improve the mistake in the use and touch the condition.
As an alternative embodiment, a setup interface is displayed. And entering a setting mode in response to an operation request sent by a user based on the setting interface. At least one pressure value applied by the user to pressure sensor 160 is obtained in response to at least one operation of pressure sensor 160 by the user in the set mode. And determining a preset pressure range according to all the pressure values, and storing the preset pressure range.
Wherein, setting the interface may include setting a prompt statement, for example: "ask for whether to enter the setup mode? ". After the user makes an operation request for confirming entry into the setting mode, the setting mode is entered. After entering the setup mode, the setup interface may further display a prompt statement, for example: please press the pressure sensors 160 on both sides of the phone at the same time. And after receiving the pressure value collected by the pressure sensor 160, displaying a prompt statement of successful pressing, for example: "pressure value collection was successful".
As an alternative implementation, the terminal device may display the prompt statement only once: "please press the pressure sensors 160 at both ends of the mobile phone at the same time", the pressure value is obtained in response to the user's multiple operations on the pressure sensors 160 in the setting mode.
For example, the pressure sensor 160 includes a first sensor and a second sensor, the two sensors are respectively installed on two sides of the housing of the mobile phone, if the pressure value collected by the first sensor is a, and the pressure value collected by the second sensor is b, the upper limit of the preset pressure value range is a + b, and the lower limit of the preset pressure value range is | a-b |, that is, the preset pressure range may be determined to be (| a-b |, a + b) according to all the pressure values.
So, user's use habit can be pressed close to predetermined pressure value scope, and when the pressure value that pressure sensor 160 gathered all was in predetermined pressure range, just to the object initiation request of predetermineeing, the mistake that can effectively improve the touching in the normal use and lead to touches the problem.
As an optional implementation, the terminal device may display the prompt statement multiple times: "please press the pressure sensors 160 at both ends of the mobile phone at the same time", a plurality of pressure values are obtained in response to a plurality of operations performed on the pressure sensors 160 by the user in the setting mode.
For example, the pressure sensor 160 includes a first sensor and a second sensor, the two sensors are respectively installed on two sides of the housing of the mobile phone, if the pressure value acquired by the first sensor for the first time is a1, the pressure value acquired by the second sensor for the first time is b1, the pressure value acquired by the first sensor for the second time is a2, and the pressure value acquired by the second sensor is b2, the upper limit of the preset pressure value range is (a1+ b1+ a2+ b2)/2, the lower limit of the preset pressure value range is (| a1-b1| + | a2-b2|)/2, that is, the preset pressure range may be (| a1-b1| + | a2-b2|)/2, (a1+ b1+ a2+ b2)/2) determined according to all the pressure values.
So, this predetermined pressure value scope can more press close to user's use habit, and when the pressure value that pressure sensor 160 gathered all was in predetermined pressure range, just initiated the request to predetermined object, can further effectively improve the mistake that the touching in the normal use leads to and touch the problem.
Further, in an optional embodiment, the terminal device further includes a controller and a processor 120, and the controller is connected to the processor 120.
The controller is configured to determine whether the pressure value is within a preset pressure range, and send the pressure value to the processor 120 if the pressure value is within the preset pressure range.
The processor 120 is configured to retrieve a pre-stored object and initiate a request to the pre-stored object.
The controller may be a single chip microcomputer, such as a 51 single chip microcomputer, a 32 single chip microcomputer, and the like. The processor 120 may be a processor 120 of the terminal device itself, for example, the model of the processor 120 may be apple a14, kylin 9000, cellcell 865Plus, Exynos 990, and so on.
When the pressure value is within the preset pressure range, the controller sends the pressure value to the processor 120, so that the processor 120 starts subsequent processing actions, and the problem that other processing actions are delayed due to frequent calling of the processor 120 caused by false touch is avoided.
As an alternative embodiment, the processor 120 may obtain the pre-stored object and initiate a request to the pre-stored object by:
the processor 120 obtains geographic information of the location where the terminal device is located and pre-stored request information, wherein the request information includes name, gender, blood type and age.
And generating request text information based on the geographic information and the request information.
And sending the request text message to a prestored object to initiate a distress request.
The request information may include more information besides name, gender, blood type and age, such as historical disorders and commonly-encountered disorders.
For example, if the user of the terminal device is an elderly person who suffers from alzheimer's disease, the pre-stored object may include the mobile phone numbers of children. When the old people forget how to go home, the old people can press the pressure sensors 160 on both sides of the terminal device, and at this time, the processor 120 obtains the geographic information of the location where the terminal device is located and the pre-stored request information, and generates the request text information based on the geographic information and the request information, for example, if the geographic information is "B port of five-street subway in the heaven and mansion of high and new-rise district". The generated request text information may be: "I am at the place B of five-street subway in the heaven of the high and new area of Chengdu, please come to get home. And then, the text message is sent to the pre-stored mobile phone number of the child through a short message or any quick communication mode, so that the child can give help in time, and the safety of a user is guaranteed conveniently.
For another example, if the user of the terminal device is an elderly person who has alzheimer's disease, the pre-stored object may include a phone number of the rescue platform. The pre-stored request information may include names, contact addresses and home addresses of children.
When the old people forget how to go home, the old people can press the pressure sensors 160 on both sides of the terminal device, and at this time, the processor 120 obtains the geographic information of the location where the terminal device is located and the pre-stored request information, and generates the request text information based on the geographic information and the request information, for example, if the geographic information is "B port of five-street subway in the heaven and mansion of high and new-rise district". The generated request text information may be: "I am at the B-port of five prefectures of the prefecture of the high and new area of the Chengdu, my name is XXX, the age is XX, the contact way of my relatives is xxxxxxxxxxx, and the home address is xxxx, please help I go home. And then, the text information is sent to a prestored telephone number of the rescue platform in a short message or any quick communication mode, so that the rescue platform can discharge people for rescue after receiving the request information, and the safety of the user is guaranteed.
As another alternative, the processor 120 may further obtain a pre-stored object and initiate a request to the pre-stored object by:
the processor 120 obtains geographic information of a location where the terminal device is located and pre-stored distress information, wherein the distress information includes a name, a gender, a blood type and an age.
And generating request voice information based on the geographic information and the distress call information.
And initiating a call request to a prestored object, and playing request voice information to initiate the request.
Likewise, the request information may include more information such as historical and commonly encountered disorders, in addition to name, gender, blood type, and age.
For example, if the user of the terminal device is an elderly person who suffers from alzheimer's disease, the pre-stored object may include the mobile phone numbers of children. When the elderly forget how to go home, the pressure sensors 160 on both sides of the terminal device may be pressed, and at this time, the processor 120 acquires geographic information of a location where the terminal device is located and pre-stored request information, and generates request voice information based on the geographic information and the request information, for example, if the geographic information is "B port of five-street subway in the Tianfu of high and new-rise district in Chengdu province". The generated request voice information may be: "I am at the place B of five-street subway in the heaven of the high and new area of Chengdu, please come to get home. And then, the voice information initiates a call request to the pre-stored mobile phone number of the child through a telephone or any quick communication mode, and the voice information is played, so that the child can give help in time, and the safety of a user is ensured.
Referring to fig. 2, fig. 2 is a block diagram of an electronic device 100 according to an embodiment of the present disclosure. The apparatus may include a processor 120, a memory 110, a requesting device 130, and a communication unit 140, where the memory 110 stores machine-readable instructions executable by the processor 120, and when the electronic apparatus 100 operates, the processor 120 and the memory 110 communicate with each other through a bus, and the processor 120 executes the machine-readable instructions and performs the requesting method.
The electronic device 100 may be the terminal device described above.
The elements of the memory 110, the processor 120 and the communication unit 140 are electrically connected to each other directly or indirectly to realize the transmission or interaction of signals.
For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The requesting device 130 includes at least one software functional module that can be stored in the memory 110 in the form of software or firmware (firmware). The processor 120 is used to execute executable modules stored in the memory 110, such as software functional modules or computer programs included in the requesting device 130.
The Memory 110 may be, but is not limited to, a Random ACCeSS Memory 110 (RAM), a Read Only Memory 110 (ROM), a Programmable Read Only Memory 110 (PROM), an Erasable Read Only Memory 110 (EPROM), an electrically Erasable Read Only Memory 110 (EEPROM), and the like.
The processor 120 may be an integrated circuit chip having signal processing capabilities. The ProceSSor 120 may be a general-purpose ProceSSor 120, and includes a Central ProceSSing Unit 120 (CPU), a Network ProceSSor 120 (NP), and so on.
But may also be a digital signal processor 120(DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. The general purpose processor 120 may be a microprocessor 120 or the processor 120 may be any conventional processor 120 or the like.
In the embodiment of the present application, the memory 110 is used for storing a program, and the processor 120 is used for executing the program after receiving the execution instruction. The method defined by the process disclosed in any of the embodiments of the present application can be applied to the processor 120, or implemented by the processor 120.
The communication unit 140 is used to establish a communication connection between the electronic apparatus 100 and another electronic apparatus 100 via a network, and to transmit and receive data via the network.
In some embodiments, the network may be any type of wired or wireless network, or combination thereof. Merely by way of example, the Network may include a wired Network, a Wireless Network, a fiber optic Network, a telecommunications Network, an intranet, the internet, a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a Public Switched Telephone Network (PSTN), a bluetooth Network, a ZigBee Network, a Near Field Communication (NFC) Network, or the like, or any combination thereof.
In the embodiment of the present application, the electronic device 100 may be, but is not limited to, a smart phone, a personal computer, a tablet computer, or the like having a processing function.
It will be appreciated that the configuration shown in figure 1 is merely illustrative. Electronic device 100 may also have more or fewer components than shown in FIG. 1, or a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 3, fig. 3 is a flowchart illustrating a request method according to an embodiment of the present disclosure. The steps of the request method provided by the embodiment of the present application are explained in detail below based on the structural diagram of the electronic device 100 shown in fig. 2.
The application provides a request method, which is applied to terminal equipment, wherein a pressure sensor 160 is arranged in a shell frame 150 of the terminal equipment, and the method provided by the embodiment of the application comprises the following steps:
in step S1, the pressure value collected by the pressure sensor 160 is obtained in real time.
In step S2, it is determined whether the pressure value is within the preset pressure range. If the pressure value is within the preset pressure range, step S3 is executed, otherwise, step S1 is executed.
Step S3, a request is initiated to a pre-stored object.
In an alternative embodiment, the method further comprises the step of obtaining a preset pressure range, which may be implemented by:
and displaying a setting interface. And entering a setting mode in response to an operation request sent by a user based on the setting interface. At least one pressure value applied by the user to pressure sensor 160 is obtained in response to at least one operation of pressure sensor 160 by the user in the set mode. And determining a preset pressure range according to all the pressure values, and storing the preset pressure range.
In an alternative embodiment, the terminal device further includes a controller and a processor 120, and the controller is connected to the processor 120. Alternatively, step S2 may be implemented by:
the controller determines whether the pressure value is within a preset pressure range, and if the pressure value is within the preset pressure range, the pressure value is sent to the processor 120. The processor 120 retrieves a pre-stored object and initiates a request to the pre-stored object.
As an alternative embodiment, the processor 120 may obtain the pre-stored object and initiate a request to the pre-stored object by:
the processor 120 obtains geographic information of the location where the terminal device is located and pre-stored request information, wherein the request information includes name, gender, blood type and age.
And generating request text information based on the geographic information and the request information.
And sending the request text message to a prestored object to initiate a distress request.
As another alternative embodiment, the step of the processor 120 obtaining the pre-stored object and initiating the request to the pre-stored object includes:
the processor 120 obtains geographic information of a location where the terminal device is located and pre-stored distress information, wherein the distress information includes a name, a gender, a blood type and an age.
And generating request voice information based on the geographic information and the distress call information.
And initiating a call request to a prestored object, and playing request voice information to initiate the request.
Because the principle of the request method provided in the embodiment of the present application to solve the problem is similar to the explanation of the terminal device in the embodiment of the present application, the implementation principle of the method may refer to the implementation principle of the terminal device, and repeated details are not repeated.
Referring to fig. 4, fig. 4 is a block diagram of functional modules of a requesting device 130 according to an embodiment of the present disclosure. The embodiment of the present application further provides a requesting apparatus 130 corresponding to the requesting method shown in fig. 3, where the apparatus is applied to a terminal device, a pressure sensor 160 is disposed in a housing frame 150 of the terminal device, and the apparatus includes:
and the obtaining module 131 is configured to obtain the pressure value collected by the pressure sensor 160 in real time.
And the distress call module 132 is configured to determine whether the pressure value is within a preset pressure range, and initiate a request to a pre-stored object if the pressure value is within the preset pressure range.
Since the principle of the apparatus in the embodiment of the present application to solve the problem is similar to the request method, the terminal device, the request apparatus 130 and the readable storage medium in the embodiment of the present application, the implementation principle of the apparatus may refer to the implementation principle of the method, and repeated details are not repeated.
The embodiment of the present application also provides a readable storage medium, in which a computer program is stored, and when the computer program is executed, the steps of the above-mentioned request method are implemented.
In summary, the embodiment of the present application provides a requesting method, a terminal device, a requesting apparatus 130 and a readable storage medium, in which a pressure sensor 160 is disposed in a housing frame 150 of the terminal device, and a pressure value acquired by the pressure sensor 160 is obtained in real time. And then judging whether the pressure value is in a preset pressure range, if so, initiating a request to a prestored object, and when a dangerous condition is met, requesting operation is carried out on the terminal equipment without taking out a terminal equipment observation screen, so that the request can be initiated, the use convenience is improved, and the personal safety of a user is guaranteed.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A request method is characterized by being applied to terminal equipment, wherein a pressure sensor is arranged in a frame of a shell of the terminal equipment, and the method comprises the following steps:
acquiring a pressure value acquired by the pressure sensor in real time;
and judging whether the pressure value is in a preset pressure range, and if the pressure value is in the preset pressure range, initiating a request to a prestored object.
2. The method of claim 1, further comprising the step of obtaining a preset pressure range, the step comprising:
displaying a setting interface;
responding to an operation request sent by a user based on the setting interface, and entering a setting mode;
responding to at least one operation of a user on the pressure sensor in the setting mode, and obtaining at least one pressure value applied to the pressure sensor by the user;
and determining a preset pressure range according to all the pressure values, and storing the preset pressure range.
3. The requesting method according to claim 1, wherein the terminal device further comprises a controller and a processor, the controller being connected to the processor;
the step of judging whether the pressure value is in a preset pressure range, and if the pressure value is in the preset pressure range, initiating a request to a pre-stored object includes:
the controller judges whether the pressure value is in a preset pressure range or not, and if the pressure value is in the preset pressure range, the pressure value is sent to the processor;
the processor acquires a pre-stored object and initiates a request to the pre-stored object.
4. The method according to claim 3, wherein the step of the processor obtaining a pre-stored object and initiating a request to the pre-stored object comprises:
the processor acquires geographic information of the position where the terminal equipment is located and prestored request information, wherein the request information comprises name, gender, blood type and age;
generating request text information based on the geographic information and the request information;
and sending the request text information to the pre-stored object to initiate a distress call request.
5. The method according to claim 3 or 4, wherein the step of the processor obtaining a pre-stored object and initiating a request to the pre-stored object comprises:
the processor acquires geographic information of the position where the terminal equipment is located and prestored distress information, wherein the distress information comprises name, gender, blood type and age;
generating request voice information based on the geographic information and the distress information;
and initiating a communication request to the pre-stored object, and playing the request voice information to initiate the request.
6. The terminal equipment is characterized in that a pressure sensor is arranged in a frame of a shell of the terminal equipment;
the pressure sensor is used for collecting a pressure value and sending the pressure value to the terminal equipment;
the terminal equipment is used for acquiring the pressure value acquired by the pressure sensor in real time, judging whether the pressure value is in a preset pressure range or not, and if the pressure value is in the preset pressure range, initiating a request to a prestored object.
7. The terminal device of claim 6, wherein the terminal device is further configured to:
displaying a setting interface;
responding to an operation request sent by a user based on the setting interface, and entering a setting mode;
responding to at least one operation of a user on the pressure sensor in the setting mode, and obtaining at least one pressure value applied to the pressure sensor by the user;
and determining a preset pressure range according to all the pressure values, and storing the preset pressure range.
8. The terminal device according to claim 6, wherein the terminal device further comprises a controller and a processor, the controller being connected with the processor;
the controller is used for judging whether the pressure value is in a preset pressure range or not, and if the pressure value is in the preset pressure range, sending the pressure value to the processor;
the processor is used for acquiring a pre-stored object and initiating a request to the pre-stored object.
9. The utility model provides a request device which characterized in that is applied to terminal equipment, be provided with pressure sensor in terminal equipment's the shell frame, the device includes:
the acquisition module is used for acquiring the pressure value acquired by the pressure sensor in real time;
and the distress calling module is used for judging whether the pressure value is in a preset pressure range or not, and if the pressure value is in the preset pressure range, initiating a request to a prestored object.
10. A readable storage medium, characterized in that it stores a computer program which, when executed, implements the steps of the requesting method of any one of claims 1-5.
CN202011408759.5A 2020-12-04 2020-12-04 Request method, terminal device, request device and readable storage medium Pending CN112527145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011408759.5A CN112527145A (en) 2020-12-04 2020-12-04 Request method, terminal device, request device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011408759.5A CN112527145A (en) 2020-12-04 2020-12-04 Request method, terminal device, request device and readable storage medium

Publications (1)

Publication Number Publication Date
CN112527145A true CN112527145A (en) 2021-03-19

Family

ID=74997651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011408759.5A Pending CN112527145A (en) 2020-12-04 2020-12-04 Request method, terminal device, request device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112527145A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391639A (en) * 2014-12-18 2015-03-04 中科创达软件股份有限公司 Handheld terminal and control method thereof
CN104991641A (en) * 2015-06-17 2015-10-21 努比亚技术有限公司 Information processing method and device, and terminal
CN106506803A (en) * 2016-09-28 2017-03-15 广东小天才科技有限公司 A kind of control method of mobile device and mobile device
CN107302660A (en) * 2017-06-23 2017-10-27 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107508968A (en) * 2017-07-28 2017-12-22 珠海市魅族科技有限公司 A kind of recording method, device, computer installation and computer-readable recording medium
CN108566493A (en) * 2018-04-27 2018-09-21 Oppo广东移动通信有限公司 Method for sending information, device, storage medium and electronic equipment
CN109936650A (en) * 2019-03-11 2019-06-25 京东方科技集团股份有限公司 A kind of terminal device and terminal equipment control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104391639A (en) * 2014-12-18 2015-03-04 中科创达软件股份有限公司 Handheld terminal and control method thereof
CN104991641A (en) * 2015-06-17 2015-10-21 努比亚技术有限公司 Information processing method and device, and terminal
CN106506803A (en) * 2016-09-28 2017-03-15 广东小天才科技有限公司 A kind of control method of mobile device and mobile device
CN107302660A (en) * 2017-06-23 2017-10-27 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN107508968A (en) * 2017-07-28 2017-12-22 珠海市魅族科技有限公司 A kind of recording method, device, computer installation and computer-readable recording medium
CN108566493A (en) * 2018-04-27 2018-09-21 Oppo广东移动通信有限公司 Method for sending information, device, storage medium and electronic equipment
CN109936650A (en) * 2019-03-11 2019-06-25 京东方科技集团股份有限公司 A kind of terminal device and terminal equipment control method

Similar Documents

Publication Publication Date Title
WO2017156964A1 (en) Terminal unlocking method and terminal
CN106037702A (en) Biological information processing system, biological information processing device, terminal device, method for generating analysis result information, and biological information processing method
CN107427214A (en) Medical science bracelet standard
EP2012655A1 (en) Interactive patient monitoring system using speech recognition
JP6060442B2 (en) Sleep privilege grant system, sleep privilege grant server device, terminal device and sleep privilege grant program
TW201137795A (en) System and method for detecting baby sleeping
CN111510357A (en) Health state detection method, system and device, intelligent sound box and storage medium
JP5830488B2 (en) Health information management device, method and program
CN204910137U (en) Vehicle actuated control intelligence reminding device and intelligent robot based on types of facial makeup in beijing operas discernment
CN113646027B (en) Electronic device and method for providing information for decompression by the electronic device
WO2018123228A1 (en) Information processing system
JP2014036781A (en) Information processor, nurse call system, nurse call method and program
CN112527145A (en) Request method, terminal device, request device and readable storage medium
JP2005173930A (en) Electronic equipment and authentication method
WO2017175548A1 (en) Terminal device and information processing system
CN108837271B (en) Electronic device, output method of prompt message and related product
CN111000542B (en) Method and device for realizing body abnormity early warning based on intelligent medicine chest
CN117084668A (en) Drunk state evaluation method and device, storage medium and electronic equipment
JP7147317B2 (en) Terminal device, information processing method, and program
JP2016177830A (en) Information processing system, server device, information processing program, server device program
WO2020017300A1 (en) Terminal device, information processing method, and program
CN204909418U (en) Health detection device of vehicle actuated control warning that old man used
CN110084996A (en) Method for early warning, device, equipment and the readable storage medium storing program for executing of resident's abnormality
CN103356200A (en) Measuring apparatus and measuring system
CN108564766A (en) Intelligent control method and device, nursing system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210319

RJ01 Rejection of invention patent application after publication