Control method, intelligent terminal and storage medium

Through the signal detection of optical detection components and detection parts, the problem of inaccurate rotation angle measurement of smart terminals is solved, high-accuracy and low-cost rotation angle detection is achieved, and the user experience is improved.

CN118740975APending Publication Date: 2024-10-01SHANGHAI TRANSSION CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410720312.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing methods for detecting the rotation angle of smart terminals, such as 3D linear magnetic sensors and dual gyroscope methods, are susceptible to interference from the external environment and are costly. They are also easy to accidentally touch when shaking violently, resulting in inaccurate measurements.

Method used

Optical detection components and detection parts are used to detect signals through the light-transmitting part between the transmitter and the receiver, calculate the movement parameters and rotation angle of the smart terminal body, avoid complex algorithm processing, and reduce accidental touches when the phone shakes violently.

Benefits of technology

It improves the accuracy of intelligent terminal rotation angle measurement, reduces interference to the external environment, reduces costs and the need for complex algorithms, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740975A_ABST
    Figure CN118740975A_ABST
Patent Text Reader

Abstract

The invention provides a control method, an intelligent terminal and a storage medium. The control method comprises the following steps: acquiring a receiving signal of a receiver; and the relative rotation angle of the first main body and the second main body is determined or generated according to the received signal of the receiver. According to the technical scheme, complicated algorithm processing is not needed, the accuracy of measurement of the rotation angles of the first main body and the second main body is improved, the problem of mistaken touch when the mobile phone violently shakes is avoided, and then the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of intelligent terminals, and in particular to a control method, an intelligent terminal and a storage medium. Background Art

[0002] At present, the commonly used displacement measurement solutions on smart terminals are 3D linear magnetic encoder method or dual gyroscope method. Among them, the method of combining 3D linear magnetic sensor with magnet is to place the 3D linear magnetic sensor and magnet on two objects with changing relative displacement. When the two objects are relatively displaced, the magnetic field strength detected by the 3D linear magnetic sensor will change, and the displacement between the two is calculated by the changing relationship between the displacement and the magnetic field strength. The dual gyroscope method is to place a gyroscope device on each of the two parts of the opening and closing of the smart terminal. When the smart terminal is opened and closed, the angle value of the opening and closing of the mobile phone is calculated by detecting the difference in data received by the two gyroscopes.

[0003] In the process of conceiving and implementing this application, the inventors found that there are at least the following problems: The 3D linear magnetic sensor solution is easily interfered by the external environment due to the complex electromagnetic environment and the use of metal materials in smart terminals, which can easily lead to inaccurate displacement detection. The dual gyroscope solution requires the use of two gyroscopes, so the device cost is relatively high and occupies more motherboard area. This solution requires more complex software algorithms to be used in conjunction, and there will be problems with false touches when the smart terminal shakes violently.

