Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of an embodiment of the detection method of a kind of curvature of terminal of the present invention.As shown in Figure 1, the method comprises the following steps:
Step S101, obtains the position of terminal signaling receiving terminal and signal transmitting terminal.
At the two ends of detected terminal difference signalization reflector and signal receiver, signal projector transmits to signal receiver at signal transmitting terminal, and signal receiver is at signal receiving end Received signal strength.At the initial time bent terminal, by measuring or carrying out calculation of parameter to the received signal, the position of signal receiving end and signal transmitting terminal can be obtained, namely obtain the initial distance between two ends.
Step S102, detects the signal from described signal transmitting terminal that described signal receiving end receives, and determines the current distance of described signal receiving end and signal transmitting terminal according to the described signal detected.
When detected terminal is bent, detection signal receiving terminal receives the signal from signal transmitting terminal constantly or in setting-up time interval, as the intensity, size, direction etc. of detection signal, according to the signal detected, determine the current distance of signal receiving end and signal transmitting terminal.
Step S103, according to position and the described current distance determined of described terminal signaling receiving terminal and signal transmitting terminal, calculates the flexibility of described terminal.
Due to the action that every meter of flexibility is bending in every meter of length, according to the initial distance between the position of terminal signaling receiving terminal and signal transmitting terminal and two ends, and the current distance between the two ends determined, by calculating, the current flexibility of terminal namely can be obtained.
According to the detection method of the curvature of terminal that the embodiment of the present invention provides, by obtaining the signal being arranged on the signal transmitting terminal in flexible terminal and launching to signal receiving end, the current distance of signal transmitting terminal and signal receiving end can be calculated, thus the flexibility of terminal can be obtained easily.
Fig. 2 is the flow chart of another embodiment of the detection method of a kind of curvature of terminal of the present invention.As shown in Figure 2, the method comprises the following steps:
Step S201, obtains the position of terminal signaling receiving terminal and signal transmitting terminal.
At the two ends of detected terminal difference signalization reflector and signal receiver, the end of terminal or specific position are preferably selected in the position at two ends, signal projector transmits to signal receiver at signal transmitting terminal, signal receiver is at signal receiving end Received signal strength, such as, can be bluetooth or infrared signal at signal.At the initial time bent terminal, calculated by intensity to the received signal, the position of signal receiving end and signal transmitting terminal can be obtained, namely obtain the initial distance between two ends.
Step S202, detects the intensity of the signal from described signal transmitting terminal that described signal receiving end receives.
When detected terminal is bent, detection signal receiving terminal receives the intensity from the signal of signal transmitting terminal constantly or in setting-up time interval.
Step S203, according to the intensity of the described signal detected, calculates the current distance of described signal receiving end and signal transmitting terminal.
Such as bluetooth or infrared signal, according to its signal strength signal intensity, directly can calculate the current distance of signal receiving end and signal transmitting terminal.
Step S204, according to position and the described current distance determined of described terminal signaling receiving terminal and signal transmitting terminal, calculates the flexibility of described terminal.
Due to the action that every meter of flexibility is bending in every meter of length, according to the initial distance between the position of terminal signaling receiving terminal and signal transmitting terminal and two ends, and the current distance between the two ends determined, by calculating, the current flexibility of terminal namely can be obtained.
Being bent into example with terminal screen, as shown in Figure 3 a, is terminal screen side schematic view under normal circumstances.Arrange reflector A and receiver B respectively at the two ends of terminal screen, receiver B can receive the signal that reflector A launches, and this signal can be bluetooth or the signal such as infrared.Terminal screen is bent, and the terminal screen after bending as shown in Figure 3 b.When terminal screen starts bending, receiver B receives the signal that reflector A launches, because the signal launched all has certain intensity, this signal is received in certain time interval, according to the signal strength signal intensity received in this time interval, the current distance at detected terminal two ends can be calculated.According to the initial distance of reflector A and receiver B, and the current distance calculated, the flexibility that detected terminal is current can be determined.
Step S205, when the flexibility of described terminal is greater than setting threshold, output alarm signal.
Pre-set the setting threshold of flexibility, when the flexibility of detected terminal is greater than this setting threshold, represents that this detected terminal can not be bent again, otherwise have the possibility of damage, to user's output alarm signal.This alarm signal can be at least one in voice signal, vibration signal and light signal.
According to the detection method of the curvature of terminal that the embodiment of the present invention provides, by obtaining the signal being arranged on the signal transmitting terminal in flexible terminal and launching to signal receiving end, the current distance of signal transmitting terminal and signal receiving end can be calculated, thus the flexibility of terminal can be obtained easily; And when flexibility exceeds setting threshold, provide alarm signal to user, with timely reminding user, avoid damaging terminal.
Fig. 4 is the structural representation of an embodiment of a kind of terminal of the present invention.As shown in Figure 4, this terminal 1000 comprises:
Acquiring unit 11, for obtaining the position of terminal signaling receiving terminal and signal transmitting terminal.
At the two ends of detected terminal difference signalization reflector and signal receiver, signal projector transmits to signal receiver at signal transmitting terminal, and signal receiver is at signal receiving end Received signal strength.At the initial time bent terminal, by measuring or carrying out calculation of parameter to the received signal, acquiring unit 11 can obtain the position of signal receiving end and signal transmitting terminal, namely obtains the initial distance between two ends.
Detecting unit 12, for detecting the signal from described signal transmitting terminal that described signal receiving end receives.
Determining unit 13, the signal for detecting described in basis determines the current distance of described signal receiving end and signal transmitting terminal.
When detected terminal is bent, constantly or in setting-up time interval the reception of detection signal receiving terminal is from the signal of signal transmitting terminal for detecting unit 12, and determining unit 13, according to the signal detected, determines the current distance of signal receiving end and signal transmitting terminal.
Computing unit 14, for according to the position of described terminal signaling receiving terminal and signal transmitting terminal and the described current distance determined, calculates the flexibility of described terminal.
Due to the action that every meter of flexibility is bending in every meter of length, computing unit 14 is according to the initial distance between the position of terminal signaling receiving terminal and signal transmitting terminal and two ends, and the current distance between the two ends determined, by calculating, the current flexibility of terminal namely can be obtained.
According to the terminal that the embodiment of the present invention provides, by obtaining the signal being arranged on the signal transmitting terminal in flexible terminal and launching to signal receiving end, the current distance of signal transmitting terminal and signal receiving end can be calculated, thus the flexibility of terminal can be obtained easily.
Fig. 5 is the structural representation of another embodiment of a kind of terminal of the present invention.As shown in Figure 5, this terminal 2000 comprises:
Acquiring unit 21, for obtaining the position of terminal signaling receiving terminal and signal transmitting terminal.
At the two ends of detected terminal difference signalization reflector and signal receiver, the end of terminal or specific position are preferably selected in the position at two ends, signal projector transmits to signal receiver at signal transmitting terminal, signal receiver is at signal receiving end Received signal strength, such as, can be bluetooth or infrared signal at signal.At the initial time bent terminal, calculated by intensity to the received signal, acquiring unit 21 can obtain the position of signal receiving end and signal transmitting terminal, namely obtains the initial distance between two ends.
Detecting unit 22, for detecting the intensity of the signal from described signal transmitting terminal that described signal receiving end receives.
When detected terminal is bent, detecting unit 22 detection signal receiving terminal constantly or in setting-up time interval receives the intensity from the signal of signal transmitting terminal.
Determining unit 23, for the intensity of signal detected described in basis, calculates the current distance of described signal receiving end and signal transmitting terminal.
Such as bluetooth or infrared signal, determining unit 23, according to its signal strength signal intensity, directly can calculate the current distance of signal receiving end and signal transmitting terminal.
Computing unit 24, for according to the position of described terminal signaling receiving terminal and signal transmitting terminal and the described current distance determined, calculates the flexibility of described terminal.
Due to the action that every meter of flexibility is bending in every meter of length, computing unit 24 is according to the initial distance between the position of terminal signaling receiving terminal and signal transmitting terminal and two ends, and the current distance between the two ends determined, by calculating, the current flexibility of terminal namely can be obtained.
Being bent into example with terminal screen, as shown in Figure 3 a, is terminal screen side schematic view under normal circumstances.Arrange reflector A and receiver B respectively at the two ends of terminal screen, receiver B can receive the signal that reflector A launches, and this signal can be bluetooth or the signal such as infrared.Terminal screen is bent, and the terminal screen after bending as shown in Figure 3 b.When terminal screen starts bending, receiver B receives the signal that reflector A launches, because the signal launched all has certain intensity, this signal is received in certain time interval, according to the signal strength signal intensity received in this time interval, the current distance at detected terminal two ends can be calculated.According to the initial distance of reflector A and receiver B, and the current distance calculated, the flexibility that detected terminal is current can be determined.
Alarm unit 25, for when the flexibility of described terminal is greater than setting threshold, output alarm signal.
Pre-set the setting threshold of flexibility, when the flexibility of detected terminal is greater than this setting threshold, represent that this detected terminal can not be bent again, otherwise have the possibility of damage, alarm unit 25 is to user's output alarm signal.This alarm signal can be at least one in voice signal, vibration signal and light signal.
According to the terminal that the embodiment of the present invention provides, by obtaining the signal being arranged on the signal transmitting terminal in flexible terminal and launching to signal receiving end, the current distance of signal transmitting terminal and signal receiving end can be calculated, thus the flexibility of terminal can be obtained easily; And when flexibility exceeds setting threshold, provide alarm signal to user, with timely reminding user, avoid damaging terminal.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention device or unit can carry out merging, divide and deleting according to actual needs.
Module described in the embodiment of the present invention or unit, can universal integrated circuit, such as CPU(CentralProcessingUnit be passed through, central processing unit), or by ASIC(ApplicationSpecificIntegratedCircuit, application-specific integrated circuit (ASIC)) realize.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.