CN114866640A - Touch panel failure communication method and related device - Google Patents

Touch panel failure communication method and related device Download PDF

Info

Publication number
CN114866640A
CN114866640A CN202210780797.6A CN202210780797A CN114866640A CN 114866640 A CN114866640 A CN 114866640A CN 202210780797 A CN202210780797 A CN 202210780797A CN 114866640 A CN114866640 A CN 114866640A
Authority
CN
China
Prior art keywords
terminal device
terminal equipment
touch panel
information
button
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
CN202210780797.6A
Other languages
Chinese (zh)
Other versions
CN114866640B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210780797.6A priority Critical patent/CN114866640B/en
Publication of CN114866640A publication Critical patent/CN114866640A/en
Application granted granted Critical
Publication of CN114866640B publication Critical patent/CN114866640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72418User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
    • H04M1/72421User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services with automatic activation of emergency service functions, e.g. upon sensing an alarm
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a touch panel failure communication method and a related device. The method comprises the following steps: the terminal equipment displays a first interface, wherein the first interface comprises a first button for adding a contact person; the terminal equipment receives a first operation on a first button; responding to the first operation, the terminal equipment displays a second interface, wherein the second interface comprises a first input frame, a second input frame and a second button; the terminal equipment receives first communication address information input by a user in a first input frame, receives first preset information input by the user in a second input frame, and receives the operation that the user triggers a second button to start a function of sending the position information; and when the terminal equipment detects that the touch panel fails, sending first preset information and position information of the terminal equipment to equipment corresponding to the first communication address information. Therefore, when the touch panel is damaged and cannot be used, the preset information and the position information can be sent to the equipment corresponding to the communication address information, and the current situation is informed to the preset contact person in time.

Description