[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the invention

[0005] In response to the above technical problems, the present application proposes a control method, a smart terminal and a storage medium, aiming to solve the problem of difficulty in detecting the rotation angle of existing smart terminals.

[0006] A control method proposed in the present application can be applied to an intelligent terminal, wherein the intelligent terminal comprises a first main body and a second main body that are movably connected, an optical detection component and a detection member, wherein the optical detection component is arranged on the first main body, and the optical detection component comprises a transmitter and a receiver that are arranged oppositely; the detection member is connected to the second main body, and the detection member comprises a detection section extending between the transmitter and the receiver, and the detection section is formed with at least two light-transmitting portions spaced apart along its length direction; the control method comprises the steps of:

[0007] Step S100: obtaining a received signal of the receiver;

[0008] Step S200: Determine or generate movement parameters of the first body and the second body according to the received signal of the receiver.

[0009] Optionally, the step S200 includes:

[0010] determining or generating a displacement of the detection member according to a received signal of the receiver;

[0011] The movement parameters of the first body and the second body are determined or generated according to the displacement of the detection member.

[0012] Optionally, determining or generating the displacement of the detection member according to the received signal of the receiver includes:

[0013] determining or generating the number of received signals;

[0014] The displacement amount of the detection member is determined or generated according to the number of the received signals.

[0015] Optionally, the first body and the second body are rotatably connected;

[0016] The step S200 further includes:

[0017] The relative rotation angle between the first body and the second body is determined or generated according to the displacement of the detection member.

[0018] Optionally, the first body and the second body are rotatably connected;

[0019] The step S200 further includes:

[0020] Obtaining a table of relationships between the number of received signals and rotation angles;

[0021] The rotation angle value corresponding to the current number of received signals is determined according to the relationship table.

[0022] Optionally, after step S200, the method further includes:

[0023] When the relative rotation angle between the first body and the second body reaches a preset angle, a corresponding control strategy is executed.

[0024] Optionally, the control strategy includes at least one of a UI interface, opening software, and enabling functions.

[0025] The present application also provides an intelligent terminal, comprising:

[0026] A first body and a second body that are movably connected;

[0027] An optical detection assembly, arranged on the first body, the optical detection assembly comprising a transmitter and a receiver arranged opposite to each other;

[0028] A detection member connected to the second body, the detection member comprising a detection section extending between the transmitter and the receiver, the detection section being formed with at least two light-transmitting portions spaced apart along its length direction; and,

[0029] The control device is electrically connected to the optical detection component and is used to determine or generate movement parameters of the first body and the second body according to the received signal of the receiver.

[0030] Optionally, the control device includes a memory, a processor, and a control program of an intelligent terminal stored in the memory, and the steps of the above method are implemented when the computer program is executed by the processor.

[0031] Optionally, the optical detection component includes a photoelectric switch; and / or,

[0032] The detection member is provided with at least two through holes, and the through holes form the light-transmitting portion.

[0033] Optionally, the first body includes a first screen assembly, the second body includes a second screen assembly, and the first screen assembly and the second screen assembly are rotatably connected.

[0034] The present application also provides a storage medium, on which a control program is stored. When the control program is executed by a processor, the steps of the above method are implemented.

[0035] Through the technical solution of the present application, when the first body and the second body move relative to each other, the detection element moves accordingly, the light-transmitting portion of the detection section moves between the transmitter and the receiver, and the receiver generates a signal. At this time, the movement parameters of the first body and the second body are determined or generated according to the received signal of the receiver. Compared with the 3D linear magnetic sensor solution, it is not easily affected by the external environment. Compared with the dual gyroscope solution, it does not require complex algorithm processing, and there will be no problem of false touch when the mobile phone shakes violently. The accuracy of measuring the rotation angle of the first body and the second body is improved, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.

[0037] Figure 1 A schematic diagram of the hardware structure of a smart terminal for implementing each embodiment of the present application;

[0038] Figure 2 A communication network system architecture diagram provided for an embodiment of the present application;

[0039] Figure 3 is a flow chart of a control method according to the first embodiment;

[0040] Figure 4 is a flow chart of a control method according to the second embodiment;

[0041] Figure 5 is a flow chart of a control method according to a third embodiment;

[0042] Figure 6 is a flow chart of a control method according to a fourth embodiment;

[0043] Figure 7 is a flow chart of a control method according to a fifth embodiment;

[0044] Figure 8 A schematic diagram of the structure of an embodiment of a smart terminal provided by the present application;

[0045] Fig. 9 for Figure 8 A schematic diagram of the expanded structure of the intelligent terminal in FIG.

[0046] Fig.10 for Figure 8 A schematic diagram of the closed structure of the intelligent terminal in FIG.

[0047] Description of Figure Numbers:

[0048]

[0049] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. The above-mentioned drawings have shown clear embodiments of this application, which will be described in more detail later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0050] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0051] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0052] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate that there are the described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or", "and / or", "including at least one of the following" etc. used in this application can be interpreted as inclusive, or mean any one or any combination. For example, “comprising at least one of the following: A, B, C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”, and for another example, “A, B or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. An exception to this definition will only occur when a combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.

[0053] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0054] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0055] It should be noted that, in this article, step codes such as S100, S200, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S200 first and then S100, etc., but these should all be within the scope of protection of this application.

[0056] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0058] The intelligent terminal may be implemented in various forms. For example, the intelligent terminal described in the present application may include intelligent terminals such as mobile phones, tablet computers, laptop computers, PDAs, portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers.

[0059] The following description will be made by taking a mobile terminal as an example, and those skilled in the art will understand that, in addition to components specifically used for mobile purposes, the construction according to the embodiments of the present application can also be applied to fixed-type terminals.

[0060] See also Figure 1 , which is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present application, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, A / V (audio / video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components. Those skilled in the art can understand that Figure 1 The structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal. The mobile terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0061] Combine the following Figure 1 The following is a detailed introduction to the various components of the mobile terminal:

[0062] The radio frequency unit 101 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving the downlink information of the base station, it is sent to the processor 110 for processing; in addition, the uplink data is sent to the base station. Generally, the radio frequency unit 101 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through wireless communication. The above-mentioned wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communications), GPRS (Generic Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplex-Long Term Evolution), TDD-LTE (Time Division Duplex-Long Term Evolution), and the like. ion, time-division duplex long-term evolution), 5G and 6G, etc.

[0063] WiFi is a short-range wireless transmission technology. Mobile terminals can help users send and receive emails, browse web pages, and access streaming media through WiFi module 102. It provides users with wireless broadband Internet access. Figure 1 The WiFi module 102 is shown, but it is understandable that it is not an essential component of the mobile terminal and can be omitted as required without changing the essence of the invention.

[0064] The audio output unit 103 can convert the audio data received by the RF unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output it as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, etc. Moreover, the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, etc.

[0065] The A / V input unit 104 is used to receive audio or video signals. The A / V input unit 104 may include a graphics processor (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a telephone call mode, a recording mode, a voice recognition mode, and other operating modes, and can process such sound into audio data. The processed audio (voice) data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 can implement various types of noise elimination (or suppression) algorithms to eliminate (or suppress) noise or interference generated in the process of receiving and sending audio signals.

[0066] The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Optionally, the light sensor includes an ambient light sensor and a proximity sensor. Optionally, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the mobile terminal 100 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured on the mobile phone, such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0067] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0068] The user input unit 107 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the mobile terminal. Optionally, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 1071 or near the touch panel 1071 using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a pre-set program. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Optionally, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 110, and can receive and execute the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may further include other input devices 1072. Optionally, the other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, etc., which are not specifically limited here.

[0069] Optionally, the touch panel 1071 may cover the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits the information to the processor 110 to determine the type of touch event. Then, the processor 110 provides corresponding visual output on the display panel 1061 according to the type of touch event. Figure 1 In the figure, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the mobile terminal. However, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to implement the input and output functions of the mobile terminal, which is not limited here.

[0070] The interface unit 108 serves as an interface through which at least one external device can be connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.

[0071] The memory 109 can be used to store software programs and various data. The memory 109 can mainly include a program storage area and a data storage area. Optionally, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 109 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0072] The processor 110 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It executes various functions of the mobile terminal and processes data by running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor. Optionally, the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 110.

[0073] The mobile terminal 100 may also include a power supply 111 (such as a battery) for supplying power to various components. Preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system.

[0074] although Figure 1 Not shown, the mobile terminal 100 may further include a Bluetooth module, etc., which will not be described in detail here.

[0075] In order to facilitate understanding of the embodiments of the present application, the communication network system on which the mobile terminal of the present application is based is described below.