Touch panel failure communication method and related device
Technical Field
The application relates to the technical field of terminals, in particular to a touch panel failure communication method and a related device.
Background
With the development of communication technology, the role of terminal equipment in daily life is more and more important.
Currently, a touch panel is disposed on a screen of a terminal device such as a mobile phone to receive a user operation.
However, the terminal device may be damaged due to a collision caused by improper use, and cannot receive the user operation, so that the user cannot get in contact with family, friends, and the like, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a touch panel failure communication method and a related device, which are applied to the technical field of terminals. When a touch panel in the terminal equipment is damaged and cannot be used, the terminal equipment can send position information and preset information to equipment corresponding to a preset contact person based on pre-stored information, and the current situation is informed in time.
In a first aspect, an embodiment of the present application provides a touch panel failure communication method. The method comprises the following steps: the terminal equipment displays a first interface, wherein the first interface comprises a first button for adding a contact person; the terminal equipment receives a first operation on a first button; responding to the first operation, the terminal equipment displays a second interface, wherein the second interface comprises a first input frame, a second input frame and a second button; the terminal equipment receives first communication address information input by a user in a first input frame, receives first preset information input by the user in a second input frame, and receives the operation that the user triggers a second button to start a function of sending the position information; and when the terminal equipment detects that a touch panel in the terminal equipment fails, sending first preset information and position information of the terminal equipment to equipment corresponding to the first communication address information.
In the embodiment of the present application, the first preset information may be understood as message content input by a user, pre-stored message content, and stored message content in the following. The first communication address information includes, but is not limited to: number, mailbox address, etc., and the first communication address information may be, for example, a preset contact number hereinafter. The first operation may be an operation such as clicking, touching, or the like, or an operation in which the user triggers the first button by voice. The embodiments of the present application do not limit this. The position information may be text information, position information of a map APP application, or a combination of the text information and the position information. The embodiments of the present application do not limit this.
Illustratively, the first interface may correspond to the interface shown in fig. 5D below, and the second interface may correspond to the interface shown in fig. 5E below. The first button may be an add contact control, the first input box may correspond to a number, the second input box may correspond to message content, and the second button may correspond to a synchronization position. The embodiment of the application is not limited in the form, the corresponding specific content and the like of the first interface, the second interface, the first button, the first input box, the second input box and the second button.
It can be understood that the terminal device may send the first preset information and the location information of the terminal device in the form of a short message through the number, or send the first preset information and the location information of the terminal device in the form of an email through the email address, which is not limited herein.
Therefore, when the touch panel is damaged and cannot be used, the preset information and the position information can be sent to the equipment corresponding to the communication address information, and the current situation is informed to the preset contact person in time.
Optionally, the second interface further includes a third button, and the method further includes: the terminal equipment receives a second operation on the third button; responding to the second operation, and displaying the communication address information of one or more contacts in the address list by the terminal equipment; the terminal equipment receives a third operation of second communication address information in the communication address information of one or more contacts; responding to the third operation, the terminal equipment displays a third input frame and a fourth button; the terminal equipment receives second preset information input by a user in a third input frame and receives the operation that the user triggers a fourth button to close the function of sending the position information; when the terminal device detects that the touch panel in the terminal device is out of order, the terminal device also sends second preset information to the device corresponding to the second communication address information, and does not send the position information of the terminal device.
Illustratively, the third button may be a contact control, infra.
In the embodiment of the present application, the second preset information may be understood as message content input by a user, pre-stored message content, and stored message content in the following. The second communication address information includes, but is not limited to: number, mailbox address, etc., and the second communication address information may be, for example, a preset contact number hereinafter. The second operation may be an operation such as clicking, touching, or the like, or an operation in which the user triggers the third button by voice. The embodiments of the present application do not limit this.
Therefore, when the touch panel is damaged and cannot be used, the preset information can be sent to the equipment corresponding to the communication address information, the position information is not sent, and the current situation is informed to the preset contact person in time. In addition, communication address information can be set through the contact information in the address list, a user does not need to input the communication address information again, and the like, so that the user operation is simplified; the inconvenience that the user does not remember the communication address information can be reduced, and the user experience is improved.
In a possible implementation manner, when the terminal device detects that the touch panel in the terminal device is out of order, the terminal device may correspondingly send preset information and/or position information to devices corresponding to the plurality of pieces of communication address information. The preset information sent by the device corresponding to the plurality of communication address information may be the same or different, and is not limited herein. The terminal equipment correspondingly sends the position information to the equipment corresponding to the partial communication address information, and does not send the position information to the equipment corresponding to the partial communication address information.
It can be understood that the terminal device can independently set the preset information corresponding to each communication address information and whether to start the function of sending the position information; preset information corresponding to a plurality of communication address information can be set in groups, and whether a position information sending function is started or not can be set; and the preset information corresponding to all the communication address information can be set simultaneously, and whether the function of sending the position information is started or not can be set. And are not limited herein.
Optionally, before the terminal device detects that the touch panel in the terminal device fails, the method includes: the terminal equipment receives the pressing operation; the terminal equipment detects whether the current corresponding to the electrode on the touch panel changes; when the current does not change, the terminal device detects that the touch panel is malfunctioning.
Therefore, the terminal device can determine whether the touch panel is out of order based on the pressing operation, and further send the preset information and/or the position information to the device corresponding to the communication address information when the touch panel is out of order.
Optionally, the detecting, by the terminal device, whether the current corresponding to the electrode on the touch panel changes includes: the terminal equipment records a plurality of current values of an electrode of the touch panel in the process of receiving the pressing operation; and the terminal equipment judges whether the current corresponding to the electrode on the touch panel changes according to the current values.
Optionally, before the terminal device detects whether the current corresponding to the electrode on the touch panel changes, the method further includes: the terminal equipment detects whether collision occurs; the step of detecting whether the current corresponding to the electrodes on the touch panel changes by the terminal device comprises the following steps: when the terminal equipment detects the collision moment, the terminal equipment detects whether the touch panel is out of order.
Therefore, the terminal equipment can detect whether the touch panel is out of order or not after collision occurs, the detection frequency of whether the touch panel is out of order or not is reduced, and the power consumption is reduced.
Optionally, before the terminal device detects whether the current corresponding to the electrode on the touch panel changes, the method further includes: the terminal equipment detects whether collision occurs; the step of detecting whether the current corresponding to the electrode on the touch panel changes by the terminal equipment comprises the following steps: when the duration between the time when the terminal device detects that the collision occurs and the time when the pressing operation is received is less than the duration threshold, the terminal device detects whether the touch panel is out of order.
The time length threshold may be 1 minute, may also be 5 minutes, and may also be any other value, which is not limited in this application embodiment.
Therefore, the terminal equipment can detect whether the touch panel is out of order or not after collision occurs, the detection frequency of whether the touch panel is out of order or not is reduced, and the power consumption is reduced.
In a possible implementation manner, after collision, the terminal device can detect whether the current corresponding to the electrode on the touch panel changes when receiving a pressing operation each time; or detecting whether the current corresponding to the electrode on the touch panel changes or not when the press operation is received for the previous N times; and detecting whether the current corresponding to the electrode on the touch panel changes or not when the pressing operation is received within the time threshold. Therefore, the detection frequency or detection time for detecting whether the touch panel fails after collision is limited, the condition of excessive detection frequency is further reduced, and the power consumption is reduced.
Optionally, the terminal device detects whether a collision occurs, including: when the terminal device is in the first time period
Figure 8782DEST_PATH_IMAGE001
Corresponding acceleration
Figure 161546DEST_PATH_IMAGE002
Greater than the first threshold and the terminal device is in the second time period
Figure 922829DEST_PATH_IMAGE003
Corresponding acceleration
Figure 498035DEST_PATH_IMAGE004
Less than the first threshold, the terminal device detects the occurrence of a collision,
Figure 661164DEST_PATH_IMAGE003
is composed of
Figure 781566DEST_PATH_IMAGE001
A period of time thereafter.
Optionally, the second interface further includes a fourth button; the terminal equipment receives a third operation aiming at the saving control; and responding to the third operation, saving the first communication address information, the first preset information and the state of the function of sending the position information to the database by the second button.
The third operation may be an operation such as clicking, touching, or the like, or an operation in which the user triggers the first button by voice. The embodiments of the present application do not limit this. The fourth button may correspond to a save control hereinafter.
Therefore, the terminal equipment can save the first communication address information, the first preset information and the state that the second button starts the function of sending the position information. When the touch panel is damaged and cannot be used, the touch panel can conveniently send preset information to equipment corresponding to the communication address information, position information is not sent, and the current situation is informed to the preset contact person in time.
In a possible implementation manner, the terminal device stores one or more pieces of communication address information, preset information corresponding to each piece of communication address information, and a state in which the second button corresponding to each piece of communication address information starts a function of sending the position information. And when the terminal equipment detects that the touch panel in the terminal equipment fails, sending corresponding preset information and the position information of the terminal equipment to equipment corresponding to each piece of communication address information.
Alternatively, the database includes, but is not limited to: database Room, network storage, SharedPreferences data storage, file storage, SQLite database, and data storage content provider provided by a third party.
Therefore, the terminal equipment can not clear the stored information such as the first communication address information, the first preset information, the state of the function of starting the position information sending by the second button and the like when being restarted, and the user does not need to input the information again.
In a second aspect, an embodiment of the present application provides a terminal device, which may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The terminal device may be a mobile phone (mobile phone), a smart tv, a wearable device, a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self-driving (self-driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and so on.
The terminal device includes: the method comprises the following steps: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored by the memory to cause the terminal device to perform the method of the first aspect.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium. The computer program when executed by a processor implements a method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed, causes a computer to perform the method of the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor, and the processor is configured to call a computer program in a memory to execute the method according to the first aspect.
It should be understood that the second aspect to the fifth aspect of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by the aspects and the corresponding possible implementations are similar and will not be described again.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a software structure of a terminal device according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating interaction between internal modules of a terminal device according to an embodiment of the present application;
fig. 5A is a schematic interface diagram of a terminal device according to an embodiment of the present application;
fig. 5B is a schematic interface diagram of a terminal device according to an embodiment of the present application;
fig. 5C is a schematic interface diagram of a terminal device according to an embodiment of the present application;
fig. 5D is a schematic interface diagram of a terminal device according to an embodiment of the present application;
fig. 5E is a schematic interface diagram of a terminal device according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a touch panel failure communication method according to an embodiment of the present disclosure;
fig. 7 is a flowchart illustrating a touch panel failure communication method according to an embodiment of the present disclosure.
Detailed Description
In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations for the purpose of clearly describing the technical solutions of the embodiments of the present application. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
It should be noted that "at … …" in the embodiment of the present application may be at the instant of a certain condition, or may be within a certain period of time after a certain condition occurs, and the embodiment of the present application is not particularly limited to this. In addition, the display interface provided by the embodiment of the application is only used as an example, and the display interface may further include more or less content.
With the development of mobile communication and the continuous improvement of living standard of people, various terminal devices such as mobile phones are more and more popular, and the mobile phones become indispensable communication tools in people's life.
At present, terminal equipment such as a mobile phone and the like is provided with a touch panel so as to receive pressing operation of a user on or near the touch panel, so that the friendliness of man-machine interface communication is improved, and the operation efficiency is improved.
However, when a terminal device (e.g., a mobile phone) is impacted by an external force (e.g., a collision, a fall, etc.), the touch panel may be damaged and unable to receive a pressing operation of a user on or near the touch panel, so that the user may not contact others through the terminal device, and the user may be lost.
It can be understood that if the touch panel in the terminal device is damaged, family, friends, etc. may not contact the user; for example, if a touch panel in a terminal device carried by a user when the user goes out for a trip is damaged, relatives and friends may not be able to contact the user and cannot know the user condition, so that the worry of relatives and friends about the user is increased, and the user experience is poor.
Based on this, the embodiment of the present application provides a communication method. When the terminal equipment is collided or falls off and the touch panel is damaged and cannot be used, the terminal equipment can send a short message containing position information and preset message content to a preset contact based on the prestored information, and the current situation is informed in time.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. The application scenario includes terminal device 101 and terminal device 102.
The terminal device 101 may be a terminal device having a communication function such as a mobile phone. The terminal device 102 may be a terminal device having a communication function, such as a cellular phone. The terminal device 101 may be the same type of terminal device as the terminal device 102, or may be different types of terminal devices, which is not limited in this embodiment of the present application.
If the terminal device 101 detects that a collision occurs and it is determined that the touch panel is malfunctioning based on the pressing operation of the user, the terminal device 101 may send the geographic location information of the terminal device 101, the pre-stored content, and the like to the terminal device 102 corresponding to the preset contact person in the form of a short message.
In a possible implementation manner, if the terminal device 101 is preset with a plurality of preset contacts, the terminal device 101 may send the geographical location information of the terminal device 101 and the pre-stored content to the terminal devices corresponding to the plurality of preset contacts. The prestored content can be 'the mobile phone is accidentally broken and cannot be contacted temporarily', and can also be 'the mobile phone is accidentally broken and can be contacted with me through XXX'. The embodiments of the present application do not limit this.
The embodiment of the application can be applied to terminal equipment with a communication function. A terminal device may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), etc. The terminal device may be a mobile phone (mobile phone), a smart tv, a wearable device, a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self-driving (self-driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and so on.
In order to better understand the embodiments of the present application, the following describes the structure of the terminal device according to the embodiments of the present application:
fig. 2 shows a schematic structural diagram of the terminal device 100. The terminal device may include: a Radio Frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180, a power supply 190, and a bluetooth module 1100. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 2 is not intended to be limiting of terminal devices and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following specifically describes each constituent component of the terminal device with reference to fig. 2:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 180; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, and Short Message Service (SMS).
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the terminal device by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, a boot loader (boot loader), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. It is understood that, in the embodiment of the present application, the memory 120 stores a program for the bluetooth device to connect back.
The input unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also referred to as a touch screen, may collect pressing operations of a user (e.g., operations of the user on the touch panel 131 or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by pressing operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 may be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by a user or information provided to the user and various menus of the terminal device. The display unit 140 may include a display panel 141, and optionally, the display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a pressing operation on or near the touch panel 131, the pressing operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in fig. 2, the touch panel 131 and the display panel 141 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the terminal device.
The terminal device may also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 141 or a backlight when the terminal device is moved to the ear. As one type of motion sensor, the acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the terminal device, and related functions (such as pedometer and tapping) for vibration recognition; the pressure sensor can detect the force of pressing operation and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, detailed description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between the user and the terminal device. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and outputs the audio data to the processor 180 for processing, and then transmits the audio data to, for example, another terminal device via the RF circuit 110, or outputs the audio data to the memory 120 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the terminal device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 2 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the terminal device. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
It is understood that, in the embodiment of the present application, the memory 120 stores a program for touch panel failure communication, and the processor 180 may be configured to call and execute the program for touch panel failure communication stored in the memory 120, so as to implement the method for touch panel failure communication in the embodiment of the present application.
The terminal device also includes a power supply 190 (e.g., a battery) for supplying power to the various components, and preferably, the power supply may be logically connected to the processor 180 via a power management system, so that functions such as managing charging, discharging, and power consumption may be performed via the power management system.
The bluetooth technology belongs to short distance wireless transmission technology, and terminal equipment can establish bluetooth connection with other terminal equipment that possess bluetooth module through bluetooth module 1100 to data transmission carries out based on the bluetooth communication link. The bluetooth module 1100 may be Bluetooth Low Energy (BLE) or a module according to actual needs. It can be understood that, in the case that the terminal device in the embodiment of the present application is a user terminal and a service tool, the terminal device includes a bluetooth module. It is to be understood that the bluetooth module does not belong to the essential constitution of the terminal device and may be omitted entirely as needed within the scope not changing the essence of the invention, for example, the bluetooth module may not be included in the server.
Although not shown, the terminal device further includes a camera. Optionally, the position of the camera on the terminal device may be front-located, or may also be rear-located, or may also be built-in (the camera body may be extended when in use), which is not limited in this embodiment of the present application.
Optionally, the terminal device may include a single camera, two cameras, three cameras, or the like, which is not limited in this embodiment of the present application. Cameras include, but are not limited to, wide angle cameras, tele cameras, or depth cameras, among others. For example, the terminal device may include three cameras, one being a main camera, one being a wide camera, and one being a tele camera.
Optionally, when the terminal device includes a plurality of cameras, the plurality of cameras may be all front-mounted, all rear-mounted, all built-in, at least partially front-mounted, at least partially rear-mounted, or at least partially built-in, and the like, which is not limited in this embodiment of the application.
Fig. 3 is a software architecture diagram of a terminal device according to an embodiment of the present application. As shown in fig. 3, the layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer (framework), an Android runtime (Android runtime) and system library, and a kernel layer (kernel), from top to bottom.
The application layer may include a series of application packages. As shown in fig. 3, the application packages may include camera, calendar, phone, map, phone, music, settings, mailbox, video, social, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 3, the application framework layer may include a window manager (window manager service), a content provider, a view system, a location service, a sending service (send message manager), a background service process (device detection service), a collision detection service (collision detection manager), a touch detection service (touch detection manager), and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, touch the screen, drag the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The location service can acquire the location of the terminal device in real time.
The sending service can read data from the database and send pre-stored message content to the device corresponding to the preset contact based on the acquired data.
In a possible implementation manner, the sending service may further obtain the location information of the terminal device from the location service, and send the location information to a device corresponding to the preset contact.
And the background service process is used for managing the service running in the background of the terminal equipment.
The collision detection service may allow the application to use the acceleration sensor, acquire a value of the acceleration sensor, calculate an acceleration of the terminal device, and determine whether a collision occurs based on the acceleration.
The touch detection service may allow the application program to use the pressure sensor and obtain a value of the pressure sensor, and when the value of the pressure sensor is greater than a pressure threshold, obtain a value of an electrode current in the touch panel to determine whether touch is failed.
The Android runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), databases, and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The layer composition module is used for providing a layer composition service, is responsible for providing a window for the application layer, and synthesizes all layers to a screen according to the specified position.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The database is used for storing data. In the embodiment of the application, the database is used for storing data such as related information of preset contacts, custom message content of screen fragmentation notification, and whether position information is reported or not. The related information of the preset contact includes but is not limited to: presetting contact names, presetting contact telephone numbers and the like.
The kernel layer is a layer between hardware and software. The core layer at least includes a Touch Panel (TP) driver, a display driver, a camera driver, an audio driver, and a sensor driver.
The following describes the workflow of the terminal device software and hardware by way of example in conjunction with the scene of terminal device interface switching.
When a touch sensor in the terminal device receives a pressing operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes the pressing operation into an original input event (including information such as touch coordinates, touch strength and time stamp of the pressing operation). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the example that the pressing operation is touch clicking operation and the control corresponding to the clicking operation is the control for setting the application icon, setting an interface for calling an application framework layer by the application, starting the setting application, starting the display driver by calling the kernel layer, and displaying a function interface of the setting application.
For convenience of understanding, the following describes an interaction process of the internal module of the terminal device in the touch panel failure communication method with reference to fig. 4. Illustratively, the terminal device includes: the method comprises the steps of setting an application, a database, a background service process, a collision detection module, a touch detection module, a sending module and a position module.
As shown in fig. 4, the interaction flow includes: s401, when the setting application of the terminal equipment receives the operation that the user clicks the control for starting the screen fragmentation notification, the terminal equipment calls a background service process to monitor a collision event.
S402, the background service process calls a collision detection module to monitor whether a collision event occurs.
And S403, the collision detection module acquires the value measured by the acceleration sensor and confirms the acceleration of the terminal equipment based on the value measured by the acceleration sensor and an acceleration algorithm.
It can be understood that the acceleration sensor in the terminal device may be a piezoelectric sensor, a piezoresistive sensor, or a capacitive sensor, and the embodiment of the present application is not limited to the type of the acceleration sensor.
S404, when the acceleration of the terminal equipment in the first time period is larger than a first threshold value and the acceleration in the second time period is smaller than the first threshold value, the collision detection module feeds back a collision event to the background service process.
In this embodiment of the application, the first threshold may be a gravitational acceleration, an empirical value obtained based on a crash test, or any other numerical value, which is not specifically limited in this embodiment of the application.
The first time period is earlier than the second time period. The duration of the first time period may be 200ms, or may be any other duration, and the duration of the second time period may be 200ms, or may be any other duration. The specific duration of the first time period, the specific duration of the second time period, and the like are not limited in the embodiments of the present application. The time interval between the starting time of the first time period and the starting time of the second time period may be 200ms, or may be any other time period. The time interval is not limited in the embodiments of the present application.
It should be noted that, when a collision occurs, the terminal device may receive a supporting force in the opposite falling direction, and the value of the acceleration detected by the acceleration sensor may change. Taking the process that the terminal device falls to the ground as an example, before the collision, the terminal device falls downwards, and the acceleration detected by the terminal device is the gravity acceleration
Figure 295724DEST_PATH_IMAGE005
(ii) a When the terminal device collides with the ground, the terminal device is supported upward, and the acceleration detected by the terminal device changes in value, possibly from the acceleration due to gravity
Figure 409043DEST_PATH_IMAGE005
Becomes 0. Other collision processes are similar to the falling process of the terminal device, and are not described in detail here.
Therefore, if the acceleration sensor is in the first time period
Figure 426677DEST_PATH_IMAGE006
Detecting an acceleration value of the terminal device of
Figure 983560DEST_PATH_IMAGE007
In the second time period
Figure 719435DEST_PATH_IMAGE003
The detected acceleration value is
Figure 902024DEST_PATH_IMAGE008
The first threshold value is
Figure 774165DEST_PATH_IMAGE009
. When in use
Figure 501949DEST_PATH_IMAGE010
And when the terminal equipment is in collision, the terminal equipment detects a collision event.
Alternatively to this, the first and second parts may,
Figure 725120DEST_PATH_IMAGE011
it is understood that the acceleration of the terminal device in the embodiment of the present application refers to the total acceleration of the terminal device, and is the sum of the corresponding accelerations of the terminal device in each direction. The acceleration sensor can measure the motion acceleration information in three axial directions, and the acceleration value of the acceleration sensor of the terminal equipment in the X axial direction is
Figure 180241DEST_PATH_IMAGE012
Acceleration value in the Y-axis direction of
Figure 172468DEST_PATH_IMAGE013
Acceleration in the Z-axis direction of
Figure 71154DEST_PATH_IMAGE014
For example, the acceleration of the terminal device satisfies:
Figure 516042DEST_PATH_IMAGE015
s405, when the background service process detects a collision event, the background service process calls a touch detection module to monitor whether the touch panel is out of order.
S406, the touch detection module obtains a value measured by the pressure sensor to obtain a pressure value.
S407, the touch detection module monitors whether the current corresponding to the electrode in the touch panel changes when the pressure value is greater than the second threshold. When the current does not change along with the pressure change, the touch detection module feeds back a message for indicating touch failure to the background service process.
The second threshold may be a preset maximum stress pressure threshold, and may correspond to any value, which is not specifically limited in this embodiment of the present application.
It is understood that, when the terminal device is collided, the terminal device may receive a pressing operation of the user on or near the touch panel to see whether the touch panel is damaged or not, and whether the terminal device can continue to receive and respond to the user operation or not.
It should be noted that, when a user touches an area above or near the touch panel in the terminal device, a pressure value applied to the touch panel corresponding to the pressing operation changes, and a current generated by an electrode corresponding to the touch panel may change. Therefore, the terminal device can further determine whether the touch panel is damaged by comparing the detected pressure value of the pressing operation of the user with the second threshold value, and determining whether the terminal device can be used or not by determining whether the electrodes on the touch panel generate current or not.
In a possible implementation, the terminal device is provided with a pressure sensor to detect a pressure corresponding to a pressing operation of the user, and the pressure sensor is connected with a processor of the terminal device. When the terminal device detects that the pressure value corresponding to the pressing operation is larger than the second threshold value, a signal is sent to the processor, and the processor detects the current change corresponding to the electrode on the touch panel. Illustratively, the terminal device records a plurality of current values of an electrode of the touch panel in the process of receiving a pressing operation; and the terminal equipment judges whether the current corresponding to the electrode on the touch panel changes according to the current values.
In a possible implementation, when the current is not zero, the touch panel does not malfunction. When the current is zero, the touch panel fails. Alternatively, it can be understood that if the current changes (e.g., changes from zero to an arbitrary value), it indicates that the touch panel is not malfunctioning; if the current does not change (e.g., the current value is zero), it indicates that the touch panel is malfunctioning.
Note that electrodes are provided at four corners of the touch panel of the terminal device. When a user presses and touches the screen, a small current is generated on the electrode, and the current corresponding to the electrode on the touch panel changes.
S408, the background service process calls the sending module after receiving the message for indicating the touch failure.
S409, the sending module obtains the relevant information and the message content of the preset contact from the database.
S410, the background service process also calls a position module to acquire position information.
S411, the sending module sends the message content and the position information to the terminal device corresponding to the preset contact.
It is understood that after S401 and before S409, the terminal device also performs S412 and S413.
S412, the setting application receives the operation of inputting the information by the user and receives the operation of saving the information by the user, and the terminal equipment calls the database to store the information input by the user.
The information entered includes, but is not limited to: presetting contact person information, message content, whether to acquire position information at the same time, and the like. The preset contact information includes but is not limited to: presetting contact names, presetting contact numbers and the like.
S413, the database stores information input by the user.
The database can be a nonvolatile database such as a local database, a Room, a network storage, a sharedpreference, a file storage data, an SQLite database, a ContentProvider, and the like, and can also be understood as a database stored for a long time.
Thus, the terminal device does not clear the information when restarting and does not need to be input again by the user.
In sum, the terminal device can send the preset message content to the preset contact person when the touch control is failed, so that the current situation of the preset contact person can be informed in time, the worry of the preset contact person about the situation that the user is disconnected is reduced, and the user experience is improved.
The following describes, with reference to fig. 5A to 5E, setting of preset contacts in the embodiment of the present application. For example, fig. 5A to fig. 5E are schematic interface diagrams of a terminal device according to an embodiment of the present application.
When the terminal device receives an operation of clicking the setting application 501 by the user at the main interface shown in fig. 5A, the terminal device enters the setting interface shown in fig. 5B. The setting interface includes: settings tab 502 and settings items, for example, settings items may include one or more of the following: system and update, notification, biometric identification and password, application, battery, storage, security, privacy, health use handset or other types of settings.
When the user triggers the screen-breaking notification control 503 in the setting interface shown in fig. 5B by clicking, touching, or the like, the terminal device receives the operation of setting the screen-breaking notification 503 by the user, and the terminal device enters the screen-breaking notification interface shown in fig. 5C. The screen-crushing notification interface includes: a screen-break notification tab and screen-break notification settings, for example, which may include one or more of the following: open a screensaver notification 504, advanced settings, or other type of screensaver notification setting item.
When the user opens the screen-break notification 504 by clicking, touching, or the like in the screen-break notification interface shown in fig. 5C, the terminal device receives the operation of opening the screen-break notification, and enters the interface shown in fig. 5D. The interface includes: open a screen splash notification, contact settings, advanced settings, or other type of screen splash notification setting item.
When the user adds the contact control 505 by clicking, touching or other operations in the screen-crushing notification interface shown in fig. 5D, the terminal device receives the operation of adding the contact, and enters the contact adding interface shown in fig. 5E. The add contact interface includes: name 506, number 507, sync location 508, message content 509, cancel control 510, save control 511.
When the terminal device receives the input operation of the user for the name 506, the number 507 and the message content 509 and receives the operation of the user for clicking the saving control 511, the terminal device sets and saves the name, the number, the message content and the like of the screen-crushing notification contact (preset contact). When the touch panel of the terminal device fails after collision, the terminal device can send the stored message content to the corresponding preset contact person.
It is understood that the message content 509 may or may not have default message content displayed therein, requiring user input. And are not limited herein. Similarly, the name 506 and the number 507 may also be displayed with default names and numbers, which is not limited in this embodiment.
It can be understood that the terminal device may set, through the synchronization position 508, to send the position information to the device of the corresponding preset contact when the touch panel fails after the terminal device collides, or not send the position information to the device of the corresponding preset contact. The terminal device may default to send the location information to the device of the preset contact person, or may default to not send the location information to the device of the preset contact person, which is not limited herein.
For example, by taking an example that the terminal device sends the location information to the corresponding preset contact by default, if the terminal device receives an operation of clicking the synchronization location 508 by the user before receiving an operation of clicking the saving control 511 by the user, the terminal device will not send the location information to the corresponding preset contact when the touch panel fails after the collision.
In a possible implementation manner, the contact adding interface shown in fig. 5E further includes a contact control 512, and the terminal device may further set names and numbers of preset contacts through the contact control 512.
For example, when the terminal device receives an operation of clicking the contact control 512 by the user, the terminal device may open a contact interface to display one or more contacts for the user to select. When the terminal equipment receives an operation that a user selects a contact person in the address list, the terminal equipment sets the name, the number and the like of a preset contact person on the basis of the name, the number and the like of the contact person.
Therefore, the preset contact can be set through the pre-stored contact information, the user does not need to input names, numbers and the like again, and the user operation is simplified; the inconvenience that the user does not remember the number can be reduced, and the user experience is improved.
It can be understood that the terminal device can independently set whether to synchronize the location information for each preset contact; or whether to synchronize the location information may be set for a plurality of preset contacts, which is not limited herein. In addition, in the embodiment, the terminal device sets whether to synchronize the position information in the contact person adding interface; the terminal device can also set whether to synchronize the position information on the screen-crushing notification interface, and the setting of the synchronizing position information is not limited in the embodiment of the application.
It can be understood that, after the terminal device stores the relevant information of the preset contact, the relevant information of the preset contact can be deleted or modified based on the control. This is not described in detail in the embodiments of the present application.
Fig. 6 is a schematic flowchart of a touch panel failure communication method according to an embodiment of the present disclosure. As shown in fig. 6, the method includes:
s601, receiving an input operation of a user by the terminal equipment; and responding to the input operation, and storing the information input by the user to the database.
In the embodiment of the application, the input operation can be clicking, touching and other operations; the input operation may also be an operation of a user voice input, and the embodiment of the present application is not limited to the input operation. The information entered by the user includes, but is not limited to: presetting relevant information of the contact, message content, information for indicating synchronous geographic position and the like. The related information of the preset contact includes but is not limited to: the name of the preset contact person, the telephone number of the preset contact person and the like. The message content may be "mobile phone damaged, please contact XXX in some cases", or "mobile phone damaged, temporarily unable to contact", and the embodiment of the present application does not limit the specific form of the message content.
It is understood that the database in the embodiment of the present application corresponds to a local storage (local storage). Not to session store. Therefore, the information cannot be cleared after the terminal equipment is restarted, and the user does not need to set the information again after the terminal equipment is restarted.
Alternatively, the database includes, but is not limited to: database, Room, network storage (which may be understood as uploading to network storage), SharedPreferences data storage (which may also be referred to as xml storage), file storage, SQLite database, third party provided data storage (content provider).
And S602, after detecting the collision, the terminal device detects the pressing operation of the user.
It is understood that the terminal device may detect whether the terminal device has a collision through the acceleration sensor.
It should be noted that, when a collision occurs, the terminal device may receive a supporting force in the opposite falling direction, and the value of the acceleration detected by the acceleration sensor may change. Taking the process that the terminal device falls to the ground as an example, before the collision, the terminal device falls downwards, and the acceleration detected by the terminal device is the gravity acceleration
Figure 774854DEST_PATH_IMAGE016
(ii) a When the terminal device collides with the ground, the terminal device is supported upward, and the acceleration detected by the terminal device changes in value, possibly from the acceleration due to gravity
Figure 887166DEST_PATH_IMAGE016
Becomes 0. Other by collisionThe process is similar to the dropping process of the terminal device, and is not described herein again.
Optionally, before detecting the pressing operation of the user, the method includes: the terminal equipment is in the first time period
Figure 691174DEST_PATH_IMAGE001
Corresponding acceleration
Figure 888937DEST_PATH_IMAGE017
Greater than the first threshold and the terminal device is in the second time period
Figure 685861DEST_PATH_IMAGE003
Corresponding acceleration
Figure 652680DEST_PATH_IMAGE018
Less than the first threshold, the terminal device detects the occurrence of a collision,
Figure 627589DEST_PATH_IMAGE003
is composed of
Figure 312648DEST_PATH_IMAGE001
A period of time thereafter.
The first threshold, the first time period, and the second time period may refer to the corresponding descriptions in fig. 4, and are not described herein again.
It can be understood that, after the terminal device is collided, the user may continue to respond to the touch by pressing to see whether the touch panel is damaged.
In a possible implementation, the terminal device detects the pressing operation by a pressure sensor. Specifically, when the terminal device detects that the pressure corresponding to the pressing operation is greater than the second threshold, the terminal device detects the pressing operation.
The second threshold may refer to the corresponding description in fig. 4, and is not described herein again.
S603, when the terminal device determines that the touch panel is out of order based on the pressing operation, the terminal device sends preset message content to the device corresponding to the preset contact.
In the embodiment of the application, the terminal device may send the preset message content to the device corresponding to the preset contact through a short message, and may also send the preset message content to the device corresponding to the preset contact through other forms, which is not limited herein.
It can be understood that the terminal device may further determine whether the touch panel is damaged or not by comparing the pressure value corresponding to the pressing operation of the user with the second threshold value and whether the electrode on the touch panel generates a current or not, and whether the touch panel can respond to the touch.
In a possible implementation, the terminal device is provided with a pressure sensor to detect a pressure corresponding to a pressing operation of the user, and the pressure sensor is connected with a processor of the terminal device. When the terminal device detects that the pressure value corresponding to the pressing operation is larger than the second threshold value, a signal is sent to the processor, and the processor detects the current change corresponding to the electrode on the touch panel. Illustratively, the terminal device records a plurality of current values of an electrode of the touch panel in the process of receiving a pressing operation; and the terminal equipment judges whether the current corresponding to the electrode on the touch panel changes according to the current values.
When the current is not zero, the touch panel does not malfunction. When the current is zero, the touch panel fails. Alternatively, it can be understood that if the current changes (e.g., changes from zero to an arbitrary value), it indicates that the touch panel is not malfunctioning; if the current does not change (for example, the current value is zero), it indicates that the touch panel is malfunctioning.
Note that electrodes are provided at four corners of the touch panel of the terminal device. When a user presses and touches the screen, a small current is generated on the electrode, and the current corresponding to the electrode on the touch panel changes.
Optionally, if the terminal device does not detect a current change corresponding to an electrode on the touch panel when the user touches the touch panel, the terminal device determines that the touch panel is malfunctioning based on the pressing operation.
It is understood that the terminal device may also determine that the touch panel is malfunctioning through other manners, which is not limited in the embodiment of the present application.
In conclusion, the terminal device can send the preset message content to the preset contact person when the terminal device is collided and the touch control is failed, so that the current situation of the preset contact person can be informed in time, the worry of the preset contact person about the situation that the user is lost is reduced, and the user experience is improved.
Optionally, when the terminal device determines that the touch panel is out of order based on the pressing operation, the terminal device sends the position information to the device corresponding to the preset contact.
The position information may be text information, position information of a map APP application, or a combination of the text information and the position information. The embodiments of the present application do not limit this.
Therefore, the preset contact person can confirm the geographical position of the user conveniently.
Optionally, one or more preset contacts are provided; and the terminal equipment sends the position information to part or all of the preset contacts.
In a first possible implementation manner, the terminal device may also send the location information to devices corresponding to all preset contacts.
In a possible implementation manner, the terminal device sends the location information to a part of the preset contacts. Adaptively, a part of the preset contacts correspondingly receive the position information, and the other part of the preset contacts do not correspondingly receive the position information.
Specifically, the terminal device may send the location information to the corresponding preset contact based on the information of the preset contact. Or it may be understood that the user may set whether to send location information for each preset contact. And the terminal equipment confirms whether to send the position information or not based on the information of the preset contact.
Therefore, the terminal equipment can send the position information in a targeted mode, and the risk of exposing the position information is reduced.
Fig. 7 is a schematic flowchart of a touch panel failure communication method according to an embodiment of the present disclosure. As shown in fig. 7, the method includes:
s701, adding preset contacts and message contents by the terminal equipment through the setting application.
S702, the terminal device sets synchronous position information and stores the synchronous position information in a database.
For the specific process of adding the preset contact and the message content and the process of setting the synchronization position information, reference may be made to the corresponding descriptions in fig. 5A to 5E, which are not described herein again.
And S703, the terminal equipment monitors whether the acceleration is larger than a first threshold value in real time.
In the embodiment of the present application, the first threshold and the process of monitoring the acceleration by the terminal device may refer to the corresponding descriptions in fig. 4 and fig. 6, which are not described herein again.
It is understood that when the acceleration is greater than the first threshold, the terminal device performs S704. When the acceleration is not greater than the first threshold, the terminal device continues to perform S703 to monitor whether there is a collision event.
S704, the terminal device monitors whether the pressure corresponding to the touch panel is larger than a second threshold value.
It is understood that when the pressure corresponding to the touch panel is greater than the second threshold, the terminal device executes S705. When the pressure corresponding to the touch panel is less than or equal to the second threshold, the terminal device continues to execute S704.
S705, whether the current corresponding to the electrode of the touch panel changes or not is detected.
When the current is not changed, the terminal device performs S706. When the current changes, the touch panel of the terminal device may continue to be used, and S703 is performed.
S706, the terminal equipment acquires the related information and the message content of the preset contact from the database.
The database, the related information of the preset contacts, the message content, and the like may refer to corresponding descriptions in fig. 4 and fig. 6, and are not described herein again.
And S707, the terminal equipment acquires the position information.
S708, the terminal device sends message content and/or position information to the device corresponding to the preset contact person based on the relevant information of the preset contact person.
It can be understood that the terminal device may send the message content and/or the location information in the form of a short message; the message content and/or the location information may also be sent in other forms, which are not described herein.
It is understood that the terminal device sends the message content and/or the location information to a corresponding device, or sends the message content and/or the location information to devices corresponding to a plurality of preset contacts.
In sum, the terminal device can send the preset message content to the preset contact person when the touch control is failed, so that the current situation of the preset contact person can be informed in time, the worry of the preset contact person about the situation that the user is disconnected is reduced, and the user experience is improved.
The touch panel malfunction communication method according to the embodiment of the present application has been described above, and the apparatus for performing the touch panel malfunction communication method according to the embodiment of the present application is described below. Those skilled in the art will appreciate that the methods and apparatus can be combined and referred to, and the related apparatus provided in the embodiments of the present application can perform the steps of the touch panel malfunction communication method described above.
The touch panel failure communication method provided by the embodiment of the application can be applied to electronic equipment with a communication function. The electronic device includes a terminal device, and the specific device form of the terminal device and the like may refer to the above description, which is not described herein again.
The embodiment of the application provides a terminal device, which comprises: the method comprises the following steps: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the method.
The embodiment of the application provides a chip. The chip comprises a processor for calling a computer program in a memory to execute the technical solution in the above embodiments. The implementation principle and technical effect are similar to those of the related embodiments, and are not described herein again.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium stores a computer program. The computer program realizes the above method when executed by a processor. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media may include computer storage media and communication media, and may include any medium that can communicate a computer program from one place to another. A storage medium may be any target medium that can be accessed by a computer.
In one possible implementation, the computer-readable medium may include RAM, ROM, a compact disk read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes disc, laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
Embodiments of the present application provide a computer program product comprising a computer program which, when executed, causes a computer to perform the above method.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above embodiments are only for illustrating the embodiments of the present invention and are not to be construed as limiting the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the embodiments of the present invention shall be included in the scope of the present invention.

Claims (10)

1. A touch panel failure communication method, comprising:
the method comprises the steps that terminal equipment displays a first interface, wherein the first interface comprises a first button used for adding a contact person;
the terminal equipment receives a first operation on the first button;
responding to the first operation, the terminal equipment displays a second interface, wherein the second interface comprises a first input box, a second input box and a second button;
the terminal equipment receives first communication address information input by a user in the first input box, receives first preset information input by the user in the second input box, and receives an operation that the user triggers the second button to start a position information sending function;
and when the terminal equipment detects that a touch panel in the terminal equipment fails, sending the first preset information and the position information of the terminal equipment to equipment corresponding to the first communication address information.
2. The method of claim 1, wherein the second interface further comprises a third button, the method further comprising:
the terminal equipment receives a second operation on the third button;
responding to the second operation, and displaying the communication address information of one or more contacts in the address list by the terminal equipment;
the terminal equipment receives a third operation of second communication address information in the communication address information of the one or more contacts;
responding to the third operation, the terminal equipment displays a third input frame and a fourth button;
the terminal equipment receives second preset information input by a user in the third input frame and receives the operation that the user triggers the fourth button to close the function of sending the position information;
when the terminal equipment detects that a touch panel in the terminal equipment is out of order, the terminal equipment also sends the second preset information to equipment corresponding to the second communication address information, and the position information of the terminal equipment is not sent.
3. The method according to claim 1 or 2, wherein the terminal device, before detecting a failure of a touch panel in the terminal device, comprises:
the terminal equipment receives a pressing operation;
the terminal equipment detects whether the current corresponding to the electrode on the touch panel changes;
when the current is unchanged, the terminal device detects that the touch panel is out of order.
4. The method according to claim 3, wherein the detecting, by the terminal device, whether the current corresponding to the electrode on the touch panel changes includes:
the terminal equipment records a plurality of current values of the electrode of the touch panel in the process of receiving the pressing operation;
and the terminal equipment judges whether the current corresponding to the electrodes on the touch panel changes according to the current values.
5. The method according to claim 3, wherein before the terminal device detects whether the current corresponding to the electrode on the touch panel changes, the method further comprises:
the terminal equipment detects whether collision occurs;
the terminal device detecting whether the current corresponding to the electrode on the touch panel changes includes: and when the duration between the moment when the terminal equipment detects that the collision occurs and the moment when the pressing operation is received is less than the duration threshold, the terminal equipment detects whether the touch panel fails.
6. The method of claim 5, wherein the terminal device detects whether a collision occurs, and comprises:
when the terminal equipment is in a first time period
Figure 658609DEST_PATH_IMAGE001
Corresponding acceleration
Figure 479934DEST_PATH_IMAGE002
Greater than the first threshold, and the terminal device is in the second time period
Figure 609433DEST_PATH_IMAGE003
Corresponding acceleration
Figure 516209DEST_PATH_IMAGE004
When the first threshold value is smaller than the second threshold value, the terminal equipment detects that the collision occurs, and the second threshold value is smaller than the first threshold value
Figure 405668DEST_PATH_IMAGE003
Is that it is
Figure 861926DEST_PATH_IMAGE001
A period of time thereafter.
7. The method of claim 1 or 2, wherein the second interface further comprises a fourth button;
the terminal equipment receives a third operation aiming at the fourth button;
and responding to the third operation, saving the first communication address information, the first preset information and the state of the function of sending the position information started by the second button to a database.
8. The method of claim 7, wherein the database includes, but is not limited to: database Room, network storage, SharedPreferences data storage, file storage, SQLite database, and data storage content provider provided by a third party.
9. A terminal device, comprising: a processor and a memory;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory to cause the terminal device to perform the method of any one of claims 1-8.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-8.
CN202210780797.6A 2022-07-05 2022-07-05 Touch panel failure communication method and related device Active CN114866640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210780797.6A CN114866640B (en) 2022-07-05 2022-07-05 Touch panel failure communication method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210780797.6A CN114866640B (en) 2022-07-05 2022-07-05 Touch panel failure communication method and related device

Publications (2)

Publication Number Publication Date
CN114866640A true CN114866640A (en) 2022-08-05
CN114866640B CN114866640B (en) 2022-12-27

Family

ID=82626190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210780797.6A Active CN114866640B (en) 2022-07-05 2022-07-05 Touch panel failure communication method and related device

Country Status (1)

Country Link
CN (1) CN114866640B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100136946A1 (en) * 2008-11-28 2010-06-03 Samsung Electronics Co. Ltd. Call origination method for full-touch screen portable terminal
CN101873395A (en) * 2009-04-27 2010-10-27 深圳富泰宏精密工业有限公司 Mobile phone and urgent help seeking method thereof
CN105430175A (en) * 2015-11-04 2016-03-23 上海斐讯数据通信技术有限公司 Emergency SOS system and method
CN106453781A (en) * 2016-10-18 2017-02-22 江西博瑞彤芸科技有限公司 Quick contact person information generation method
CN106487996A (en) * 2015-08-31 2017-03-08 小米科技有限责任公司 The emergency communication method of intelligent terminal and device
CN106534200A (en) * 2016-12-26 2017-03-22 维沃移动通信有限公司 Identity authentication method and mobile terminal
US20170163781A1 (en) * 2015-12-08 2017-06-08 Ram Ramesh Seshan User interface for contacts management and communication
CN106873854A (en) * 2017-01-20 2017-06-20 北京奇虎科技有限公司 Terminal and interface alternation control method, contact object creation method and device
CN107633666A (en) * 2017-09-13 2018-01-26 新丝绸之路科技有限公司 Alarm method, alarm processing method, electronic equipment and computer-readable storage medium
WO2018036554A1 (en) * 2016-08-25 2018-03-01 徐克� Apparatus fault detection system, and fault detection device
WO2019039880A1 (en) * 2017-08-23 2019-02-28 삼성전자 주식회사 Electronic device for processing touch event and method for controlling same
CN109981891A (en) * 2019-02-27 2019-07-05 维沃移动通信有限公司 A kind of terminal control method, device and terminal device
CN111382786A (en) * 2020-03-04 2020-07-07 中国工商银行股份有限公司 Fault processing method and device for equipment, computer system and storage medium
CN112333263A (en) * 2020-10-30 2021-02-05 平安信托有限责任公司 Screen capture processing method and device based on hypertext transfer protocol and storage medium
CN112583981A (en) * 2020-12-29 2021-03-30 华勤技术股份有限公司 Method and device for displaying screen after screen breaking

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100136946A1 (en) * 2008-11-28 2010-06-03 Samsung Electronics Co. Ltd. Call origination method for full-touch screen portable terminal
CN101873395A (en) * 2009-04-27 2010-10-27 深圳富泰宏精密工业有限公司 Mobile phone and urgent help seeking method thereof
CN106487996A (en) * 2015-08-31 2017-03-08 小米科技有限责任公司 The emergency communication method of intelligent terminal and device
CN105430175A (en) * 2015-11-04 2016-03-23 上海斐讯数据通信技术有限公司 Emergency SOS system and method
US20170163781A1 (en) * 2015-12-08 2017-06-08 Ram Ramesh Seshan User interface for contacts management and communication
WO2018036554A1 (en) * 2016-08-25 2018-03-01 徐克� Apparatus fault detection system, and fault detection device
CN106453781A (en) * 2016-10-18 2017-02-22 江西博瑞彤芸科技有限公司 Quick contact person information generation method
CN106534200A (en) * 2016-12-26 2017-03-22 维沃移动通信有限公司 Identity authentication method and mobile terminal
CN106873854A (en) * 2017-01-20 2017-06-20 北京奇虎科技有限公司 Terminal and interface alternation control method, contact object creation method and device
WO2019039880A1 (en) * 2017-08-23 2019-02-28 삼성전자 주식회사 Electronic device for processing touch event and method for controlling same
CN107633666A (en) * 2017-09-13 2018-01-26 新丝绸之路科技有限公司 Alarm method, alarm processing method, electronic equipment and computer-readable storage medium
CN109981891A (en) * 2019-02-27 2019-07-05 维沃移动通信有限公司 A kind of terminal control method, device and terminal device
CN111382786A (en) * 2020-03-04 2020-07-07 中国工商银行股份有限公司 Fault processing method and device for equipment, computer system and storage medium
CN112333263A (en) * 2020-10-30 2021-02-05 平安信托有限责任公司 Screen capture processing method and device based on hypertext transfer protocol and storage medium
CN112583981A (en) * 2020-12-29 2021-03-30 华勤技术股份有限公司 Method and device for displaying screen after screen breaking

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A. S. M. ZADID SHIFAT ET.AL: "A practical approach to microcontroller based smart phone operated robotic system at emergency rescue scheme", 《2014 9TH INTERNATIONAL FORUM ON STRATEGIC TECHNOLOGY (IFOST)》 *

Also Published As

Publication number Publication date
CN114866640B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN108932159B (en) Task management method and device
CN106921791B (en) Multimedia file storage and viewing method and device and mobile terminal
JP7414986B2 (en) Information display, transmission methods and electronic devices
US20160292946A1 (en) Method and apparatus for collecting statistics on network information
CN110673770B (en) Message display method and terminal equipment
CN106453597B (en) The method of adjustment of data synchronizing cycles, apparatus and system
CN108900407B (en) Method and device for managing session record and storage medium
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
CN111049980A (en) Application sharing method, electronic equipment and computer readable storage medium
CN109388456A (en) A kind of head portrait selection method and mobile terminal
CN110806826A (en) Information display method and device and electronic equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN111107223A (en) Message processing method and electronic equipment
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium
CN107992378B (en) A kind of document handling method and mobile terminal
CN111274463B (en) Information display method, device and storage medium based on IM contact person grouping setting
CN111163227B (en) Sharing method and electronic equipment
CN110719361B (en) Information transmission method, mobile terminal and storage medium
KR20150111834A (en) Mobile terminal and method for controlling the same
CN114866640B (en) Touch panel failure communication method and related device
CN115278139A (en) Video processing method and device, electronic equipment and storage medium
CN115390707A (en) Sharing processing method and device, electronic equipment and storage medium
CN113242171B (en) Method and related device for managing session messages
US11327845B2 (en) Image synchronization method and device, and server
CN110213441B (en) Voice control method, wearable device and computer-readable 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