[0076] See also Figure 2 , Figure 2 A communication network system architecture diagram is provided for an embodiment of the present application, wherein the communication network system is an LTE system of universal mobile communication technology, and the LTE system includes a UE (User Equ i pment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203 and an operator's IP service 204, which are connected in sequence for communication.

[0077] Optionally, UE201 may be the above-mentioned terminal 100, which will not be described in detail here.

[0078] E-UTRAN 202 includes eNodeB 2021 and other eNodeBs 2022, etc. Optionally, eNodeB 2021 may be connected to other eNodeBs 2022 via a backhaul (eg, an X2 interface), and eNodeB 2021 is connected to EPC 203, and eNodeB 2021 may provide UE 201 with access to EPC 203.

[0079] EPC203 may include MME (Mobi l ity Management Entity) 2031, HSS (Home Subscriber Server) 2032, other MME 2033, SGW (Serving GateWay) 2034, PGW (PDN Gate Way) 2035 and PCRF (Pol icy and Charging Rules Function) 2036, etc. Optionally, MME 2031 is a control node for processing signaling between UE 201 and EPC 203, providing bearer and connection management. HSS 2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information such as service features and data rates. All user data can be sent through SGW2034, PGW2035 can provide IP address allocation and other functions for UE 201, PCRF2036 is the policy and charging control policy decision point for service data flow and IP bearer resources, which selects and provides available policy and charging control decisions for the policy and charging execution function unit (not shown in the figure).

[0080] The IP service 204 may include the Internet, an intranet, an IMS (IP Multimedia Subsystem) or other IP services.

[0081] Although the above introduction takes the LTE system as an example, those skilled in the art should know that the present application is not only applicable to the LTE system, but also to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, 5G and future new network systems (such as 6G), etc., without limitation here.

[0082] Based on the above-mentioned mobile terminal hardware structure and communication network system, various embodiments of the present application are proposed.

[0083] First embodiment

[0084] Reference Figure 3 , Figure 3 It is a flow chart of the control method according to the first embodiment. The control method of the embodiment of the present application can be applied to a smart terminal (such as a mobile phone). The smart terminal includes a first body 300 and a second body 600, an optical detection component 400 and a detection member 500, which are movably connected. The optical detection component 400 is arranged on the first body 300, and the optical detection component 400 includes a transmitter and a receiver arranged relatively; the detection member 500 is connected to the second body 600, and the detection member 500 includes a detection section extending between the transmitter and the receiver, and at least two light-transmitting portions 510 are formed on the detection section and are spaced apart along the length direction thereof, and the steps are included:

[0085] S100: Acquire a received signal of a receiver;

[0086] Optionally, the specific implementation form of the optical detection component 400 is not limited, and it can be a photoelectric switch, or an optical sensor, etc., which is not limited here. Taking the optical detection component 400 as a photoelectric switch as an example, when the first body 300 and the second body 600 move relative to each other, the detection element 500 moves accordingly, and at least two light-transmitting parts 510 move between the transmitter and the receiver of the photoelectric switch. When the light-transmitting part 510 moves between the transmitter and the receiver and the photoelectric switch is turned on, the receiver will receive a pulse signal. With the movement of at least two light-transmitting parts 510, the receiver can receive at least two pulse signals.

[0087] S200: Determine or generate movement parameters of the first body 300 and the second body 600 according to the received signal of the receiver.

[0088] Optionally, the specific form of the movement parameter is not limited. When the first body 300 and the second body 600 can slide, the sliding displacement of the two can be used. When the first body 300 and the second body 600 can rotate relative to each other, the rotation angle of the two can be used, etc., which is not limited here.

[0089] The method of determining or generating the movement parameters of the first body 300 and the second body 600 according to the received signal of the receiver is not limited. For example, the received signal of the receiver is timed, and then the displacement of the detection member 500 is calculated according to the length of time, and then the activity of the first body 300 and the second body 600 is converted. It can also be directly in the form of formulating a relationship table. Take the activity as the rotation angle as an example, and the optical detection member 500 as a photoelectric switch. For example, the conduction time of the photoelectric switch is 10 seconds, and the corresponding rotation angle is 30°. The rotation angles corresponding to different conduction times are recorded respectively, and then the rotation angle is correspondingly found according to the conduction time of the photoelectric switch, so as to determine or generate the movement parameters of the first body 300 and the second body 600. It can also be counted according to the number of received signals of the receiver. The movement parameters of the first body 300 and the second body 600 are calculated. Taking the movement parameter as the rotation angle as an example, similarly, a relationship table between the number of received signals and the rotation angle can be set, and the rotation angles corresponding to different numbers of received signals can be recorded respectively. Then, according to the conduction time of the photoelectric switch, the corresponding rotation angle is found out. It is assumed that the expansion angle is calibrated at intervals of 5°. When the expansion angle is 5°, the number of received signals recorded by the system is a1, when the expansion angle is 10°, the number of received signals recorded by the system is a2, and when the expansion angle is 15°, the number of received signals recorded is a3, and so on. When the mobile phone is flattened, that is, 180°, the number of received signals recorded by the system is a36. In this way, a table of angles and corresponding recorded pulse numbers can be obtained, and the rotation angle can be obtained by directly looking up the table according to the number of received signals.

[0090] Of course, the displacement of the detection member 500 may be determined or generated according to the number of received signals of the receiver, and the rotation angle between the first body 300 and the second body 600 may be calculated according to the displacement of the detection member 500, and this is not limited here.

[0091] Through the technical solution of this embodiment, when the first body 300 and the second body 600 move relative to each other, the detection member 500 moves accordingly, the light-transmitting portion 510 of the detection segment moves between the transmitter and the receiver, and the receiver generates a signal. At this time, the movement parameters of the first body 300 and the second body 600 are determined or generated according to the received signal of the receiver. Compared with the 3D linear magnetic sensor solution, it is not easily affected by the external environment. Compared with the dual gyroscope solution, it does not require complex algorithm processing. When the smart terminal shakes violently, there will be no false touch problems, which improves the accuracy of measuring the rotation angle of the first body 300 and the second body 600, thereby improving the user experience.

[0092] Second embodiment

[0093] See also Figure 4 , Figure 4 is a flow chart of a control method according to a second embodiment. The second embodiment:

[0094] The specific implementation of step S200 is not limited. Considering that the method of directly specifying the relationship table requires multiple experiments and increases the storage burden, in this embodiment, step S200 includes:

[0095] Step S210: determining or generating the displacement of the detection member 500 according to the received signal of the receiver;

[0096] It should be noted that the detection member 500 and the second body 600 are fixedly connected. Therefore, when the second body 600 moves relative to the first body 300, the detection member 500 will also move accordingly. The displacement of the detection member 500 is related to the movement parameters of the first body 300 and the second body 600. After the displacement of the detection member 500 is obtained, the movement parameters of the first body 300 and the second body 600 can also be calculated accordingly.

[0097] The specific implementation form of step S210 is not limited, and the displacement of the detection member 500 may be calculated according to the length of time, or may be calculated according to the number of received signals, etc., which is not limited here.

[0098] Step S220 : determining or generating movement parameters of the first body 300 and the second body 600 according to the displacement of the detection member 500 .

[0099] The specific implementation form of step S220 is not limited. When the first body 300 and the second body 600 can slide, the activity amount corresponds to the relative displacement between the first body 300 and the second body 600. At this time, the displacement of the detection member 500 can be directly equal to the relative displacement between the first body 300 and the second body 600. When the first body 300 and the second body 600 rotate relative to each other, when the activity amount is the rotation angle, the rotation angle and the displacement amount can be calibrated, that is, the rotation angle can be reversely calculated through the calculated displacement amount.

[0100] In the technical solution of the present embodiment, by introducing the displacement of the detection member 500 into the calculation of the movement parameters of the first body 300 and the second body 600, on the one hand, there is no need to construct a relationship table between the received signal and the movement parameters between the two bodies, thereby avoiding multiple experiments; on the other hand, the optical detection component 400 no longer directly detects the activity of the first body 300 and the second body 600, but detects the detection member 500 instead, thereby avoiding external interference and making the detection more accurate.

[0101] Third embodiment

[0102] See also Figure 5 , Figure 5 is a flow chart of the control method according to the third embodiment; the specific implementation of step S200 is not limited. Considering that the rate at which the user moves the first body 300 and the second body 600 is not constant, the result of determining the activity amount by using the conduction time length method may not be accurate. In this regard, step S210 includes:

[0103] determining or generating a quantity of received signals;

[0104] Since at least two light-transmitting portions 510 are provided, the receiver will receive at least two receiving signals during the relative movement of the first body 300 and the second body 600 .

[0105] The displacement amount of the detection member 500 is determined or generated according to the number of received signals.

[0106] Optionally, if the spacing between the light-transmitting portions 510 on the detection member 500 is a, since the number of received signals of the mobile optical detection assembly 400 of the detection member 500 is n, the displacement of the detection member 500, that is, the displacement generated by the object, is S=a*n.

[0107] In the technical solution of this embodiment, the displacement of the detection member 500 is directly obtained by the number of received signals. Therefore, the calculation result is no longer affected by the activity rate of the first body 300 and the second body 600, so that the detection result is more accurate.

[0108] Fourth embodiment

[0109] See also Figure 6 , Figure 6 is a flow chart of a control method according to a fourth embodiment;

[0110] Currently, foldable screen mobile phones are widely used. In order to detect the unfolding angle of the mobile phone, different UI interfaces or functions can be set according to different unfolding angles in the software. For this, the first body 300 and the second body 600 are rotatably connected;

[0111] Step S200 also includes:

[0112] The relative rotation angle between the first body 300 and the second body 600 is determined or generated according to the displacement of the detection member 500 .

[0113] Optionally, the rotation angle and the displacement can be calibrated, that is, the rotation angle can be reversely calculated through the calculated displacement. Assuming that the unfolding angle is calibrated at intervals of 5°, when the unfolding angle is 5°, the corresponding displacement of the detection component 500 is b1, when the unfolding angle is 10°, the corresponding displacement of the detection component 500 is b2, and when the unfolding angle is 15°, the corresponding displacement of the detection component 500 is b3, and so on. When the mobile phone is flattened, that is, 180°, the number of received signals recorded by the system is b36. In this way, a table of angles and displacements of the detection component 500 can be obtained, and the rotation angle can be obtained by directly looking up the table according to the displacement of the detection component 500.

[0114] In the technical solution of this embodiment, by determining or generating the relative rotation angle of the first body 300 and the second body 600 according to the displacement of the detection member 500, the rotation angle of the first body 300 and the second body 600 can be accurately detected. Compared with the 3D linear magnetic sensor solution, it is not easily disturbed by the external environment. Compared with the dual gyroscope solution, it does not require complex algorithm processing, and there will be no false touch problems when the mobile phone shakes violently. The accuracy of the rotation angle measurement of the first body 300 and the second body 600 is improved, thereby improving the user experience.

[0115] Fifth embodiment

[0116] See also Figure 7 , Figure 7 is a flowchart of a control method according to a fifth embodiment;

[0117] At the same time, the current folding screen mobile phones are widely used. In order to detect the unfolding angle of the mobile phone, different UI interfaces or functions can be set according to different unfolding angles in the software. For this, the first body 300 and the second body 600 are rotatably connected;

[0118] Step S200 includes:

[0119] Obtain a table of the relationship between the number of received signals and the rotation angle;

[0120] The rotation angle value corresponding to the number of currently received signals is determined according to the relationship table.

[0121] Assume that the unfolding angle is calibrated at intervals of 5°, when the unfolding angle is 5°, the number of received signals recorded by the system is a1, when the unfolding angle is 10°, the number of received signals recorded by the system is a2, when the unfolding angle is 15°, the number of received signals recorded is a3, and so on. When the phone is flattened, that is, 180°, the number of received signals recorded by the system is a36. In this way, a table of angles and corresponding numbers of recorded pulses can be obtained, and the rotation angle can be obtained by directly looking up the table according to the number of received signals.

[0122] In this embodiment, the rotation angle is determined or generated by looking up a table, thereby omitting complex algorithm steps and reducing hardware requirements.

[0123] Sixth embodiment

[0124] When the rotation angle between the first body 300 and the second body 600 is accurately acquired, different interfaces or functions can be displayed to the user according to the rotation angle, thereby improving the user experience.

[0125] In this regard, after step S200, the following steps are further included:

[0126] When the relative rotation angle between the first body 300 and the second body 600 reaches a preset angle, a corresponding control strategy is executed.

[0127] Optionally, the size of the preset angle is not limited, and can be any angle, such as 5°, 30°, 90°, etc. The preset angle can be set to one or at least two, which is not limited here. The specific implementation form of the control strategy is not limited, and can include at least one of a UI interface, opening software, and enabling functions. For example, when the relative rotation angle between the first body 300 and the second body 600 reaches 10°, a certain UI interface is opened, when the relative rotation angle between the first body 300 and the second body 600 reaches 20°, the software is opened, and the function is enabled when the relative rotation angle between the first body 300 and the second body 600 reaches 90°, and the control strategy can be set in advance or set by the user, which is not limited here.

[0128] In the technical solution of this embodiment, by setting up the detection member 500, the rotation angle between the first body 300 and the second body 600 can be obtained more accurately. After the user rotates the first body 300 and the second body 600 relative to each other by a preset angle, the corresponding control strategy can be pushed, thereby improving the user experience.

[0129] Seventh embodiment

[0130] See also Figures 8 to 10 The embodiment of the present application also provides an intelligent terminal, including a first body 300 and a second body 600 that are movably connected, an optical detection component 400, a detection member 500 and a control device, wherein the optical detection component 400 is arranged on the first body 300, and the optical detection component 400 includes a transmitter and a receiver that are relatively arranged; the detection member 500 is connected to the second body 600, and the detection member 500 includes a detection section extending between the transmitter and the receiver, and at least two light-transmitting portions 510 are formed on the detection section and are spaced apart along the length direction thereof. The control device is electrically connected to the optical detection component 400, and is used to determine or generate movement parameters of the first body 300 and the second body 600 according to the receiving signal of the receiver.

[0131] In the technical solution of this embodiment, when the first body 300 and the second body 600 move relative to each other, the detection piece 500 moves accordingly, and the light-transmitting portion 510 of the detection section moves between the transmitter and the receiver, and the receiver generates a signal. At this time, the movement parameters of the first body 300 and the second body 600 are determined or generated according to the received signal of the receiver. Compared with the 3D linear magnetic sensor solution, it is not easily affected by the external environment. Compared with the dual gyroscope solution, it does not require complex algorithm processing, and there will be no false touch when the mobile phone shakes violently. The accuracy of measuring the rotation angle of the first body 300 and the second body 600 is improved, thereby improving the user experience.

[0132] The control device includes a memory and a processor. The memory stores a control program of the intelligent terminal. When the control program of the intelligent terminal is executed by the processor, the steps of the control method in any of the above embodiments are implemented.

[0133] Optionally, the optical detection component 400 includes a photoelectric switch; and / or,

[0134] At least two through holes are disposed on the detection member 500 , and the through holes form a light-transmitting portion 510 .

[0135] Optionally, the first body 300 includes a first screen assembly, and the second body 600 includes a second screen assembly.

[0136] Please refer to the above for the beneficial effects of this embodiment, which will not be repeated here.

[0137] An embodiment of the present application further provides a storage medium having a control program stored thereon. When the control program is executed by a processor, the steps of the control method in any of the above embodiments are implemented.

[0138] In the embodiments of the smart terminal and storage medium provided in the present application, all technical features of any of the above-mentioned control method embodiments may be included, and the expanded and explained contents of the specification are basically the same as those of the embodiments of the above-mentioned methods, and will not be repeated here.

[0139] The embodiment of the present application further provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes the methods in the above various possible implementation modes.

[0140] An embodiment of the present application also provides a chip, including a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that a device equipped with the chip executes the methods in various possible implementation modes as described above.

[0141] It is understood that the above scenarios are only examples and do not constitute a limitation on the application scenarios of the technical solutions provided in the embodiments of the present application. The technical solutions of the present application can also be applied to other scenarios. For example, it is known to those skilled in the art that with the evolution of the system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0142] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0143] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0144] The units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0145] In the present application, the same or similar terminology concepts, technical solutions and / or application scenario descriptions are generally described in detail only the first time they appear. When they appear again later, they are generally not repeated for the sake of brevity. When understanding the technical solutions and other contents of the present application, for the same or similar terminology concepts, technical solutions and / or application scenario descriptions that are not described in detail later, reference can be made to the previous related detailed descriptions.

[0146] In the present application, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0147] The various technical features of the technical solution of the present application can be arbitrarily combined. In order to make the description concise, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present application.

[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, a controlled terminal, or a network device, etc.) to execute the method of each embodiment of the present application.

[0149] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a storage medium, or transmitted from one storage medium to another storage medium. For example, computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The storage medium can be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integration. Available media can be magnetic media, (e.g., floppy disk, storage disk, tape), optical media (e.g., DVD), or semiconductor media (e.g., solid-state storage disk Solid State Disk (SSD)) and the like.

[0150] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A control method, applied to an intelligent terminal, characterized in that: The intelligent terminal comprises a first main body and a second main body that are movably connected, an optical detection assembly and a detection member, wherein the optical detection assembly is arranged on the first main body, and the optical detection assembly comprises a transmitter and a receiver that are arranged oppositely; the detection member is connected to the second main body, and the detection member comprises a detection section extending between the transmitter and the receiver, and the detection section is formed with at least two light-transmitting portions spaced apart along its length direction; the control method comprises: S100: Acquire a received signal of the receiver; S200: Determine or generate movement parameters of the first body and the second body according to a received signal of the receiver.

2. The method according to claim 1, characterized in that The step S200 includes: determining or generating a displacement of the detection member according to a received signal of the receiver; The movement parameters of the first body and the second body are determined or generated according to the displacement of the detection member.

3. The method according to claim 2, characterized in that The determining or generating the displacement of the detection member according to the received signal of the receiver comprises: determining or generating the number of received signals; The displacement amount of the detection member is determined or generated according to the number of the received signals.

4. The method according to any one of claims 1 to 3, characterized in that The first body and the second body are rotatably connected; The step S200 further includes: determining or generating a relative rotation angle between the first body and the second body according to the displacement of the detection member; and / or, The step S200 further includes: Obtaining a table of relationships between the number of received signals and rotation angles; The rotation angle value corresponding to the current number of received signals is determined according to the relationship table.

5. The method according to claim 4, characterized in that After step S200, the method further includes: When the relative rotation angle between the first body and the second body reaches a preset angle, executing a corresponding control strategy; The control strategy includes at least one of a UI interface, opening software, and enabling functions.

6. An intelligent terminal, characterized in that: include: A first body and a second body that are movably connected; An optical detection assembly, arranged on the first body, the optical detection assembly comprising a transmitter and a receiver arranged opposite to each other; A detection member connected to the second body, the detection member comprising a detection section extending between the transmitter and the receiver, the detection section being formed with at least two light-transmitting portions spaced apart along its length direction; as well as, The control device is electrically connected to the optical detection component and is used to determine or generate movement parameters of the first body and the second body according to the received signal of the receiver.

7. The intelligent terminal according to claim 6, characterized in that: The control device includes a memory, a processor, and a control program of an intelligent terminal stored in the memory, and the processor executes the control program of the intelligent terminal to implement the steps of the control method according to any one of claims 1 to 5.

8. The intelligent terminal according to claim 6, characterized in that: The optical detection component includes a photoelectric switch; and / or, The detection member is provided with at least two through holes, and the through holes form the light-transmitting portion.

9. The intelligent terminal according to any one of claims 6 to 8, characterized in that: The first body includes a first screen assembly, the second body includes a second screen assembly, and the first screen assembly and the second screen assembly are rotatably connected.

10. A storage medium, characterized in that: The storage medium stores a control program, and when the control program is executed by the processor, the steps of the control method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Catalytic dehydrohalogenation process

    EP0002021A1